/* =====================================================
   ACHIEVER'S ARENA LIBRARY
   Premium Website CSS
   Part 1
===================================================== */

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#05070d;
    color:#fff;
    overflow-x:hidden;
    line-height:1.6;
}

/* ================= NAVBAR ================= */

nav{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:80px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:0 7%;

    background:rgba(5,7,13,.88);
    backdrop-filter:blur(14px);

    border-bottom:1px solid rgba(255,215,0,.18);
   box-shadow:0 8px 25px rgba(0,0,0,.35);

    z-index:9999;
}

.logo h2{
    color:#FFD700;
    font-size:28px;
    font-weight:800;
    line-height:1.2;
    letter-spacing:1px;
}

.nav-links{
    display:flex;
    gap:28px;
}

.nav-links a{
    color:#fff;
    text-decoration:none;
    font-size:17px;
    font-weight:600;
    transition:.35s;
}

.nav-links a:hover{
    color:#FFD700;
}

/* ================= HERO ================= */

.hero{

    position:relative;

    width:100%;
    min-height:100vh;

    display:flex;
    justify-content:center;
    align-items:center;

    text-align:center;

    overflow:hidden;

    padding:140px 20px 80px;

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    transition:opacity .5s ease;

}

.hero.fade{

    opacity:.72;

}

.hero-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(
    rgba(0,0,0,.35),
    rgba(5,7,13,.78),
    rgba(5,7,13,.92)
);
}

.hero-content{

    position:relative;

    z-index:5;

    width:100%;
    max-width:950px;

    margin:auto;

    animation:fadeUp 1s ease;
   text-shadow:0 4px 18px rgba(0,0,0,.45);

}

.hero h1{

    font-size:68px;

    font-weight:800;

    color:#fff;

    margin-bottom:18px;

}

.hero p{

    font-size:24px;

    color:#ddd;

    margin-bottom:35px;

}

.hero-buttons{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:20px;

    flex-wrap:wrap;

}
/* ================= BUTTONS ================= */

button{

    background:linear-gradient(135deg,#FFD700,#C89B1D);

    color:#000;

    border:none;

    outline:none;

    padding:18px 38px;

    border-radius:50px;

    font-size:18px;

    font-weight:700;

    cursor:pointer;

    transition:.35s;

    box-shadow:0 12px 28px rgba(255,215,0,.28);

}

button:hover{

    transform:translateY(-6px);

    box-shadow:0 18px 38px rgba(255,215,0,.45);

}

.hero-buttons a{

    text-decoration:none;

}

/* ================= HERO STATS ================= */

.hero-stats{

    margin-top:60px;

    display:flex;

    justify-content:center;

    gap:25px;

    flex-wrap:wrap;

}

.stat-card{

    width:180px;

    padding:24px;

    border-radius:20px;

    background:rgba(255,255,255,.06);

    backdrop-filter:blur(12px);

    border:1px solid rgba(255,215,0,.22);

    transition:.35s;

}

.stat-card:hover{

    transform:translateY(-8px);

    border-color:#FFD700;

}

.stat-card h3{

    font-size:34px;

    color:#FFD700;

    margin-bottom:8px;

}

.stat-card span{

    color:#ddd;

    font-size:16px;

}

/* ================= SLIDER DOTS ================= */

.slider-dots{

    position:absolute;

    left:50%;

    bottom:35px;

    transform:translateX(-50%);

    display:flex;

    gap:12px;

    z-index:10;

}

.dot{

    width:13px;

    height:13px;

    border-radius:50%;

    background:rgba(255,255,255,.45);

    cursor:pointer;

    transition:.35s;

}

.dot.active{

    background:#FFD700;

    transform:scale(1.3);

}

/* ================= COMMON SECTION ================= */

section{

    padding:95px 8%;

}

.section-title{

    text-align:center;

    margin-bottom:55px;

}

.section-title h2{

    font-size:46px;

    color:#FFD700;

    margin-bottom:12px;

}

.section-title p{

    color:#bbb;

    font-size:18px;

}

/* ================= GALLERY ================= */

.gallery{

    background:#08111f;

}

.gallery-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:24px;

}

.gallery-grid img{

    width:100%;

    height:260px;

    object-fit:cover;

    border-radius:18px;

    cursor:pointer;

    transition:.35s;

    border:2px solid rgba(255,215,0,.18);

    box-shadow:0 10px 28px rgba(0,0,0,.35);

}

.gallery-grid img:hover{

    transform:scale(1.05);

    border-color:#FFD700;

    box-shadow:0 18px 40px rgba(255,215,0,.35);

}

                    }
/* ================= FACILITIES ================= */

.facilities{

    background:#0d1117;

}

.facility-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:28px;

}

.card{

    background:#161b22;

    border:1px solid rgba(255,215,0,.18);

    border-radius:22px;

    padding:30px 24px;

    transition:.35s;

    box-shadow:0 12px 30px rgba(0,0,0,.30);

}

.card:hover{

    transform:translateY(-10px);

    border-color:#FFD700;

    box-shadow:0 18px 38px rgba(255,215,0,.18);

}

.card h3{

    color:#FFD700;

    font-size:24px;

    margin-bottom:16px;

}

.card p{

    color:#d8d8d8;

    font-size:16px;

    line-height:1.8;

}

/* ================= REVIEWS ================= */

.reviews{

    background:#08111f;

}

