/* ========================================
   SaasOne — Light Theme (saasone.in inspired)
   Blue & Green Branding
   ======================================== */

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

:root {
  --primary-dark: #043a6b;
  --primary-mid: #0658b8;
  --primary-light: #3b7fdb;
  --accent-gold: #02a96b;
  --accent-gold-hover: #03c47d;
  --text-dark: #111827;
  --text-body: #4b5563;
  --text-white: #ffffff;
  --bg-page: #f8fafc;
  --bg-light-section: #eef4fb;
  --bg-white: #ffffff;
  --bg-dark: #0c1f36;
  --border-light: #e2e8f0;
  --font-heading: 'Urbanist', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --font-serif: 'Instrument Serif', serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-body);
  background: var(--bg-page);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

ul {
  list-style: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Serif Italic Emphasis --- */
.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  border: none;
}

.btn-gold {
  background: linear-gradient(135deg, var(--primary-mid), var(--accent-gold));
  color: var(--text-white);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--accent-gold), var(--primary-mid));
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(2, 169, 107, 0.4);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-outline-nav {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 50px;
  border: 2px solid var(--accent-gold);
  color: var(--accent-gold);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  background: transparent;
  transition: background 0.25s, color 0.25s;
}

.btn-outline-nav:hover {
  background: linear-gradient(135deg, var(--primary-mid), var(--accent-gold));
  color: var(--text-white);
  border-color: transparent;
}

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

/* --- Section Badges --- */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-light-section);
  color: var(--primary-mid);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

.section-badge-dark {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-gold);
}

.badge-icon {
  font-size: 1rem;
}

/* --- Section Headings --- */
.section-heading {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.section-heading-left {
  text-align: left;
}

.section-heading-white {
  color: var(--text-white);
}

.section-sub {
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-body);
  max-width: 640px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.section-sub-dark {
  color: rgba(255, 255, 255, 0.7);
}


/* ========================================
   Navigation
   ======================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-white);
  transition: box-shadow 0.3s;
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(12, 31, 54, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

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

.nav-links svg {
  opacity: 0.5;
}

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

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

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

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

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

/* --- Dropdowns --- */
.has-dropdown {
  position: relative;
}

.dropdown-trigger .chevron {
  transition: transform 0.3s;
}

.has-dropdown:hover .dropdown-trigger .chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 280px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(12, 31, 54, 0.12);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
  z-index: 100;
}

/* Bridge to prevent gap-close issue */
.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 16px;
  display: none;
}

.has-dropdown:hover::after {
  display: block;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  transition: background 0.2s;
}

.dropdown-item:hover {
  background: var(--bg-light-section);
}

.dropdown-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-light-section);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dropdown-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dropdown-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-dark);
}

.dropdown-desc {
  font-size: 0.8rem;
  color: var(--text-body);
  line-height: 1.4;
}

/* ========================================
   Hero
   ======================================== */
.hero {
  padding: 100px 0 80px;
  background: linear-gradient(180deg, var(--bg-page) 0%, var(--bg-light-section) 100%);
  text-align: center;
}

.hero-content {
  max-width: 780px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.6rem;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  color: var(--text-dark);
}

.hero h1 .serif-italic {
  font-size: 4rem;
  color: var(--primary-mid);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-body);
  margin-bottom: 36px;
  line-height: 1.7;
}

.social-proof {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--text-body);
}

.stars {
  color: var(--accent-gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

/* ========================================
   Logo Carousel
   ======================================== */
.logo-carousel {
  padding: 40px 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.carousel-track-wrapper {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-track {
  display: flex;
  gap: 60px;
  animation: scroll-logos 30s linear infinite;
  width: max-content;
}

.client-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
  opacity: 0.35;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 10px 0;
  transition: opacity 0.3s;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.client-logo:hover {
  opacity: 0.7;
}

.client-logo .logo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-mid);
}

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

/* ========================================
   Stats
   ======================================== */
.stats {
  padding: 80px 0;
  background: var(--bg-page);
}

.stats-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr 1fr 1fr;
  gap: 24px;
  align-items: center;
  text-align: center;
}

.stat-item {
  padding: 20px;
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-light-section);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary-mid);
  display: inline;
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--text-body);
  margin-top: 6px;
  font-weight: 500;
}

.stat-center-tagline {
  padding: 32px 20px;
  background: var(--bg-light-section);
  border-radius: 16px;
  text-align: center;
}

.stat-tagline-badge {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-mid);
  margin-bottom: 8px;
}

.stat-center-tagline p {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.5;
}

