/* ===========================
   REV YOU - GLOBAL STYLES
=========================== */
:root{

    --primary:#D4AF37;       /* Luxury Gold */

    --primary-light:#F7D774; /* Light Gold */

    --secondary:#E5E5E5;     /* Silver */

    --bg:#050505;            /* Black */

    --card:#111111;          /* Card Background */

    --text:#FFFFFF;

    --text-light:#BDBDBD;

    --border:rgba(212,175,55,.25);

}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
   background:var(--bg);
    color:#fff;
    overflow-x:hidden;
}

/* ===========================
   SCROLLBAR
=========================== */

::-webkit-scrollbar{
    width:8px;
}

::-webkit-scrollbar-track{
    background:#0f172a;
}

::-webkit-scrollbar-thumb{
   background:linear-gradient(
   180deg,
    #F4C542,
    #B8860B
   );
    border-radius:20px;
}

/* ===========================
   NAVBAR
=========================== */

header{
    position:fixed;
    width:100%;
    top:0;
    left:0;
    z-index:1000;
}

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:18px 6%;

    background:rgba(10,10,10,.85);

    backdrop-filter:blur(18px);

   border-bottom:1px solid var(--border);
}

.logo a{

    display:flex;

    align-items:center;

    gap:14px;

    text-decoration:none;

    color:var(--primary);

    font-size:28px;

    font-weight:800;

    letter-spacing:2px;

}
.logo img{

    width:52px;

    height:52px;

    object-fit:contain;

    filter:

    drop-shadow(0 0 10px rgba(212,175,55,.35));

    transition:.4s;

}

.logo img:hover{

    transform:rotate(-8deg) scale(1.08);

    filter:

    drop-shadow(0 0 20px rgba(212,175,55,.55));

}
.logo span{

    background:linear-gradient(
    135deg,
    #F7D774,
    #D4AF37,
    #FFFFFF
    );

    -webkit-background-clip:text;

    -webkit-text-fill-color:transparent;

}
@media(max-width:768px){

.logo img{

width:42px;

height:42px;

}

.logo span{

font-size:22px;

}

}

.nav-links{
    display:flex;
    gap:35px;
    list-style:none;
}

.nav-links a{
    color:var(--secondary);
    text-decoration:none;
    font-size:15px;
    transition:0.3s;
}

.nav-links a:hover{
    color:var(--primary);
}

.explore-btn{
    border:none;

    padding:12px 28px;

    border-radius:50px;

  background:linear-gradient(
135deg,
#B8860B,
#D4AF37,
#F7D774
);

    color:#fff;

    font-weight:600;

    cursor:pointer;

    transition:0.4s;
}

.explore-btn:hover{
    transform:translateY(-4px);
}

/* ===========================
   HERO SECTION
=========================== */

.hero{
    min-height:100vh;

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:140px 8% 80px;
}

.hero-content{
    max-width:650px;
}

.hero-tag{

    display:inline-block;

    padding:10px 20px;

    border-radius:50px;

    background:rgba(212,175,55,.12);

    border:1px solid rgba(212,175,55,.35);

    color:var(--primary);

    margin-bottom:25px;
}

.hero h1{

    font-size:68px;

    line-height:1.1;

    margin-bottom:25px;

    font-weight:800;
}

.hero p{

    color:#94a3b8;

    line-height:1.8;

    margin-bottom:35px;

    font-size:17px;
}

.hero-buttons{
    display:flex;
    gap:20px;
}
.hero-buttons a{

    display: inline-flex;

    justify-content: center;

    align-items: center;

    text-decoration: none;

}

.primary-btn{

    border:none;

    padding:15px 35px;

    border-radius:50px;

    color:#fff;

   background:linear-gradient(
    135deg,
    #B8860B,
    #F4C542,
    #D4AF37
    );

    cursor:pointer;

    font-size:15px;

    font-weight:600;

    transition:0.4s;
}
.primary-btn{

    text-decoration:none;

}
.primary-btn:hover{

transform:translateY(-5px);

box-shadow:

0 12px 35px rgba(212,175,55,.45);

}
.secondary-btn{

    padding:15px 35px;

    border-radius:50px;

   border:1px solid rgba(212,175,55,.35);

    background:transparent;

    color:#fff;

    cursor:pointer;
}

