/* =========================================
   Fund Wise Me – Global Styles
   ========================================= */

/* --- CSS Variables --- */
:root {
  /* Brand Colors (matching financeiqacademy.com palette) */
  --color-primary: #0056ef;
  --color-primary-dark: #004cd6;
  --color-gold: #f3af2c;
  --color-gold-dark: #e09a10;
  --color-black: #000000;
  --color-dark: rgba(0, 0, 0, 0.62);
  --color-bg-light: #e6f1fe;
  --color-white: #ffffff;
  --color-overlay: rgba(0, 0, 0, 0.55);

  /* Typography */
  --font-main: 'Poppins', sans-serif;

  /* Spacing */
  --container-max: 1240px;
  --section-py: 80px;

  /* Transitions */
  --transition: 0.3s ease;
  --transition-slow: 0.6s ease;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 24px rgba(0, 86, 239, 0.12);
  --shadow-lg: 0 12px 48px rgba(0, 86, 239, 0.18);

  /* Border radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

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

html {
  font-size: 87.5%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-dark);
  background-color: var(--color-white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--color-primary);
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary-dark);
}

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

ul {
  list-style: none;
}

/* --- Container --- */
.container {
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  text-transform: capitalize;
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  cursor: pointer;
  border: none;
  transition: background-color var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary {
  background-color: var(--color-gold);
  color: var(--color-black);
}

.btn-primary:hover {
  background-color: var(--color-gold-dark);
  color: var(--color-black);
}


.btn-outline {
  background-color: #0056ef !important;
  color: #ffffff !important;
  border: none;
  padding: 20px;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 0;
}

.btn-outline:hover {
   color: #ffffff !important;
  transform: translateX(4px);
  box-shadow: none;
}

.btn-sm {
  font-size: 0.9rem;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.1rem;
  border-radius: var(--radius-sm);
}

.btn-white {
  background-color: var(--color-white);
  color: var(--color-primary);
  padding: 16px 36px;
}

.btn-white:hover {
  background-color: var(--color-gold);
  color: var(--color-black);
}

.btn-gold {
  background-color: var(--color-gold);
  color: var(--color-black);
  padding: 12px 24px;
}

.btn-gold:hover {
  background-color: var(--color-gold-dark);
  color: var(--color-black);
}

.btn-icon {
  width: 12px;
  height: 12px;
  fill: currentColor;
  flex-shrink: 0;
}

/* --- Section Helpers --- */
.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.section-tag.light {
  color: rgba(255, 255, 255, 0.8);
}

.section-title {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 2.2rem;
  line-height: 1.3;
  color: var(--color-black);
}

.section-title-center {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 2.5rem;
  line-height: 1.25;
  color: var(--color-black);
  text-align: center;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-gold));
  border-radius: var(--radius-full);
  margin: 1.2rem auto;
}

.section-header {
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* =========================================
   HEADER
   ========================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: var(--color-black);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
  height: 80px;
}

/* Logo */
.logo-link {
  display: block;
  flex-shrink: 0;
}

.site-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition: opacity var(--transition);
}

.site-logo:hover {
  opacity: 0.85;
}

/* Nav */
.main-nav .nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  color: var(--color-white);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background-color: var(--color-gold);
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: var(--radius-full);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-white);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* Header CTA */
.header-cta .btn-primary {
  white-space: nowrap;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), width var(--transition);
}

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

.mobile-toggle.open .hamburger-line:nth-child(2) {
  opacity: 0;
  width: 0;
}

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

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  background: var(--color-black);
  padding: 1rem 0 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  border-top: 1px solid rgba(255,255,255,0.1);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-nav.open {
  display: block;
}

.mobile-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav-link {
  display: block;
  color: var(--color-white);
  font-weight: 500;
  font-size: 1rem;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color var(--transition), background var(--transition);
}

.mobile-nav-link:hover {
  color: var(--color-gold);
  background: rgba(255,255,255,0.03);
}

.mobile-nav .mobile-cta {
  margin: 1rem 24px 0;
  text-align: center;
  justify-content: center;
  border-radius: var(--radius-md);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 2rem 80px;
  background: linear-gradient(135deg, #000d26 0%, #001a4d 40%, #002b7a 70%, #0047cc 100%);
  overflow: hidden;
}

/* Animated background grid */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(243, 175, 44, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(0, 86, 239, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(0, 86, 239, 0.1) 0%, transparent 40%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  from { opacity: 0.8; }
  to { opacity: 1; }
}

/* Grid pattern overlay */
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-gold);
  letter-spacing: 1.5px;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.15;
  color: var(--color-white);
  margin-bottom: 2rem;
}

.hero-title .highlight {
  color: var(--color-gold);
  position: relative;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-dot {
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 50%;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(12px); opacity: 0.4; }
}

/* Hero animations */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

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

/* =========================================
   ABOUT SECTION
   ========================================= */
.about-section {
  padding: var(--section-py) 0;
  background: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-content .section-tag {
  margin-bottom: 1rem;
}

.about-content .section-title {
  font-size: 1.8rem;
  line-height: 1.4;
  margin-bottom: 1.25rem;
  color: var(--color-black);
}

.about-desc {
  color: var(--color-dark);
  font-size: 1rem;
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.about-visual {
  display: flex;
  justify-content: center;
}

.about-card {
  background: linear-gradient(135deg, var(--color-black) 0%, #1a2a4a 100%);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  max-width: 360px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(243, 175, 44, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.services-section {
  padding: var(--section-py) 0;
  background: var(--color-bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-gold));
  transform: scaleX(0);
  transition: transform var(--transition-slow);
  transform-origin: left;
}

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

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

.service-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(0, 86, 239, 0.12);
  line-height: 1;
  margin-bottom: 0.75rem;
  font-family: var(--font-main);
  letter-spacing: -2px;
}

.service-title {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--color-black);
  margin-bottom: 0.9rem;
  line-height: 1.4;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--color-dark);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

