/* =========================================
   APOGEE ACCOUNTING SOLUTIONS — STYLES
   ========================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Lato:wght@300;400;700&display=swap');

/* --- CSS Variables (Design Tokens) --- */
:root {
  /* === ORIGINAL APOGEE BRAND PALETTE === */
  --navy: #191919;
  /* original dark header/footer */
  --navy-dark: #111111;
  /* deepest dark */
  --blue: #50DEC8;
  /* original teal primary accent */
  --blue-mid: #3DCAB5;
  /* teal mid (hover) */
  --light-blue: #80EAD8;
  /* teal light */
  --sky: #E6FAF7;
  /* pale teal tint for card backgrounds */
  --gold: #50DEC8;
  /* repurposed: now same as teal for tags */
  --gold-dark: #3DCAB5;
  /* teal mid */
  --white: #FFFFFF;
  --off-white: #F8FAFF;
  --gray-100: #F1F5F9;
  --gray-300: #CBD5E1;
  --gray-500: #64748B;
  --gray-700: #334155;
  --text-dark: #191919;
  /* body text matches brand dark */

  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Lato', sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;

  --shadow-sm: 0 2px 8px rgba(10, 31, 68, 0.08);
  --shadow-md: 0 8px 32px rgba(10, 31, 68, 0.12);
  --shadow-lg: 0 20px 60px rgba(10, 31, 68, 0.18);
  --shadow-gold: 0 4px 20px rgba(245, 158, 11, 0.35);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* --- Utility Classes --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

/* --- Bootstrap Icons Sizing --- */
.trust-item .icon .bi {
  font-size: 16px;
  vertical-align: -2px;
}

.edge-icon .bi {
  font-size: 28px;
  color: var(--blue);
}

.service-icon-wrap .bi {
  font-size: 24px;
  color: var(--blue);
}

.hero-stat-icon .bi {
  font-size: 20px;
  color: var(--blue);
}

.blog-card-img .bi {
  font-size: 44px;
}

.blog-card-img.blue .bi,
.blog-card-img.dark .bi {
  color: rgba(255, 255, 255, 0.9);
}

.blog-card-img.light .bi,
.blog-card-img.gold .bi {
  color: var(--navy);
}

.contact-icon .bi {
  font-size: 14px;
  color: var(--blue);
}

.social-btn .bi {
  font-size: 16px;
}

.edge-learn .bi,
.service-cta .bi,
.blog-read .bi {
  font-size: 13px;
  vertical-align: -1px;
}

.btn .bi {
  font-size: 15px;
  vertical-align: -2px;
}

.footer-col ul a .bi {
  font-size: 11px;
  vertical-align: -1px;
}

.section-alt {
  background: var(--off-white);
}

.tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--gray-500);
  max-width: 560px;
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius-xl);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-gold {
  background: var(--white);
  color: var(--navy-dark);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.btn-gold:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-blue {
  background: var(--blue);
  color: var(--navy-dark);
  box-shadow: 0 4px 20px rgba(80, 222, 200, 0.3);
}

.btn-blue:hover {
  background: var(--blue-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(80, 222, 200, 0.4);
}

/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(17, 17, 17, 0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  padding: 0 24px;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.portal-link {
  color: var(--blue);
  border: 1.5px solid var(--blue);
  padding: 6px 16px;
  border-radius: var(--radius-xl);
}

.nav-links a.portal-link:hover {
  background: var(--blue);
  color: var(--navy-dark);
}

.nav-links a.portal-link::after {
  display: none;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  background: var(--navy-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px;
  flex-direction: column;
  gap: 20px;
  z-index: 999;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}

.mobile-menu a:hover {
  color: var(--gold);
}

.mobile-menu .btn {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero_background.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(17, 17, 17, 0.92) 0%,
      rgba(25, 25, 25, 0.80) 50%,
      rgba(80, 222, 200, 0.38) 100%);
}

/* Subtle animated grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.07;
  background-image:
    linear-gradient(rgba(80, 222, 200, 1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 222, 200, 1) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 120px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}

.hero-text {
  animation: fadeInUp 0.9s ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(80, 222, 200, 0.12);
  border: 1px solid rgba(80, 222, 200, 0.4);
  color: var(--blue);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--radius-xl);
  margin-bottom: 28px;
}

.hero-badge .badge-dot {
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(36px, 5.5vw, 62px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-headline span {
  background: linear-gradient(135deg, var(--blue), var(--light-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image-wrap {
  position: relative;
  animation: fadeInRight 0.9s ease 0.3s both;
}

.hero-img {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-stat-card.card-1 {
  bottom: -24px;
  left: -24px;
}

.hero-stat-card.card-2 {
  top: -24px;
  right: -24px;
}

.hero-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.hero-stat-icon.gold {
  background: rgba(245, 158, 11, 0.12);
}

.hero-stat-icon.blue {
  background: rgba(80, 222, 200, 0.15);
}

.hero-stat-label {
  font-family: var(--font-head);
}

.hero-stat-label strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
}

.hero-stat-label span {
  font-size: 11px;
  color: var(--gray-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-head);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-mouse::before {
  content: '';
  width: 3px;
  height: 8px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  animation: scrollDown 2s infinite;
}

/* =========================================
   TRUST BAR
   ========================================= */
.trust-bar {
  background: var(--navy);
  padding: 20px 0;
  border-top: 1px solid rgba(80, 222, 200, 0.12);
}

.trust-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}

.trust-item .icon {
  font-size: 16px;
  opacity: 0.8;
}

.trust-divider {
  color: rgba(255, 255, 255, 0.15);
  font-size: 20px;
}

/* =========================================
   IRS EDGE SECTION
   ========================================= */
.irs-edge {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.irs-edge::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(80, 222, 200, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.irs-edge-header {
  text-align: center;
  margin-bottom: 64px;
}

.irs-edge-header .section-title {
  color: var(--white);
}

.irs-edge-header .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
  margin: 0 auto;
  text-align: center;
}

.edge-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.edge-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.edge-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), rgba(255, 255, 255, 0.5));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.edge-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.07);
}