.secondary-btn:hover{

background:rgba(212,175,55,.12);

border-color:var(--primary);

color:var(--primary);

}

/* ===========================
   BOOK PREVIEW
=========================== */

/* ===========================
   REV YOU 3D BOOK
=========================== */

.hero-book-section{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:120px 0;

}

/* ===========================
   BOOK CONTAINER
=========================== */

.book-container{

    width:900px;

    height:555px;

    perspective:4000px;

    position:relative;

}

/* ===========================
   BOOK
=========================== */

.book{

    position:relative;

    width:100%;

    height:100%;

    transform-style:preserve-3d;

    cursor:pointer;

}

/* ===========================
   PAGES
=========================== */

.page{

    position:absolute;

    width:100%;

    height:100%;

    left:0;

    top:0;

    transform-origin:left center;

    transform-style:preserve-3d;

    transition:

    transform 1.2s cubic-bezier(
        0.77,
        0,
        0.175,
        1
    );

    border-radius:12px;

    overflow:hidden;

    background:#fff;

    box-shadow:

    0 15px 40px
    rgba(0,0,0,.25);

}

/* ===========================
   FRONT
=========================== */

.page-front{

    position:absolute;

    width:100%;

    height:100%;

    backface-visibility:hidden;

}

.page-front img{

    width:100%;

    height:100%;

    object-fit:cover;

}

/* ===========================
   BACK
=========================== */

.page-back{

    position:absolute;

    width:100%;

    height:100%;

    transform:rotateY(180deg);

    backface-visibility:hidden;

    background:#f8fafc;

}

.page-back img{

    width:100%;

    height:100%;

    object-fit:cover;

}

/* ===========================
   FLIP ANIMATION
=========================== */

.page.flipped{

    transform:rotateY(-180deg);

}

/* ===========================
   COVER PAGE
=========================== */

.cover{

    box-shadow:

    0 20px 60px
    rgba(0,0,0,.35);

}

/* ===========================
   BOOK THICKNESS
=========================== */

.page::before{

    content:"";

    position:absolute;

    top:0;

    right:0;

    width:6px;

    height:100%;

    background:

    linear-gradient(
        to right,
        rgba(255,255,255,.4),
        rgba(0,0,0,.1)
    );

    z-index:5;

}

/* ===========================
   CENTER BINDING
=========================== */

.book::before{

    content:"";

    position:absolute;

    left:50%;

    top:0;

    transform:translateX(-50%);

    width:12px;

    height:100%;

    background:

    linear-gradient(
        to right,
        rgba(0,0,0,.15),
        rgba(255,255,255,.2),
        rgba(0,0,0,.15)
    );

    z-index:100;

    border-radius:20px;

}

/* ===========================
   PAGE SHADOW
=========================== */

.page.flipped{

    box-shadow:

    -15px 15px 35px
    rgba(0,0,0,.25);

}

/* ===========================
   HOVER EFFECT
=========================== */

.book:hover{

    transform:

    translateY(-5px);

    transition:.5s;

}

/* ===========================
   PAGE STACK
=========================== */

.page:nth-child(1){

    z-index:10;

}

.page:nth-child(2){

    z-index:9;

}

.page:nth-child(3){

    z-index:8;

}

.page:nth-child(4){

    z-index:7;

}

.page:nth-child(5){

    z-index:6;

}

.page:nth-child(6){

    z-index:5;

}

.page:nth-child(7){

    z-index:4;

}

.page:nth-child(8){

    z-index:3;

}

.page:nth-child(9){

    z-index:2;

}

.page:nth-child(10){

    z-index:1;

}