/* =========================================
   CARRIERS SECTION
   ========================================= */
.carriers-section {
  padding: 60px 0;
  background: var(--color-white);
  overflow: hidden;
}

.carriers-header {
  margin-bottom: 2.5rem;
}

.carriers-track-wrapper {
  overflow: hidden;
  position: relative;
}

.carriers-track-wrapper::before,
.carriers-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.carriers-track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--color-white), transparent);
}

.carriers-track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--color-white), transparent);
}

.carriers-track {
  display: flex;
  gap: 1.5rem;
  animation: carriersScroll 25s linear infinite;
  width: max-content;
}

@keyframes carriersScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.carriers-track:hover {
  animation-play-state: paused;
}

.carrier-item {
  background: var(--color-white);
  border: 2px solid var(--color-bg-light);
  border-radius: var(--radius-md);
  padding: 1.2rem 2.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-black);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
  flex-shrink: 0;
}

.carrier-item:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

/* =========================================
   BLOG SECTION
   ========================================= */
.blog-section {
  padding: var(--section-py) 0;
  background: #f0f5ff;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.blog-card {
  background: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,86,239,0.08);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0,86,239,0.16);
}

/* --- Blog Card Image Banner --- */
.blog-card-img {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.blog-img-placeholder {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Decorative shapes inside banner */
.blog-img-placeholder::before,
.blog-img-placeholder::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  opacity: 0.18;
  transition: transform 0.5s ease;
}

.blog-img-placeholder::before {
  width: 180px;
  height: 180px;
  top: -50px;
  right: -50px;
  background: rgba(255,255,255,0.6);
}

.blog-img-placeholder::after {
  width: 120px;
  height: 120px;
  bottom: -30px;
  left: -30px;
  background: rgba(255,255,255,0.5);
}

.blog-card:hover .blog-img-placeholder::before {
  transform: scale(1.2);
}

.blog-card:hover .blog-img-placeholder::after {
  transform: scale(1.2);
}

/* Category-themed gradients */
.blog-img-1 {
  background: linear-gradient(135deg, #0a1d4e 0%, #0056ef 60%, #1a8cff 100%);
}

.blog-img-2 {
  background: linear-gradient(135deg, #1a0a00 0%, #b45300 50%, #f3af2c 100%);
}

.blog-img-3 {
  background: linear-gradient(135deg, #00230a 0%, #006622 55%, #0da84e 100%);
}

/* SVG line pattern overlay */
.blog-img-1::before { background: rgba(100,180,255,0.25); }
.blog-img-2::before { background: rgba(255,220,100,0.25); }
.blog-img-3::before { background: rgba(100,255,160,0.25); }
.blog-img-1::after  { background: rgba(0,86,239,0.3); }
.blog-img-2::after  { background: rgba(243,175,44,0.3); }
.blog-img-3::after  { background: rgba(13,168,78,0.3); }

/* --- Blog Tag --- */
.blog-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(255,255,255,0.3);
}

/* --- Blog Card Content --- */
.blog-card-content {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 0.6rem;
}

.blog-category-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.blog-category-dot::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gold);
  flex-shrink: 0;
}

.blog-title {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-black);
  line-height: 1.45;
  margin: 0;
}

.blog-divider {
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-gold));
  border-radius: 2px;
  margin: 0.2rem 0;
}

.blog-read-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--color-primary);
  transition: color var(--transition), gap var(--transition);
  margin-top: auto;
  padding-top: 0.5rem;
}

.blog-read-link:hover {
  color: var(--color-gold-dark);
  gap: 10px;
}

/* =========================================
   CTA BANNER SECTION
   ========================================= */
.cta-banner-section {
  padding: var(--section-py) 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 60%, #001a5c 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(243, 175, 44, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 10% 80%, rgba(255,255,255,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.cta-banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-banner-title {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--color-white);
  line-height: 1.35;
  margin-bottom: 2rem;
}

/* =========================================
   TESTIMONIAL SECTION
   ========================================= */
.testimonial-section {
  padding: var(--section-py) 0;
  background: var(--color-white);
}

.testimonial-card {
  background: var(--color-black);
  border-radius: var(--radius-lg);
  padding: 3rem 3.5rem;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-gold));
}

.testimonial-card::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 86, 239, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.quote-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1.25rem;
  color: var(--color-gold);
  opacity: 0.8;
}

.quote-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 1.5rem;
}

.star {
  color: var(--color-gold);
  font-size: 1.3rem;
}

.testimonial-quote {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-white);
  flex-shrink: 0;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author-name {
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 600;
}

.author-role {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

/* =========================================
   FAQ SECTION
   ========================================= */
.faq-section {
  padding: var(--section-py) 0;
  background: var(--color-bg-light);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.faq-intro .section-title {
  margin-bottom: 1rem;
}

.faq-subtitle {
  color: var(--color-dark);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-black);
  text-align: left;
  line-height: 1.4;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-question[aria-expanded="true"] {
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-bg-light);
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}

.icon-plus,
.icon-minus {
  width: 16px;
  height: 16px;
  fill: var(--color-primary);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity var(--transition), transform var(--transition);
}

.icon-minus {
  opacity: 0;
}

.faq-question[aria-expanded="true"] .icon-plus {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-question[aria-expanded="true"] .icon-minus {
  opacity: 1;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition);
}

.faq-answer.open {
  max-height: 400px;
}

.faq-answer p {
  padding: 1rem 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: var(--color-dark);
  line-height: 1.7;
}

/* =========================================
   FINAL CTA SECTION
   ========================================= */
.final-cta-section {
  padding: var(--section-py) 0;
  background: var(--color-black);
  position: relative;
  overflow: hidden;
}

.final-cta-grid {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.final-cta-title {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--color-white);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.final-cta-subtitle {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.deco-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.deco-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 86, 239, 0.2) 0%, transparent 70%);
  top: -100px;
  right: -80px;
}

