@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
    --primary-yellow: #FFD700;
    --primary-yellow-rgb: 255, 215, 0;
    --primary-white: #FFFFFF;
    --accent-dark: #1A1A1A;
    --light-accent: #F9F9F9;
    --mid-grey: #666666;
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 140px; /* Accounts for Top Bar + Sticky Header */
}

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

/* Justify all paragraph text across all device sizes */
p:not(.phone-highlight):not(.partner-box p):not(.footer-bottom p):not(.nav-links p) {
    text-align: justify;
}

/* Keep specific elements left-aligned — not justified */
.btn,
label,
.top-bar-info,
.phone-highlight,
li,
nav a,
.nav-links a,
.section-head span,
.story-meta-box h5,
.why-text h5,
.footer-bottom {
    text-align: left;
}

h1,
h2,
h3,
h4,
h5,
.font-outfit {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

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

ul {
    list-style: none;
}

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

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

/* Section Spacing */
section {
    padding: 40px 0;
}

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

.btn-primary {
    background-color: var(--primary-yellow);
    color: var(--accent-dark);
}

.btn-primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-yellow);
    color: var(--accent-dark);
}

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

.section-cta {
    margin-top: 2rem;
    display: inline-block;
}

/* Top Bar */
.top-bar {
    background: #fdfdfd;
    padding: 0.5rem 0;
    border-bottom: 1px solid #efefef;
    position: sticky;
    top: 0;
    z-index: 1001;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-icon {
    width: 14px;
    height: 14px;
}

.info-icon {
    margin-right: 4px;
}

.phone-icon {
    margin-right: 8px;
}

.top-bar-info {
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.header-contacts {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.phone-highlight {
    background: var(--primary-yellow);
    color: var(--accent-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.2);
    transition: var(--transition);
}

.phone-highlight:hover {
    transform: scale(1.05);
    background: #e6c200;
}

/* Header & Nav */
header {
    position: fixed;
    /* Height of top bar */
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.5rem 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    box-shadow: var(--shadow);
}

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

}

.logo img {
    height: 26px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    position: relative;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.6rem 1.5rem !important;
    margin-left: 1rem;
}

.mobile-toggle {
    display: none;
    cursor: pointer;
}

.nav-links {
    gap: 1.5rem;
    align-items: center;
}

.nav-links.active {
    display: flex !important;
}

/* Hero Section */
.hero {

    display: flex;
    align-items: center;
    background: radial-gradient(circle at 70% 30%, rgba(255, 215, 0, 0.15) 0%, transparent 50%),
        linear-gradient(135deg, #fff 60%, var(--primary-yellow) 150%);
    background-color: #fff;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(#ddd 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.2;
    pointer-events: none;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero-content span {
    color: var(--primary-yellow);
    -webkit-text-stroke: 1px #888;
    color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--mid-grey);
    margin-bottom: 2.5rem;
    max-width: 600px;
    animation: fadeInUp 1s ease-out;
}

.hero-btns {
    animation: fadeInUp 1.2s ease-out;
}

.hero-form {
    animation: slideInRight 1s ease-out;
}

.graph-line-anim {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: drawLine 2s ease-out forwards;
}

.graph-dot-anim {
    opacity: 0;
    animation: fadeIn 0.5s ease-out 1.8s forwards;
}

.graph-pulse-anim {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.2;
    }

    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

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

/* Lead Form Card */
.form-card {
    background: var(--primary-white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 0.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-yellow);
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.1);
}

/* Info Section */
.info-section {
    background-color: var(--light-accent);
}

.section-head {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.section-head h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-head .divider {
    width: 80px;
    height: 4px;
    background: var(--primary-yellow);
    margin: 0 auto;
    border-radius: 2px;
}

/* Services */
.service-card {
    background: var(--primary-white);
    padding: 16px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-yellow);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 215, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    color: var(--accent-dark);
    font-size: 1.5rem;
}

.service-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--mid-grey);
}

/* Instagram / Video Section */
.video-card {
    aspect-ratio: 4/5;
    background: #000;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: block;
}

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

.video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.video-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem 1.5rem 1.25rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 70%, transparent 100%);
    color: #fff;
    z-index: 2;
}


