/* ==========================================
   ROOT VARIABLES & GLOBAL RESETS
========================================== */
:root {
    /* Color Palette - Light Mode (Default) */
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --secondary: #ec4899;
    --accent: #06b6d4;

    --bg-body: #ffffff;
    --bg-card: #f8fafc;
    --bg-alt: #f1f5f9;

    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);

    --gradient-hero: linear-gradient(135deg, #f0f9ff 0%, #e0e7ff 100%);
    --gradient-text: linear-gradient(to right, var(--primary), var(--secondary));

    --container: 1200px;
    --transition: 0.3s ease;
}

/* Dark Mode Overrides */
[data-theme="dark"] {
    --bg-body: #0f172a;
    --bg-card: #1e293b;
    --bg-alt: #162033;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.3);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.7;
    transition: background-color var(--transition), color var(--transition);
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
}

h1 { font-size: 3.5rem; letter-spacing: -0.02em; }
h2 { font-size: 2.5rem; letter-spacing: -0.01em; }
h3 { font-size: 1.75rem; }

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

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

ul { list-style: none; }

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

/* Responsive helpers */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

img, picture, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
    display: block;
}

.break-word, p, li, .btn {
    word-break: break-word;
    overflow-wrap: break-word;
}

/* ==========================================
   UTILITY CLASSES
========================================== */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

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

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

