/* 
    Konkan Creative Studio - Premium Light Theme
    Base CSS Architecture 
*/

:root {
    /* Premium Light Theme Colors */
    --bg-primary: #FDFDFD;
    --bg-secondary: #F3F4F6;
    --bg-tertiary: #E5E7EB;

    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;

    /* Brand Accents (Vibrant on Light) */
    --accent-blue: #082346;
    /* Deep Navy */
    --accent-blue-hover: #051528;
    --accent-purple: #358321;
    /* Vibrant Green */
    --accent-gradient: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));

    /* Layout & Utilities */
    --nav-height: 120px;
    --border-light: rgba(15, 23, 42, 0.08);
    --glass-bg: rgba(253, 253, 253, 0.7);
    --glass-panel-bg: rgba(255, 255, 255, 0.6);
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 60px rgba(37, 99, 235, 0.08);

    --font-main: 'Plus Jakarta Sans', sans-serif;
}



/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
    font-size: 2rem;
    font-weight: 800;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

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

/* Hide Native Scrollbars completely */
::-webkit-scrollbar {
    display: none;
}
html {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    scroll-behavior: initial;
    /* Lenis handles smooth scrolling */
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    cursor: none;
    /* Custom Cursor */
    width: 100%;
    max-width: 100vw;
    position: relative;
    overflow-wrap: break-word;
}

#smooth-wrapper {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-blue);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(37, 99, 235, 0.4);
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

/* When hovering over interactive elements */
.cursor-outline.hover {
    width: 60px;
    height: 60px;
    background-color: rgba(37, 99, 235, 0.05);
    border-color: var(--accent-blue);
}

/* Scroll Progress Bar */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 10000;
}

.scroll-progress-bar {
    height: 100%;
    background: var(--accent-gradient);
    width: 0%;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.section-padding {
    padding: 120px 0;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    overflow-x: hidden;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 100px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    /* fallback if custom cursor fails */
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-purple); /* green */
    color: #fff;
    border: 1px solid var(--accent-purple);
}

.btn-primary:hover {
    background: #2e731c; /* darker green */
    border-color: #2e731c;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(53, 131, 33, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-outline:hover {
    border-color: var(--text-primary);
}

/* Hover Underline Effect */
.hover-underline {
    position: relative;
    text-decoration: none;
}

.hover-underline::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.hover-underline:hover::after {
    width: 100%;
}

/* Top Header Bar */
.top-header-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #3b4a8e;
    color: #ffffff;
    height: 35px;
    z-index: 1001;
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 500;
}
.top-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.top-header-left, .top-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.top-header-right {
    gap: 15px;
}
.top-header-link {
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.2s;
}
.top-header-link:hover {
    opacity: 0.8;
    color: #ffffff;
}
.top-header-separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}
@media (max-width: 768px) {
    .top-header-bar {
        display: flex;
        height: 35px;
    }
    .top-header-left {
        width: 100%;
        justify-content: space-between;
        gap: 5px;
    }
    .top-header-link {
        font-size: 0.7rem;
        white-space: nowrap;
    }
    .top-header-right {
        display: none;
    }
    .navbar {
        top: 35px !important;
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 35px;
    width: 100%;
    height: var(--nav-height);
    /* 100px */
    z-index: 1000;
    transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
}

.logo-img {
    height: 100px;
    transition: height 0.4s ease;
}

.navbar.scrolled {
    top: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    height: 80px;
}

.navbar.scrolled .logo-img {
    height: 75px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    position: relative;
    overflow: visible;
}

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

.nav-link {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Mega Menu */
.mega-dropdown {
    position: static;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 60px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-md);
}

.mega-dropdown.active .mega-menu,
.mega-dropdown:hover .mega-menu {
    /* Fallback */
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

.mega-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.purple-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-purple);
    border-radius: 50%;
    display: inline-block;
}

