:root {
    /* Brand Core */
    --primary-color: #1868DB; /* Delivr Blue */
    --primary-dark: #1153b0;
    --primary-light: #3d84e4;

    /* Energy & Action */
    --energy-gold: #FBAA14; /* Golden Energy */
    --energy-gold-dark: #d9950f;
    --bright-spark: #E7DD51; /* Bright Spark */

    /* Success & Alert */
    --success-green: #78DB50; /* Fresh Success */
    --alert-red: #F14147; /* Vibrant Alert */
    --alert-red-dark: #d73238;

    /* Premium Accent */
    --deep-strategy: #6C30BA; /* Deep Strategy */
    --deep-strategy-dark: #5a289a;

    /* Neutrals */
    --white: #FFFFFF; /* Pure White */
    --secondary-color: #F8F9FA; /* Light Gray section bg */
    --text-color: #343A40; /* Dark Gray */
    --text-muted: #6C757D; /* Medium Gray */
    --border-color: #DFE1E6;
    --shadow: 0 2px 8px rgba(24, 104, 219, 0.10);
    --shadow-hover: 0 4px 16px rgba(24, 104, 219, 0.15);
    --shadow-strategy: 0 4px 16px rgba(108, 48, 186, 0.20);
    --shadow-alert: 0 4px 16px rgba(241, 65, 71, 0.20);
    --border-radius: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Modal (Video) --- */
.modal {
    position: fixed;
    inset: 0;
    display: none; /* hidden by default */
    z-index: 2000; /* above nav/dropdowns */
}

.modal.open {
    display: flex; /* show when opened */
    align-items: center;
    justify-content: center;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.modal-content {
    position: relative;
    z-index: 1;
    width: auto;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: transparent;
    border: 0;
    font-size: 2rem;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    z-index: 2;
}

.modal-body {
    position: relative;
    background: #000; /* prevent white flash */
    width: 92vw;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
    max-height: 85vh;
}

.modal-body video,
.modal-body iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    object-fit: contain;
    background: #000;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    /* Subtle but more pronounced shadow beneath the nav */
    box-shadow: 0 6px 20px rgba(16, 24, 40, 0.08), 0 1px 2px rgba(16, 24, 40, 0.06);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem; /* slightly tighter padding to balance taller logo */
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

/* Image logo sizing */
.logo-img {
    display: block;
    height: 56px; /* smaller, closer to standard navbar logo size */
    width: auto;
    max-height: 72px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
    cursor: pointer;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Main Content */
.main {
    margin-top: 96px; /* align with smaller nav height */
}

.section {
    min-height: calc(100vh - 80px);
    padding: 4rem 0;
    display: none;
    animation: fadeIn 0.6s ease-in-out;
}

/* Hero section should sit flush under fixed nav */
#home.section {
    padding-top: 0;
}

.section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

/* Allow the services section to use the full container width */
#services .content-wrapper {
    max-width: 1200px;
}

/* Widen the services container on large screens */
#services .container {
    max-width: 1440px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 3rem;
    text-align: center;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 0;
    max-width: 800px;
    margin: 0 auto;
    min-height: 100vh; /* full vertical height */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Hero background variant: subtle layered gradients (Stripe/Airbnb-inspired) */
.hero.hero--bg {
    position: relative;
    isolation: isolate; /* create a new stacking context so ::before sits behind content */
    padding: 5rem 2rem; /* slightly more breathing room on background variant */
    overflow: visible; /* allow background to extend beyond container for full-bleed */
}

.hero.hero--bg::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw; /* full-bleed across viewport */
    pointer-events: none;
    /* Soft, modern gradient accents */
    background:
        radial-gradient(680px 380px at 90% 10%, rgba(24, 104, 219, 0.16) 0%, rgba(24, 104, 219, 0) 65%),
        radial-gradient(560px 320px at 10% 90%, rgba(231, 221, 81, 0.14) 0%, rgba(231, 221, 81, 0) 60%),
        radial-gradient(620px 360px at 30% 18%, rgba(108, 48, 186, 0.12) 0%, rgba(108, 48, 186, 0) 60%),
        linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(23, 43, 77, 0.03) 100%);
    /* static base layer; movement handled by ::after */
}

