/*======================================
ROOT VARIABLES
======================================*/
body{
    opacity:0;
    transition:0.5s;
}
:root{

    --primary:#0F172A;
    --secondary:#F59E0B;
    --green:#16A34A;
    --light:#F8FAFC;
    --white:#FFFFFF;
    --gray:#64748B;
    --dark:#1E293B;

    --shadow:
    0 10px 30px rgba(0,0,0,0.08);

    --transition:all .3s ease;

}
.logo{

    display:flex;
    align-items:center;
    gap:15px;

}

.logo img{

    width:100px;
    height:auto;
    object-fit:contain;

}

.logo h1{

    font-size:24px;
    margin:0;
    color:#0F172A;

}

.logo span{

    color:#F59E0B;
    letter-spacing:3px;
    font-size:12px;
    font-weight:700;

}
/*===================================
Review Link
=====================================*/
.reviews-link{
    text-align:right;
    padding-right:30px;   /* Adjust this value */
    margin-top:15px;
}

.reviews-link h5{
    margin:0;
}
.hero{
    position: relative;
}

.hero-contact{
    position: absolute;
    top: 90px;          /* Adjust according to your navbar height */
    right: 40px;        /* Right corner */

    display: flex;
    align-items: center;
    gap: 8px;

    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);

    padding: 10px 20px;
    border-radius: 30px;

    color: #fff;
    font-size: 17px;
    font-weight: 600;

    z-index: 100;
}

.hero-contact a{
    color:#FFD54F;
    text-decoration:none;
    font-weight:700;
}

.hero-contact a:hover{
    text-decoration:underline;
}
/*======================================
RESET
======================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;

    overflow-x:hidden;

    background:var(--white);

    color:var(--dark);

    line-height:1.7;

}

img{
    width:100%;
    display:block;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

.container{

    width:90%;

    max-width:1200px;

    margin:auto;

}

.section{

    padding:100px 0;

}

.gray{

    background:#f8fafc;

}

.green-bg{

    background:#16A34A;

    color:white;

}

.section-title{

    text-align:center;

    margin-bottom:70px;

}

.section-title h2{

    font-size:42px;

    color:var(--primary);

    margin-bottom:15px;

}

.section-title p{

    color:var(--gray);

    max-width:700px;

    margin:auto;

}

/*======================================
HEADER
======================================*/

header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:1000;

    background:rgba(255,255,255,0.96);

    backdrop-filter:blur(15px);

    box-shadow:var(--shadow);

}

/*======================================
NAVBAR
======================================*/

.navbar{

    height:90px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.logo{

    display:flex;

    align-items:center;

    gap:15px;

}

.logo img{

    width:65px;

}

.logo h2{

    font-size:24px;

    color:var(--primary);

}

.logo p{

    color:var(--secondary);

    font-weight:600;

    letter-spacing:2px;

}

.nav-links{

    display:flex;

    gap:35px;

}

.nav-links a{

    color:var(--dark);

    font-weight:500;

    transition:var(--transition);

    position:relative;

}

.nav-links a:hover{

    color:var(--secondary);

}

.nav-links a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:var(--secondary);

    transition:0.3s;

}

.nav-links a:hover::after{

    width:100%;

}

/*======================================
HAMBURGER
======================================*/

.hamburger{

    display:none;

    font-size:28px;

    cursor:pointer;

    color:var(--primary);

}

/*======================================
HERO SECTION
======================================*/

.hero{

    min-height:100vh;

    background:

    linear-gradient(
        rgba(0,0,0,.55),
        rgba(0,0,0,.55)
    ),

    url("images/library1.jpg");

    background-size:cover;

    background-position:center;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    position:relative;

}

.hero-content{

    max-width:900px;

    color:white;

    animation:fadeUp 1.2s ease;

}

.hero h1{

    font-size:62px;

    line-height:1.2;

    margin-bottom:25px;

}

.hero p{

    font-size:22px;

    margin-bottom:40px;

    opacity:.95;

}

/*======================================
BUTTONS
======================================*/

.hero-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

.btn{

    padding:16px 35px;

    border-radius:50px;

    font-size:16px;

    font-weight:600;

    transition:var(--transition);

    display:inline-block;

}

.primary-btn{

    background:var(--secondary);

    color:white;

}

.primary-btn:hover{

    transform:translateY(-4px);

    box-shadow:0 10px 25px rgba(245,158,11,.4);

}

.secondary-btn{

    border:2px solid white;

    color:white;

}

.secondary-btn:hover{

    background:white;

    color:var(--primary);

}

/*======================================
ANIMATIONS
======================================*/

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/*======================================
SCROLL REVEAL CLASSES
======================================*/

.reveal{

    opacity:0;

    transform:translateY(50px);

    transition:all 1s ease;

}

.reveal.active{

    opacity:1;

    transform:translateY(0);

}

/*======================================
TABLET
======================================*/

@media(max-width:992px){

    .hero h1{

        font-size:48px;

    }

    .nav-links{

        gap:25px;

    }

}

/*======================================
MOBILE NAVBAR
======================================*/

@media(max-width:768px){

    .hamburger{

        display:block;

    }

    nav{

        position:absolute;

        top:90px;

        left:0;

        width:100%;

        background:white;

        max-height:0;

        overflow:hidden;

        transition:.4s;

        box-shadow:var(--shadow);

    }

    nav.active{

        max-height:500px;

    }

    .nav-links{

        flex-direction:column;

        padding:30px;

        gap:25px;

    }

    .hero{

        padding:120px 20px;

    }

    .hero h1{

        font-size:38px;

    }

    .hero p{

        font-size:18px;

    }

    .section{

        padding:80px 0;

    }

    .section-title h2{

        font-size:32px;

    }

}