.mega-column a {
    display: block;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 16px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.mega-column a:hover {
    color: var(--accent-blue);
    transform: translateX(5px);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: 0.3s ease;
}
.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Premium Footer */
.premium-footer {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-light);
    padding: 100px 0 40px;
}

.grid-4 {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
}

.footer-desc {
    color: var(--text-secondary);
    margin-bottom: 24px;
    max-width: 300px;
}

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

.social-links-modern a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.social-links-modern a:hover {
    background: var(--text-primary);
    color: #fff;
    border-color: var(--text-primary);
}

.footer-title {
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.footer-links-col a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 12px;
    text-decoration: none;
    width: fit-content;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.contact-item svg {
    color: var(--accent-blue);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item a {
    color: inherit;
    text-decoration: none;
}

.footer-bottom {
    margin-top: 80px;
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.legal-links a {
    color: inherit;
    text-decoration: none;
}

/* Animations Setup for GSAP */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
}

/* Responsive */
@media (max-width: 1024px) {
    .grid-4, .hero-container, .projects-grid, .testimonial-cards { grid-template-columns: 1fr !important; gap: 40px !important; }
    .stats-grid, .process-steps { grid-template-columns: repeat(2, 1fr) !important; gap: 30px !important; }
    
    .nav-links { 
        display: flex; 
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 80px 24px;
        gap: 30px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }
    .nav-links.active {
        opacity: 1;
        visibility: visible;
    }
    .nav-links .nav-link {
        font-size: 1.5rem;
        font-weight: 600;
    }
    .mobile-menu-btn { 
        display: flex; 
        z-index: 1000;
        position: relative;
    }
    .hero-visual { display: none; }
    
    .mega-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding: 10px 0;
        display: none;
        text-align: center;
        background: transparent;
    }
    .mega-dropdown.active .mega-menu {
        display: block;
    }
    .mega-menu-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
    }
}

@media (max-width: 768px) {

    .grid-2, .grid-3, .grid-4,
    .stats-grid, .process-steps, .projects-grid, .testimonial-cards {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }

    body {
        cursor: auto;
    }

    .hero-title {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
    }

    .section-title {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }

    .section-padding {
        padding: 50px 0;
    }

    .glass-panel {
        padding: 20px;
    }

    /* Disable animations on mobile for better performance & UX */
    .fade-up,
    .reveal-scale {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
    }

    /* Floating Actions Optimization */
    .floating-actions {
        bottom: 15px !important;
        right: 15px !important;
        gap: 10px !important;
    }
    .fab {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.2rem !important;
    }

    /* Shrink Marquee & Brand Cards for Mobile */
    .brand-card {
        width: 70px !important;
        height: 70px !important;
        padding: 5px !important;
        border-radius: 8px !important;
    }
    .marquee-container {
        margin-bottom: 12px !important;
    }
    .marquee-section {
        padding: 40px 0 !important;
    }
}

/* Floating Actions */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 990;
}

.fab {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 1.5rem;
}

.fab:hover {
    transform: translateY(-5px) scale(1.1);
}

.fab-wa {
    background: #25D366;
}

.fab-call {
    background: var(--accent-blue);
}

.fab-top {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.fab-top.visible {
    opacity: 1;
    pointer-events: auto;
}



/* --- HOME PAGE SECTIONS --- */

/* Hero */
.home-hero-slider-section {
    position: relative;
    width: 100%;
    padding-top: var(--nav-height);
    padding-bottom: 60px;
    background-color: var(--bg-primary);
}

.hero-slider {
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    height: 75vh;
    min-height: 600px;
    max-height: 900px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.hero-slide-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.6) 50%, rgba(53,131,33,0.3) 100%);
    z-index: 1;
}

.hero-container-slider {
    position: relative;
    z-index: 2;
    padding: 0 5%;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-container-slider .hero-content {
    max-width: 700px;
}

.hero-container-slider .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-container-slider .badge-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
}