/* Animated blurred gradient blobs (Direction D) */
.hero.hero--bg::after {
    content: '';
    position: absolute;
    z-index: -2;
    pointer-events: none;
    /* Centered oversized canvas to guarantee full-bleed beyond container */
    left: 50%;
    top: 50%;
    width: 220vw;
    height: 220vh;
    transform: translate(-50%, -50%);
    background:
        /* Stronger Blue */
        radial-gradient(860px 680px at 18% 28%, rgba(24, 104, 219, 0.36) 0%, rgba(24, 104, 219, 0) 62%),
        radial-gradient(720px 540px at 68% 18%, rgba(24, 104, 219, 0.24) 0%, rgba(24, 104, 219, 0) 62%),
        /* Energy Gold (accent, still subtle) */
        radial-gradient(880px 660px at 80% 70%, rgba(231, 221, 81, 0.22) 0%, rgba(231, 221, 81, 0) 62%),
        /* Stronger Purple (Deep Strategy) */
        radial-gradient(780px 600px at 62% 14%, rgba(108, 48, 186, 0.34) 0%, rgba(108, 48, 186, 0) 62%),
        radial-gradient(620px 480px at 86% 46%, rgba(108, 48, 186, 0.18) 0%, rgba(108, 48, 186, 0) 62%);
    filter: blur(40px);
    will-change: transform;
    animation: heroSweep 28s cubic-bezier(0.42, 0, 0.2, 1) infinite alternate;
}

@keyframes heroSweep {
    0%   { transform: translate(-50%, -50%) translate3d(-20vw, 12vh, 0) scale(1.08); }
    25%  { transform: translate(-50%, -50%) translate3d(6vw, -18vh, 0) scale(1.12); }
    50%  { transform: translate(-50%, -50%) translate3d(22vw, 10vh, 0) scale(1.10); }
    75%  { transform: translate(-50%, -50%) translate3d(-8vw, -20vh, 0) scale(1.14); }
    100% { transform: translate(-50%, -50%) translate3d(14vw, 6vh, 0) scale(1.08); }
}

@keyframes heroSweepSlow {
    0%   { transform: translate3d(0, 0, 0) }
    50%  { transform: translate3d(4%, -3%, 0) }
    100% { transform: translate3d(0, 0, 0) }
}

@media (prefers-reduced-motion: reduce) {
    .hero.hero--bg::after { animation: none; }
    .hero.hero--bg::before { animation: none; }
}

@media (max-width: 768px) {
    .hero.hero--bg {
        padding: 3rem 1.25rem;
    }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* Rotating hero logos above the title */
.hero-logos {
    position: relative;
    display: grid;
    place-items: center;
    height: 90px;
    margin-bottom: 1rem;
}

.hero-logos img {
    position: absolute;
    height: 80px;
    width: auto;
    opacity: 0;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.12));
    animation: heroLogoRotate 12s 1 both; /* run once per load */
}

.hero-logos img:nth-child(1) { animation-delay: 0s; }
.hero-logos img:nth-child(2) { animation-delay: 3s; }
.hero-logos img:nth-child(3) { animation-delay: 6s; }
.hero-logos img:nth-child(4) { animation-delay: 9s; animation-name: heroLogoRotateLast; }

@keyframes heroLogoRotate {
    0%   { opacity: 0; transform: translateY(6px) scale(0.98); }
    5%   { opacity: 1; transform: translateY(0) scale(1); }
    25%  { opacity: 1; transform: translateY(0) scale(1); }
    30%  { opacity: 0; transform: translateY(-6px) scale(0.98); }
    100% { opacity: 0; }
}