/* ===========================
   CLICK ZONES
=========================== */

.book::after{

    content:"";

    position:absolute;

    width:100%;

    height:100%;

    pointer-events:none;

}

/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:1200px){

    .book-container{

        width:850px;

        height:550px;

    }

}

@media(max-width:992px){

    .book-container{

        width:700px;

        height:500px;

    }

}

@media(max-width:768px){

    .book-container{

        width:95%;

        height:400px;

    }

}

@media(max-width:576px){

    .book-container{

        height:300px;

    }

}
/* ===========================
   SECTION TITLE
=========================== */

.section-title{
    text-align:center;
    margin-bottom:70px;
}

.section-title h2{
    font-size:48px;
    margin-bottom:15px;
}

.section-title p{
    color:#94a3b8;
}

/* ===========================
   QUALIFICATION SECTION
=========================== */

.qualification-section{

    padding:120px 8%;
}

.qualification-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

    gap:30px;
}

.qualification-card{

    background:#111111;

    border:1px solid rgba(212,175,55,.18);
    backdrop-filter:blur(15px);

    border-radius:25px;

    padding:35px;

    transition:0.4s;

    cursor:pointer;
}

.qualification-card:hover{

    transform:
    translateY(-10px);

   border-color:var(--primary);

   box-shadow:

   0 0 35px rgba(212,175,55,.30);
}

.qualification-card h3{

    margin-bottom:15px;

    font-size:24px;
}

.qualification-card p{

    color:#94a3b8;

    line-height:1.7;
}

/* ===========================
   BOOK SECTION
=========================== */

.book-section{

    padding:120px 8%;
}

.book-container{

    position:relative;

    max-width:1200px;

    margin:auto;
}


.close-book{

    position:absolute;

    top:-70px;
    right:0;

    width:50px;
    height:50px;

    border:none;

    border-radius:50%;

    background:#ef4444;

    color:#fff;

    font-size:18px;

    cursor:pointer;
}

.book{

    display:flex;

    min-height:650px;

    border-radius:20px;

    overflow:hidden;

    background:#f9fafb;

    box-shadow:
    0 0 60px rgba(0,0,0,0.4);
}

.left-page,
.right-page{

    width:50%;

    padding:60px;

    position:relative;
}

.left-page{

    background:#f8fafc;

    color:#111827;
}

.right-page{

    background:#ffffff;

    color:#111827;
}

.page-content h3{

    font-size:34px;

    margin-bottom:20px;
}

.page-content p{

    line-height:2;

    font-size:17px;
}


/* ===========================
   FEATURES
=========================== */

.features{

    padding:120px 8%;

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap:30px;
}

.feature-card{

    text-align:center;

    background:rgba(255,255,255,0.04);

    padding:40px;

    border-radius:20px;

    border:1px solid rgba(255,255,255,0.08);

    transition:0.4s;
}

.feature-card:hover{

    transform:translateY(-10px);

    box-shadow:
    0 0 35px rgba(59,130,246,0.25);
}

.feature-card i{

    font-size:45px;

    margin-bottom:20px;

    color:var(--primary);
}

.feature-card h3{

    margin-bottom:15px;
}

/* ===========================
   FOOTER
=========================== */

footer{

    padding:80px 8%;

    border-top:1px solid rgba(255,255,255,0.08);
}

.footer-content{

    text-align:center;
}

.footer-content h2{

    font-size:40px;

    margin-bottom:15px;
}

.footer-content p{

   color:var(--text-light);

    margin-bottom:25px;
}

.footer-links{

    display:flex;

    justify-content:center;

    gap:25px;

    flex-wrap:wrap;
}

.footer-links a{

    color:#cbd5e1;

    text-decoration:none;
}

/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:992px){

    .hero{
        flex-direction:column;
        text-align:center;
        gap:60px;
    }

    .hero h1{
        font-size:50px;
    }

    .book{
        flex-direction:column;
    }

    .left-page,
    .right-page{
        width:100%;
    }
}