/* ========================================
   AWS Partner
   ======================================== */
.aws-partner {
  padding: 60px 0;
  background: var(--bg-white);
}

.aws-partner-card {
  display: flex;
  align-items: center;
  gap: 36px;
  max-width: 680px;
  margin: 0 auto;
  padding: 36px 40px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 16px;
}

.aws-partner-logo {
  flex-shrink: 0;
  width: 109px;
  height: 64px;
}

.aws-partner-text h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.aws-partner-text p {
  color: var(--text-body);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ========================================
   One Partner Section
   ======================================== */
.one-partner {
  padding: 100px 0;
  background: var(--bg-white);
}

.one-partner-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
}

.one-partner-text .section-heading {
  margin-bottom: 28px;
}

/* Gauge */
.gauge-wrapper {
  text-align: center;
}

.gauge {
  width: 200px;
  height: 100px;
  margin: 0 auto 16px;
  position: relative;
  overflow: hidden;
  border-radius: 100px 100px 0 0;
  background: var(--bg-light-section);
}

.gauge-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200px;
  height: 100px;
  border-radius: 100px 100px 0 0;
  background: conic-gradient(
    from 0.75turn at 50% 100%,
    var(--accent-gold) 0%,
    var(--primary-mid) 47%,
    var(--bg-light-section) 47%,
    var(--bg-light-section) 100%
  );
}

.gauge-center {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 70px;
  border-radius: 70px 70px 0 0;
  background: var(--bg-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 8px;
}

.gauge-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--primary-mid);
}

.gauge-label {
  font-size: 0.75rem;
  color: var(--text-body);
  font-weight: 500;
}

.gauge-badge {
  display: inline-block;
  background: var(--bg-light-section);
  color: var(--primary-mid);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 20px;
  border-radius: 50px;
}

/* Feature card */
.one-partner-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 48px;
}

.one-partner-card h3 {
  font-size: 1.4rem;
  margin-bottom: 32px;
  text-align: center;
  color: var(--text-dark);
}

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

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-check {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-item span {
  font-size: 0.92rem;
  color: var(--text-dark);
  font-weight: 500;
}

/* ========================================
   Services
   ======================================== */
.services {
  padding: 100px 0;
  background: var(--bg-white);
  text-align: center;
}

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

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: left;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(12, 31, 54, 0.08);
}

.service-card-img {
  height: 160px;
  border-radius: 16px 16px 0 0;
}

