/* =========================================
   PREMIUM LIGHT THEME (SLATE & ROYAL BLUE)
========================================= */

:root {
  /* COLOR PALETTE PROVIDED */
  --bg-main: #FFFFFF;         /* background */
  --bg-section: #F1F5F9;      /* section */
  --primary: #2563EB;         /* primary blue */
  --primary-hover: #1E40AF;   /* hover */
  --text-main: #0F172A;       /* text */
  
  /* DERIVED VARIABLES FOR UI ELEMENTS */
  --text-muted: rgba(15, 23, 42, 0.7);
  --border-color: rgba(15, 23, 42, 0.1);
  --glass: rgba(255, 255, 255, 0.85);
  --glow: rgba(37, 99, 235, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: -0.015em;
}

/* ABSOLUTE LAYOUT RESET */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: auto; 
  min-height: 100%;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow: visible; 
  position: relative;
  overflow-x: hidden; 
  overflow-y: visible;
}

/* NAVBAR - FROSTED GLASS */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  padding: 16px 5%;
  align-items: center;
  background: var(--glass);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-color);
}

.navbar a {
  color: var(--text-main);
  margin: 0 16px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s ease;
}

.navbar a:hover {
  color: var(--primary);
}

.logo {
  font-weight: 700;
  font-size: 20px;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

/* PREMIUM BUTTONS */
.btn {
  background: var(--primary);
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-block;
  border: 1px solid transparent;
}

.btn:hover {
  background: var(--primary-hover);
  transform: scale(1.02);
  box-shadow: 0 4px 15px var(--glow);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: var(--bg-section);
  border-color: var(--primary-hover);
  color: var(--primary-hover);
}

/* HERO SECTION */
.hero {
  display: flex;
  justify-content: space-between;
  padding: 120px 5%;
  align-items: center;
  min-height: 90vh;
  position: relative;
  background-color: var(--bg-main);
}

.hero::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 20%;
  width: 500px;
  height: 500px;
  background: var(--glow);
  filter: blur(120px);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.hero h1 {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  color: var(--text-main);
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 90%;
  line-height: 1.4;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

/* HERO CARD (Interactive Menu) */
.hero-card {
  position: relative;
  z-index: 1;
  background: var(--bg-section);
  padding: 32px;
  border-radius: 24px;
  width: 380px;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.hero-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.card-item {
  padding: 16px;
  margin-bottom: 12px;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  color: var(--text-main);
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.card-item .item-text {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-item .arrow {
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--primary);
  font-weight: 700;
}

.card-item:hover {
  background: #FFFFFF;
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 4px 12px var(--glow);
}

.card-item:hover .arrow {
  opacity: 1;
  transform: translateX(0);
}

.highlight {
  background: rgba(37, 99, 235, 0.05);
  border-color: var(--primary);
  color: var(--primary);
}

/* VERTICAL MARQUEE */
.vertical-marquee-container {
  height: 270px; 
  overflow-y: auto;
  scroll-behavior: auto;
  position: relative;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.vertical-marquee-container::-webkit-scrollbar {
  display: none; 
}

.vertical-marquee-track {
  display: flex;
  flex-direction: column;
}

/* SERVICES GRID */
.services {
  padding: 80px 5%;
  background: var(--bg-main);
  border-top: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 48px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

/* SERVICE CARDS */
.service {
  background: var(--bg-section);
  padding: 32px;
  border-radius: 24px;
  border: 1px solid var(--border-color);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  scroll-margin-top: 100px;
}

.service:hover {
  background: var(--bg-main);
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px var(--glow);
}

.service-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 24px;
  object-fit: cover;
  transition: all 0.4s ease;
}

.service h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* READ MORE LINK */
.read-more {
  margin-top: auto; 
  padding-top: 20px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.rm-arrow {
  margin-left: 6px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service:hover .rm-arrow {
  transform: translateX(6px);
}

/* STATS SECTION */
.stats {
  display: flex;
  justify-content: space-around;
  padding: 60px 5%;
  background: var(--bg-section);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stat {
  text-align: center;
}

.stat h2 {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.stat p {
  color: var(--text-main);
  font-size: 16px;
  font-weight: 600;
}

/* CTA SECTION */
.cta {
  text-align: center;
  padding: 80px 5%;
  background: var(--bg-section);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  bottom: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: var(--glow);
  filter: blur(150px);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: 48px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.cta .btn {
  background: var(--primary);
  color: #FFFFFF;
  padding: 16px 36px;
  font-size: 16px;
  margin-top: 10px;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 40px 5%;
  color: var(--text-muted);
  background: var(--bg-main);
  font-size: 14px;
  border-top: 1px solid var(--border-color);
}

/* INFINITE PHASES MARQUEE */
.phases-marquee {
  padding: 60px 0;
  background: var(--bg-main);
  border-top: 1px solid var(--border-color);
  overflow: hidden;
  position: relative;
  display: flex;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: scrollMarquee 40s linear infinite;
  padding-left: 24px;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.phase-card {
  background: var(--bg-section);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
  width: 400px;
  flex-shrink: 0;
  transition: background 0.3s ease;
}

.phase-card:hover {
  background: var(--bg-main);
  border-color: var(--primary);
  box-shadow: 0 10px 30px var(--glow);
}

.phase-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.phase-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.phase-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 12px)); }
}

/* TIMELINE (ABOUT PAGE) */
.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  height: 100%;
  width: 2px;
  background: var(--border-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 60px;
}

.timeline-dot {
  position: absolute;
  left: 13px;
  top: 32px;
  width: 16px;
  height: 16px;
  background: var(--bg-main);
  border: 2px solid var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.2);
  z-index: 2;
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
  background: var(--primary);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
}

.timeline-content.service {
  padding: 24px 32px;
}

.timeline-content.service:hover {
  transform: translateX(6px) translateY(0); 
}

/* MODAL (POP-UP) STYLES */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  width: 90%;
  max-width: 800px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  padding: 40px;
  transform: scale(0.95) translateY(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.15);
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-content::-webkit-scrollbar {
  width: 8px;
}
.modal-content::-webkit-scrollbar-track {
  background: transparent;
}
.modal-content::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 10px;
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--bg-section);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: var(--border-color);
  transform: scale(1.1);
}

.modal-header {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
  font-size: 32px;
  color: var(--text-main);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.modal-header p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.modal-body h3 {
  font-size: 22px;
  color: var(--text-main);
  font-weight: 700;
  margin-bottom: 24px;
}

.modal-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.modal-feature {
  background: var(--bg-section);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: 16px;
}

.modal-feature h4 {
  color: var(--primary);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.modal-feature p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

.modal-footer-box {
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 16px;
  padding: 24px;
}

.modal-footer-box ul {
  list-style: none;
}

.modal-footer-box li {
  color: var(--text-main);
  font-size: 15px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-footer-box li span {
  color: var(--primary);
  font-weight: bold;
}

@media(min-width: 768px) {
  .modal-features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* MOBILE OPTIMIZATION */
.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 28px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-only-btn {
  display: none;
}

@media(max-width: 900px) {
  .hamburger {
    display: block;
  }
  .desktop-btn {
    display: none; 
  }

  .navbar nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98); 
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 30px 5%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-150%); 
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 99;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
  }

  .navbar nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .navbar nav a {
    font-size: 18px;
    margin: 0;
  }

  .mobile-only-btn {
    display: inline-block;
    text-align: center;
    margin-top: 10px;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 60px;
    min-height: auto;
  }
  .hero-content {
    margin-bottom: 60px;
  }
  .hero h1 {
    font-size: 42px; 
  }
  .hero p {
    font-size: 16px;
    margin: 20px auto 40px auto;
  }
  .hero-buttons {
    justify-content: center;
    flex-direction: column;
  }
  .hero-card {
    width: 100%; 
  }

  .section-header h2, .cta h2, .stat h2 {
    font-size: 36px;
  }
  .services, .cta, .phases-marquee {
    padding: 60px 5%;
  }
  
  .stats {
    flex-direction: column;
    gap: 40px;
  }

  .modal-content {
    padding: 24px;
    width: 95%;
  }
  .modal-header h2 {
    font-size: 26px;
  }
  .modal-close {
    top: 16px;
    right: 16px;
  }
  .phase-card {
    width: 320px;
    padding: 24px;
  }
  .grid[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important; 
  }
  .timeline::before {
    left: 15px;
  }
  .timeline-dot {
    left: 8px;
  }
  .timeline-item {
    padding-left: 45px;
  }
}
/* =========================================
   ABOUT PAGE & PORTFOLIO SPECIFIC STYLES
========================================= */

/* Utility Classes */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.bg-alt { background-color: var(--bg-section); }
.highlight-text { color: var(--primary); margin-bottom: 12px; font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px;}
.icon-large { font-size: 48px; margin-bottom: 20px; }

/* Active Nav State */
.navbar a.active { color: var(--primary); font-weight: 700; }

/* Custom Hero Spacing for About Page */
.legacy-hero {
  min-height: 50vh;
  padding-top: 100px;
  padding-bottom: 60px;
}
.legacy-hero .hero-content {
  max-width: 850px;
}

/* Two Column Grid layout for Core Ventures */
.two-col-grid {
  grid-template-columns: 1fr 1fr;
  max-width: 1000px;
  margin: 0 auto;
}

/* Before & After Transformation Showcase */
.transformation-showcase {
  padding: 80px 5%;
  background: var(--bg-section);
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.before-after-grid {
  display: flex;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.image-card {
  flex: 1;
  min-width: 320px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(15,23,42,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.before-card {
  border: 1px solid var(--border-color);
}

.after-card {
  border: 2px solid var(--primary);
  box-shadow: 0 20px 40px var(--glow);
}

.image-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(15,23,42,0.12);
}

.image-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  transition: filter 0.4s ease;
}

.before-card img {
  filter: grayscale(30%) contrast(0.9);
}
.before-card:hover img {
  filter: grayscale(0%) contrast(1);
}

/* Badges for Before/After */
.badge {
  position: absolute;
  padding: 10px 24px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 14px;
  z-index: 2;
  letter-spacing: 0.5px;
}

.badge-before {
  top: 20px;
  left: 20px;
  background: rgba(15,23,42,0.85);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
}

.badge-after {
  top: 20px;
  right: 20px;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 15px var(--glow);
}

/* Mobile Adjustments for Grid */
@media(max-width: 768px) {
  .two-col-grid {
    grid-template-columns: 1fr;
  }
  .image-card img {
    height: 300px;
  }
  .legacy-hero h1 {
    font-size: 40px;
  }
}

/* =========================================
   SETUP STEPS (Screenshot Card Style)
========================================= */

.setup-steps-section {
  padding: 60px 5%;
  /* Soft gradient background matching the screenshot */
  background: linear-gradient(135deg, #FDF2F2 0%, #F0F4FA 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.ss-container {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.ss-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 30px 20px 20px;
  position: relative;
  min-width: 260px;
  flex: 1;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ss-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Red Badge (Mimicking "Top Package") */
.ss-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #C62828; /* Deep Red */
  color: #FFFFFF;
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(198, 40, 40, 0.3);
}

/* Logo Area (Mimicking Company Logos) */
.ss-logo-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #F1F5F9;
}

.ss-icon {
  font-size: 24px;
}

.ss-logo-text {
  font-weight: 800;
  color: #0F172A;
  font-size: 18px;
  letter-spacing: -0.5px;
}

/* Title (Mimicking Student Name) */
.ss-title {
  font-size: 15px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 16px;
}

/* Highlight Box (Mimicking LPA Package) */
.ss-highlight {
  font-size: 18px;
  font-weight: 800;
  padding: 12px 10px;
  border-radius: 8px;
  margin-bottom: 24px;
}

.ss-highlight-red {
  background: #FCE8E8; /* Light red tint */
  color: #C62828;      /* Deep red text */
}

.ss-highlight-blue {
  background: #F1F5F9; /* Light blue/slate tint */
  color: #1E40AF;      /* Deep blue text */
}

/* Footer (Mimicking Location Pin) */
.ss-footer {
  border-top: 1px dashed #E2E8F0;
  padding-top: 16px;
  color: #64748B;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

@media(max-width: 768px) {
  .ss-container {
    flex-direction: column;
    align-items: center;
  }
  .ss-card {
    width: 100%;
    max-width: 350px;
  }
}

/* =========================================
   CTA & NEWSLETTER SECTION (Split Layout)
========================================= */

.cta-newsletter-section {
  padding: 80px 5%;
  background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%); /* Soft light blue/white gradient */
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: center;
}

.cta-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
  gap: 60px;
  flex-wrap: wrap;
}

/* Left Side Text */
.cta-text {
  flex: 1;
  min-width: 300px;
}

.cta-text h2 {
  font-size: 42px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.cta-text p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Right Side: Newsletter Card (Dark Theme) */
.newsletter-card {
  flex: 1;
  min-width: 340px;
  max-width: 450px;
  background: #0B1120; /* Deep navy from email template */
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 25px 50px rgba(11, 17, 32, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.nl-subtitle {
  font-size: 12px;
  font-weight: 700;
  color: #06B6D4;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.newsletter-card h3 {
  font-size: 36px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 20px;
}

.newsletter-card h4 {
  font-size: 20px;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.3;
  margin-bottom: 16px;
}

.cyan-text {
  color: #22D3EE; /* Cyan highlight */
}

.nl-divider {
  width: 50px;
  height: 3px;
  background: #22D3EE;
  margin: 0 auto 20px auto;
  border-radius: 2px;
}

.newsletter-card p {
  font-size: 14px;
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Form Styles */
.nl-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.nl-form input {
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s ease;
}

.nl-form input::placeholder {
  color: #64748B;
}

.nl-form input:focus {
  border-color: #22D3EE;
}

.nl-btn {
  background: #22D3EE;
  color: #000000;
  font-weight: 800;
  font-size: 14px;
  padding: 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nl-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(34, 211, 238, 0.2);
}

.nl-link {
  color: #22D3EE;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 1px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.nl-link:hover {
  border-color: #22D3EE;
}

/* Mobile Responsiveness */
@media(max-width: 900px) {
  .cta-container {
    flex-direction: column;
    text-align: center;
  }
  .newsletter-card {
    width: 100%;
    max-width: 100%;
  }
}