/* Last logo remains visible after the single rotation */
@keyframes heroLogoRotateLast {
    0%   { opacity: 0; transform: translateY(6px) scale(0.98); }
    5%   { opacity: 1; transform: translateY(0) scale(1); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Highlight color modifiers */
.highlight { color: var(--text-color); }
.highlight--gold { color: var(--energy-gold); }
.highlight--strategy { color: var(--deep-strategy); }
.highlight--primary { color: var(--primary-color); }

.highlight {
    color: inherit; /* allow modifier classes to control color */
    position: relative;
    display: inline-block;
    margin-right: 0.5rem;
}

/* remove legacy nth-child color overrides in favor of explicit modifiers */

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

/* Buttons */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    /* Use Golden Energy for key action CTAs like Get Started */
    background: var(--energy-gold);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--energy-gold-dark);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-violet {
    background: var(--deep-strategy);
    color: var(--white);
    box-shadow: var(--shadow-strategy);
}

.btn-violet:hover {
    background: var(--deep-strategy-dark);
    box-shadow: var(--shadow-strategy);
    transform: translateY(-2px);
}

.btn-pink {
    background: var(--alert-red);
    color: var(--white);
    box-shadow: var(--shadow-alert);
}

.btn-pink:hover {
    background: var(--alert-red-dark);
    box-shadow: var(--shadow-alert);
    transform: translateY(-2px);
}

/* Dropdowns */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 200px;
    justify-content: space-between;
}

.dropdown-arrow {
    font-size: 0.8rem;
    transition: var(--transition);
}

.dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    z-index: 1000;
    margin-top: 0.5rem;
    overflow: hidden;
}

.dropdown.active .dropdown-content {
    display: block;
    animation: dropdownFadeIn 0.3s ease;
}

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

.dropdown-content a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* Problem Statement Section */
.problem-statement {
    margin: 4rem 0;
    text-align: center;
}

.problem-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

.problem-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.problem-area {
    text-align: center;
    padding: 2rem;
}

.problem-icon {
    margin-bottom: 1.5rem;
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto;
    color: var(--white);
}

/* Problem Statement icon circles: no background, primary border and icon color */
.problem-statement .icon-circle {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}
.problem-statement .icon-circle.primary,
.problem-statement .icon-circle.violet,
.problem-statement .icon-circle.pink {
    background: transparent;
    color: var(--primary-color);
}

.problem-area h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Unify Problem Statement card titles to primary color */
.problem-statement .problem-area h3 {
    color: var(--primary-color);
}

.problem-area p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1rem;
}

/* Services Comparison Table */
.services-comparison {
    margin: 4rem 0;
    text-align: center;
}

.comparison-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.table-container {
    overflow-x: auto;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

/* Temporary highlight when navigated via Learn more */
.services-comparison tbody tr.row-highlight {
    background: rgba(0, 82, 204, 0.08);
    outline: 2px solid var(--primary-color);
    transition: background 0.6s ease, outline-color 0.6s ease;
}

.comparison-table th {
    background: var(--secondary-color);
    padding: 1rem 0.75rem;
    font-weight: 600;
    color: var(--text-color);
    border-bottom: 2px solid var(--border-color);
    text-align: center;
    white-space: nowrap;
}

.comparison-table th.service-column {
    text-align: left;
    min-width: 200px;
}

.comparison-table td {
    padding: 1rem 0.75rem;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    vertical-align: middle;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover {
    background: rgba(0, 82, 204, 0.02);
}

.service-name {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left !important;
}

.service-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--white);
    flex-shrink: 0;
}

/* Consistent icon treatment across services: transparent bg, primary border and icon */
.services-comparison .service-icon,
.services-grid .service-icon {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}
.services-comparison .service-icon.primary,
.services-comparison .service-icon.violet,
.services-comparison .service-icon.pink,
.services-grid .service-icon.primary,
.services-grid .service-icon.violet,
.services-grid .service-icon.pink {
    background: transparent;
    color: var(--primary-color);
}

.service-name div {
    flex: 1;
}

