:root {
    /* Theme Colors */
    --gunmetal: #1B242A;
    --moonstone: #7EACB5;
    --champagne: #F5E4C8;

    /* Theme: Dark (Default) */
    --bg-main: var(--gunmetal);
    --bg-card: rgba(43, 56, 65, 0.4);
    /* Lighter gunmetal variant */
    --text-primary: #ffffff;
    --text-secondary: var(--champagne);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(126, 172, 181, 0.2);
    /* Moonstone based */
    --glass-shadow: rgba(0, 0, 0, 0.4);

    /* Branding */
    --accent-primary: var(--moonstone);
    --accent-secondary: var(--champagne);
    --gradient-brand: linear-gradient(135deg, var(--moonstone) 0%, var(--champagne) 100%);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container-width: 1200px;

    /* Transitions */
    --transition-speed: 0.4s;
}



.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1.5px solid rgba(255, 255, 255, 0.2);
    border-left: 1.5px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid var(--glass-border);
    border-right: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 var(--glass-shadow);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-speed), color var(--transition-speed);
    position: relative;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-primary);
    color: var(--gunmetal);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 10px;
}

/* Animated Background Orbs */
body::before,
body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
    animation: float-orb 20s ease-in-out infinite;
}

body::before {
    width: 600px;
    height: 600px;
    background: var(--moonstone);
    top: -200px;
    right: -200px;
}

body::after {
    width: 500px;
    height: 500px;
    background: var(--champagne);
    bottom: 10%;
    left: -150px;
    animation-delay: -10s;
}



@keyframes float-orb {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    75% {
        transform: translate(20px, 10px) scale(1.02);
    }
}

@media (max-width: 768px) {
    body::before {
        width: 300px;
        height: 300px;
    }

    body::after {
        width: 250px;
        height: 250px;
    }
}

/* Noise Texture Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}



.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

.section {
    padding: 120px 0;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
}

h1 {
    font-size: clamp(2.2rem, 8vw, 4.5rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(1.8rem, 6vw, 3rem);
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

@media (max-width: 768px) {

    h1 br,
    h2 br {
        display: none;
    }
}

/* Buttons */
.btn {
    padding: 0.9rem 1.8rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-brand);
    color: var(--gunmetal);
    box-shadow: 0 4px 20px rgba(126, 172, 181, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 15px 35px rgba(126, 172, 181, 0.4),
        0 0 20px rgba(245, 228, 200, 0.2);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: var(--glass-border);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--text-secondary);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent-primary);
    background: var(--glass-bg);
}

.btn-lg {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 12px;
}

/* Header */
.header {
    height: 80px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 20px;
    margin: 20px auto;
    width: calc(100% - 4rem);
    max-width: var(--container-width);
    z-index: 1000;
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 0 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    height: 65px;
    top: 10px;
    box-shadow: 0 15px 35px var(--glass-shadow);
    background: var(--glass-bg);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.theme-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.3s;
    color: var(--text-primary);
}

.theme-toggle:hover {
    background: var(--glass-bg);
}

.theme-toggle-label {
    display: none;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-left: 0.75rem;
}

.theme-toggle .sun {
    display: block;
}

.theme-toggle .moon {
    display: none;
}



.logo {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1rem;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px var(--glass-shadow);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    width: 100%;
    margin-bottom: 0.5rem;
}

.dropdown-menu li:last-child {
    margin-bottom: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: var(--glass-bg);
    color: var(--accent-primary);
}

/* Mobile Dropdown Override */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        margin-top: 1rem;
        display: none;
        min-width: 100%;
        backdrop-filter: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 0.5rem;
        font-size: 1.1rem;
    }
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
    min-height: clamp(600px, 90vh, 1000px);
    display: flex;
    align-items: center;
    position: relative;
    padding: 60px 0 60px;
    box-sizing: border-box;
    overflow: hidden;
}

.hero h1 {
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-shadow: 0 0 60px rgba(126, 172, 181, 0.2);
}