.service-card-img-1 {
  background: linear-gradient(135deg, #e0f0ff 0%, #0658b8 100%);
}

.service-card-img-2 {
  background: linear-gradient(135deg, #d5f5e8 0%, #02a96b 100%);
}

.service-card-img-3 {
  background: linear-gradient(135deg, #e0f7fa 0%, #08d9ff 100%);
}

.service-card-img-4 {
  background: linear-gradient(135deg, #e8f5e9 0%, #043a6b 100%);
}

.service-card-img-5 {
  background: linear-gradient(135deg, #f3e8ff 0%, #7c3aed 100%);
}

.service-card-img-6 {
  background: linear-gradient(135deg, #fef3c7 0%, #d97706 100%);
}

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

.service-card-body {
  padding: 24px;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ========================================
   Accelerators
   ======================================== */
.accelerators {
  padding: 100px 0;
  background: var(--bg-page);
  text-align: center;
}

.accelerators-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 800px;
  margin: 0 auto 32px;
}

.accelerator-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.accelerator-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(12, 31, 54, 0.08);
}

.accelerator-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: var(--bg-light-section);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.coming-soon-tag {
  display: inline-block;
  background: var(--bg-light-section);
  color: var(--primary-mid);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.7rem;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.accelerator-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.accelerator-card p {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
}

.accelerator-banner {
  background: linear-gradient(135deg, var(--primary-mid) 0%, var(--primary-dark) 100%);
  border-radius: 16px;
  padding: 28px 40px;
  max-width: 800px;
  margin: 0 auto;
}

.accelerator-banner p {
  color: var(--text-white);
  font-size: 1rem;
  line-height: 1.6;
}

.accelerator-banner strong {
  color: var(--accent-gold);
}

/* ========================================
   Platform Expertise (Dark Section)
   ======================================== */
.platform-expertise {
  padding: 100px 0;
  background: var(--bg-dark);
  text-align: center;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 32px auto 0;
}

.expertise-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  text-align: left;
}

.expertise-bullet {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(2, 169, 107, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.expertise-item span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* ========================================
   Testimonials
   ======================================== */
.testimonials {
  padding: 100px 0;
  background: var(--bg-white);
  text-align: center;
}

.carousel-wrapper {
  position: relative;
  max-width: 800px;
  margin: 32px auto 0;
  overflow: hidden;
}

.carousel-track {
  position: relative;
  min-height: 220px;
}

.testimonial-card {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.5s, transform 0.5s;
  pointer-events: none;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 36px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  text-align: left;
}

.testimonial-card.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}

.testimonial-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-tag {
  display: inline-block;
  background: var(--bg-light-section);
  color: var(--primary-mid);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.7rem;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: fit-content;
  margin-bottom: 8px;
}

.testimonial-left strong {
  color: var(--text-dark);
  font-size: 1rem;
}

.testimonial-role {
  font-size: 0.82rem;
  color: var(--text-body);
}

.testimonial-company {
  font-size: 0.82rem;
  color: var(--primary-mid);
  font-weight: 600;
}

.testimonial-right {
  display: flex;
  align-items: center;
}

.quote {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.8;
  font-style: italic;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: var(--bg-light-section);
  box-shadow: 0 2px 8px rgba(12, 31, 54, 0.1);
}

.carousel-btn.prev {
  left: -56px;
}

.carousel-btn.next {
  right: -56px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-light);
  cursor: pointer;
  transition: background 0.3s;
  border: none;
}

.carousel-dot.active {
  background: var(--accent-gold);
}


/* ========================================
   CTA Banner
   ======================================== */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--bg-light-section) 0%, #e0f0ff 50%, #d5f5e8 100%);
  text-align: center;
}

.cta-content h2 {
  font-size: 2.4rem;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.cta-content p {
  font-size: 1.1rem;
  color: var(--text-body);
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--bg-dark);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-email {
  color: var(--accent-gold);
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--text-white);
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: var(--accent-gold);
}

.footer-social {
  padding: 32px 0;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-links a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.social-links a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
}

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

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

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

.footer-legal a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--accent-gold);
}

/* ========================================
   Contact Form
   ======================================== */
.contact-section {
  padding: 100px 0;
  background: var(--bg-white);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 960px;
  margin: 0 auto;
  align-items: start;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.contact-info p {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-light-section);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail span {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
}

.contact-detail a {
  color: var(--primary-mid);
  font-weight: 500;
}

.contact-form-card {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 40px;
}

.contact-form-card h3 {
  font-size: 1.3rem;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--bg-white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-mid);
  box-shadow: 0 0 0 3px rgba(6, 88, 184, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
}

.btn-submit {
  width: 100%;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  background: linear-gradient(135deg, var(--primary-mid), var(--accent-gold));
  color: var(--text-white);
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}

.btn-submit:hover {
  background: linear-gradient(135deg, var(--accent-gold), var(--primary-mid));
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(2, 169, 107, 0.4);
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.show {
  display: block;
}

.form-success h3 {
  color: #02a96b;
  margin-bottom: 8px;
}

.form-success p {
  color: var(--text-body);
  font-size: 0.95rem;
}

/* ========================================
   Page-Specific Layouts
   ======================================== */

/* --- Step Cards (ITSM Section 4) --- */
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 32px;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(12, 31, 54, 0.08);
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-mid), var(--accent-gold));
  color: var(--text-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* --- Horizontal Service Cards (ITSM Section 6) --- */
.service-row-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-row-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-row-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(12, 31, 54, 0.08);
}

.service-row-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: var(--bg-light-section);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-row-content h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.service-row-content p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* --- Icon Cards (CX Section 4) --- */
.icon-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.icon-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.icon-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(12, 31, 54, 0.08);
}

.icon-card-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-light-section);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.icon-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.icon-card p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* --- Wide Cards (CX Section 6) --- */
.wide-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.wide-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
}

.wide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(12, 31, 54, 0.08);
}

.wide-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-light-section);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wide-card-content h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.wide-card-content p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* --- Product Cards (Freshworks Section 4) --- */
.product-card .service-card-img {
  height: 180px;
}

.product-card {
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(12, 31, 54, 0.06);
}

/* --- Compact Items (Freshworks Section 6) --- */
.compact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.compact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  text-align: left;
}

.compact-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.compact-item h3 {
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.compact-item p {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.5;
}

/* --- Detail Cards (Intercom Section 6) --- */
.detail-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.detail-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 28px;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
}

.detail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(12, 31, 54, 0.08);
}

.detail-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-light-section);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.detail-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--text-dark);
  text-align: center;
}

.detail-card > p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 16px;
}

