/* =========================
   GLOBAL
========================= */

:root{
    --primary:#2563eb;
    --secondary:#7c3aed;
    --accent:#06b6d4;
    --success:#10b981;
    --warning:#f59e0b;
    --danger:#ef4444;

    --dark:#0f172a;
    --dark2:#1e293b;

    --light:#f8fafc;
    --white:#ffffff;

    --shadow:0 10px 30px rgba(0,0,0,.08);
    --shadow-hover:0 15px 40px rgba(37,99,235,.25);

    --radius:18px;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Segoe UI',sans-serif;
    background:#f4f7fb;
    color:#334155;
    overflow-x:hidden;
}

/* =========================
   CUSTOM SCROLLBAR
========================= */

::-webkit-scrollbar{
    width:8px;
}

::-webkit-scrollbar-track{
    background:#e2e8f0;
}

::-webkit-scrollbar-thumb{
    background:linear-gradient(
        180deg,
        var(--primary),
        var(--secondary)
    );
    border-radius:50px;
}

/* =========================
   ANIMATIONS
========================= */

@keyframes float{
    0%{transform:translateY(0);}
    50%{transform:translateY(-12px);}
    100%{transform:translateY(0);}
}

@keyframes pulseGlow{
    0%{
        box-shadow:0 0 0 rgba(37,99,235,.2);
    }
    50%{
        box-shadow:0 0 25px rgba(37,99,235,.4);
    }
    100%{
        box-shadow:0 0 0 rgba(37,99,235,.2);
    }
}

@keyframes gradientMove{
    0%{
        background-position:0% 50%;
    }
    50%{
        background-position:100% 50%;
    }
    100%{
        background-position:0% 50%;
    }
}

/* =========================
   NAVBAR
========================= */

.custom-navbar{
    background:rgba(15,23,42,.95);
    backdrop-filter:blur(10px);
    padding:12px 0;
    position:sticky;
    top:0;
    z-index:9999;
}

.navbar-brand{
    font-size:1.5rem;
    font-weight:700;
    color:#fff !important;
}

.nav-link{
    color:#fff !important;
    margin-left:10px;
    font-weight:500;
    transition:.3s;
    position:relative;
}

.nav-link:hover{
    color:#38bdf8 !important;
}

.nav-link::after{
    content:'';
    position:absolute;
    width:0;
    height:2px;
    left:0;
    bottom:-5px;
    background:#38bdf8;
    transition:.3s;
}

.nav-link:hover::after{
    width:100%;
}

/* =========================
   BUTTONS
========================= */

.btn{
    border-radius:12px;
    padding:10px 22px;
    transition:.3s;
    font-weight:600;
}

.btn-warning{
    background:linear-gradient(
        135deg,
        #f59e0b,
        #f97316
    );
    border:none;
}

.btn-primary{
    background:linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );
    border:none;
}

.btn:hover{
    transform:translateY(-3px);
}

/* =========================
   HERO
========================= */

.hero-section{
    padding:90px 0;
    background:
    linear-gradient(
    135deg,
    #2563eb,
    #7c3aed,
    #06b6d4
    );

    background-size:300% 300%;
    animation:gradientMove 12s ease infinite;

    color:#fff;
    overflow:hidden;
}

.hero-section h1{
    font-size:3.2rem;
    font-weight:800;
    line-height:1.2;
    margin-bottom:20px;
}

.hero-section p{
    font-size:1.1rem;
    margin-bottom:25px;
    opacity:.95;
}

.hero-section img{
    animation:float 4s ease-in-out infinite;
}

/* =========================
   SECTION TITLE
========================= */

.section-title{
    text-align:center;
    margin-bottom:50px;
}

.section-title h2{
    font-size:2.2rem;
    font-weight:800;
    color:var(--dark);
}

.section-title p{
    color:#64748b;
}

/* =========================
   ABOUT
========================= */

.about-section{
    padding:80px 0;
    background:#fff;
}

.about-section img{
    border-radius:20px;
    box-shadow:var(--shadow);
}

/* =========================
   COUNTERS
========================= */

.counter-section{
    background:
    linear-gradient(
    135deg,
    #1d4ed8,
    #7c3aed
    );

    color:#fff;
    padding:70px 0;
}

.counter-box{
    text-align:center;
}

.counter-box h2{
    font-size:3rem;
    font-weight:800;
}

.counter-box p{
    opacity:.9;
}

/* =========================
   CARDS
========================= */

.plan-card,
.feature-box,
.objective-card,
.work-box{

    background:rgba(255,255,255,.95);

    border-radius:20px;

    padding:25px;

    transition:.4s;

    box-shadow:var(--shadow);

    height:100%;
}

.plan-card:hover,
.feature-box:hover,
.objective-card:hover,
.work-box:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow-hover);
}

.plan-card h3{
    color:var(--primary);
    font-size:1.4rem;
    margin-bottom:15px;
}

.feature-box{
    text-align:center;
}

.feature-box h4{
    font-size:1.1rem;
    margin:0;
}

/* =========================
   PLANS
========================= */

.plan-section{
    padding:80px 0;
    background:#f8fafc;
}

/* =========================
   OBJECTIVES
========================= */

.objective-section{
    padding:80px 0;
    background:#fff;
}

/* =========================
   HOW IT WORKS
========================= */

.work-section{
    padding:80px 0;
    background:#f8fafc;
}

.work-box{
    text-align:center;
}

.work-box span{
    display:inline-block;
    width:70px;
    height:70px;
    line-height:70px;

    border-radius:50%;

    background:
    linear-gradient(
    135deg,
    var(--primary),
    var(--secondary)
    );

    color:#fff;

    font-size:1.5rem;
    font-weight:700;

    margin-bottom:15px;

    animation:pulseGlow 3s infinite;
}

/* =========================
   FRANCHISE
========================= */

.franchise-section{

    padding:100px 0;

    background:
    linear-gradient(
    135deg,
    #0f172a,
    #1e293b
    );

    color:#fff;

    text-align:center;
}

.franchise-content h2{
    font-size:2.5rem;
    font-weight:800;
}

/* =========================
   GALLERY
========================= */

.gallery-section{
    padding:80px 0;
}

.gallery-img{
    width:100%;
    height:250px;
    object-fit:cover;
    border-radius:18px;
    transition:.4s;
    box-shadow:var(--shadow);
}

.gallery-img:hover{
    transform:scale(1.05);
}

/* =========================
   FOOTER
========================= */

.footer{
    background:#0f172a;
    color:#fff;
    text-align:center;
    padding:30px 0;
}

.footer p{
    margin:0;
}

/* =========================
   GLASS EFFECT
========================= */

.glass{
    background:rgba(255,255,255,.15);
    backdrop-filter:blur(15px);
    border:1px solid rgba(255,255,255,.2);
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:768px){

    .hero-section{
        text-align:center;
        padding:70px 0;
    }

    .hero-section h1{
        font-size:2.2rem;
    }

    .section-title h2{
        font-size:1.8rem;
    }

    .counter-box{
        margin-bottom:25px;
    }

    .gallery-img{
        margin-bottom:20px;
    }
}