.video-info h6 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--primary-yellow);
}

.video-info p {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

@media (max-width: 992px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

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


/* Why Choose Us */
.why-list {
    display: grid;
    gap: 2rem;
}

.why-item {
    display: flex;
    gap: 1.5rem;
}

.why-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.why-text h5 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Footer */

/* Footer Redesign */
footer {
    background: linear-gradient(180deg, #1A1A1A 0%, #111111 100%);
    color: #fff;
    padding: 100px 0 40px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-yellow), transparent);
    opacity: 0.3;
}


.footer-col {
    padding: 2rem 1.5rem;
    border-left: 2px solid transparent;
    transition: var(--transition);
    position: relative;
}

.footer-col:hover {
    background: rgba(255, 215, 0, 0.02);
}

.footer-col h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 20px;
    /* Space for the tapered top line */
    position: relative;
    text-transform: capitalize;
}

/* Tapered Top Animation Line */
.footer-col h4::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 92px;
    width: 0;
    height: 4px;
    background: linear-gradient(to right, transparent, var(--primary-yellow) 50%, transparent);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    /* Helps with the tapered look */
    opacity: 0;
    text-align: center;
}

.footer-col:hover h4::before,
.footer-col:active h4::before,
.footer-col.active h4::before {
    width: 80px;
    opacity: 1;
}

/* Stable Tapered Vertical Dividers */
.footer-col::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 67%;
    width: 6px;
    background: linear-gradient(to bottom, transparent, rgb(255 215 0) 50%, transparent);
    display: none;
}

@media (min-width: 1200px) {
    .footer-col:not(:last-child)::after {
        display: block;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .footer-col:nth-child(odd)::after {
        display: block;
    }
}



.footer-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1.25rem;
}

.footer-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}

.footer-icon-wrapper {
    width: 32px;
    height: 32px;
    background: rgba(255, 215, 0, 0.1);
    color: var(--primary-yellow);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.footer-col:hover .footer-icon-wrapper {
    background: var(--primary-yellow);
    color: var(--accent-dark);
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    word-break: break-all;
}

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

.footer-link:hover {
    color: var(--primary-yellow);
}

.footer-link:hover::after {
    width: 100%;
}

.footer-bottom-v2 {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* WhatsApp Bubble */
.whatsapp-bubble {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 30px;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    z-index: 9999;
    transition: var(--transition);
}

.whatsapp-bubble:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #888;
}

/* =============================================
   CUSTOM GRID DEFINITIONS (Desktop)
   ============================================= */

/* Hero Grid */
.hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 2.5rem;
    align-items: center;
}

/* About Section – Why Us Grid */
.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Case Studies */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.story-grid-reverse {
    grid-template-columns: 1.2fr 1fr;
}

.case-stories-list {
    display: grid;
    gap: 3rem;
}

.divider-top {
    padding-top: 3rem;
    margin-top: 3rem;
    border-top: 1px solid #efefef;
}

/* Video / Testimonials Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* Growth Analytics Grid */
#growth-results .container[style*="grid"] {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 2rem !important;
}

/* =============================================
   RESPONSIVE ADJUSTMENTS
   ============================================= */