.detail-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.4;
}

.detail-list-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(2, 169, 107, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ========================================
   Responsive — Tablet
   ======================================== */
@media (max-width: 1024px) {
  .carousel-btn.prev {
    left: 0;
  }

  .carousel-btn.next {
    right: 0;
  }

  .carousel-wrapper {
    padding: 0 56px;
  }

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

  .stat-center-tagline {
    grid-column: 1 / -1;
    order: -1;
  }

  .aws-partner-card {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }

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

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

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

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

  .step-grid,
  .icon-card-grid,
  .detail-card-grid,
  .compact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-row-grid,
  .wide-card-grid {
    grid-template-columns: 1fr;
  }

  .one-partner-top {
    grid-template-columns: 1fr;
  }

  .one-partner-text .section-heading {
    text-align: center;
  }

  .one-partner-text {
    text-align: center;
  }

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

  .testimonial-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  /* Nav */
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-white);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 20px;
    box-shadow: 0 8px 24px rgba(12, 31, 54, 0.1);
    transform: none;
    z-index: 999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links > li > a {
    display: flex;
    width: 100%;
    padding: 8px 0;
    font-size: 1rem;
  }

  .nav-links.open {
    display: flex;
  }

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

  .nav-links .nav-cta-mobile {
    display: block;
    margin-top: 8px;
  }

  .nav-links .nav-cta-mobile .btn {
    display: block;
    width: 100%;
    text-align: center;
  }

  /* Mobile dropdowns */
  .has-dropdown::after {
    display: none !important;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0 16px;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition: max-height 0.35s ease;
    min-width: auto;
  }

  .has-dropdown:hover .dropdown-menu {
    transform: none;
  }

  .has-dropdown.dropdown-open > .dropdown-menu {
    max-height: 300px;
  }

  .has-dropdown.dropdown-open .dropdown-trigger .chevron {
    transform: rotate(180deg);
  }

  /* Hero */
  .hero {
    padding: 72px 0 60px;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero h1 .serif-italic {
    font-size: 2.8rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

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

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

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-grid-3 {
    grid-template-columns: 1fr;
  }

  /* Accelerators */
  .accelerators-grid {
    grid-template-columns: 1fr;
  }

  /* Expertise */
  .expertise-grid {
    grid-template-columns: 1fr;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
  }

  /* Custom grids */
  .step-grid,
  .icon-card-grid,
  .detail-card-grid,
  .compact-grid,
  .service-row-grid,
  .wide-card-grid {
    grid-template-columns: 1fr;
  }

  .service-row-card,
  .wide-card {
    flex-direction: column;
  }

  .compact-item {
    padding: 16px 12px;
  }

  /* Product card gradient — shorter on mobile */
  .product-card .service-card-img {
    height: 140px;
  }

  .one-partner-card {
    padding: 28px;
  }

  /* Carousel */
  .carousel-wrapper {
    padding: 0 48px;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
  }

  .carousel-btn.prev {
    left: 0;
  }

  .carousel-btn.next {
    right: 0;
  }

  .testimonial-card {
    padding: 24px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .quote {
    font-size: 0.92rem;
  }

  /* Section headings */
  .section-heading {
    font-size: 1.8rem;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  /* Contact */
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form-card {
    padding: 28px;
  }

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

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

  .footer-legal {
    gap: 16px;
  }

}

/* ========================================
   Responsive — Small Phones (≤480px)
   ======================================== */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.9rem;
  }

  .hero h1 .serif-italic {
    font-size: 2.2rem;
  }

  .hero-sub {
    font-size: 0.92rem;
  }

  .hero {
    padding: 56px 0 48px;
  }

  .section-heading {
    font-size: 1.55rem;
  }

  .cta-content h2 {
    font-size: 1.55rem;
  }

  .section-sub {
    font-size: 0.95rem;
  }

  .stats-layout {
    grid-template-columns: 1fr;
  }

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

  .social-proof {
    font-size: 0.8rem;
    padding: 10px 16px;
  }

  .btn-lg {
    padding: 14px 28px;
    font-size: 0.95rem;
  }

  .carousel-wrapper {
    padding: 0 40px;
  }

  .carousel-btn {
    width: 32px;
    height: 32px;
  }

  .expertise-grid {
    grid-template-columns: 1fr !important;
  }

  .step-card,
  .icon-card,
  .detail-card {
    padding: 24px;
  }

  .icon-card {
    padding: 28px 20px;
  }

  .icon-card-icon {
    width: 64px;
    height: 64px;
  }

  .step-number {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }
}
