/* CSS Variables & Design System */
:root {
    /* Colors */
    --navy-dark: #1A1D29;
    --navy: #0A2463;
    --white: #FFFFFF;
    
    /* Google Accents */
    --google-red: #EA4335;
    --google-yellow: #FBBC04;
    --google-green: #34A853;
    --google-blue: #4285F4;
    
    /* Supporting Colors */
    --orange: #FB8500;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-600: #4B5563;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Manrope', sans-serif;
    
    /* Spacing & Layout */
    --container-width: 1200px;
    --nav-height: 80px;
    --nav-height-scrolled: 60px;
    
    /* Effects */
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    color: var(--navy);
    line-height: 1.6;
    background-color: var(--gray-50);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

.orange-gradient {
    background: linear-gradient(135deg, #FB8500 0%, #FF6B35 100%);
}

.orange-text {
    color: var(--orange);
}

/* Buttons */
.cta-button,
.primary-button,
.nav-cta,
button[type="submit"] {
  background: linear-gradient(135deg, #FB8500 0%, #FF6B35 100%);
  color: white;
  border: none;
  padding: 18px 36px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-family: var(--font-heading);
}

.cta-button:hover,
.primary-button:hover,
.nav-cta:hover,
button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(251, 133, 0, 0.4);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}




/* Cursor Trail Magic Canvas */
#magic-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    transition: var(--transition);
    z-index: 1000;
    padding: 1rem 0;
}

.navbar.scrolled {
    background: var(--navy-dark);
    box-shadow: var(--shadow);
    padding: 0.5rem 0;
}

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

.nav-logo {
    height: 50px;
    width: auto;
}

.logo {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

.navbar.scrolled .logo {
    height: 50px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--google-red), var(--google-yellow), var(--google-green), var(--google-blue));
    transition: var(--transition);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
/* Hero Section - Final Version */
.hero-final {
    background-color: #1A1D29;
    padding: 120px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-logo-container {
    margin-bottom: 24px;
}

.hero-logo-final {
    height: 100px;
    width: auto;
}

.hero-logo {
    height: 120px;
    width: auto;
    margin-bottom: 32px;
}

.tagline-final {
    font-size: 14px;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
    font-family: var(--font-heading);
}

.main-headline-final {
    font-size: 56px;
    font-weight: 700;
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: 32px;
    color: var(--white);
}

.subtitle-final {
    font-size: 20px;
    font-family: var(--font-body);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 48px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions-final {
    display: flex;
    gap: 16px;
    justify-content: center;
}



/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--white);
    border-radius: 12px;
    position: relative;
    margin-bottom: 0.5rem;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--white);
    border-radius: 50%;
    animation: scrollMouse 2s infinite;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    0% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

@keyframes scrollMouse {
    0% { top: 6px; opacity: 1; }
    100% { top: 18px; opacity: 0; }
}

/* Sections Shared Styles */
.section {
    padding: 6rem 0;
}

.light-section {
    background-color: var(--white);
}

.dark-section {
    background-color: var(--navy-dark);
    color: var(--white);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: inherit;
}

.dark-section .section-title {
    color: var(--white);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

#problemi .section-title {
    font-size: 42px;
    color: var(--navy);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    margin-bottom: 32px;
    text-align: center;
}

#problemi .section-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 80px;
    text-align: center;
    line-height: 1.6;
}

@media (max-width: 767px) {
    #problemi .section-title {
        font-size: 32px;
    }
    #problemi .section-subtitle {
        font-size: 16px;
    }
}

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

.subtitle-banner {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* Problems Section - Illustration Style (Option 3) */
#problemi {
    padding: 120px 0 100px 0;
    background: var(--white);
}

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

.problem-card {
  background: white;
  border: 2px solid #E5E7EB;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.illustration-area {
  height: 200px;
  background: #F9FAFB;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.problem-video {
  max-width: 180px;
  height: auto;
  border-radius: 12px;
  position: relative;
  z-index: 1;
}