.review-card{

    max-width:900px;

    margin:28px auto;

    padding:30px;

    border-radius:20px;

    background:#161b22;

    border:1px solid rgba(255,215,0,.18);

    transition:.35s;

}

.review-card:hover{

    transform:translateY(-8px);

    border-color:#FFD700;

}

.review-card h3{

    color:#FFD700;

    margin-bottom:15px;

}

.review-card p{

    color:#ddd;

    line-height:1.8;

}

/* ================= ABOUT ================= */

.about{

    background:#0d1117;

}

.about p{

    max-width:1050px;

    margin:22px auto;

    text-align:center;

    color:#d5d5d5;

    font-size:18px;

    line-height:2;

}

.about strong{

    color:#FFD700;

}

/* ================= PRICING ================= */

.pricing{

    background:#08111f;

}

.price-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:30px;

}

.price-card{

    background:#161b22;

    border-radius:22px;

    border:2px solid rgba(255,215,0,.20);

    padding:35px 28px;

    text-align:center;

    transition:.35s;

}

.price-card:hover{

    transform:translateY(-10px);

    border-color:#FFD700;

}

.price-card.featured{

    border-color:#FFD700;

}

.price-card h3{

    color:#FFD700;

    margin-bottom:18px;

}

.price{

    font-size:40px;

    font-weight:800;

    color:#fff;

    margin-bottom:20px;

}

.price span{

    font-size:18px;

    color:#bbb;

}

.price-card ul{

    list-style:none;

}

.price-card li{

    padding:8px 0;

    color:#ddd;

    }
/* ================= CONTACT ================= */

.contact{
    background:#111827;
    text-align:center;
}

.contact p{
    font-size:18px;
    color:#ddd;
    margin:18px 0;
}

.contact .hero-buttons{
    margin-top:35px;
}

/* ================= FOOTER ================= */

footer{
    background:#05070d;
    border-top:1px solid rgba(255,215,0,.15);
    text-align:center;
    padding:50px 20px;
}

footer h2{
    color:#FFD700;
    margin-bottom:15px;
    font-size:28px;
}

footer p{
    color:#bfbfbf;
    line-height:1.8;
}

/* ================= WHATSAPP ================= */

.whatsapp{
    position:fixed;
    right:20px;
    bottom:20px;

    width:65px;
    height:65px;

    display:flex;
    justify-content:center;
    align-items:center;

    border-radius:50%;

    background:#25D366;

    box-shadow:0 12px 30px rgba(0,0,0,.35);

    z-index:99999;

    transition:.35s;
}

.whatsapp:hover{
    transform:scale(1.12);
}

.whatsapp img{
    width:36px;
    height:36px;
}

/* ================= LIGHTBOX ================= */

.lightbox{
    position:fixed;
    inset:0;

    display:none;

    justify-content:center;
    align-items:center;

    background:rgba(0,0,0,.94);

    z-index:999999;
}

.lightbox.active{
    display:flex;
}

.lightbox img{
    max-width:92%;
    max-height:92%;
    border-radius:14px;
}

.close{
    position:absolute;
    top:25px;
    right:30px;

    color:#fff;

    font-size:42px;

    cursor:pointer;
}

/* ================= ANIMATION ================= */

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* ================= MOBILE ================= */

@media(max-width:768px){

nav{

    flex-direction:column;

    height:auto;

    padding:15px;

    gap:12px;

}

.logo h2{

    font-size:20px;

    text-align:center;

}

.nav-links{

    flex-wrap:wrap;

    justify-content:center;

    gap:14px;

}

.nav-links a{

    font-size:15px;

}

.hero{

    padding-top:165px;

}

.hero h1{

    font-size:42px;

}

.hero p{

    font-size:18px;

}

.hero-buttons{

    flex-direction:column;

}

.hero-buttons button{

    width:100%;

    max-width:340px;

}

.hero-stats{

    gap:15px;

}

.stat-card{

    width:150px;

    padding:18px;

}

.stat-card h3{

    font-size:28px;

}

.section-title h2{

    font-size:34px;

}

.gallery-grid{

    grid-template-columns:1fr;

}

.facility-grid{

    grid-template-columns:1fr;

}

.price-grid{

    grid-template-columns:1fr;

}

.review-card{

    padding:22px;

}

.about p{

    font-size:16px;

}

.contact p{

    font-size:16px;

}

footer h2{

    font-size:22px;

}

}
@media (min-width: 768px) and (max-width: 1024px) {
    .hero{
        min-height:100vh;
        background-size:cover !important;
        background-position:center center !important;
    }
}
/* ================= iPad Responsive Fix ================= */

@media only screen and (min-width:768px) and (max-width:1024px){

nav{
    padding:20px 35px;
}

.logo h2{
    font-size:42px;
    line-height:1.15;
}

.nav-links{
    gap:28px;
}

.nav-links a{
    font-size:22px;
}

.hero{
    min-height:100vh !important;
    padding-top:170px !important;
    padding-bottom:120px !important;

    background-size:cover !important;
    background-position:center center !important;
}

.hero h1{
    font-size:72px;
    line-height:1.2;
}

.hero p{
    font-size:30px;
}

.hero-buttons{
    gap:25px;
}

.hero-buttons button{
    font-size:22px;
    padding:18px 40px;
}

.hero-stats{
    gap:30px;
}

.stat-card{
    width:220px;
}

.gallery-grid{
    grid-template-columns:repeat(2,1fr);
}

.gallery-grid img{
    width:100%;
    height:300px;
    object-fit:cover;
}
}

/* ================= END ================= */