@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .section-head h2 {
        font-size: 2.2rem;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

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

    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .story-grid,
    .story-grid-reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =============================================
   768px (TABLET md) — Precise Header Fix
   ============================================= */
@media (min-width: 768px) and (max-width: 991px) {

    /* --- TOP BAR --- */
    .top-bar-content {
        flex-wrap: nowrap;
        align-items: center;
        gap: 0.5rem;
    }

    .top-bar-info {
        font-size: 0.82rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .header-contacts {
        gap: 0.6rem;
        flex-wrap: nowrap;
        justify-content: flex-end;
    }

    .phone-highlight {
        font-size: 0.75rem;
        padding: 0.35rem 0.75rem;
        white-space: nowrap;
    }

    .phone-icon {
        width: 12px;
        height: 12px;
        margin-right: 5px;
    }

    /* --- HEADER / NAV --- */
    header {
        padding: 1rem 0;
        top: 44px;
        /* Updated to accommodate larger top-bar elements */
    }

    .logo img {
        height: 20px;
    }

    .nav-links {
        display: flex;
        gap: 1rem;
        align-items: center;
    }

    .nav-links a {
        font-size: 0.78rem;
        white-space: nowrap;
    }

    .nav-cta {
        padding: 0.45rem 0.9rem !important;
        font-size: 0.78rem;
        margin-left: 0.5rem;
    }

    .mobile-toggle {
        display: none;
    }

    /* --- HERO SECTION: 2-column side-by-side at 768px --- */
    .hero {
        padding: 80px 0 40px;
        min-height: auto;
        align-items: flex-start;
    }

    .container.hero-grid {
        display: grid !important;
        grid-template-columns: 1.1fr 0.9fr !important;
        gap: 1.5rem !important;
        align-items: start !important;
    }

    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-btns .btn {
        width: 100%;
        margin-left: 0 !important;
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }

    /* Form stays on right column */
    .hero-form {
        width: 100% !important;
        max-width: 100% !important;
    }

    .form-card {
        padding: 1rem 1rem !important;
        border-radius: 12px !important;
        box-shadow: var(--shadow) !important;
    }

    .form-card h3 {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
        line-height: 1.3;
    }

    .form-group {
        margin-bottom: 0.45rem;
    }

    .form-group label {
        font-size: 0.72rem;
        margin-bottom: 0.2rem;
        display: block;
    }

    .form-control {
        padding: 0.3rem 0.6rem;
        font-size: 0.78rem;
        height: auto;
    }

    .form-control textarea,
    textarea.form-control {
        min-height: 48px;
        max-height: 60px;
        resize: none;
    }

    .hero-form .btn[type="submit"],
    #lead-form button[type="submit"] {
        padding: 0.45rem 1rem;
        font-size: 0.82rem;
        margin-top: 0.5rem;
    }
}

@media (max-width: 767px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section-head h2 {
        font-size: 1.8rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hero-form,
    .form-card {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 0 !important;
        margin: 0 !important;
        box-shadow: none !important;
    }

    .form-card {
        padding: 2rem 1.5rem !important;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .story-grid,
    .story-grid-reverse {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .video-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
    }

    .partners-highlight {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    /* Story meta boxes stack */
    [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    .nav-links {
        display: none; /* Will be flex when active/rendered */
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        padding: 6rem 2rem 2rem;
        gap: 1.5rem;
        z-index: 9999;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex !important;
        right: 0;
    }

    .modal-backdrop-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        z-index: 9998;
    }

    .nav-links.active + .modal-backdrop-nav {
        display: block;
    }

    .mobile-toggle {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
        z-index: 10001 !important; /* Above drawer and backdrop */
        position: relative;
    }
}

/* =============================================
   320px SPECIFIC FIXES
   ============================================= */

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .section-head h2 {
        font-size: 1.4rem;
    }

    /* Container full width on tiny screens */
    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    /* --- TOP BAR --- */
    .top-bar-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        padding: 0.5rem 0;
    }

    .header-contacts {
        flex-direction: row;
        justify-content: center;
        gap: 0.1rem;
    }

    .phone-highlight {
        font-size: 7px;
        padding: 0.2rem 0.4rem;
        white-space: nowrap;
    }

    .phone-icon {
        width: 9px;
        height: 9px;
    }

    .info-icon {
        width: 18px;
        height: 18px;
    }

    .top-bar-info {
        font-size: 1.1rem;
    }

    /* --- HEADER / NAV --- */
    .logo img {
        height: 22px;
    }

    /* --- HERO --- */
    .hero {
        padding: 60px 0 0;
    }

    .hero-content {
        padding: 1.5rem 1rem;
        text-align: center;
    }

    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    .hero-btns .btn {
        width: 100%;
        max-width: 280px;
        margin-left: 0 !important;
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .form-card {
        padding: 1.5rem 1rem !important;
    }

    .form-card h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .form-group {
        margin-bottom: 0.9rem;
    }

    .form-group label {
        font-size: 0.8rem;
    }

    .form-control {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }

    /* --- ABOUT SECTION --- */
    .roas-visual-container {
        padding: 1rem 0.5rem;
    }

    .roas-card {
        padding: 2rem 1rem;
    }

    .roas-number {
        font-size: 4rem;
    }

    .roas-text {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .roas-description {
        font-size: 0.75rem;
    }

    .why-item {
        flex-direction: row;
        gap: 0.75rem;
        align-items: flex-start;
    }

    .why-icon {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
        flex-shrink: 0;
    }

    .why-text h5 {
        font-size: 0.95rem;
        margin-bottom: 0.25rem;
    }

    .why-text p {
        font-size: 0.82rem;
    }

    /* --- GROWTH ANALYTICS --- */
    #growth-results .container {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .service-card h4 {
        font-size: 1rem;
        margin-bottom: 1rem !important;
    }

    /* --- SERVICES --- */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .service-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.1rem !important;
    }

    .service-card h4 {
        font-size: 1rem;
    }

    .service-card p {
        font-size: 0.85rem;
    }

    /* --- CASE STUDIES --- */
    .case-stories-list {
        gap: 2rem;
    }

    .success-story {
        padding: 0;
    }

    .divider-top {
        padding-top: 2rem;
        margin-top: 2rem;
    }

    .story-content h3 {
        font-size: 1.4rem !important;
    }

    .story-content p {
        font-size: 0.85rem !important;
    }

    .story-meta-box {
        padding: 0.8rem !important;
    }

    .story-meta-box h5 {
        font-size: 0.85rem !important;
    }

    .story-meta-box p {
        font-size: 0.8rem !important;
    }

    /* Story "The Challenge / Solution" meta boxes stack on tiny screens */
    .story-content [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        margin-bottom: 1.5rem !important;
    }

    /* Story visual padding */
    .story-visual>div {
        padding: 1.5rem 1rem !important;
    }

    /* Story absolute badges scale down */
    .story-visual [style*="position: absolute"] {
        padding: 0.75rem !important;
    }

    .story-visual [style*="position: absolute"] h3 {
        font-size: 1.2rem !important;
    }

    .story-visual [style*="position: absolute"] p {
        font-size: 0.6rem !important;
    }



    [style*="background: #1A1A1A"] h5 {
        font-size: 0.8rem !important;
    }

    [style*="background: #1A1A1A"] li {
        font-size: 0.82rem;
        gap: 0.5rem !important;
    }

    /* --- TESTIMONIALS / VIDEO --- */
    .video-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 1.25rem;
    }

    .partners-highlight {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
        margin-bottom: 1.5rem !important;
    }

    .partner-box h5 {
        font-size: 1.2rem !important;
    }

    .partner-box p {
        font-size: 1rem !important;
    }

    /* --- WHY CHOOSE US --- */
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .why-us-content h2 {
        font-size: 1.4rem;
        text-align: center;
    }

    .why-us-content .divider {
        margin: 1rem auto;
    }

    .why-stats>div {
        padding: 1.5rem 1rem !important;
    }

    .why-stats h3 {
        font-size: 2rem !important;
    }

    .why-stats h4 {
        font-size: 1.1rem !important;
    }

    .section-cta {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 1.5rem;
    }

    /* --- FOOTER --- */
    .footer-col {
        padding-bottom: 1.5rem;
    }

    footer h4 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    footer ul li {
        font-size: 0.8rem;
    }
}

/* Video Modal / Popup */
.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 425px; /* Enhanced 'little bigger' size for mid-range mobile/tablet */
    background: #000;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    max-height: 90vh;
}