/* Keep pattern overlay */
.illustration-area::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(0,0,0,0.02) 10px,
    rgba(0,0,0,0.02) 20px
  );
  pointer-events: none;
  z-index: 0;
}

/* Responsive */
@media (max-width: 767px) {
  .illustration-area {
    height: 160px;
    padding: 24px;
  }
  
  .problem-video {
    max-width: 140px;
  }
}

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

.card-content h3 {
  font-size: 24px;
  color: var(--navy);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}

.problem-text, .solution-text {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 16px;
}

.solution-text {
  margin-bottom: 24px;
}

.card-link {
  font-size: 16px;
  color: var(--orange);
  text-decoration: none;
  font-weight: 600;
  margin-top: auto;
  transition: all 0.3s ease;
}

.card-link:hover {
  text-decoration: underline;
}

.problem-card:hover {
  transform: translateY(-6px);
  border-color: var(--orange);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.problem-card:hover .illustration-area {
  background: #FEF3E7; /* Light orange tint on hover */
}

/* Scroll Animations for Case Cards */
.reveal .illustration-area svg {
    opacity: 0;
    transform: scale(0.95);
}

.reveal .card-content {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.6s ease-out;
    transition-delay: 0.2s;
}

.reveal.in-view .illustration-area svg {
    opacity: 1;
    transform: scale(1);
}

.reveal.in-view .card-content {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Problemi */
@media (max-width: 1023px) {
  .problems-grid-final {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  #problemi {
      padding: 60px 0;
  }
  .problems-grid-final {
    grid-template-columns: 1fr;
  }
  .illustration-area {
    height: 160px;
  }
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Sparkle animation on hover */
.service-card::before {
    content: '✨';
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    opacity: 0;
    transform: scale(0);
    transition: var(--transition);
}

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

.service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 2px 8px currentColor);
}

.service-icon-1 { color: #FB8500; }
.service-icon-2 { color: #4285F4; }
.service-icon-3 { color: #34A853; }
.service-icon-4 { color: #8B5CF6; }

.service-icon svg {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon svg {
    transform: scale(1.1) rotate(5deg);
}

.service-card p {
    color: rgba(255, 255, 255, 0.8);
    flex-grow: 1;
}

.card-footer {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--google-blue);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-footer::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background: var(--google-blue);
}

/* ABSII Framework Section Condensed Table Layout */
.framework-section {
    padding: 80px 24px;
    background: var(--white);
    overflow: hidden;
}

.framework-container-condensed {
    max-width: 1400px;
    margin: 0 auto;
}

.framework-header-condensed {
    text-align: center;
    margin-bottom: 48px;
}

.framework-title-condensed {
    font-size: 42px;
    color: var(--navy);
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 12px;
}

.framework-subtitle-condensed {
    font-size: 18px;
    color: var(--gray-600);
}

.framework-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
    align-items: start;
    gap: 16px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.framework-grid.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Framework Column */
.framework-column {
    background: transparent;
    border-radius: 12px;
    padding: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s ease;
}
.framework-column.in-view {
    opacity: 1;
    transform: translateY(0);
}
.framework-column:hover {
    transform: translateY(-6px);
    background: var(--white);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

/* Column Badge */
.column-badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: var(--white);
    font-size: 28px;
    font-weight: 700;
    font-family: var(--font-heading);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.framework-column:hover .column-badge {
    transform: scale(1.05);
}

/* Step Specific Colors */
.badge-a { background: #EA4335; box-shadow: 0 4px 12px rgba(234,67,53,0.3); }
.badge-b { background: #FBBC04; color: var(--navy); box-shadow: 0 4px 12px rgba(251,188,4,0.3); }
.badge-s { background: #34A853; box-shadow: 0 4px 12px rgba(52,168,83,0.3); }
.badge-i1 { background: #4285F4; box-shadow: 0 4px 12px rgba(66,133,244,0.3); }
.badge-i2.badge-intelligence {
    background: var(--navy-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Framework Column Title Colors */
.column-title.title-a { color: #EA4335; }
.column-title.title-b { color: #FBBC04; }
.column-title.title-s { color: #34A853; }
.column-title.title-i1 { color: #4285F4; }
.column-title.title-i2 { 
    color: var(--navy);
}

/* Card Hover Border Updates */
.step-card-a:hover { border-color: #EA4335; }
.step-card-a:hover .badge-a { box-shadow: 0 8px 24px rgba(234,67,53,0.4); }

.step-card-b:hover { border-color: #FBBC04; }
.step-card-b:hover .badge-b { box-shadow: 0 8px 24px rgba(251,188,4,0.4); }

.step-card-s:hover { border-color: #34A853; }
.step-card-s:hover .badge-s { box-shadow: 0 8px 24px rgba(52,168,83,0.4); }

.step-card-i1:hover { border-color: #4285F4; }
.step-card-i1:hover .badge-i1 { box-shadow: 0 8px 24px rgba(66,133,244,0.4); }

.step-card-i2:hover { border-image: linear-gradient(135deg, #EA4335, #FBBC04, #34A853, #4285F4) 1; }
.step-card-i2:hover .badge-i2 { box-shadow: 0 8px 30px rgba(66,133,244,0.6); }

/* Connecting Arrows */
.framework-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--orange);
    font-weight: bold;
    margin-top: 100px; /* Vertically align with the middle of the text card roughly */
}

/* Deliverables Compact */
.deliverables-compact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.deliverables-compact li {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
    text-align: left;
}
.deliverables-compact .check {
    color: var(--navy);
    font-weight: bold;
    margin-right: 8px;
}


/* CTA Compact */
.cta-compact {
    text-align: center;
    margin-top: 64px;
}

.cta-btn-condensed {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    background: var(--orange);
    color: var(--white);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.2);
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.cta-btn-condensed:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(249, 115, 22, 0.3);
    color: var(--white);
}

.trust-line-compact {
    font-size: 14px;
    color: var(--gray-600);
}

.trust-check {
    color: var(--google-green);
    font-weight: bold;
}
.cta-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.3);
}
.cta-btn-secondary {
    display: inline-block;
    padding: 18px 40px;
    border-radius: 12px;
    font-weight: 600;
    color: var(--orange);
    border: 2px solid var(--orange);
    background: var(--white);
    transition: all 0.3s ease;
    text-decoration: none;
}
.cta-btn-secondary:hover {
    background: var(--orange);
    color: var(--white);
}
.trust-line {
    font-size: 14px;
    color: var(--gray-600);
    margin-top: 24px;
}
.trust-check {
    color: #34A853;
    font-weight: bold;
}
.or-divider {
    text-align: center;
    margin: 32px 0;
    position: relative;
    color: var(--gray-600);
}

.or-divider::before,
.or-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: var(--gray-100);
}

.or-divider::before { left: 0; }
.or-divider::after { right: 0; }

.booking-cta {
    text-align: center;
    margin-top: 48px;
    padding: 32px;
    background: var(--gray-50);
    border-radius: 12px;
    border: 1px solid var(--gray-100);
}

.booking-cta h3 {
    margin-bottom: 24px;
    color: var(--navy);
}

/* About Section - Authentic Revision */
.about-authentic {
    background-color: #1A1D29;
    padding: 100px 0;
    color: var(--white);
    text-align: center;
}

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

.about-title {
    font-size: 36px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--white);
}

.about-text {
    font-size: 18px;
    font-family: 'Manrope', sans-serif;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.about-subheading {
    font-size: 20px;
    color: var(--orange);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
}

.about-list {
    list-style: none;
    padding: 0;
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.about-list li {
    margin-bottom: 8px;
}

.about-guarantee {
    font-size: 20px;
    color: var(--orange);
    font-weight: 600;
    margin-top: 32px;
}

/* Utilities for About Section */
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.font-bold { font-weight: 700; }

/* Case Studies */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.case-card {
    background: var(--gray-50);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--gray-100);
}

.case-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 280px;
}

.case-content h3 {
    color: var(--navy);
    margin-bottom: 1rem;
}

.case-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.case-metric {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--navy-dark);
    color: var(--white);
    font-weight: 600;
    border-radius: 4px;
    font-size: 0.875rem;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 2rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--google-blue);
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 2.5rem;
}

.pricing-card ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.pricing-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--google-green);
    font-weight: bold;
}

.mt-auto {
    margin-top: auto;
    text-align: center;
}

/* Rainbow Border for Featured Card */
.pricing-card.featured {
    transform: scale(1.05);
    background: var(--navy-dark);
    z-index: 10;
}

.rainbow-border {
    position: relative;
    border: 2px solid var(--orange);
}

.featured-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--white);
}

/* Removed gradientMove animation */

.contact-section {
  background: white;
  padding: 100px 24px;
}

.contact-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-section h2 {
  font-size: 42px;
  color: #0A2463;
  text-align: center;
  margin-bottom: 16px;
  font-weight: 700;
}

.contact-section .subtitle {
  font-size: 18px;
  color: #4B5563;
  text-align: center;
  margin-bottom: 64px;
  line-height: 1.7;
}

.cal-inline-wrapper {
  max-width: 900px;
  margin: 0 auto 80px;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 2px solid #E5E7EB;
}

.contact-fallback {
  text-align: center;
  padding-top: 64px;
  border-top: 2px solid #E5E7EB;
  max-width: 600px;
  margin: 0 auto;
}

.fallback-title {
  font-size: 20px;
  color: #0A2463;
  font-weight: 600;
  margin-bottom: 32px;
}

.contact-methods p {
  font-size: 18px;
  color: #4B5563;
  margin: 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.contact-methods .icon {
  font-size: 20px;
}

.contact-methods a {
  color: #FB8500;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-methods a:hover {
  color: #FF6B35;
  text-decoration: underline;
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Mobile responsive */
@media (max-width: 767px) {
  .contact-section {
    padding: 60px 20px;
  }
  
  .contact-section h2 {
    font-size: 32px;
  }
  
  .contact-section .subtitle {
    font-size: 16px;
    margin-bottom: 48px;
  }
  
  .cal-inline-wrapper {
    margin-bottom: 48px;
  }
  
  .contact-methods p {
    flex-direction: column;
    gap: 8px;
  }
}

/* Footer */
.footer {
  background: #1A1D29;
  padding: 60px 24px 40px;
  text-align: center;
}

.footer-social {
  margin-bottom: 32px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
  font-weight: 500;
}

.social-link:hover {
  color: #FB8500;
}

.social-link svg {
  width: 24px;
  height: 24px;
}

.footer-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin: 8px 0;
}

/* Main Section Utility */
.section { padding: 4rem 0; }
.section-container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-title { font-size: 2.5rem; color: var(--navy); margin-bottom: 3rem; }
.section-subtitle { margin-top: -2.5rem; margin-bottom: 4rem; color: var(--gray-600); }

/* Tablet Layout overrides */
@media (min-width: 768px) and (max-width: 1199px) {
    .framework-grid {
        gap: 8px; /* Tighter spacing */
    }
    .framework-column {
        padding: 20px 12px;
    }
    .column-title {
        font-size: 20px;
    }
    .framework-arrow {
        font-size: 18px;
    }
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .section-title { font-size: 2rem; }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    /* Mobile nav overrides */
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--navy-dark);
        padding: 2rem;
        box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    }

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

    .logo {
        height: 45px;
    }

    .navbar.scrolled .logo {
        height: 40px;
    }

    /* Hero Responsive - Final Version */
    .hero-logo {
        height: 80px;
    }

    .hero-title {
        padding: 80px 24px;
    }
    .hero-logo-final {
        height: 80px;
    }
    .main-headline-final {
        font-size: 36px;
    }
    .subtitle-final {
        font-size: 18px;
        margin-bottom: 48px;
    }
    .hero-actions-final {
        flex-direction: column;
        width: 100%;
    }
    .btn-hero-primary, .btn-hero-secondary {
        width: 100%;
        text-align: center;
    }
    
    .section { padding: 4rem 0; }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Framework Mobile View Condensed */
    .framework-section {
        padding: 60px 16px;
    }
    .framework-title-condensed {
        font-size: 32px;
    }
    .framework-subtitle-condensed {
        font-size: 16px;
        margin-bottom: 32px;
    }
    .framework-grid {
        grid-template-columns: 1fr; /* Single column stack */
        gap: 16px;
    }
    .framework-arrow {
        display: none; /* Hide arrows on mobile */
    }
    .framework-column {
        min-height: auto;
        padding: 24px;
        text-align: left;
        align-items: flex-start;
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto auto;
        column-gap: 16px;
        row-gap: 4px;
    }
    .column-badge {
        width: 50px;
        height: 50px;
        font-size: 24px;
        margin-bottom: 0;
        grid-column: 1;
        grid-row: 1;
    }
    .column-title {
        font-size: 22px;
        grid-column: 2;
        grid-row: 1;
        align-self: center;
        margin-bottom: 0;
        text-align: left;
    }
    .column-subtitle {
        font-size: 15px;
        grid-column: 1 / -1;
        grid-row: 2;
        text-align: left;
        min-height: auto;
        margin-top: 12px;
        margin-bottom: 12px;
    }
    .column-description {
        display: none; /* Hide on mobile to save space */
    }
    .deliverables-compact {
        grid-column: 1 / -1;
        grid-row: 3;
    }
    


    /* About Responsive */
    .about-authentic {
        padding: 60px 24px;
    }
    .about-title {
        font-size: 32px;
        margin-bottom: 24px;
    }
    .about-text {
        font-size: 17px;
    }
    .about-subheading {
        font-size: 19px;
    }
    .about-list {
        font-size: 17px;
    }
    .cta-compact {
        margin-top: 48px;
    }
    .cta-btn-condensed {
        display: block;
        width: 100%;
        text-align: center;
    }
}


/* Case study card with video */
.case-study-video {
  display: flex;
  flex-direction: column;
  background: white;
  border: 2px solid #E5E7EB;
  border-radius: 16px;
  padding: 32px;
  min-height: auto; /* Override previous min-height */
}

.case-study-video h3 {
  font-size: 24px;
  color: #0A2463;
  margin-bottom: 24px;
  text-align: center;
}

/* Video wrapper */
.case-video-wrapper {
  width: 100%;
  margin-bottom: 24px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  background: #000;
}

.case-video {
  width: 100%;
  height: auto;
  display: block;
  max-height: 500px;
  object-fit: contain;
}

/* Description */
.case-description {
  font-size: 17px;
  color: #4B5563;
  line-height: 1.7;
  text-align: center;
  margin-bottom: 24px;
}

/* Result badges */
.case-results {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.result-badge {
  padding: 10px 20px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  color: white;
}

.badge-green {
  background: #34A853;
}

.badge-blue {
  background: #4285F4;
}

/* Video details expandable */
.video-details {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 2px solid #E5E7EB;
}

.video-details summary {
  font-size: 16px;
  font-weight: 600;
  color: #0A2463;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.video-details summary::before {
  content: "▶";
  color: #FB8500;
  font-size: 12px;
  transition: transform 0.3s ease;
}

.video-details[open] summary::before {
  transform: rotate(90deg);
}

.video-features {
  list-style: none;
  padding: 20px 0 0 0;
  margin: 0;
}

.video-features li {
  font-size: 15px;
  color: #4B5563;
  padding: 8px 0;
  line-height: 1.6;
}

/* Hover effect */
.case-study-video:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  border-color: #FB8500;
  transition: all 0.3s ease;
}

/* Mobile responsive */
@media (max-width: 767px) {
  .case-study-video {
    padding: 24px 20px;
  }
  
  .case-video {
    max-height: 300px;
  }
  
  .case-description {
    font-size: 16px;
  }
  
  .result-badge {
    font-size: 13px;
    padding: 8px 16px;
  }
  
  .video-features li {
    font-size: 14px;
  }
}


