/* ====================================
   ANSARI RETAIL LTD
   PREMIUM LANDING PAGE
==================================== */
html,
body {
    width: 100%;
    overflow-x: hidden;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {

    --primary: #0f766e;
    --secondary: #14b8a6;
    --accent: #f59e0b;

    --dark: #08111f;
    --dark-light: #0f172a;

    --white: #ffffff;

    --text: #64748b;

    --radius: 24px;

    --transition: .35s ease;

    --shadow:
        0 20px 60px rgba(15, 23, 42, .08);

    --shadow-lg:
        0 30px 80px rgba(15, 23, 42, .15);

}

html {
    scroll-behavior: smooth;
}

body {

    font-family: 'Inter', sans-serif;

    background: #f8fafc;

    color: var(--dark);

    overflow-x: hidden;

    line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5 {

    font-family: 'Poppins', sans-serif;
    line-height: 1.1;
}

a {
    text-decoration: none;
}

img {
    display: block;
    width: 100%;
}

ul {
    list-style: none;
}

.container {

    width: 100%;
    max-width: 1280px;

    margin: auto;

    padding: 0 32px;
}

.section {

    padding: 30px 0;
}


.about {
    padding-top: 60px;
}
/* ==========================
   CUSTOM SCROLLBAR
========================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {

    background:
        linear-gradient(var(--primary),
            var(--secondary));

    border-radius: 50px;
}

/* ==========================
   CURSOR GLOW
========================== */

.cursor-glow {

    position: fixed;

    width: 250px;
    height: 250px;

    border-radius: 50%;

    background:
        radial-gradient(circle,
            rgba(20, 184, 166, .08),
            transparent 70%);

    pointer-events: none;

    z-index: 1;

    transform: translate(-50%, -50%);
}

/* ==========================
   BUTTONS
========================== */

.btn {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 15px 30px;

    border-radius: 60px;

    font-weight: 600;

    transition: all .35s ease;

    cursor: pointer;
}

.btn-primary {

    color: #fff;

    background:
        linear-gradient(135deg,
            var(--primary),
            var(--secondary));

    box-shadow:
        0 15px 40px rgba(20, 184, 166, .25);
}

.btn-primary:hover {

    transform:
        translateY(-4px);
}

.btn-secondary {

    background: #fff;

    color: var(--dark);

    box-shadow: var(--shadow);
}

.btn-secondary:hover {

    transform:
        translateY(-4px);
}

.btn-outline {

    border: 1px solid rgba(255, 255, 255, .15);

    color: #fff;

    backdrop-filter: blur(10px);
}

/* ==========================
   HEADER
========================== */
/* ==========================
   HEADER
========================== */

.header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    transition: all .35s ease;

    background:
        radial-gradient(circle at top right,
            rgba(20, 184, 166, .30),
            transparent 35%),
        radial-gradient(circle at bottom left,
            rgba(245, 158, 11, .18),
            transparent 30%),
        linear-gradient(135deg,
            #08111f,
            #0f172a,
            #08111f);

    border-bottom:
        1px solid rgba(255, 255, 255, .06);
}

/* Scrolled Header */

.header.scrolled {

    background: #ffffff;

    box-shadow:
        0 10px 40px rgba(0, 0, 0, .08);

    border-bottom:
        1px solid #e5e7eb;
}
/* Default */

.logo {
    color: #ffffff;
}

.logo span {
    color: var(--secondary);
}

.nav-menu a {
    color: #ffffff;
}

.menu-toggle {
    color: #ffffff;
}

/* After Scroll */

.header.scrolled .logo {
    color: #08111f;
}

.header.scrolled .nav-menu a {
    color: #08111f;
}

.header.scrolled .menu-toggle {
    color: #08111f;
}

/* Default */

.btn-outline {

    color: #ffffff;

    border: 1px solid rgba(255, 255, 255, .15);

    backdrop-filter: blur(10px);
}

/* After Scroll */

.header.scrolled .btn-outline {

    color: #08111f;

    border: 1px solid #dbe2ea;

    background: #ffffff;
}
.navbar {

    height: 90px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}

/* Logo */

.logo {

    font-size: 2rem;

    font-weight: 800;

    color: #fff;
}

.logo span {

    color: var(--secondary);
}

.header.scrolled .logo {

    color: var(--dark);
}

/* Navigation */

.nav-menu {

    display: flex;

    align-items: center;

    gap: 40px;
}

.nav-menu a {

    color: #fff;

    font-weight: 600;

    position: relative;

    transition: .3s;
}

.header.scrolled .nav-menu a {

    color: var(--dark);
}

.nav-menu a::after {

    content: '';

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;

    height: 2px;

    background: var(--secondary);

    transition: .3s;
}

.nav-menu a:hover::after {

    width: 100%;
}

.nav-actions {

    display: flex;

    align-items: center;

    gap: 15px;
}

.menu-toggle {

    display: none;

    font-size: 1.6rem;

    cursor: pointer;

    color: #fff;
}

.header.scrolled .menu-toggle {

    color: var(--dark);
}




/* ====================================
   FOOTER
==================================== */

.footer {

    background: #08111f;

    color: #fff;

    padding: 100px 0 40px;
}

.footer-grid {

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr 1fr;

    gap: 50px;
}

.footer h3 {

    margin-bottom: 20px;
}

.footer h4 {

    margin-bottom: 20px;

    color: #fff;
}

.footer p {

    color:
        rgba(255, 255, 255, .7);
}

.footer ul li {

    margin-bottom: 12px;
}

.footer ul li a {

    color:
        rgba(255, 255, 255, .7);

    transition: .3s;
}

.footer ul li a:hover {

    color: #fff;

    padding-left: 5px;
}

.copyright {

    margin-top: 60px;

    padding-top: 30px;

    border-top:
        1px solid rgba(255, 255, 255, .08);

    text-align: center;

    color:
        rgba(255, 255, 255, .6);
}

/* ====================================
   ANIMATION HELPERS
==================================== */

.fade-up {

    opacity: 0;

    transform:
        translateY(40px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}

.fade-up.active {

    opacity: 1;

    transform:
        translateY(0);
}

/* ====================================
   HOVER EFFECTS
==================================== */

.category-card,
.branch-card,
.stat-card,
.testimonial {

    transition:
        transform .4s ease,
        box-shadow .4s ease;
}

.category-card:hover,
.branch-card:hover,
.stat-card:hover {

    box-shadow:
        0 25px 60px rgba(0, 0, 0, .12);
}

/* ====================================
   RESPONSIVE
==================================== */

@media(max-width:1200px) {

    .hero-wrapper {

        grid-template-columns:
            1fr 1fr;

        gap: 50px;
    }

    .hero h1 {

        font-size: 4rem;
    }
}

@media(max-width:991px) {

    .hero-wrapper,
    .about-wrapper,
    .app-wrapper {

        grid-template-columns: 1fr;
    }

    .hero {

        text-align: center;
    }

    .hero p {

        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {

        justify-content: center;
    }

    .hero-stats {

        justify-content: center;
    }

    .hero-image {

        max-width: 650px;

        margin: auto;
    }

    .stats-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }

    .footer-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }

    .about-features {

        grid-template-columns: 1fr;
    }
}

@media(max-width:768px) {

    .container {

        padding: 0 20px;
    }

    .navbar {

        height: 80px;
    }

    .menu-toggle {

        display: block;
    }

    .nav-menu {

        position: fixed;

        top: 80px;
        left: -100%;

        width: 100%;

        background: #fff;

        flex-direction: column;

        gap: 25px;

        padding: 40px;

        transition: .4s;
    }

    .nav-menu.active {

        left: 0;
    }

    .nav-menu a {

        color: var(--dark) !important;
    }

    .nav-actions .btn {

        display: none;
    }

    .hero {

        padding-top: 120px;
    }

    .hero h1 {

        font-size: 3rem;
    }

    .hero-buttons {

        flex-direction: column;
    }

    .hero-stats {

        flex-direction: column;

        gap: 25px;
    }

    .hero-image img {

        height: 420px;
    }

    .card-1,
    .card-2 {

        display: none;
    }

    .stats-grid {

        grid-template-columns: 1fr;
    }

    .countdown {

        gap: 15px;
    }

    .countdown div {

        width: 90px;
        height: 90px;
    }

    .newsletter-box {

        padding: 50px 25px;
    }

    .newsletter input {

        width: 100%;
    }

    .footer-grid {

        grid-template-columns: 1fr;
    }
}

@media(max-width:576px) {

    .hero h1 {

        font-size: 2.5rem;
    }

    .section {

        padding: 90px 0;
    }

    .section-header h2,
    .about-content h2,
    .app-content h2,
    .offer-content h2 {

        font-size: 2rem;
    }

    .testimonial {

        padding: 35px 25px;
    }

    .newsletter-box h2 {

        font-size: 2rem;
    }
}


/* ==========================
   FEATURED SHOWCASE
========================== */

.featured-showcase {
    background: #fff;
}

.promo-strip {

    display: flex;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 50px;

    font-weight: 700;
    color: #94a3b8;

    overflow: hidden;
}

.showcase-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.showcase-card {

    border-radius: 28px;

    overflow: hidden;

    position: relative;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    transition: .4s;
}

.showcase-card:hover {

    transform: translateY(-10px);
}

.card-light {

    background: #f8fafc;
}

.card-highlight {

    background: #f7e6bc;
}

.showcase-content {

    padding: 40px;
}

.showcase-content h3 {

    font-size: 2.2rem;
    line-height: 1.15;

    margin-bottom: 20px;
}

.showcase-content p {

    color: #475569;

    margin-bottom: 25px;
}

.btn-small {

    display: inline-flex;

    padding: 14px 24px;

    border-radius: 50px;

    background: #0f766e;

    color: #fff;

    font-weight: 600;
}

.showcase-card img {

    width: 100%;
    height: 320px;

    object-fit: contain;

    padding: 20px;
}

/* Responsive */

@media(max-width:991px) {

    .showcase-grid {

        grid-template-columns: 1fr;
    }

    .showcase-card {

        min-height: auto;
    }
}


/* ==========================
   BENEFITS SLIDER
========================== */

.benefits-slider {

    padding: 70px 0;

    overflow: hidden;

    background: #fff;
}

.benefits-track {

    display: flex;

    gap: 20px;

    width: max-content;

    animation:
        benefitScroll 25s linear infinite;
}

@keyframes benefitScroll {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.benefit-card {

    min-width: 260px;

    background: #fff;

    border: 1px solid #e2e8f0;

    border-radius: 20px;

    padding: 25px;

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    transition: .3s;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, .04);
}

.benefit-card:hover {

    transform: translateY(-6px);

    border-color: #14b8a6;
}

.benefit-card i {

    width: 60px;
    height: 60px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        rgba(20, 184, 166, .12);

    color: #0f766e;

    font-size: 1.4rem;

    margin-bottom: 15px;
}

.benefit-card h4 {

    font-size: 1.1rem;

    margin-bottom: 8px;
}

.benefit-card p {

    color: #64748b;

    font-size: .9rem;
}

.benefits-slider:hover .benefits-track {

    animation-play-state: paused;
}


/* ====================================================================
   PREMIUM CINEMATIC SCROLL REVEAL THEME
==================================================================== */

/* Starting hidden state for sections */
.reveal.fade-up-theme {
    opacity: 0;
    transform: translateY(50px);
    /* Positioned slightly lower down the screen */
    will-change: transform, opacity;
    /* Optimizes mobile GPU hardware rendering */
    transition: opacity 1.2s cubic-bezier(0.215, 0.610, 0.355, 1),
        transform 1.2s cubic-bezier(0.215, 0.610, 0.355, 1);
}

/* Active visible state triggered by JavaScript */
.reveal.fade-up-theme.active {
    opacity: 1;
    transform: translateY(0);
    /* Glides smoothly up to its normal position */
}

/* Optional: Subtle delay for internal child elements to create a staggered layered effect */
.reveal.fade-up-theme.active .section-header {
    animation: fadeInSlighter 0.8s ease forwards;
}

@keyframes fadeInSlighter {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====================================================================
   NAVBAR ACTIVE PAGE RECOGNITION (SCROLL SPY)
==================================================================== */

/* Active link style on dark header background (Initial state) */
.nav-menu a.active {
    color: var(--secondary) !important;
    /* Changes text to vibrant teal */
}

/* Slide out an underline effect for the active link item */
.nav-menu a.active::after {
    width: 100% !important;
}

/* Active link style on light header background (After Scrolled state) */
.header.scrolled .nav-menu a.active {
    color: var(--primary) !important;
    /* Darker teal for higher text contrast */
}

/* Mobile responsive menu fallback overrides */
@media (max-width: 768px) {
    .nav-menu a.active {
        color: var(--primary) !important;
        background-color: rgba(15, 118, 110, 0.05);
        /* Soft background pill highlight on mobile */
        padding: 8px 16px;
        border-radius: 8px;
    }

    .nav-menu a.active::after {
        display: none !important;
        /* Removes the underline on mobile for a cleaner button look */
    }
}

/* ====================================================================
   MOBILE DRAWER NAVIGATION CTAS FIX
==================================================================== */

/* Hidden on Desktop screens */
.mobile-actions-wrapper {
    display: none !important;
}

@media (max-width: 768px) {

    /* 1. Force the mobile drawer container to distribute layout items correctly */
    .nav-menu {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 32px !important;
        /* Spacious layout gutters for menu text links */
    }

    /* 2. Unhide the button container block at the bottom of the list */
    .nav-menu .mobile-actions-wrapper {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 280px !important;
        /* Perfect button layout proportions on mobile frames */
        gap: 12px !important;
        margin-top: 20px !important;
        /* Pushes the layout blocks down below the "Contact" link */
        padding-top: 24px !important;
        border-top: 1px solid #e2e8f0 !important;
        /* Elegant separator layout divider */
    }

    /* 3. Base styles for the mobile action drawer buttons */
    .btn-m {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 52px !important;
        /* Massive, clickable tap targets */
        border-radius: 50px !important;
        /* Matches header design curves */
        font-size: 15px !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        transition: transform 0.2s ease !important;
    }

    /* 4. Login Button Design Style (Crisp Border Outline) */
    .m-login {
        background-color: #ffffff !important;
        color: #08111f !important;
        border: 1px solid #cbd5e1 !important;
    }

    /* 5. Shop Now Button Design Style (Premium Brand Teal Gradient) */
    .m-shop {
        background: linear-gradient(135deg, #0f766e, #14b8a6) !important;
        color: #ffffff !important;
        box-shadow: 0 10px 20px rgba(15, 118, 110, 0.15) !important;
    }

    .btn-m:active {
        transform: scale(0.98) !important;
        /* Interactive visual bounce tap response */
    }
}