.video-modal.active .modal-content {
    transform: scale(1);
}

.modal-content video {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 80vh;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 20px;
    /* Matching the modal surface */
}


.close-modal {
    position: absolute;
    top: -15px;
    /* Moved slightly outside the content box to be more visible */
    right: -15px;
    width: 44px;
    height: 44px;
    background: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-dark);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    border: 3px solid #fff;
}

.close-modal:hover {
    background: var(--accent-dark);
    color: var(--primary-yellow);
    transform: rotate(90deg) scale(1.1);
}

@media (max-width: 480px) {
    .modal-content {
        max-width: 300px;
    }
}

/* ROAS Visual Card Style */
.roas-visual-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    width: 100%;
}

.roas-card {
    position: relative;
    width: 100%;
    max-width: 450px;
    background: var(--primary-white);
    padding: 3.5rem 2rem;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.06);
    text-align: center;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    z-index: 1;
}

.roas-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 80px rgba(255, 215, 0, 0.15);
}

.roas-content {
    position: relative;
    z-index: 5;
}

.roas-number {
    font-family: 'Outfit', sans-serif;
    font-size: 7rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #E6C200 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 10px 20px rgba(255, 215, 0, 0.2));
}

.roas-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-dark);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.roas-description {
    font-size: 0.9rem;
    color: var(--mid-grey);
    font-weight: 500;
    opacity: 0.8;
}