.bg-alt {
    background-color: var(--bg-alt);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-lg { margin-bottom: 3rem; }

/* ==========================================
   BUTTONS
========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-main);
}

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

/* ==========================================
   HEADER & NAVIGATION
========================================== */
header {
    background: var(--bg-body);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

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

.logo span {
    font-size: 1.5rem;
    font-weight: 800;
    white-space: nowrap;
}

/* Theme Toggle */
.theme-toggle {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 40px;
    padding: 10px 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    white-space: nowrap;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    padding: 0;
    flex-shrink: 0;
    min-width: 40px;
}

.theme-toggle:active {
    transform: scale(0.95);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    display: none;
}

.mobile-menu-btn:active {
    transform: scale(0.9);
    background-color: var(--bg-alt);
}

/* Navigation Links Base */
.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Dropdown Navigation */
.dropdown {
    position: relative;
}

.dropdown > a {
    display: inline-flex;
    align-items: center;
    padding: 10px 6px;
}

.dropdown > a::after {
    content: "▼";
    font-size: 0.7rem;
    margin-left: 6px;
    display: inline-block;
    transition: transform 0.25s ease;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: #ffffff;
    border-radius: 10px;
    padding: 10px 0;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.25s ease;
    z-index: 999;
}

.dropdown:hover > .dropdown-menu,
.dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown:hover > a::after {
    transform: rotate(180deg);
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    color: #111;
    font-weight: 500;
    white-space: nowrap;
}









.dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 14px;
}

/* ==========================================
   DESKTOP NAVIGATION (901px+)
========================================== */
@media (min-width: 901px) {
    .nav-links {
        display: flex !important;
        flex-direction: row !important;
        gap: 30px;
        list-style: none;
        margin: 0;
        padding: 0;
        width: auto !important;
        height: auto !important;
        position: static !important;
        background: transparent !important;
    }

    .theme-toggle {
        display: flex;
    }

    .mobile-menu-btn {
        display: none !important;
    }
}

/* ==========================================
   MOBILE NAVIGATION (900px and below)
========================================== */
@media (max-width: 900px) {
    .mobile-menu-btn {
        display: flex !important;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-body);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        padding: 22px 0 80px 0;
        margin: 0;
        z-index: 999;
        border-right: 1px solid var(--border-color);
        box-shadow: -2px 0 15px rgba(0, 0, 0, 0.1);
        transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        overscroll-behavior: contain;
        box-sizing: border-box;
    }

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

    .nav-links li {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        margin: 0;
        border-bottom: 1px solid var(--border-color);
        flex-shrink: 0;
    }

    .nav-links li:last-child {
        border-bottom: none;
        margin-top: auto;
        left: 0;
        right: 0;
        width: calc(100vw - 17px);
        z-index: 1000;
        background: var(--bg-body);
        border-top: 1px solid var(--border-color);
        box-sizing: border-box;
        display: flex;
        align-items: center;
        padding: 0;
    }

    .nav-links a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        width: 100%;
        font-size: 1.05rem;
        color: var(--text-main);
        text-decoration: none;
        transition: background-color 0.2s ease, color 0.2s ease;
        flex-shrink: 0;
        box-sizing: border-box;
    }

    .nav-links li:not(.dropdown) > a {
        justify-content: flex-start;
    }

    .nav-links li:not(:last-child) > a:hover,
    .nav-links li:not(:last-child) > a:focus {
        background-color: var(--bg-alt);
        color: var(--primary);
    }


    .nav-links li:last-child a:hover,
    .nav-links li:last-child a:focus {
        background-color: var(--primary-dark, #4338ca);
        color: white;
    }

    .theme-toggle {
        display: none;
    }

    /* Mobile Dropdown */
    .dropdown > a {
        user-select: none;
        -webkit-user-select: none;
        width: 100%;
        padding: 16px 20px;
        font-size: 1.05rem;
        color: var(--text-main);
        text-decoration: none;
        border-bottom: none;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-shrink: 0;
        box-sizing: border-box;
        gap: 10px;
        border-bottom: 1px solid var(--border-color);
    }

    .dropdown.active > a {
        background-color: var(--bg-alt, #f8fafc);
    }

    .dropdown.active > a::after {
        transform: rotate(180deg);
    }

    .dropdown-menu {
        display: block;
        position: static;
        box-shadow: none;
        background: var(--bg-alt, #f8fafc);
        border: none;
        padding: 0;
        margin: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        list-style: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease;
        opacity: 0;
        flex-shrink: 0;
    }

    .dropdown.active > .dropdown-menu {
        max-height: 1000px;
        opacity: 1;
    }

    .dropdown-menu a {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        padding: 12px 20px 12px 40px;
        border-bottom: 1px solid var(--border-color, #e2e8f0);
        font-size: 0.95rem;
        color: var(--text-main, #1e293b);
        text-decoration: none;
        width: 100%;
        flex-shrink: 0;
        box-sizing: border-box;
    }

    .dropdown-menu a:active {
        background-color: var(--bg-body);
        color: var(--primary, #2563eb);
    }

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

/* ==========================================
   HERO SECTION
========================================== */
.hero {
    padding-top: clamp(80px, 12vw, 160px);
    padding-bottom: clamp(40px, 6vw, 100px);
    background: var(--gradient-hero);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)), url('../images/banner_abstract.png');
    background-size: cover;
    background-position: center;
    transition: background 0.4s;
}

@media (prefers-color-scheme: dark) {
    .hero-bg {
        background: linear-gradient(rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.95)), url('../images/banner_abstract.png');
    }
}

@media (prefers-color-scheme: light) {
    .hero-bg {
        background: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.85)), url('../images/banner_abstract.png');
    }
}

.hero-img img {
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.moving-img {
    animation: move-horizontal 4s ease-in-out infinite alternate;
    display: block;
    max-width: 100%;
}

@keyframes move-horizontal {
    0% { transform: translateX(0); }
    100% { transform: translateX(40px); }
}

/* Desktop Hero Density Improvements */
@media (min-width: 901px) {
    .hero {
        padding-top: 20px;
        padding-bottom: 40px;
        min-height: 50vh;
    }

    .hero .container {
        max-width: 1000px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero .grid-2 {
        gap: 30px;
        align-items: center;
    }

    .hero-img {
        max-width: 520px;
    }

    .hero .grid-2 {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 28px;
    }
}

/* Desktop Alignment */
@media (min-width: 1024px) {
    header .container,
    .hero .container,
    .container {
        max-width: var(--container);
        padding-left: 20px;
        padding-right: 20px;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    .hero .hero-content {
        padding-left: 0 !important;
        margin-left: 0 !important;
    }

    .hero .grid-2 {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
        align-items: center;
    }

    .theme-toggle {
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        width: auto !important;
        min-width: 0 !important;
        height: 36px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 1rem !important;
        color: var(--text-main) !important;
        box-shadow: none !important;
        border-radius: 6px !important;
        margin-left: 8px !important;
        margin-right: 0 !important;
    }

    .theme-toggle i {
        font-size: 16px !important;
        line-height: 1 !important;
    }
}

.hero h1 {
    margin-bottom: 0.6rem;
}

.hero p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

/* ==========================================
   FEATURES/SERVICES
========================================== */
.feature-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 25px;
}

/* ==========================================
   ABOUT SECTION
========================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-card {
    background: linear-gradient(135deg, rgba(79,70,229,0.08), rgba(236,72,153,0.06));
    border-radius: 20px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.about-card:hover {
    transform: translateY(-8px) rotate(-0.4deg);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.about-card img {
    border-radius: 16px;
    max-width: 100%;
    box-shadow: 0 10px 30px rgba(2,6,23,0.12);
}

.about-content h2 {
    display: inline-block;
    position: relative;
}

.about-content h2::after {
    content: '';
    height: 6px;
    width: 60%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    position: absolute;
    left: 0;
    bottom: -10px;
    border-radius: 6px;
    opacity: 0.9;
}

.feature-list {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.feature-list li,
.expertise-list li {
    position: relative;
    padding-left: 36px;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.6;
}

.feature-list li::before,
.expertise-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
}

.expertise-heading {
    margin-top: 30px;
    margin-bottom: 16px;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-main);
}

.expertise-list {
    margin-top: 10px;
}

.about-cta {
    margin-top: 18px;
}

.about-cta .btn {
    padding: 12px 28px;
    border-radius: 999px;
}

.about-video {
    max-width: 900px;
    margin: 0 auto 40px;
}

.about-video video {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    display: block;
    box-shadow: var(--shadow-lg);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 16px;
    line-height: 1.7;
}

/* ==========================================
   PROCESS STEPPER
========================================== */
.process-stepper {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 25px;
    top: 50px;
    width: 2px;
    height: calc(100% + 10px);
    background: var(--border-color);
    z-index: 0;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 25px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.step-content {
    flex: 1;
    padding-top: 10px;
}

.step-content h3 {
    margin-bottom: 10px;
    color: var(--text-main);
}

.step-content p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Digital Marketing Process */
.dm-process {
    margin: 12px;
    border-radius: 12px;
    margin-bottom: 15px;
    padding-left: 15px;
}

.dm-process .container {
    background: var(--bg-card);
    border-radius: 28px;
    padding: 70px 80px;
    max-width: 1200px;
    margin: 80px auto;
}

.dm-process .process-stepper {
    position: relative;
    margin-top: 60px;
    padding-left: 50px;
}

.dm-process .process-stepper::before {
    content: "";
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #6d5dfc, #4f46e5);
    border-radius: 10px;
}

.dm-process .process-step {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    margin-bottom: 55px;
}

.dm-process .step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #6d5dfc, #8b5cf6);
    color: #fff;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 12px 30px rgba(109, 93, 252, 0.4);
}

.dm-process .step-content {
    background: var(--bg-alt);
    padding: 24px 30px;
    border-radius: 18px;
    box-shadow: var(--shadow-md);
}

.dm-process .step-content h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
    color: var(--text-main);
}

.dm-process .step-content p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ==========================================
   TESTIMONIALS
========================================== */
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.testimonial-content {
    flex: 1;
    margin-bottom: 25px;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.8;
    position: relative;
    padding-left: 20px;
}

.testimonial-content p::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.client-info h4 {
    margin-bottom: 5px;
    color: var(--text-main);
}

.client-info p {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 0;
}

/* ==========================================
   VALUES SECTION
========================================== */
.values-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.value-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-radius: 12px;
    background: var(--bg-alt);
    transition: all 0.3s ease;
}

.value-item:hover {
    background: var(--bg-card);
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-size: 24px;
}

.value-content {
    flex: 1;
}

.value-content h4 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.value-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* ==========================================
   ADS HEADER STYLES
========================================== */
.google-ads-header,
.ads-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.google-logo,
.ads-logo {
    height: 28px;
    width: auto;
}

.microsoft-logo {
    border-radius: 4px;
}

.facebook-logo {
    border-radius: 6px;
}

.google-title,
.ads-title {
    font-size: 22px;
    font-weight: 600;
    color: #111;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.ads-icon {
    font-size: 26px;
    color: var(--primary);
}

/* ==========================================
   STATS & FOOTER
========================================== */
.stat-box h3 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-box p {
    font-size: 1.1rem;
    font-weight: 500;
}

footer {
    background: #e0e7ff;
    padding-top: 80px;
    border-top: 1px solid var(--border-color);
}

.footer-links a {
    display: block;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--primary);
    translate: 5px;
}

