/* CSS Variables & Reset */
:root {
    --primary-color: #0f172a;
    /* Deep Navy */
    --primary-light: #1e293b;
    --accent-color: #3b82f6;
    /* Electric Blue */
    --accent-hover: #2563eb;
    --gold: #f59e0b;
    /* Amber/Gold for subtle highlights */
    --text-color: #334155;
    --text-light: #475569;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --border-radius: 8px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.1);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.5);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    /* scroll-padding-top: 55px; */
    /* Offsets scroll for sticky navbar */
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.section {
    padding: 90px 0;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--accent-color);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 12px;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-hover), var(--accent-color));
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.glow-effect {
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

.btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    background-color: transparent;
    color: var(--white);
    border-radius: 50px;
    font-weight: 500;
    border: 2px solid var(--white);
    margin-left: 10px;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 13px 0;
    transition: var(--transition);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.logo .accent {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.btn-primary) {
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.95rem;
}

.nav-links a:not(.btn-primary):hover,
.nav-links a.active {
    color: var(--accent-color);
}

.nav-links a.active {
    font-weight: 700;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.mobile-menu {
    position: fixed;
    top: 72px;
    /* Navbar height */
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 20px;
    box-shadow: var(--shadow-md);
    display: none;
    flex-direction: column;
    gap: 16px;
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
    animation: slideDown 0.3s ease-out forwards;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Blobs */
.blob {
    position: absolute;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.6;
    animation: float 10s infinite alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(59, 130, 246, 0.4);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(147, 51, 234, 0.3);
    /* Purple */
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(30px, 50px) rotate(10deg);
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    /* min-height: 700px; Removed to fix overflow on small screens */
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #020617 0%, #1e1b4b 100%);
    color: var(--white);
    overflow: hidden;
    padding: 0;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&q=80&w=1920');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 1;
    animation: slowZoom 20s infinite alternate;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    /* Between overlay and content */
    pointer-events: none;
    /* Allow clicks to pass through */
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    /* Creates a subtle dot grid/particle effect */
}

@keyframes slowZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 5;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-subtitle {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 16px;
    background: rgba(59, 130, 246, 0.1);
    padding: 8px 16px;
    border-radius: 4px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.hero h1 {
    font-size: 3.5rem;
    /* Fallback */
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 24px;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.highlight-text {
    background: linear-gradient(to right, var(--white), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.7;
    animation: bounce 2s infinite;
    z-index: 20;
    /* Keep on top */
    cursor: pointer;
    text-decoration: none;
    /* remove underline from link */
    color: var(--white);
}

.hero-scroll-indicator span {
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-500 {
    transition-delay: 0.5s;
}

/*---------------------------- About Section ----------------------------*/
.about-section {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
    /* Contain blobs */
}

.section-header {
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.about-card {
    background: var(--bg-light);
    padding: 32px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: var(--white);
    border-color: var(--accent-color);
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.icon-box i {
    width: 28px;
    height: 28px;
}

.about-content-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.125rem;
    color: var(--text-color);
    line-height: 1.8;
}

/* Stats Section */
.stats-section {
    position: relative;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 4px;
    background: linear-gradient(to bottom, var(--accent-color), #fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Process Section */
.process-section {
    background-color: var(--white);
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 60px;
    position: relative;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    min-width: 220px;
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--border-radius);
    position: relative;
    transition: var(--transition);
    border: 1px solid transparent;
}

.process-step:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-lg);
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(59, 130, 246, 0.1);
    position: absolute;
    top: 10px;
    right: 20px;
    transition: var(--transition);
}

.process-step:hover .step-number {
    color: rgba(59, 130, 246, 0.2);
    transform: scale(1.1);
}

.step-content h3 {
    margin-bottom: 12px;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.step-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

/* Industries Section */
.industries-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
}

.industries-section .section-header h2 {
    color: var(--white);
}

.industries-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.industry-tag {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 1rem;
    cursor: default;
    transition: var(--transition);
}

.industry-tag:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.05);
}

/* Why Choose Us */
.why-us-section {
    background-color: var(--white);
    padding: 80px 0;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-us-content h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.why-us-content>p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 500px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-item i {
    color: var(--accent-color);
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    margin-top: 4px;
}

.feature-item h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.feature-item p {
    color: var(--text-light);
}

.why-us-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-card {
    position: absolute;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    max-width: 300px;
    transition: var(--transition);
}

.visual-card:hover {
    transform: scale(1.05);
    z-index: 10;
}

.main-card {
    top: 0;
    left: 0;
    z-index: 2;
    background: var(--primary-color);
    color: var(--white);
}

.main-card .card-icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
}

.visual-card h3 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.main-card h3 {
    color: var(--white);
}

.secondary-card {
    bottom: 0;
    right: 0;
    z-index: 1;
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon i {
    width: 24px;
    height: 24px;
}

/* Services */
.services-section {
    background: linear-gradient(to bottom, var(--bg-light), var(--white));
    position: relative;
    overflow: hidden;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--white);
    padding: 48px 32px;
    border-radius: 16px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    /* Softer, spread out shadow */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy transition */
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center align for modern feel */
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-hover));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent-color);
    transition: var(--transition);
    position: relative;
}

.service-icon-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--accent-color);
    opacity: 0.1;
    transition: var(--transition);
}