.hero h1 .gradient-text {
    display: inline-block;
    filter: drop-shadow(0 0 30px rgba(126, 172, 181, 0.4));
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-frame {
    width: 100%;
    max-width: 500px;
    border-radius: 40px;
    overflow: hidden;
    padding: 0;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: float 6s ease-in-out infinite;
    z-index: 2;
}

.sidecar-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(1.1) contrast(1.05);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--glass-bg);
    border: 1px solid var(--accent-primary);
    border-radius: 100px;
    color: var(--accent-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

.hero-glow {
    position: absolute;
    top: 50%;
    right: -20%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--moonstone) 0%, rgba(245, 228, 200, 0.1) 100%);
    filter: blur(120px);
    border-radius: 50%;
    z-index: 1;
    opacity: 0.4;
    transition: opacity var(--transition-speed);
}



/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin: 0 auto 1rem;
}

.section-header p {
    margin: 0 auto;
}

/* Cards */
.problem-grid,
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.problem-card,
.service-card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px var(--glass-shadow);
    position: relative;
    overflow: hidden;
}

.problem-card::before,
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(126, 172, 181, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.problem-card:hover,
.service-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-12px) scale(1.02);
    background: var(--glass-bg);
    box-shadow:
        0 20px 50px var(--glass-shadow),
        0 0 40px rgba(126, 172, 181, 0.15);
}

.problem-card:hover::before,
.service-card:hover::before {
    opacity: 1;
}

.problem-card .icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-brand);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    color: var(--gunmetal);
    box-shadow: 0 4px 15px rgba(126, 172, 181, 0.3);
}

.problem-card .icon svg {
    stroke: var(--gunmetal);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-brand);
    border-radius: 14px;
    margin-bottom: 1.5rem;
    color: var(--gunmetal);
    box-shadow: 0 4px 15px rgba(126, 172, 181, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-icon svg {
    stroke: var(--gunmetal);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(126, 172, 181, 0.4);
}

.problem-card h3,
.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.influencer-card {
    position: relative;
    overflow: hidden;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
}

.card-image-bg {
    height: 180px;
    width: 100%;
    overflow: hidden;
}

.influencer-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.influencer-card:hover .influencer-img {
    transform: scale(1.1);
}

.influencer-card .card-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
    background: var(--bg-card);
}

/* Shift Section */
.shift {
    background: var(--gunmetal);
    color: white;
    position: relative;
    overflow: hidden;
}

.shift::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://www.transparenttextures.com/patterns/carbon-fibre.png");
    opacity: 0.1;
    pointer-events: none;
}

.shift-wrapper {
    background: rgba(255, 255, 255, 0.05);
    padding: 6rem 3rem;
    border-radius: 40px;
    text-align: left;
    border-top: 1.5px solid rgba(255, 255, 255, 0.1);
    border-left: 1.5px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.shift-image-frame {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.shift-img {
    width: 100%;
    height: auto;
    display: block;
}

.shift-content h2 {
    font-weight: 800;
    font-size: clamp(2.2rem, 5vw, 3rem);
    margin-bottom: 2rem;
}

.shift-content p {
    color: rgba(255, 255, 255, 0.8) !important;
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    max-width: none;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

/* Connecting line between steps */
.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--moonstone), var(--champagne));
    opacity: 0.3;
    z-index: 0;
}

.step {
    position: relative;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: all 0.4s ease;
    z-index: 1;
}

.step:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px var(--glass-shadow);
}