/* ==========================================
   ANIMATIONS
========================================== */
.fade-up {
    opacity: 0;
    transform: translateY(18px);
    animation: fadeUp 0.8s ease forwards;
}

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

.fade-up { animation-delay: var(--d, 0s); }

/* ==========================================
   RESPONSIVE BREAKPOINTS
========================================== */
@media (max-width: 900px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .grid-2 { grid-template-columns: 1fr; gap: 40px; }
    
    /* Hero button fixes */
    .hero .hero-content .btn {
        white-space: nowrap !important;
        display: inline-flex !important;
        width: auto !important;
        min-width: 140px !important;
        max-width: calc(100% - 40px) !important;
        padding: 10px 18px !important;
    }

    .hero .hero-content > div[style*="display: flex"] {
        display: flex !important;
        flex-direction: row !important;
        gap: 12px !important;
        justify-content: center !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
    }
}

@media (max-width: 768px) {
    .process-step {
        flex-direction: column;
        text-align: center;
    }
    
    .process-step:not(:last-child)::after {
        left: 50%;
        transform: translateX(-50%);
        top: 50px;
        height: calc(100% + 20px);
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 20px;
    }

    /* Contact Section */
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Values Section */
    .value-item {
        padding: 16px;
        gap: 12px;
    }

    .value-icon {
        width: 45px;
        height: 45px;
        min-width: 45px;
        font-size: 20px;
    }

    .value-content h4 {
        font-size: 1rem;
    }

    .value-content p {
        font-size: 0.9rem;
    }

    /* Expertise Section */
    .expertise-heading {
        font-size: 1.4rem;
    }

    /* Digital Marketing Process */
    .dm-process .container {
        padding: 40px 25px;
    }

    .dm-process .process-stepper {
        padding-left: 25px;
    }

    .dm-process .process-step {
        gap: 16px;
    }

    /* Google Map */
    iframe {
        height: 70vh;
        min-height: 500px;
    }

    /* Mobile Hero Space Fix */
    .hero,
    .hero-section {
        min-height: auto !important;
        padding-top: 30px !important;
        padding-bottom: 40px !important;
    }

    /* Mobile Button Fix */
    .nav-links li a.btn {
        padding: 8px 14px !important;
        font-size: 14px !important;
        border-radius: 20px !important;
        line-height: 1.2;
    }
}