.service-card:hover .service-icon-wrapper {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.service-card:hover .service-icon-wrapper::after {
    transform: scale(1.2);
    opacity: 0;
}

.service-icon-wrapper i {
    width: 36px;
    height: 36px;
}

.service-card h3 {
    margin-bottom: 16px;
    font-size: 1.35rem;
    font-weight: 700;
}

.service-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 0;
    /* Removed link so just text */
}

/* Testimonials */
.testimonials-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: var(--white);
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
    pointer-events: none;
}

.testimonials-section .section-header h2 {
    color: var(--white);
}

.testimonials-section .section-header .badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #60a5fa;
}

.testimonials-section .dot {
    background: rgba(255, 255, 255, 0.2);
}

.testimonials-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 32px;
    margin-top: 10px;
    padding: 30px 20px;
    /* Space for scrollbar if visible, or aesthetics */
    scrollbar-width: none;
    /* Firefox */
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.testimonial-card {
    min-width: 300px;
    max-width: 100%;
    /* Ensure it doesn't overflow small screens */
    width: 100%;
    /* Adaptive width */
    flex: 0 0 auto;
    scroll-snap-align: center;
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .testimonial-card {
        min-width: 400px;
        /* Larger on desktop */
    }
}

.testimonials-wrapper {
    position: relative;
    max-width: 100%;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    align-items: center;
}

.nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: var(--white);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.nav-btn:hover {
    background: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
}

.min-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--accent-color);
    transform: scale(1.2);
}

.client-header {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.client-info {
    text-align: left;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: var(--white);
    border-color: var(--accent-color);
}

.testimonial-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
    /* More rounded */
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.stars {
    color: var(--gold);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.quote {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 30px;
}

.client-info h4 {
    margin-bottom: 4px;
}

.client-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Contact */
.contact-section {
    background-color: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.contact-info {
    background: var(--primary-color);
    color: var(--white);
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item i {
    color: var(--accent-color);
    width: 24px;
    height: 24px;
    margin-top: 4px;
}

.contact-item h5 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--white);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-group {
    position: relative;
    margin-bottom: 24px;
}

.form-group label {
    position: absolute;
    top: 14px;
    left: 16px;
    padding: 0 4px;
    background: var(--white);
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition);
    pointer-events: none;
    font-weight: normal;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    background: transparent;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group input:not(:placeholder-shown),
.form-group textarea:not(:placeholder-shown) {
    outline: none;
    border-color: var(--accent-color);
}

.form-group input:focus~label,
.form-group textarea:focus~label,
.form-group input:not(:placeholder-shown)~label,
.form-group textarea:not(:placeholder-shown)~label {
    top: -10px;
    left: 12px;
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 600;
}

.full-width {
    width: 100%;
    text-align: center;
}

/* Footer */
.footer {
    background-color: #0f172a;
    color: #cbd5e1;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.logo-footer {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 24px;
}

.footer ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.875rem;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.highlight-text {
    background: linear-gradient(to right, #60a5fa, #a855f7, #ec4899);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 5s ease infinite;
}

.hero {
    background: linear-gradient(-45deg, #020617, #1e1b4b, #0f172a, #172554);
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
}

/* Enhanced Card Hover */
.service-card,
.testimonial-card,
.about-card,
.process-step {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover,
.testimonial-card:hover,
.about-card:hover,
.process-step:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.15);
}

/* Button Shimmer */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: 0.5s;
}

.btn-primary:hover::before {
    animation: shimmer 1s;
}

@keyframes shimmer {
    100% {
        left: 200%;
    }
}

/* Responsive */
@media (max-width: 968px) {
    .container {
        padding: 0 24px;
    }

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

    .hero p {
        font-size: 1.125rem;
    }

    .process-timeline {
        flex-direction: column;
        gap: 32px;
    }

    .process-step {
        width: 100%;
        min-width: unset;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .contact-form-wrapper {
        padding: 60px 40px;
    }

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

    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .why-us-visual {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 24px;
        margin-top: 20px;
    }

    .visual-card {
        position: relative;
        top: auto;
        left: auto;
        bottom: auto;
        right: auto;
        max-width: 100%;
        transform: none !important;
        /* Disable floating overlap on mobile */
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

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

    .about-grid,
    .services-grid {
        grid-template-columns: 1fr;
        /* Force single column on smaller tablets/mobile */
        gap: 24px;
    }

    .stats-grid {
        gap: 32px;
    }

    .stat-item {
        width: 45%;
        /* 2 per row */
    }
}

@media (max-width: 576px) {
    .hero {
        padding-top: 100px;
        text-align: center;
        min-height: 100svh;
        /* Use svh for better mobile browser support */
        height: auto;
        /* allow content to dictate if needed, but min-height keeps it full */
    }

    /* Fix scroll indicator on mobile */
    .hero-scroll-indicator {
        bottom: 20px;
        /* Raise slightly for mobile nav bars */
        z-index: 20;
        /* Ensure clickable */
    }

    .hero-text {
        padding: 0 10px;
    }

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

    .hero-cta {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
        /* Full width buttons */
    }

    .btn-secondary {
        margin-left: 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .stat-item {
        width: 100%;
        /* 1 per row */
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer ul {
        align-items: center;
        /* Center list items */
    }

    .social-links {
        justify-content: center;
    }

    .contact-info,
    .contact-form-wrapper {
        padding: 40px 20px;
    }

    .why-us-section {
        padding: 60px 0;
    }
}