.hero-container-slider .hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 800;
}

.hero-container-slider .hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 95%;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-container-slider .btn-primary {
    background: var(--accent-purple);
    color: white;
    border: none;
}
.hero-container-slider .btn-primary:hover {
    background: #2b6c1a;
}

.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    color: white;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.hero-slider .swiper-button-next:after,
.hero-slider .swiper-button-prev:after {
    font-size: 20px;
}

.hero-slider .swiper-pagination-bullet {
    background: rgba(255,255,255,0.5);
    opacity: 1;
}

.hero-slider .swiper-pagination-bullet-active {
    background: white;
    width: 24px;
    border-radius: 4px;
}


.home-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    overflow: hidden;
    background-color: var(--bg-primary) !important;
    clip-path: inset(0); /* Forcing 3D clipping on iOS */
    width: 100%;
    max-width: 100vw;
}

.hero-bg-gradients {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: #fff;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 10s infinite ease-in-out alternate;
}

.blue-blob {
    width: 600px;
    height: 600px;
    background: var(--accent-blue);
    top: -10%;
    left: -10%;
}

.purple-blob {
    width: 500px;
    height: 500px;
    background: var(--accent-purple);
    bottom: -10%;
    right: -10%;
    animation-delay: 2s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, 50px) scale(1.1);
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent-blue);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Glass Panel & Cards */
.glass-panel {
    background: var(--glass-panel-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s ease;
}

.glass-panel:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

/* Marquee Sections */
.marquee-section {
    padding: 80px 0;
    overflow: hidden;
    position: relative;
    border-top: none;
    border-bottom: none;
}
.marquee-section.dark-gradient-bg {
    background: linear-gradient(135deg, #1e0940 0%, #031c96 100%);
    color: #ffffff;
}
.client-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}
.text-white {
    color: #ffffff !important;
}

.marquee-container {
    display: flex;
    width: 200%;
    margin-bottom: 20px;
}
.marquee-container:last-of-type {
    margin-bottom: 40px;
}
.marquee-left-right {
    animation: marquee-lr 35s linear infinite;
}
.marquee-right-left {
    animation: marquee-rl 35s linear infinite;
}

.marquee-content {
    display: flex;
    width: 50%;
    justify-content: space-around;
    align-items: center;
}

.brand-card {
    background: #ffffff;
    border-radius: 12px;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    flex-shrink: 0;
    padding: 10px;
}
.brand-card img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.marquee-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
    font-weight: 600;
    color: #ffffff;
}
.marquee-footer .rating-val {
    font-size: 1.1rem;
}
.marquee-footer .stars {
    display: flex;
    gap: 4px;
}
.marquee-footer .review-text {
    font-size: 1.1rem;
}

@keyframes marquee-lr {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes marquee-rl {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* Technology & Media Partners Section */
.partners-section {
    padding: 60px 0;
    background-color: #ffffff;
}
.partners-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #354280;
    font-weight: 700;
    margin-bottom: 40px;
}
.partners-block {
    background: #f8fafc;
    border-radius: 20px;
    padding: 30px 20px 20px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}
.partners-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #354280;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
}
.partner-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 60px;
    margin: 0 20px;
    flex-shrink: 0;
}
.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

/* Adjust marquee container for the partner blocks */
.partners-block .marquee-container {
    margin-bottom: 0;
}
.partners-block .marquee-container.double-row:first-of-type {
    margin-bottom: 15px;
}

/* Grids */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-arrow {
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--accent-purple); /* vibrant green */
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-top: 15px;
    width: fit-content;
}

.service-card:hover .service-arrow {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(53, 131, 33, 0.3);
    background: #2e731c; /* Slightly darker green on hover */
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-blue);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.project-card {
    border-radius: 20px;
    overflow: hidden;
}