@media (max-width: 991px) {
    /* Services Mobile Fix */
    .nav-links > li > a {
        display: block !important;
        width: 100%;
        padding: 16px 20px !important;
        text-align: left !important;
    }

    .nav-links > li.dropdown > a {
        display: block !important;
    }

    .nav-links > li.dropdown > a::after {
        position: absolute;
        right: 20px;
    }

    .nav-links > li {
        position: relative;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .nav-links a {
        min-height: 48px;
        padding: 12px 20px;
    }

    .mobile-menu-btn {
        min-width: 48px;
        min-height: 48px;
    }

    .dropdown-menu a {
        min-height: 48px;
        padding: 14px 20px;
    }

    .dropdown > a {
        min-height: 48px;
        padding: 12px 0;
    }
}

/* Landscape Mobile */
@media (max-width: 900px) and (orientation: landscape) {
    .nav-links {
        height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .nav-links a {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .nav-links,
    .mobile-menu-btn {
        transition: none;
    }
}

/* ==========================================
   MISC FIXES
========================================== */
.section-padding_test {
    background-color: #f0f9ff;
    padding: 100px 0;
}

iframe {
    width: 100%;
    height: 30vh;
    min-height: 0px;
    border: 0;
}

/* About Grid Mobile */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content h2::after {
        width: 40%;
    }
}
.hero {
  padding: 0 !important;
  margin: 0 !important;
}

.hero > .container {
  padding-top: 30px;
  padding-bottom: 0;
}

.grid-2 {
  align-items: flex-start;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 740px;
  height: 520px;
  border-radius: 20px;
  overflow: hidden;
  background: #eef2ff;
}

/* Image – turant dikhe */
.video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: opacity 0.6s ease;
}

/* Video – pehle hidden */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 2;
  transition: opacity 0.6s ease;
}

/* IMAGE PLACEHOLDER */
.img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(
    90deg,
    #eef2ff,
    #f8fafc,
    #eef2ff
  );
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}

/* REAL IMAGE */
.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.45s ease;
}

/* WHEN IMAGE LOADED */
.project-img.loaded {
  opacity: 1;
  animation: none;
}

/* SHIMMER */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
/* ============================= */
/* 💥 TOTAL MAP SPACE RESET */
/* ============================= */

/* Section ke niche ka space ZERO */
.map-section {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Map container exact height */
.map-container {
    height: 50vh !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    background: transparent !important;
}

/* Inner wrapper */
.map-container > div {
    height: 100% !important;
    margin-bottom: 0 !important;
}

/* iframe gap fix */
.map-container iframe {
    display: block;
    height: 100% !important;
}
footer,
footer * {
    margin-top: 0 !important;
}

footer {
    padding-top: 30px; /* sirf content breathing */
}