.growth-chart {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
    padding: 0 30px 10px;
    opacity: 0.1;
    z-index: 1;
}

.bar {
    width: 100%;
    background: var(--primary-yellow);
    border-radius: 8px 8px 0 0;
}

.bar-1 {
    height: 30%;
    animation: barGrow 2s ease-out 0.1s forwards;
}

.bar-2 {
    height: 45%;
    animation: barGrow 2s ease-out 0.3s forwards;
}

.bar-3 {
    height: 65%;
    animation: barGrow 2s ease-out 0.5s forwards;
}

.bar-4 {
    height: 80%;
    animation: barGrow 2s ease-out 0.7s forwards;
}

.bar-5 {
    height: 100%;
    animation: barGrow 2s ease-out 0.9s forwards;
}

@keyframes barGrow {
    from {
        height: 0;
    }
}

.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.f-icon {
    position: absolute;
    color: var(--primary-yellow);
    opacity: 0.2;
    width: 30px;
    height: 30px;
}

.icon-1 {
    top: 15%;
    left: 10%;
    animation: float 6s infinite ease-in-out;
}

.icon-2 {
    top: 10%;
    right: 15%;
    animation: float 7s infinite ease-in-out 1s;
}

.icon-3 {
    bottom: 20%;
    right: 10%;
    animation: float 5s infinite ease-in-out 0.5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-15px) rotate(15deg);
    }
}

@media (max-width: 991px) {
    .roas-visual-container {
        padding: 1rem 0;
    }
}

@media (max-width: 767px) {
    .roas-number {
        font-size: 5rem;
    }

    .roas-text {
        font-size: 1.2rem;
    }

    .roas-card {
        padding: 2.5rem 1.5rem;
    }

}

/* =============================================
   VIDEO CAROUSEL SLIDE STYLES
   ============================================= */
.vc-slide {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.vc-slide .partner-box {
    margin-bottom: 0.5rem !important;
    padding: 0.4rem 0.25rem;
    text-align: center;
}

.vc-slide .partner-box h5 {
    font-size: 0.88rem;
    line-height: 1.3;
    margin-bottom: 0.15rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vc-slide .partner-box p {
    font-size: 0.76rem !important;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 !important;
}

.vc-slide .video-card {
    aspect-ratio: 2/3;
    border-radius: 12px;
    width: 100%;
}

#vcWrapper {
    cursor: grab;
    user-select: none;
}

#vcWrapper:active {
    cursor: grabbing;
}

#vcPrev, #vcNext {
    width: 44px !important;
    height: 44px !important;
}

/* Tablet: 2 per view */
@media (max-width: 991px) and (min-width: 768px) {
    .vc-slide .partner-box h5 {
        font-size: 0.78rem;
    }
    .vc-slide .partner-box p {
        font-size: 0.68rem !important;
    }
    .vc-slide .video-card {
        aspect-ratio: 3/4;
    }
    #vcPrev { left: -4px !important; }
    #vcNext { right: -4px !important; }
}