.service-name strong {
    display: block;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.learn-more {
    font-size: 0.8rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.learn-more:hover {
    text-decoration: underline;
}

.check {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.cross {
    color: var(--text-muted);
    font-weight: bold;
    font-size: 1.2rem;
    opacity: 0.5;
}

/* Content */
.content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
}

.content p {
    margin-bottom: 1.5rem;
}

.content ul {
    margin: 1rem 0 1.5rem 2rem;
}

.content li {
    margin-bottom: 0.5rem;
}

.content em {
    color: var(--primary-color);
    font-style: normal;
    font-weight: 600;
}

/* Services Grid */
.services-grid {
    display: grid;
    /* Allow cards to grow with viewport; min width ensures readability */
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

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

.service-card:nth-child(1):hover {
    border-color: var(--primary-color);
}

.service-card:nth-child(2):hover {
    border-color: var(--violet-spark);
}

.service-card:nth-child(3):hover {
    border-color: var(--pink-accent);
}

.service-card:nth-child(4):hover {
    border-color: var(--primary-color);
}

.service-card:nth-child(5):hover {
    border-color: var(--violet-spark);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.service-card:nth-child(2) h3 {
    color: var(--violet-spark);
}

.service-card:nth-child(3) h3 {
    color: var(--pink-accent);
}

.service-card:nth-child(5) h3 {
    color: var(--violet-spark);
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-phases {
    display: none;
    gap: 1rem;
    margin-top: 1.5rem;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.service-card.expanded .service-phases {
    display: grid;
    opacity: 1;
    max-height: none;
    overflow: visible;
}

/* When expanded, allow content to escape the card's original bounds */
.service-card.expanded {
    overflow: visible;
}

.service-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.service-expand-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.service-expand-btn:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.service-expand-btn.expanded {
    transform: rotate(45deg);
}

.service-cta {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.service-cta .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .service-cta .btn {
        width: 100%;
        text-align: center;
    }
}

.phase {
    padding: 1rem;
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.service-card:nth-child(1) .phase {
    border-left-color: var(--primary-color);
}

.service-card:nth-child(2) .phase {
    border-left-color: var(--violet-spark);
}

.service-card:nth-child(3) .phase {
    border-left-color: var(--pink-accent);
}

.service-card:nth-child(4) .phase {
    border-left-color: var(--primary-color);
}

.service-card:nth-child(5) .phase {
    border-left-color: var(--violet-spark);
}

.phase-title {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.phase-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

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

.value-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.value-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.value-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    color: var(--white);
    border-radius: 50%;
    line-height: 50px;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    background: var(--primary-color);
}

.value-card:nth-child(2) .value-number {
    background: var(--violet-spark);
}

.value-card:nth-child(3) .value-number {
    background: var(--pink-accent);
}

.value-card:nth-child(5) .value-number {
    background: var(--violet-spark);
}

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.value-card:nth-child(2) h3 {
    color: var(--violet-spark);
}

.value-card:nth-child(3) h3 {
    color: var(--pink-accent);
}

.value-card:nth-child(5) h3 {
    color: var(--violet-spark);
}

.value-quote {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.value-description {
    color: var(--text-color);
    line-height: 1.6;
}

/* Contact */
.contact-content {
    text-align: center;
    padding: 2rem 0;
}

.contact-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-tagline {
    font-size: 1.1rem;
    color: var(--violet-spark);
    font-weight: 600;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-muted);
}

/* Loading */
.loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        padding: 2rem 0;
        border-top: 1px solid var(--border-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .dropdown {
        width: 100%;
        max-width: 300px;
    }

    .dropdown-btn {
        width: 100%;
    }

    .problem-areas {
        grid-template-columns: 1fr;
    }

    .table-container {
        margin: 0 -1rem;
        border-radius: 0;
    }

    .comparison-table {
        font-size: 0.8rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
    }

    .service-name {
        gap: 0.5rem;
    }

    .service-icon {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 1rem;
    }

    .logo-img {
        height: 30px; /* keep compact on small screens */
    }
    .main {
        margin-top: 80px; /* restore default for smaller nav height on mobile */
    }
    .hero-logos { height: 60px; }
    .hero-logos img { height: 50px; }
}

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

    .hero {
        padding: 2rem 0;
    }

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

    .hero-subtitle {
        font-size: 1.25rem;
    }

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

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .service-card,
    .value-card {
        padding: 1.5rem;
    }
}