.deco-2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(243, 175, 44, 0.15) 0%, transparent 70%);
  bottom: -60px;
  left: -60px;
}

.deco-3 {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(0, 86, 239, 0.1) 0%, transparent 70%);
  top: 50%;
  left: -80px;
  transform: translateY(-50%);
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: var(--color-black);
}

.footer-main {
  padding: 72px 0 52px;
  border-top: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.footer-heading {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

/* Newsletter */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.newsletter-fields {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  color: var(--color-white);
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
}

.newsletter-input::placeholder {
  color: rgba(255,255,255,0.35);
}

.newsletter-input:focus {
  border-color: var(--color-primary);
}

.newsletter-msg {
  font-size: 0.85rem;
  min-height: 1.2em;
  color: var(--color-gold);
}

/* Footer Nav */
.footer-nav-heading {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-white);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-link {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  font-weight: 400;
  transition: color var(--transition);
}

.footer-link:hover {
  color: var(--color-gold);
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

.social-fb { background: rgba(85, 125, 188, 0.15); }
.social-fb svg { fill: #7da0d9; }
.social-fb:hover { background: #557dbc; }
.social-fb:hover svg { fill: white; }

.social-tw { background: rgba(122, 205, 238, 0.15); }
.social-tw svg { fill: #7acdee; }
.social-tw:hover { background: #1da1f2; }
.social-tw:hover svg { fill: white; }

.social-ig { background: rgba(138, 58, 185, 0.15); }
.social-ig svg { fill: #c06dc8; }
.social-ig:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-ig:hover svg { fill: white; }

.social-li { background: rgba(28, 134, 198, 0.15); }
.social-li svg { fill: #1c86c6; }
.social-li:hover { background: #0077b5; }
.social-li:hover svg { fill: white; }

.social-icon:hover {
  transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.copyright {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  text-align: center;
}

/* =========================================
   SCROLL TO TOP
   ========================================= */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 86, 239, 0.35);
  transition: background var(--transition), transform var(--transition), opacity var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 999;
}

.scroll-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-to-top:hover {
  background: var(--color-gold);
  transform: translateY(-3px);
}

.scroll-to-top svg {
  width: 20px;
  height: 20px;
}

/* =========================================
   ANIMATE ON SCROLL
   ========================================= */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   RESPONSIVE & MOBILE FRIENDLY SYSTEM
   ========================================= */

/* ---- Tablet Large (≤1200px) ---- */
@media (max-width: 1200px) {
  :root {
    --section-py: 70px;
  }

  .container {
    padding: 0 1.75rem;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2rem;
  }
}

/* ---- Tablet (≤1024px) ---- */
@media (max-width: 1024px) {
  :root {
    --section-py: 65px;
  }

  .container {
    padding: 0 1.5rem;
  }

  .about-grid {
    gap: 3rem;
  }

  .founder-grid {
    gap: 40px;
  }

  .featured-event-card {
    grid-template-columns: 1fr;
    padding: 32px;
  }

  /* Header */
  .header-inner {
    padding: 0 1.5rem;
  }

  .nav-link {
    font-size: 0.88rem;
    padding: 8px 10px;
  }

  /* Blog grid to 2 columns */
  .blog-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px;
  }

  /* Services grid stays 2 col */
  .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
  }

  /* Content grid */
  .content-grid {
    gap: 2.5rem;
  }
}

/* ---- Tablet/Mobile (≤900px) ---- */
@media (max-width: 900px) {
  :root {
    --section-py: 60px;
  }

  /* Header Mobile Toggle & Nav */
  .main-nav,
  .header-cta {
    display: none !important;
  }

  .mobile-toggle {
    display: flex !important;
  }

  .header-inner {
    height: 70px;
    padding: 0 1.25rem;
  }

  .mobile-nav {
    top: 70px;
    background: rgba(9, 14, 23, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  /* Hero Adjustments */
  .hero-section {
    min-height: auto;
    padding: 130px 1.25rem 70px;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(1.8rem, 6.5vw, 2.8rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
  }

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

  .inner-hero {
    padding: 130px 1.25rem 60px !important;
  }

  .inner-hero h1 {
    font-size: clamp(2rem, 6vw, 2.6rem) !important;
  }

  .inner-hero p {
    font-size: 1rem !important;
  }

  /* Layout Grids → 1 Column */
  .about-grid,
  .founder-grid,
  .services-grid,
  .services-page-grid,
  .blog-grid,
  .blog-page-grid,
  .events-grid,
  .faq-grid,
  .contact-layout,
  .content-grid,
  .featured-event-card {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  /* Reviews grid → 1 column */
  .reviews-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* Team grid → 1 column */
  .team-grid-cards {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    gap: 20px !important;
  }

  /* About Section */
  .about-section .about-grid {
    text-align: center;
  }

  .about-content {
    order: 2;
  }

  .about-visual {
    order: 1;
  }

  .founder-photo-wrap {
    height: 380px;
    max-height: 420px;
    max-width: 480px;
    margin: 0 auto;
  }

  .founder-photo {
    max-height: 380px;
  }

  .founder-content {
    text-align: center;
  }

  .about-card {
    max-width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 2rem 1.5rem;
  }

  .stat-divider {
    width: 1px;
    height: 40px;
    align-self: center;
  }

  /* Typography */
  .section-title,
  .section-title-center {
    font-size: clamp(1.6rem, 5vw, 2.2rem) !important;
  }

  .cta-banner-title,
  .final-cta-title {
    font-size: clamp(1.5rem, 4vw, 2rem) !important;
  }

  /* Events */
  .featured-event-title {
    font-size: 1.8rem;
  }

  .event-meta-list {
    gap: 14px;
  }

  /* FAQ */
  .faq-intro {
    text-align: center;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .footer-tagline {
    max-width: 100%;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* ---- Mobile (≤640px) ---- */
@media (max-width: 640px) {
  :root {
    --section-py: 50px;
  }

  .container {
    padding: 0 1rem;
  }

  /* Hero */
  .hero-section {
    padding: 110px 1rem 55px;
    text-align: center;
  }

  .hero-tag {
    font-size: 0.78rem;
    letter-spacing: 1px;
  }

  .hero-title {
    font-size: clamp(1.6rem, 7vw, 2.4rem);
    margin-bottom: 1.2rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }

  .hero-scroll-indicator {
    bottom: 20px;
  }

  /* About Card */
  .about-card {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    padding: 1.5rem 1.25rem;
  }

  .stat-divider {
    width: 80%;
    height: 1px;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  /* Section Headers */
  .section-header {
    margin-bottom: 2rem;
  }

  .section-title,
  .section-title-center {
    font-size: clamp(1.4rem, 6vw, 2rem) !important;
    line-height: 1.3 !important;
  }

  /* Services */
  .service-card {
    padding: 22px 18px !important;
  }

  /* Blog */
  .blog-grid {
    grid-template-columns: 1fr !important;
  }

  .blog-card-img {
    height: 160px;
  }

  /* Reviews */
  .reviews-filter-bar {
    gap: 6px;
    justify-content: flex-start;
  }

  .review-filter-btn {
    padding: 7px 13px;
    font-size: 0.8rem;
  }

  .review-card {
    padding: 20px 16px !important;
  }

  /* FAQ */
  .faq-question {
    font-size: 0.9rem;
    padding: 16px 18px;
  }

  .faq-answer p {
    padding: 0.75rem 18px 1rem;
    font-size: 0.9rem;
  }

  /* CTA Sections */
  .cta-banner-title,
  .final-cta-title {
    font-size: clamp(1.3rem, 5vw, 1.8rem) !important;
  }

  .final-cta-subtitle {
    font-size: 0.95rem;
  }

  /* Events */
  .event-card {
    padding: 22px 18px !important;
  }

  .featured-event-card {
    padding: 24px 18px;
    border-radius: var(--radius-md);
  }

  .featured-event-title {
    font-size: 1.5rem;
  }

  .featured-event-desc {
    font-size: 0.95rem;
  }

  .countdown-timer {
    gap: 10px;
  }

  .timer-value {
    font-size: 1.5rem;
  }

  .timer-label {
    font-size: 0.68rem;
  }

  .event-meta-list {
    flex-direction: column;
    gap: 10px;
  }

  /* Team */
  .team-member-card {
    padding: 0 !important;
  }

  .team-member-img-wrap {
    height: 260px;
  }

  .team-member-body {
    padding: 18px;
  }

  /* Contact */
  .contact-form {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .checkbox-grid {
    grid-template-columns: 1fr !important;
    gap: 0.5rem;
  }

  .contact-info h2,
  .contact-form-wrap h2 {
    font-size: 1.6rem;
  }

  /* Footer */
  .newsletter-fields {
    flex-direction: column;
    gap: 10px;
  }

  .newsletter-fields .newsletter-input,
  .newsletter-fields .btn-gold {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .footer-legal {
    justify-content: center;
  }

  .social-icons {
    justify-content: flex-start;
  }

  /* Modal */
  .modal-overlay {
    padding: 12px;
  }

  .modal-box {
    padding: 22px 16px;
    width: 96vw;
    border-radius: 12px;
    max-height: 90vh;
    overflow-y: auto;
  }

  .modal-title {
    font-size: 1.25rem;
  }

  .modal-subtitle {
    font-size: 0.85rem;
  }

  /* Scroll to Top */
  .scroll-to-top {
    bottom: 20px;
    right: 16px;
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }

  /* Inner page hero */
  .inner-hero {
    padding: 110px 1rem 50px !important;
  }

  .inner-hero h1 {
    font-size: clamp(1.6rem, 7vw, 2.2rem) !important;
  }

  /* Feature Boxes */
  .feature-box {
    padding: 18px 16px !important;
  }

  /* Carriers */
  .carrier-item {
    padding: 12px 20px;
    font-size: 1rem;
  }

  /* Buttons */
  .btn-lg {
    padding: 14px 24px;
    font-size: 1rem;
  }

  /* Mission */
  .mission-card h2 {
    font-size: 1.6rem;
  }
}

/* ---- Small Mobile (≤480px) ---- */
@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(1.5rem, 7.5vw, 2rem);
  }

  .hero-section {
    padding: 100px 0.875rem 50px;
  }

  .header-inner {
    height: 65px;
    padding: 0 1rem;
  }

  .mobile-nav {
    top: 65px;
  }

  .logo-link {
    padding: 3px 10px;
  }

  .site-logo {
    height: 30px;
  }

  .about-card {
    padding: 1.25rem 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.78rem;
  }

  .section-title,
  .section-title-center {
    font-size: clamp(1.3rem, 6.5vw, 1.8rem) !important;
  }

  .service-card {
    padding: 18px 14px !important;
  }

  .service-title {
    font-size: 1.1rem;
  }

  .service-desc {
    font-size: 0.9rem;
  }

  .review-filter-btn {
    padding: 6px 12px;
    font-size: 0.78rem;
  }

  .reviews-filter-bar {
    gap: 5px;
  }

  .team-member-img-wrap {
    height: 230px;
  }

  .countdown-timer {
    gap: 8px;
  }

  .timer-value {
    font-size: 1.3rem;
  }

  .featured-event-title {
    font-size: 1.35rem;
  }

  .event-card {
    padding: 18px 14px !important;
  }

  .contact-info h2,
  .contact-form-wrap h2 {
    font-size: 1.4rem;
  }

  .form-control {
    padding: 12px 14px;
    font-size: 0.9rem;
  }

  .footer-heading,
  .footer-nav-heading {
    font-size: 1rem;
  }

  .footer-link {
    font-size: 0.9rem;
  }

  .modal-box {
    padding: 20px 14px;
  }

  .modal-title {
    font-size: 1.15rem;
  }
}

/* ---- Extra Small Mobile (≤400px) ---- */
@media (max-width: 400px) {
  :root {
    --section-py: 42px;
  }

  .container {
    padding: 0 0.875rem;
  }

  .hero-section {
    padding: 95px 0.875rem 45px;
  }

  .hero-title {
    font-size: 1.45rem;
  }

  .hero-tag {
    font-size: 0.72rem;
  }

  .btn {
    padding: 12px 18px;
    font-size: 0.88rem;
  }

  .btn-lg {
    padding: 13px 22px;
    font-size: 0.95rem;
  }

  .founder-photo-wrap {
    height: 300px;
  }

  .founder-photo {
    max-height: 300px;
  }

  .founder-title {
    font-size: 1.6rem !important;
  }

  .section-title,
  .section-title-center {
    font-size: 1.25rem !important;
  }

  .section-tag {
    font-size: 0.75rem;
  }

  .about-card {
    padding: 1rem 0.875rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .mobile-nav-link {
    padding: 12px 18px;
    font-size: 0.95rem;
  }

  .mobile-nav .mobile-cta {
    margin: 0.75rem 18px 0;
  }

  .scroll-to-top {
    bottom: 16px;
    right: 12px;
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }

  .countdown-timer {
    gap: 6px;
  }

  .timer-value {
    font-size: 1.2rem;
  }

  .timer-label {
    font-size: 0.6rem;
  }

  .cta-banner-title,
  .final-cta-title {
    font-size: 1.2rem !important;
  }

  .final-cta-subtitle {
    font-size: 0.88rem;
  }

  .modal-box {
    padding: 18px 12px;
    border-radius: 10px;
  }

  .modal-title {
    font-size: 1.1rem;
  }

  .faq-question {
    font-size: 0.85rem;
    padding: 14px 16px;
  }
}



/* =========================================
   HEADER & LOGO VISIBILITY FIX
   ========================================= */
.site-header,
.page-header-solid {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(9, 14, 23, 0.96) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

.site-branding {
  display: flex;
  align-items: center;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  padding: 4px 12px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: transform var(--transition);
}

.logo-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(243, 175, 44, 0.3);
}

.site-logo {
  height: 36px;
  max-height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-link {
  color: #ffffff !important;
  font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-gold) !important;
}

/* Inner Page Hero Padding adjustment */
.inner-hero {
  padding: 160px 0 90px !important;
  background: linear-gradient(135deg, #051329 0%, #0045c4 50%, #031936 100%);
  color: #ffffff;
  text-align: center;
}

.inner-hero h1 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.inner-hero p {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
}

/* =========================================
   FOUNDER SECTION FIX
   ========================================= */
.founder-section {
  padding: 90px 0;
  background: linear-gradient(135deg, #f7faff 0%, #ffffff 58%, #f7fbf8 100%);
  overflow: hidden;
}

.founder-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(400px, 1.15fr);
  gap: 60px;
  align-items: center;
}

.founder-photo-wrap {
  position: relative;
  height: 480px;
  max-height: 500px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 35%, #edf5ff 0%, #dceafb 62%, #f7faff 100%);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 86, 239, 0.1);
  margin: 0 auto;
  width: 100%;
}

.founder-photo-wrap::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(20, 75, 135, 0.15);
  border-radius: 18px;
  pointer-events: none;
}

.founder-photo {
  width: 100%;
  max-width: 440px;
  height: 100%;
  max-height: 480px;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  position: relative;
  z-index: 1;
}

.founder-content {
  max-width: 650px;
}

.founder-title {
  margin: 10px 0 5px;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.15;
  color: #071a36;
}

.founder-role {
  margin: 0 0 20px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-primary);
}

.founder-content p {
  margin: 0 0 16px;
  font-size: 1.02rem;
  line-height: 1.75;
  color: #4b5563;
}

@media (max-width: 900px) {
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .founder-photo-wrap {
    height: 380px;
    max-width: 460px;
  }
  .founder-photo {
    max-height: 380px;
  }
  .founder-content {
    max-width: none;
    text-align: center;
  }
}

/* =========================================
   SERVICES SECTION (HOMEPAGE)
   ========================================= */
.services-section {
  padding: var(--section-py) 0;
  background: var(--color-bg-light);
}

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

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  overflow: hidden;
}

.service-card-image {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
}

.service-card-content {
  display: flex;
  flex: 1;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 36px 36px;
}

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

.service-number {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  background: rgba(0, 86, 239, 0.08);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 1.2rem;
}

.service-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 0.8rem;
}

.service-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* =========================================
   CARRIERS SECTION
   ========================================= */
.carriers-section {
  padding: 60px 0;
  background: #ffffff;
  border-top: 1px solid #eef4fc;
  border-bottom: 1px solid #eef4fc;
  overflow: hidden;
}

.carriers-track-wrapper {
  overflow: hidden;
  margin-top: 2rem;
  position: relative;
}

.carriers-track {
  display: flex;
  gap: 40px;
  animation: carrierScroll 25s linear infinite;
  width: max-content;
}

@keyframes carrierScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.carrier-item {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e3a8a;
  background: #f0f6ff;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  white-space: nowrap;
  border: 1px solid #dbeafe;
}

/* =========================================
   BLOG SECTION (HOMEPAGE)
   ========================================= */
.blog-section {
  padding: var(--section-py) 0;
  background: #ffffff;
}

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

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

.blog-card {
  background: #ffffff;
  border: 1px solid #e2edfb;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

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

.blog-card-img {
  position: relative;
  height: 180px;
  background: linear-gradient(135deg, #0f2b5c, #0056ef);
  display: grid;
  place-items: center;
}

.blog-img-icon {
  font-size: 3.5rem;
}

.blog-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}

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

.blog-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 1.2rem;
  line-height: 1.4;
}

.blog-read-link {
  margin-top: auto;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-primary);
}

/* =========================================
   CTA BANNER & FINAL CTA
   ========================================= */
.cta-banner-section,
.final-cta-section {
  padding: 70px 0;
  background: linear-gradient(135deg, #02122c 0%, #0044bd 100%);
  color: #ffffff;
  text-align: center;
}

.cta-banner-title,
.final-cta-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 1rem 0;
  line-height: 1.3;
}

.final-cta-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================
   FAQ SECTION
   ========================================= */
.faq-section {
  padding: var(--section-py) 0;
  background: #f8fafc;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
}

@media (max-width: 900px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

.faq-subtitle {
  font-size: 1.05rem;
  color: #6b7280;
  margin-top: 0.5rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.active {
  border-color: var(--color-primary);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.icon-minus { display: none; }
.faq-item.active .icon-plus { display: none; }
.faq-item.active .icon-minus { display: block; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #4b5563;
}

/* =========================================
   IMSEY REVIEWS & TESTIMONIALS SECTION
   ========================================= */
.reviews-section {
  padding: var(--section-py) 0;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.reviews-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.review-filter-btn {
  background: #ffffff;
  border: 1px solid #d0dfef;
  color: var(--color-dark);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
}

.review-filter-btn:hover,
.review-filter-btn.active {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  box-shadow: 0 4px 14px rgba(0, 86, 239, 0.25);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.review-card {
  background: #ffffff;
  border: 1px solid #e2edfb;
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #b8d5ff;
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.review-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.review-badge {
  background: #e6f4ea;
  color: #137333;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.review-text {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #374151;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid #f0f4f9;
  padding-top: 1rem;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-gold));
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.review-info strong {
  display: block;
  font-size: 1rem;
  color: var(--color-black);
}

.review-info span {
  font-size: 0.85rem;
  color: #6b7280;
}

.reviews-cta-wrap {
  text-align: center;
  margin-top: 3rem;
}

/* =========================================
   UPGRADED TEAM PAGE STYLES WITH MEMBER PHOTOS
   ========================================= */
.team-section {
  padding: var(--section-py) 0;
  background: #ffffff;
}

.team-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 3rem;
}

.team-member-card {
  background: #ffffff;
  border: 1px solid #e1ecfa;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.team-member-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #b2d3ff;
}

.team-member-img-wrap {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: #f0f4f9;
}

.team-member-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.team-member-card:hover .team-member-img {
  transform: scale(1.05);
}

.team-role-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0, 86, 239, 0.9);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}

.team-member-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.team-member-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 4px;
}

.team-member-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.team-member-bio {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.team-member-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f0f4f9;
  padding-top: 1rem;
}

.team-credentials {
  font-size: 0.8rem;
  font-weight: 600;
  color: #6b7280;
  background: #f3f4f6;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

/* =========================================
   EVENTS PAGE STYLES
   ========================================= */
.events-section {
  padding: var(--section-py) 0;
  background: #f8fafc;
}

.featured-event-card {
  background: linear-gradient(135deg, #091a34 0%, #003699 100%);
  border-radius: var(--radius-lg);
  color: #ffffff;
  padding: 40px;
  margin-bottom: 4rem;
  box-shadow: 0 12px 40px rgba(0, 54, 153, 0.25);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: center;
}

@media (max-width: 900px) {
  .featured-event-card {
    grid-template-columns: 1fr;
  }
}

.event-tag-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.event-tag-live::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #ffffff;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
  100% { opacity: 1; transform: scale(1); }
}

.featured-event-title {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: #ffffff;
}

.featured-event-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.5rem;
}

.event-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 2rem;
}

.event-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.countdown-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.countdown-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-gold);
  margin-bottom: 1rem;
  font-weight: 600;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.timer-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timer-value {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
}

.timer-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  margin-top: 4px;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.event-card {
  background: #ffffff;
  border: 1px solid #e2edfb;
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition), box-shadow var(--transition);
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #b2d3ff;
}

.event-date-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--color-bg-light);
  color: var(--color-primary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  width: fit-content;
  margin-bottom: 1.2rem;
}

.event-date-day {
  font-size: 1.4rem;
  line-height: 1;
}

.event-date-month {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 0.75rem;
}

.event-card-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 1.5rem;
}

.event-details-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
  padding: 12px 0;
  border-top: 1px solid #f0f4f9;
  border-bottom: 1px solid #f0f4f9;
}

/* =========================================
   INNER PAGES HELPER STYLES
   ========================================= */
.content-section {
  padding: var(--section-py) 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 900px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
}

.lead-copy {
  font-size: 1.15rem;
  color: #1f2937;
  margin: 1.2rem 0;
  font-weight: 500;
}

.feature-list {
  display: grid;
  gap: 1.2rem;
  margin-top: 2rem;
}

.feature-box {
  padding: 1.5rem;
  border: 1px solid #dce9fb;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.feature-box h3 {
  color: #000000;
  margin-bottom: 0.4rem;
  font-size: 1.15rem;
}

.mission-section {
  background: var(--color-bg-light);
  padding: var(--section-py) 0;
}

.mission-card {
  max-width: 950px;
  margin: 0 auto;
  text-align: center;
}

.mission-card h2 {
  font-size: 2.3rem;
  color: #000000;
  margin: 0.8rem 0 1.2rem;
  line-height: 1.3;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.contact-info h2,
.contact-form-wrap h2 {
  color: #000000;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-form-wrap {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 188, 42, 0.2), transparent 32%),
    linear-gradient(145deg, #071a36 0%, #0048bd 56%, #0068f0 100%);
  box-shadow: 0 24px 60px rgba(0, 55, 145, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-form-wrap::before {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  right: -70px;
  bottom: -80px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.contact-form-wrap h2 {
  position: relative;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.contact-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid #e5e5e5;
}

.contact-item strong {
  display: block;
  color: #000000;
  margin-bottom: 0.25rem;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.form-control {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  background: rgba(3, 24, 66, 0.52);
  color: #ffffff;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  box-shadow: 0 8px 22px rgba(0, 21, 67, 0.12);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.78);
  opacity: 1;
}

.form-control:focus {
  border-color: #ffbc2a;
  background: rgba(3, 24, 66, 0.72);
  box-shadow: 0 0 0 4px rgba(255, 188, 42, 0.2), 0 10px 25px rgba(0, 21, 67, 0.2);
  transform: translateY(-1px);
}

.contact-form .form-control:-webkit-autofill,
.contact-form .form-control:-webkit-autofill:hover,
.contact-form .form-control:-webkit-autofill:focus {
  -webkit-text-fill-color: #ffffff;
  box-shadow: 0 0 0 1000px #08377c inset;
  caret-color: #ffffff;
}

.contact-form textarea.form-control {
  min-height: 145px;
  resize: vertical;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(3, 24, 66, 0.28);
  margin-top: 6px;
}

.contact-form .full > strong {
  display: block;
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 0.65rem;
}

.checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  padding: 9px 11px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.checkbox-grid label:hover {
  background: rgba(255, 255, 255, 0.17);
  transform: translateY(-1px);
}

.checkbox-grid input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: #ffbc2a;
}

.contact-form .btn-primary {
  min-height: 54px;
  margin-top: 0.25rem;
  border-color: #ffbc2a;
  background: #ffbc2a;
  color: #071a36;
  box-shadow: 0 12px 28px rgba(0, 18, 55, 0.24);
}

.contact-form .btn-primary:hover {
  border-color: #ffd063;
  background: #ffd063;
  color: #071a36;
}

.contact-form .form-message {
  grid-column: 1 / -1;
  margin: 0;
  color: #ffffff;
}

@media (max-width: 640px) {
  .contact-layout {
    gap: 2.25rem !important;
  }

  .contact-form-wrap {
    padding: 1.35rem 1rem;
    border-radius: 16px;
  }

  .contact-form-wrap h2 {
    margin-bottom: 1.15rem;
  }
}

.services-page-grid,
.blog-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 38px;
}

@media (max-width: 900px) {
  .services-page-grid,
  .blog-page-grid {
    grid-template-columns: 1fr;
  }
}

.service-page-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 280px;
  padding: 0;
  overflow: hidden;
}

.service-page-card .service-card-content {
  padding: 30px;
}

.service-page-card h2,
.blog-page-grid h2 {
  font-size: 1.45rem;
  color: #071a36;
  margin: 10px 0;
}

.service-page-card .btn {
  margin-top: auto;
}

/* Final responsive safeguards for every page and the new service imagery. */
img,
video,
iframe {
  max-width: 100%;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 900px) {
  .service-card-image {
    height: clamp(190px, 48vw, 300px);
  }

  .service-page-card {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .service-card {
    padding: 0 !important;
  }

  .service-card-content,
  .service-page-card .service-card-content {
    padding: 22px 18px 24px;
  }

  .service-card-image {
    height: 190px;
  }

  .newsletter-fields,
  .footer-legal {
    flex-wrap: wrap;
  }

  input,
  select,
  textarea,
  button {
    max-width: 100%;
  }
}

@media (max-width: 400px) {
  .service-card-content,
  .service-page-card .service-card-content {
    padding: 18px 14px 20px;
  }

  .service-card-image {
    height: 165px;
  }
}

/* =========================================
   PROFESSIONAL SITE-WIDE POLISH
   ========================================= */
:root {
  --color-bg-light: #f2f7ff;
  --color-dark: #4a5b72;
  --shadow-sm: 0 8px 24px rgba(7, 26, 54, 0.07);
  --shadow-md: 0 16px 38px rgba(7, 47, 112, 0.13);
  --shadow-lg: 0 26px 64px rgba(4, 39, 99, 0.18);
  --radius-sm: 9px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

body {
  color: var(--color-dark);
  background: #ffffff;
  text-rendering: optimizeLegibility;
}

p {
  line-height: 1.75;
}

::selection {
  color: #071a36;
  background: rgba(243, 175, 44, 0.55);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(243, 175, 44, 0.8);
  outline-offset: 3px;
}

.site-header,
.page-header-solid {
  background: rgba(5, 14, 30, 0.94) !important;
  border-bottom-color: rgba(255, 255, 255, 0.09) !important;
  box-shadow: 0 10px 35px rgba(0, 9, 27, 0.24) !important;
}

.logo-link {
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 10px;
}

.nav-link {
  letter-spacing: 0.01em;
}

.btn {
  border-radius: 10px;
}

.btn-primary,
.btn-gold {
  box-shadow: 0 8px 20px rgba(243, 175, 44, 0.2);
}

.section-tag {
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: rgba(0, 86, 239, 0.08);
  letter-spacing: 0.14em;
}

.inner-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(128deg, #041227 0%, #003d9f 48%, #0064e8 100%);
}

.inner-hero::before,
.inner-hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.inner-hero::before {
  width: 360px;
  height: 360px;
  top: -235px;
  right: 8%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.025);
}

.inner-hero::after {
  width: 220px;
  height: 220px;
  bottom: -165px;
  left: 9%;
  background: rgba(243, 175, 44, 0.1);
}

.inner-hero h1 {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.035em;
}

.content-section {
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.content-grid {
  align-items: start;
}

.lead-copy {
  color: #273b57;
  line-height: 1.8;
}

.feature-list {
  gap: 1rem;
}

.feature-box:not(.service-page-card) {
  position: relative;
  overflow: hidden;
  padding: 1.65rem;
  border: 1px solid #dce8f8;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.feature-box:not(.service-page-card)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-primary), var(--color-gold));
}

.feature-box:not(.service-page-card):hover {
  transform: translateY(-3px);
  border-color: #b8d3f7;
  box-shadow: var(--shadow-md);
}

.feature-box h3 {
  color: #071a36;
}

.services-grid,
.services-page-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 26px;
}

.service-card,
.service-page-card,
.blog-card,
.team-member-card,
.event-card,
.review-card {
  border-color: #dce8f8;
  box-shadow: var(--shadow-sm);
}

.service-card:hover,
.service-page-card:hover,
.blog-card:hover,
.team-member-card:hover,
.event-card:hover,
.review-card:hover {
  border-color: #b7d2f5;
  box-shadow: var(--shadow-md);
}

.service-card-image {
  transition: transform 0.55s ease, filter 0.55s ease;
}

.service-card:hover .service-card-image,
.service-page-card:hover .service-card-image {
  transform: scale(1.025);
  filter: saturate(1.04) contrast(1.02);
}

.blog-section,
.team-section {
  background: #ffffff;
}

.blog-card-img {
  background: linear-gradient(140deg, #071a36 0%, #004ac8 65%, #0b78f0 100%);
}

.reviews-section,
.events-section,
.faq-section {
  background: linear-gradient(180deg, #f5f9ff 0%, #eef5ff 100%);
}

.faq-item {
  box-shadow: 0 6px 18px rgba(7, 26, 54, 0.045);
}

.faq-item:hover {
  border-color: #bdd4f2;
  box-shadow: var(--shadow-sm);
}

.featured-event-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #06152d 0%, #003b9d 62%, #0059d9 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
}

.event-date-badge {
  border: 1px solid #d7e6fa;
}

.mission-section {
  background: linear-gradient(135deg, #edf5ff 0%, #f8fbff 100%);
}

.mission-card {
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid #d8e7fa;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
}

.mission-card h2 {
  color: #071a36;
  letter-spacing: -0.025em;
}

.cta-banner-section,
.final-cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, #04152f 0%, #0045b9 62%, #0064e8 100%);
}

.site-footer {
  border-top: 4px solid var(--color-gold);
}

.footer-link {
  transition: color var(--transition), transform var(--transition);
}

.footer-link:hover {
  transform: translateX(3px);
}

.scroll-to-top {
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 28px rgba(0, 38, 104, 0.28);
}

@media (max-width: 900px) {
  .content-grid {
    gap: 2.5rem !important;
  }

  .mission-card {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 640px) {
  .inner-hero {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .inner-hero h1 {
    letter-spacing: -0.02em;
  }

  .feature-box:not(.service-page-card),
  .event-card,
  .review-card {
    padding: 1.25rem;
  }

  .mission-card {
    padding: 1.5rem 1rem;
    border-radius: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.team-intro {
  max-width: 800px;
  margin: 12px auto 0;
  text-align: center;
}

/* =========================================
   UNIFIED FOOTER STYLING
   ========================================= */
.site-footer {
  background: linear-gradient(180deg, #08111e 0%, #030810 100%);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 70px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-info {
  margin-bottom: 2rem;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.footer-logo {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.footer-tagline {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
  max-width: 400px;
}

.footer-heading,
.footer-nav-heading {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition);
}

.footer-link:hover {
  color: var(--color-gold);
}

.footer-bottom {
  background: #02050b;
  padding: 24px 0;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.copyright {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
}

.legal-link {
  color: rgba(255, 255, 255, 0.6);
}

.legal-link:hover {
  color: var(--color-white);
}

.dot {
  color: rgba(255, 255, 255, 0.3);
}

/* =========================================
   MODAL DIALOG STYLES (RSVP & Review)
   ========================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #ffffff;
  width: 100%;
  max-width: 540px;
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.open .modal-box {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: #64748b;
  transition: background 0.2s;
}

.modal-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.modal-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  font-size: 0.92rem;
  color: #64748b;
  margin-bottom: 1.5rem;
}