.edge-card:hover::before {
  transform: scaleX(1);
}

.edge-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
}

.edge-icon.gold-bg {
  background: rgba(80, 222, 200, 0.15);
}

.edge-icon.blue-bg {
  background: rgba(80, 222, 200, 0.10);
}

.edge-icon.green-bg {
  background: rgba(80, 222, 200, 0.08);
}

.edge-card h3 {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.edge-card p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

.edge-card .edge-learn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--blue);
  text-transform: uppercase;
  transition: var(--transition);
}

.edge-card .edge-learn:hover {
  gap: 10px;
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.services {
  padding: 96px 0;
}

.services-header {
  margin-bottom: 56px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  padding: 40px 32px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(80, 222, 200, 0.15);
  border-color: var(--blue);
}

.service-number {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 900;
  color: var(--sky);
  line-height: 1;
  margin-bottom: 16px;
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  background: var(--sky);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
  background: rgba(80, 222, 200, 0.25);
}

.service-card h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
  flex: 1;
}

/* Service Details Accordion */
.service-details {
  margin-top: 16px;
  padding-bottom: 8px;
}

.service-details summary {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.service-details summary::-webkit-details-marker {
  display: none;
}

.service-details summary .bi-chevron-down {
  transition: transform 0.3s ease;
}

.service-details[open] summary .bi-chevron-down {
  transform: rotate(180deg);
}

.service-details-content {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
  animation: fadeIn 0.4s ease;
}

.service-details-content h4 {
  font-family: var(--font-head);
  font-size: 15px;
  color: var(--navy);
  margin: 16px 0 8px;
}

.service-details-content h4:first-child {
  margin-top: 0;
}

.service-details-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.service-details-content li {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
  line-height: 1.5;
}

.service-details-content li::before {
  content: '✓';
  color: var(--blue);
  font-weight: bold;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.service-tag {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  background: var(--sky);
  color: #2AADA0;
  letter-spacing: 0.3px;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  transition: var(--transition);
}

.service-cta:hover {
  gap: 10px;
  color: var(--navy-dark);
}

/* =========================================
   STATS BAR
   ========================================= */
.stats-bar {
  background: linear-gradient(90deg, var(--navy) 0%, #222222 100%);
  border-top: 3px solid var(--blue);
  padding: 64px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  padding: 16px;
}

.stat-number {
  font-family: var(--font-head);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number span {
  color: var(--white);
}

.stat-label {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* =========================================
   TESTIMONIALS SECTION
   ========================================= */
.testimonials {
  padding: 96px 0;
  background: var(--off-white);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-header .section-subtitle {
  margin: 0 auto;
  text-align: center;
}

.slider-wrapper {
  position: relative;
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 8px 4px 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.testimonial-quote {
  font-size: 40px;
  color: var(--blue);
  line-height: 1;
  font-family: serif;
}

.testimonial-text {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}

.testimonial-stars {
  color: var(--blue);
  font-size: 14px;
  letter-spacing: 2px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--gray-100);
  padding-top: 20px;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #2AADA0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-dark);
  flex-shrink: 0;
}

.author-info strong {
  display: block;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.author-info span {
  font-size: 12px;
  color: var(--gray-500);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-300);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  padding: 0;
}

.slider-dot.active {
  width: 28px;
  border-radius: 4px;
  background: var(--blue);
}

.slider-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.slider-btn:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* =========================================
   BLOG / LATEST UPDATES
   ========================================= */
.blog {
  padding: 96px 0;
}

.blog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 24px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.blog-card-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  position: relative;
  overflow: hidden;
}

.blog-card-img.blue {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-mid) 100%);
}

.blog-card-img.light {
  background: linear-gradient(135deg, var(--sky) 0%, #BFDBFE 100%);
}

.blog-card-img.gold {
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
}

.blog-card-img.dark {
  background: linear-gradient(135deg, #1E293B 0%, var(--navy) 100%);
}

.blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-cat {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #2AADA0;
  background: var(--sky);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.blog-card h3 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.45;
  margin-bottom: 10px;
  flex: 1;
}

.blog-card p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-read {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.blog-read:hover {
  gap: 9px;
  color: var(--navy-dark);
}

/* =========================================
   CTA BANNER
   ========================================= */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, #1a1a1a 60%, rgba(80, 222, 200, 0.15) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid rgba(80, 222, 200, 0.2);
  border-bottom: 1px solid rgba(80, 222, 200, 0.2);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(80, 222, 200, 0.10) 0%, transparent 65%);
  pointer-events: none;
}

.cta-banner h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================
   FOOTER
   ========================================= */
footer {
  background: var(--navy-dark);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.8fr;
  gap: 48px;
  margin-bottom: 64px;
}



.footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 20px;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  max-width: 260px;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
  cursor: pointer;
}

.social-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a:hover {
  color: var(--blue);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.contact-icon {
  width: 32px;
  height: 32px;
  background: rgba(80, 222, 200, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

.contact-text strong {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin-bottom: 2px;
}

/* Footer Form */
.footer-form {
  margin-top: 0;
}

.footer-form h4 {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}

.footer-form p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
  margin-bottom: 20px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--white);
  outline: none;
  transition: var(--transition);
  width: 100%;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-input:focus {
  border-color: var(--blue);
  background: rgba(80, 222, 200, 0.08);
}

.form-submit {
  margin-top: 4px;
  width: 100%;
  justify-content: center;
}

.form-success {
  display: none;
  text-align: center;
  padding: 16px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius-sm);
  color: #86EFAC;
  font-size: 14px;
  font-family: var(--font-head);
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.85);
  }
}

@keyframes scrollDown {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(10px);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-image-wrap {
    max-width: 560px;
    margin: 0 auto;
  }

  .hero-text {
    text-align: center;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-sub {
    margin: 0 auto 40px;
  }

  .hero-badge {
    margin: 0 auto 28px;
    display: flex;
    width: fit-content;
  }

  .edge-cards {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .slide {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-cta .btn {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .section {
    padding: 72px 0;
  }

  .hero-stat-card.card-1 {
    bottom: -12px;
    left: -8px;
  }

  .hero-stat-card.card-2 {
    top: -12px;
    right: -8px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .slide {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .blog-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-stat-card {
    padding: 10px 14px;
  }

  .hero-stat-label strong {
    font-size: 15px;
  }
}