.project-img-wrapper {
    height: 400px;
    background: var(--bg-tertiary);
    position: relative;
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-info {
    padding: 24px 0;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.project-info p {
    color: var(--text-muted);
}

/* Process */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.process-step {
    position: relative;
}

.step-num {
    font-size: 4rem;
    font-weight: 800;
    color: currentColor;
    opacity: 0.1;
    line-height: 1;
    margin-bottom: -20px;
}

.process-step h3 {
    margin-bottom: 12px;
    color: inherit;
}

.process-step p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Testimonials */
.testimonial-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.quote-icon {
    font-size: 4rem;
    color: var(--accent-blue);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: -20px;
    font-family: serif;
}

.test-text {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.test-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-tertiary);
}

/* CTA */
.cta-box {
    text-align: center;
    background: var(--accent-gradient);
    color: #fff;
    border: none;
}

.cta-box h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-box p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-box .btn-primary {
    background: #fff;
    color: var(--accent-blue);
}

.cta-box .btn-primary:hover {
    background: var(--bg-secondary);
}

@media (max-width: 768px) {

    .hero-container,
    .projects-grid,
    .testimonial-cards {
        grid-template-columns: 1fr;
    }

    .stats-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }
}

/* Strategy Call Modal Styles */
.strategy-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(5px);
}

.strategy-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.strategy-modal {
    background: #fff;
    width: 95%;
    max-width: 700px;
    border-radius: 16px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    max-height: 90vh;
}

.strategy-modal.split-layout {
    display: flex;
    flex-direction: row;
    padding: 0;
    max-width: 1000px;
    overflow: hidden;
}

.strategy-modal-left {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #fff;
    padding: 50px 40px;
    flex: 0 0 40%;
    display: flex;
    align-items: center;
}

.strategy-modal-right {
    padding: 50px 40px;
    flex: 1;
    overflow-y: auto;
    max-height: 90vh;
    background: #ffffff;
}

.left-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.left-desc {
    font-size: 1.05rem;
    color: #cbd5e1;
    margin-bottom: 30px;
    line-height: 1.6;
}

.modal-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 1rem;
    color: #f8fafc;
}

.feature-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    background: rgba(99, 102, 241, 0.2);
    color: #818cf8;
    border-radius: 50%;
    font-size: 12px;
}

.strategy-modal-overlay.active .strategy-modal {
    transform: translateY(0);
}

.strategy-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #000;
    color: #fff;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.2s;
}

.strategy-modal-close:hover {
    background: #333;
}

.strategy-modal-header h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #222;
    font-weight: 700;
}

.strategy-form .form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.strategy-form .form-group {
    display: flex;
    flex-direction: column;
}

.strategy-form label {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 8px;
    font-weight: 600;
}

.strategy-form .text-danger {
    color: #e74c3c;
}

.strategy-form input,
.strategy-form select {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #333;
    transition: border-color 0.2s;
    font-family: inherit;
}

.strategy-form input:focus,
.strategy-form select:focus {
    border-color: #6366f1;
    outline: none;
}

.strategy-form .phone-input-group {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.strategy-form .phone-input-group:focus-within {
    border-color: #6366f1;
}

.strategy-form .country-code {
    background: #50b887;
    color: white;
    padding: 0 15px;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
}

.strategy-form .phone-input-group input {
    border: none;
    flex: 1;
    border-radius: 0;
}

.strategy-form .phone-input-group input:focus {
    border: none;
    outline: none;
}

.strategy-form .submit-btn {
    width: 100%;
    max-width: 250px;
    background: #1a73e8;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.strategy-form .submit-btn:hover {
    background: #1557b0;
}

@media (max-width: 768px) {
    .strategy-form .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .strategy-modal {
        padding: 20px;
    }
    .strategy-modal.split-layout {
        flex-direction: column;
    }
    .strategy-modal-left {
        display: none;
    }
    .strategy-modal-right {
        padding: 40px 20px;
    }
    .left-title {
        font-size: 1.8rem;
    }
}