@media(max-width:768px){

    .nav-links{
        display:none;
    }

    .hero h1{
        font-size:42px;
    }

    .section-title h2{
        font-size:36px;
    }

    .book-preview{
        width:280px;
        height:380px;
    }
}
/* ==========================
   PREMIUM SCROLL REVEAL
========================== */

.reveal{

    opacity:0;

    transform:
    translateY(100px)
    scale(0.95);

    filter:blur(10px);

    transition:

    opacity 1.2s ease,

    transform 1.2s ease,

    filter 1.2s ease;

}

.reveal.active{

    opacity:1;

    transform:
    translateY(0)
    scale(1);

    filter:blur(0px);

}
.reveal{

    opacity:0;

    transform:
    translateY(120px);

    filter:
    blur(12px);

    transition:

    all 1.3s
    cubic-bezier(
    0.16,
    1,
    0.3,
    1
    );

}

.reveal.active{

    opacity:1;

    transform:
    translateY(0);

    filter:
    blur(0);

}
#aiBotBtn{

    position:fixed;

    right:30px;

    bottom:30px;

    width:80px;

    height:80px;

    border-radius:50%;

    cursor:pointer;

    z-index:9999;

    animation:floatBot 3s infinite ease-in-out;
}

#aiBotBtn img{

    width:100%;

    height:100%;

    object-fit:cover;
}

#aiChatBox{

    position:fixed;

    right:30px;

    bottom:130px;

    width:380px;

    height:550px;

    background:#0f172a;

    border-radius:25px;

    overflow:hidden;

    display:none;

    z-index:9999;

    box-shadow:
    0 20px 60px rgba(0,0,0,.4);
}

.chat-header{

    height:70px;

    background:
    linear-gradient(
    135deg,
    #2563eb,
    #7c3aed);

    color:white;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:0 20px;
}

#chatBody{

    height:400px;

    overflow-y:auto;

    padding:20px;
}

.bot-msg{

    background:#1e293b;

    color:white;

    padding:12px;

    border-radius:15px;

    margin-bottom:10px;
}

.user-msg{

   background:#D4AF37;

   color:#111;

    padding:12px;

    border-radius:15px;

    margin-bottom:10px;

    text-align:right;
}

.chat-footer{

    display:flex;

    padding:15px;
}

.chat-footer input{

    flex:1;

    height:45px;

    border:none;

    border-radius:10px;

    padding:0 15px;
}

.chat-footer button{

    margin-left:10px;

    padding:0 20px;

    border:none;

    border-radius:10px;

   background:#D4AF37;

color:#111;
}

@keyframes floatBot{

    50%{

        transform:
        translateY(-12px);

    }

}
/*=========================
     Hamburger
=========================*/

.menu-toggle{

display:none;

width:46px;
height:46px;

border:none;

background:rgba(212,175,55,.12);

border:1px solid rgba(212,175,55,.25);

backdrop-filter:blur(20px);

border-radius:12px;

cursor:pointer;

position:relative;

z-index:1001;

transition:.4s;

}

.menu-toggle span{

position:absolute;

left:11px;

width:24px;
height:2px;

background:var(--primary);


transition:.35s;

}

.menu-toggle span:nth-child(1){

top:14px;

}

.menu-toggle span:nth-child(2){

top:22px;

}

.menu-toggle span:nth-child(3){

top:30px;

}

/* X Animation */

.menu-toggle.active span:nth-child(1){

transform:translateY(8px) rotate(45deg);

}

.menu-toggle.active span:nth-child(2){

opacity:0;

}