@media(max-width:480px){

    .hero h1{

        font-size:32px;

    }

    .btn{

        width:100%;

    }  
}
/*======================================
ABOUT SECTION
======================================*/

.features-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

}

.feature-box{

    background:white;

    padding:40px 30px;

    text-align:center;

    border-radius:20px;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.feature-box:hover{

    transform:translateY(-10px);

}

.feature-box i{

    font-size:50px;

    color:var(--secondary);

    margin-bottom:20px;

}

.feature-box h3{

    margin-bottom:15px;

    color:var(--primary);

}

/*======================================
FACILITIES
======================================*/

.facility-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:30px;

}

.facility-card{

    background:white;

    border-radius:20px;

    padding:40px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:all .3s;

}

.facility-card:hover{

    transform:translateY(-8px);

}

.facility-card i{

    font-size:45px;

    color:var(--green);

    margin-bottom:20px;

}

.facility-card h3{

    color:var(--primary);

}

/*======================================
PRICING
======================================*/

.pricing-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:30px;

}

.price-card{

    background:white;

    padding:50px 20px;

    border-radius:25px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:all .3s;

}

.price-card:hover{

    transform:translateY(-10px);

}

.price-card h3{

    color:var(--primary);

    margin-bottom:20px;

}

.price-card h1{

    font-size:55px;

    color:var(--green);

}

.featured{

    background:var(--primary);

    color:white;

    transform:scale(1.05);

}

.featured h1{

    color:var(--secondary);

}

.featured h3{

    color:white;

}

/*======================================
TESTIMONIALS
======================================*/

.testimonial-slider{

    max-width:700px;

    margin:auto;

    position:relative;

    overflow:hidden;

}

.testimonial{

    display:none;

    background:white;

    padding:50px;

    border-radius:25px;

    text-align:center;

    box-shadow:var(--shadow);

    color:gold;

    font-size:24px;

}

.testimonial.active{

    display:block;

    animation:fadeUp .8s;

}

.testimonial p{

    color:var(--gray);

    margin-top:20px;

    font-size:18px;

}

/*======================================
GALLERY
======================================*/

.gallery-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:25px;

}

.gallery-img{

    border-radius:20px;

    cursor:pointer;

    height:300px;

    object-fit:cover;

    transition:.4s;

}

.gallery-img:hover{

    transform:scale(1.03);

}

/*======================================
LIGHTBOX
======================================*/

#lightbox{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.95);

    display:none;

    justify-content:center;

    align-items:center;

    z-index:9999;

}

#lightbox img{

    max-width:90%;

    max-height:90vh;

    border-radius:20px;

}

#close-lightbox{

    position:absolute;

    top:30px;

    right:40px;

    font-size:50px;

    color:white;

    cursor:pointer;

}

/*======================================
WHATSAPP FORM
======================================*/

.contact-box{

    max-width:600px;

    margin:auto;

    text-align:center;

}

.contact-box h2{

    color:white;

    margin-bottom:30px;

}

.contact-box form{

    display:flex;

    flex-direction:column;

    gap:20px;

}

.contact-box input{

    padding:18px;

    border:none;

    border-radius:12px;

    font-size:16px;

}

.contact-box button{

    padding:18px;

    border:none;

    background:var(--secondary);

    color:white;

    font-size:17px;

    border-radius:12px;

    cursor:pointer;

    transition:.3s;

}

.contact-box button:hover{

    background:#d97706;

}

/*======================================
FAQ
======================================*/

.faq-item{

    background:white;

    padding:30px;

    margin-bottom:20px;

    border-radius:20px;

    box-shadow:var(--shadow);

}

.faq-item h3{

    color:var(--primary);

    margin-bottom:15px;

}

/*======================================
CONTACT
======================================*/

.address{

    text-align:center;

    margin-bottom:20px;

    font-size:18px;

}

#contact p{

    text-align:center;

    margin-bottom:25px;

}

/*======================================
FOOTER
======================================*/

footer{

    background:var(--primary);

    color:white;

    text-align:center;

    padding:60px 20px;

}

footer h3{

    margin-bottom:15px;

}

footer p{

    color:#cbd5e1;

}

/*======================================
WHATSAPP FLOAT BUTTON
======================================*/

.whatsapp-float{

    position:fixed;

    right:25px;

    bottom:25px;

    width:70px;

    height:70px;

    background:#25D366;

    color:white;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:50%;

    font-size:35px;

    box-shadow:0 10px 30px rgba(0,0,0,.25);

    z-index:999;

    transition:.3s;

}

.whatsapp-float:hover{

    transform:scale(1.1);

}

/*======================================
EXTRA MOBILE RESPONSIVENESS
======================================*/

@media(max-width:768px){

    .pricing-grid,
    .facility-grid,
    .features-grid,
    .gallery-grid{

        grid-template-columns:1fr;

    }

    .featured{

        transform:none;

    }

    .testimonial{

        padding:30px 20px;

    }

    #close-lightbox{

        right:20px;

        top:20px;

        font-size:40px;

    }

    .whatsapp-float{

        width:60px;

        height:60px;

        font-size:30px;

    }

}