.step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-brand);
    color: var(--gunmetal);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(126, 172, 181, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover .step-num {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(126, 172, 181, 0.4);
}

.step h3 {
    margin-bottom: 1rem;
    position: relative;
    font-size: 1.25rem;
}

.step p {
    margin: 0;
    font-size: 1rem;
}

/* CTA Box */
.cta-box {
    background: var(--gradient-brand);
    padding: 5rem 2rem;
    border-radius: 30px;
    text-align: center;
    color: var(--gunmetal);
    /* High contrast on brand gradient */
    box-shadow: 0 20px 40px rgba(27, 36, 42, 0.2);
}

@media (max-width: 768px) {
    .cta-box {
        padding: 4rem 1.5rem;
        border-radius: 24px;
    }
}

.cta-box h2 {
    font-size: clamp(2rem, 3vw, 3.5rem);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-box .btn {
    background: var(--gunmetal);
    color: var(--champagne);
}

.cta-box .btn:hover {
    background: #2a3842;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Results Section */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
    margin-top: 4rem;
}

.result-stat .stat-num {
    display: block;
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--moonstone);
    /* Solid color for better reliability across themes */
    margin-bottom: 0.5rem;
}

[data-theme="dark"] .result-stat .stat-num {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.result-stat p {
    margin: 0 auto;
    font-weight: 600;
    color: var(--text-primary);
}

.highlight {
    color: var(--accent-secondary);
}

.results {
    position: relative;
    background: var(--gunmetal);
}

.results-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.results-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    filter: grayscale(100%) brightness(0.5);
}

.relative {
    position: relative;
}

.z-2 {
    z-index: 2;
}

.overflow-hidden {
    overflow: hidden;
}

/* Button Icons */
.btn-icon {
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.btn-primary .btn-icon {
    stroke: var(--gunmetal);
}

.cta-box .btn-icon {
    stroke: var(--champagne);
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
    background: var(--bg-main);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    height: 45px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
    max-width: 250px;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links ul li a:hover {
    color: var(--accent-primary);
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-contact ul li svg {
    color: var(--accent-primary);
    flex-shrink: 0;
}

.footer-contact ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-contact ul li a:hover {
    color: var(--accent-primary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--gunmetal);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(126, 172, 181, 0.3);
}

.social-link svg {
    stroke: currentColor;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--accent-primary);
}

/* Animations */
.reveal-init {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .shift-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 3.5rem 1.5rem;
        border-radius: 30px;
    }

    .shift-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .header {
        width: calc(100% - 2rem);
        top: 15px;
        margin: 0 auto;
        height: 64px;
        padding: 0 1.25rem;
        border-radius: 16px;
    }

    .logo-img {
        height: 24px;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-wrapper {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
        align-items: center;
    }

    .hero-content p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .badge {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image-frame {
        max-width: 100%;
        border-radius: 30px;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps::before {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        background: var(--glass-bg);
        padding: 10px;
        width: 44px;
        height: 44px;
        border-radius: 10px;
        border: 1px solid var(--glass-border);
        align-items: center;
        justify-content: center;
        gap: 5px;
    }

    .menu-toggle span {
        height: 2.5px;
        background-color: var(--text-primary);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-main);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        z-index: 999;
        gap: 2rem;
        padding: 120px 2rem 2rem;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        /* Hidden state */
        opacity: 0;
        visibility: hidden;
        transform: translateX(100%);
        transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
        pointer-events: none;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
        pointer-events: all;
    }

    .theme-toggle-label {
        display: inline-block;
    }

    .theme-toggle {
        width: auto;
        padding: 12px 24px;
        border-radius: 12px;
        background: var(--bg-card);
        border: 1px solid var(--glass-border);
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.25rem;
    }

    .nav-links .btn {
        width: 100%;
        max-width: 300px;
        margin-top: 1rem;
    }

    .nav-links li:has(.theme-toggle) {
        order: 10;
        margin-top: 2rem;
        border-top: 1px solid var(--glass-border);
        padding-top: 2rem;
    }

    .hero {
        padding-top: 80px;
    }

    .section {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .problem-card,
    .service-card {
        padding: 2.5rem 1.5rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .step {
        text-align: center;
        padding: 2.5rem 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-brand {
        grid-column: span 2;
        text-align: center;
    }

    .footer-tagline {
        margin: 0 auto;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 100%;
        padding: 0.85rem 1.5rem;
        font-size: 1rem;
        height: auto;
    }

    .hero-image-frame {
        border-radius: 24px;
        mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
        -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    }

    /* Sticky CTA Mobile */
    .sticky-cta {
        display: flex;
        position: fixed;
        bottom: 1.5rem;
        left: 1.5rem;
        right: 1.5rem;
        z-index: 998;
        transform: translateY(100px);
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(126, 172, 181, 0.2);
        pointer-events: none;
        padding: 1rem;
        font-size: 0.95rem;
    }

    .sticky-cta.visible {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .social-links {
        justify-content: center;
    }

    .footer-contact ul li {
        justify-content: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Global Sticky CTA Hide */
.sticky-cta {
    display: none;
}

/* Case Study Cards for Work Page */
.case-study-card {
    display: flex;
    flex-direction: row;
    gap: 0;
    margin-bottom: 4rem;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg-card);
}

.case-study-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px var(--glass-shadow);
    border-color: var(--accent-primary);
}

.case-study-card.reverse {
    flex-direction: row-reverse;
}

.case-study-content {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    z-index: 2;
}

.case-study-image {
    flex: 1;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.case-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.case-study-card:hover .case-img {
    transform: scale(1.05);
}

.case-study-summary {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.case-study-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 2rem;
    list-style: none;
    padding: 0;
}

.case-study-stats li {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

@media (max-width: 992px) {

    .case-study-card,
    .case-study-card.reverse {
        flex-direction: column-reverse;
    }

    .case-study-image {
        min-height: 250px;
        max-height: 300px;
    }

    .case-study-content {
        padding: 2rem;
    }
}

/* Blog/Insights Cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.blog-card {
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--glass-shadow);
    border-color: var(--accent-primary);
}

.blog-image-wrapper {
    height: 240px;
    /* Reduced from typical 300 to match more modest sizing */
    width: 100%;
    overflow: hidden;
    position: relative;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-img {
    transform: scale(1.08);
}

.blog-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.blog-category {
    color: var(--accent-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-card p {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    flex-grow: 1;
    /* Pushes the link to the bottom */
}

.blog-link {
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.blog-link:hover {
    gap: 0.8rem;
    color: var(--accent-primary);
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    position: relative;
    padding-right: 2rem;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.contact-details-list {
    list-style: none;
    margin-bottom: 3rem;
}

.contact-details-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.contact-details-list li a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-details-list li a:hover {
    color: var(--accent-primary);
}

.contact-details-list .icon {
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
}

/* Contact Form */
.contact-form-card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px var(--glass-shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 0 3px rgba(126, 172, 181, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

.calendar-integration {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info {
        padding-right: 0;
    }
}

/* --- STUNNING UPGRADES --- */
/* ... (existing stunning upgrades) ... */

/* Footer SEO Locations - Visually Hidden for SEO Crawlability */
.footer-locations {
    /* Visually hidden but accessible to crawlers */
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* H4 Removed based on user request */

.location-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
}

.location-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.location-links a:hover {
    color: var(--accent-primary);
}


/* --- STUNNING UPGRADES --- */

/* Enhanced Scroll Reveal */
.reveal-init {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    filter: blur(10px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* Smooth easing */
    will-change: opacity, transform, filter;
}

.reveal {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* Spotlight Effect */
.service-card,
.problem-card {
    /* Existing styles need to accept the gradient overlay */
    background:
        radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(126, 172, 181, 0.15),
            transparent 40%),
        var(--bg-card);
}

/* Animated Gradient Text */
.gradient-text {
    background-size: 200% auto;
    animation: gradient-flow 5s ease infinite;
}

@keyframes gradient-flow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Typography Polish */
h1 {
    letter-spacing: -0.03em;
    /* Tighten heavy headings */
}

/* Enhanced Glass */
.glass {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 var(--glass-shadow), inset 0 0 32px rgba(255, 255, 255, 0.05);
}

/* Global Focus States (WCAG 2.1 AA Accessibility) */
*:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-brand);
    z-index: 9999;
    transition: width 0.1s linear;
}

/* Staggered Animation Delays */
.services-grid .service-card:nth-child(1) {
    transition-delay: 0.1s;
}

.services-grid .service-card:nth-child(2) {
    transition-delay: 0.2s;
}

.services-grid .service-card:nth-child(3) {
    transition-delay: 0.3s;
}

.services-grid .service-card:nth-child(4) {
    transition-delay: 0.4s;
}

.services-grid .service-card:nth-child(5) {
    transition-delay: 0.5s;
}

.services-grid .service-card:nth-child(6) {
    transition-delay: 0.6s;
}

.problem-grid .problem-card:nth-child(1) {
    transition-delay: 0.1s;
}

.problem-grid .problem-card:nth-child(2) {
    transition-delay: 0.2s;
}

.problem-grid .problem-card:nth-child(3) {
    transition-delay: 0.3s;
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* ==================================================
   WORLD-CLASS UPGRADES (Best Website Ever)
   ================================================== */

/* Custom Cursor Glow Effect */
body {
    cursor: default;
}

/* Magnetic Button Effect */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::after {
    width: 300%;
    height: 300%;
}

/* Card Lift Effect */
.service-card,
.problem-card {
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.4s ease,
        border-color 0.3s ease;
}

.service-card:hover,
.problem-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Animated Stats Counter Styling */
.stat-num {
    display: inline-block;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.2);
    }
}

/* Icon Float Animation */
.service-icon svg {
    transition: transform 0.4s ease;
}

.service-card:hover .service-icon svg {
    transform: translateY(-4px) rotate(3deg);
}

/* Text Reveal Animation */
@keyframes text-reveal {
    from {
        clip-path: inset(0 100% 0 0);
    }

    to {
        clip-path: inset(0 0 0 0);
    }
}

.hero h1 {
    animation: text-reveal 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

/* Floating Badge */
.badge {
    animation: float-badge 3s ease-in-out infinite;
}

@keyframes float-badge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Link Underline Effect */
.nav-links a:not(.btn) {
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-brand);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

/* Footer Link Hover */
.footer-links a,
.footer-contact a {
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--accent-primary);
    transform: translateX(4px);
}

/* Social Link Pulse */
.social-link {
    transition: transform 0.3s ease, background 0.3s ease;
}

.social-link:hover {
    transform: scale(1.15);
    background: var(--accent-primary);
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Selection Highlight */
::selection {
    background: var(--accent-primary);
    color: var(--bg-main);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary);
}

/* Loading Skeleton Animation */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, var(--bg-card) 25%, rgba(126, 172, 181, 0.1) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* CTA Glow Effect */
.cta-box {
    position: relative;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(126, 172, 181, 0.3) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
    animation: cta-pulse 4s ease-in-out infinite;
}

@keyframes cta-pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Image Hover Zoom */
.hero-image-frame img,
.shift-image-frame img {
    transition: transform 0.6s ease;
}

.hero-image-frame:hover img,
.shift-image-frame:hover img {
    transform: scale(1.05);
}

/* Text Shadow for Depth */
.hero h1 {
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Process Step Connector */
.step::before {
    content: '';
    position: absolute;
    top: 2rem;
    left: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    z-index: -1;
}

.step:first-child::before {
    display: none;
}

/* ==================================================
   MOBILE OPTIMIZATION (The 44px Rule)
   ================================================== */

/* Safe Area Support (iPhone Notch) */
body {
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

/* Ensure minimum touch target size */
.btn,
.nav-links a,
.social-link,
.dropdown-toggle,
.menu-toggle {
    min-height: 44px;
    min-width: 44px;
}

/* Prevent iOS zoom on input focus */
input,
textarea,
select {
    font-size: 16px !important;
}

/* Thumb Zone: Sticky CTA at bottom on mobile */
@media (max-width: 768px) {
    .sticky-cta {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 1rem;
        padding-bottom: calc(1rem + env(safe-area-inset-bottom));
        background: var(--bg-main);
        border-top: 1px solid var(--glass-border);
        z-index: 1000;
        opacity: 0;
        transform: translateY(100%);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .sticky-cta.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .sticky-cta .btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }

    /* Add bottom padding to body to account for sticky CTA */
    body {
        padding-bottom: 80px;
    }

    /* Larger tap targets for location links */
    .location-links a {
        padding: 0.5rem 0;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    /* Footer improvements */
    .footer-links a,
    .footer-contact a {
        padding: 0.5rem 0;
        display: block;
    }

    /* Service cards: stack vertically */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Larger icons on mobile */
    .service-icon svg {
        width: 32px;
        height: 32px;
    }
}

/* Extra small devices */
@media (max-width: 375px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.95rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Prevent text selection on interactive elements (mobile UX) */
.btn,
.nav-links a,
.social-link {
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* Active states for touch feedback */
.btn:active {
    transform: scale(0.97);
}

.service-card:active,
.problem-card:active {
    transform: scale(0.98);
}