/* Mobile: 1 per view */
@media (max-width: 767px) {
    #testimonials .container > div:first-child {
        padding: 0 44px !important;
    }
    #vcPrev {
        left: -2px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 32px !important;
        height: 32px !important;
        font-size: 1.1rem !important;
    }
    #vcNext {
        right: -2px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 32px !important;
        height: 32px !important;
        font-size: 1.1rem !important;
    }
    .vc-slide .partner-box {
        padding: 0.3rem 0;
        margin-bottom: 0.4rem !important;
        text-align: center;
    }
    .vc-slide .partner-box h5 {
        font-size: 0.8rem;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        line-height: 1.3;
        margin-bottom: 0.1rem !important;
    }
    .vc-slide .partner-box p {
        font-size: 0.72rem !important;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        line-height: 1.3;
        margin: 0 !important;
    }
    .vc-slide .video-card {
        aspect-ratio: 3/4;
        border-radius: 10px;
        width: 100%;
    }
    #vcDots {
        margin-top: 1rem !important;
    }
}

/* 320px Specific: Reduce Floating Badge Size */
@media (max-width: 320px) {
    .floating-badge {
        padding: 0.5rem 0.7rem !important;
        border-radius: 8px !important;
    }

    .floating-badge h3 {
        font-size: 1.1rem !important;
        margin-bottom: 2px !important;
    }

    .floating-badge p {
        font-size: 0.55rem !important;
        letter-spacing: 0 !important;
    }

    #contact .row.gy-5>.footer-col {
        margin-top: 1.25rem !important;
    }

    #contact .row.gy-5>.footer-col:first-child {
        margin-top: 0 !important;
    }

    .footer-bottom {
        padding-top: 0.5rem !important;
        margin-top: 0.5rem !important;
        gap: 1.25rem !important;
    }
}

/* 375px Specific: Reduce Top Bar Element Sizes */
@media (min-width: 321px) and (max-width: 375px) {
    .top-bar-info {
        font-size: 0.68rem !important;
    }

    .phone-highlight {
        font-size: 10px !important;
        padding: 0.25rem 0.5rem !important;
    }

    .phone-icon,
    .info-icon {
        width: 10px !important;
        height: 10px !important;
    }
}

/* 376px - 480px Specific: Success Story Badge Sizing and Footer Spacing */
@media (min-width: 376px) and (max-width: 480px) {
    .floating-badge {
        padding: 0.55rem 0.75rem !important;
    }

    .floating-badge h3 {
        font-size: 1.15rem !important;
        margin-bottom: 2px !important;
    }

    .floating-badge p {
        font-size: 0.58rem !important;
    }

    footer {
        padding-top: 80px !important;
    }

    #contact .row.gy-5>.footer-col {
        margin-top: 2rem !important;
    }

    #contact .row.gy-5>.footer-col:first-child {
        margin-top: 0 !important;
    }

    .footer-bottom {
        padding-top: 1.5rem !important;
        margin-top: 1.5rem !important;
    }

    /* Top Bar Elements */
    .top-bar-info {
        font-size: 1.15rem !important;
    }

    .phone-highlight {
        font-size: 11px !important;
        padding: 0.3rem 0.6rem !important;
    }

    .phone-icon {
        width: 11px !important;
        height: 11px !important;
    }

    .info-icon {
        width: 22px !important;
        height: 22px !important;
    }

    .header-contacts {
        gap: 0.5rem !important;
    }
}

/* 1024px Specific: Enlarge Header and Top Bar Elements */
@media (min-width: 992px) and (max-width: 1024px) {

    .top-bar .container,
    header .nav-container {
        max-width: 100% !important;
        padding-left: 3rem !important;
        padding-right: 3rem !important;
    }

    .top-bar {
        padding: 0.75rem 0 !important;
    }

    .top-bar-info {
        font-size: 1rem !important;
    }

    .phone-highlight {
        font-size: 0.95rem !important;
        padding: 0.5rem 1.25rem !important;
    }

    .phone-icon {
        width: 16px !important;
        height: 16px !important;
    }

    header {
        padding: 1.25rem 0 !important;
        top: 52px !important;
    }

    .logo img {
        height: 35px !important;
    }

    .nav-links {
        gap: 2rem !important;
    }

    .nav-links a {
        font-size: 1.05rem !important;
    }
}

/* Precise 1024px override: +1px font and icon size for "India's Leading Digital" */
@media (min-width: 1024px) and (max-width: 1024px) {
    .top-bar-info {
        font-size: 17px !important;
    }

    .info-icon {
        width: 23px !important;
        height: 23px !important;
    }

    .logo img {
        height: 36px !important;
    }
}