.menu-toggle.active span:nth-child(3){

transform:translateY(-8px) rotate(-45deg);

}
@media(max-width:768px){

.menu-toggle{

display:block;

}

.nav-links{

position:fixed;

top:0;
right:-100%;

width:300px;

height:100vh;

display:flex;

flex-direction:column;

justify-content:center;

align-items:center;

gap:35px;

background:rgba(8,15,30,.92);

backdrop-filter:blur(25px);

transition:.45s ease;

z-index:999;

}

.nav-links.active{

right:0;

}

.nav-links a{

font-size:20px;

}

body.menu-open{

overflow:hidden;

}

}
/* sholarships */
/* ==========================================
      SCHOLARSHIP HOME SECTION
========================================== */

.scholarship-home{

    padding:120px 8%;

    display:flex;

    justify-content:center;

    align-items:center;

}

.scholarship-box{

    position:relative;

    width:100%;

    max-width:1400px;

    overflow:hidden;

    border-radius:35px;

    padding:80px;

    background:
    linear-gradient(
        135deg,
        rgba(18,18,18,.96),
        rgba(35,27,12,.98),
        rgba(12,12,12,.96)
    );

    border:1px solid rgba(212,175,55,.28);

    box-shadow:

    0 0 30px rgba(212,175,55,.12),

    0 25px 80px rgba(0,0,0,.45);

    transition:.5s;

}

.scholarship-box:hover{

    transform:translateY(-8px);

    border-color:#D4AF37;

    box-shadow:

    0 0 35px rgba(212,175,55,.28),

    0 30px 90px rgba(0,0,0,.55);

}

/* GOLD GLOW */

.scholarship-box::before{

    content:"";

    position:absolute;

    top:-180px;

    right:-180px;

    width:420px;

    height:420px;

    border-radius:50%;

    background:

    radial-gradient(

    rgba(212,175,55,.18),

    transparent 70%

    );

}

.scholarship-box::after{

    content:"";

    position:absolute;

    bottom:-150px;

    left:-150px;

    width:340px;

    height:340px;

    border-radius:50%;

    background:

    radial-gradient(

    rgba(255,230,150,.10),

    transparent 70%

    );

}

.scholarship-content{

    position:relative;

    z-index:2;

    max-width:760px;

}

/* BADGE */

.badge{

    display:inline-block;

    padding:10px 24px;

    border-radius:50px;

    margin-bottom:25px;

    color:#F6E7A8;

    font-size:15px;

    font-weight:600;

    letter-spacing:1px;

    background:rgba(212,175,55,.10);

    border:1px solid rgba(212,175,55,.35);

    backdrop-filter:blur(15px);

}

/* TITLE */

.scholarship-content h2{

    font-size:58px;

    line-height:1.2;

    margin-bottom:22px;

    font-weight:800;

    background:

    linear-gradient(

    135deg,

    #FFFDF5,

    #FFE8A3,

    #D4AF37

    );

    -webkit-background-clip:text;

    -webkit-text-fill-color:transparent;

}

/* DESCRIPTION */

.scholarship-content p{

    font-size:18px;

    line-height:1.9;

    color:#d8d8d8;

    max-width:700px;

    margin-bottom:40px;

}

/* BUTTON */

.scholarship-btn{

    display:inline-flex;

    align-items:center;

    gap:12px;

    text-decoration:none;

    padding:18px 40px;

    border-radius:60px;

    font-weight:700;

    color:#111;

    background:

    linear-gradient(

    135deg,

    #FFE49A,

    #D4AF37

    );

    transition:.45s;

    box-shadow:

    0 0 25px rgba(212,175,55,.25);

}

.scholarship-btn:hover{

    transform:

    translateY(-5px)

    scale(1.03);

    box-shadow:

    0 0 45px rgba(212,175,55,.45);

}

/* RESPONSIVE */

@media(max-width:992px){

.scholarship-box{

padding:60px 40px;

}

.scholarship-content h2{

font-size:44px;

}

}

@media(max-width:768px){

.scholarship-home{

padding:80px 6%;

}

.scholarship-box{

padding:45px 30px;

border-radius:25px;

}

.scholarship-content h2{

font-size:34px;

}

.scholarship-content p{

font-size:16px;

}

.scholarship-btn{

width:100%;

justify-content:center;

}

}