/* ==========================================
   AISB ANDHRA PRADESH WEBSITE
   PART 1 - RESET + NAVBAR + HERO
========================================== */

/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ===========================
        RESET
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f8f8f8;
    color:#222;
    overflow-x:hidden;
}

/* ===========================
      VARIABLES
=========================== */

:root{

    --primary:#8B0000;
    --primary-dark:#6b0000;

    --gold:#D4AF37;

    --white:#ffffff;

    --black:#111111;

    --gray:#f5f5f5;

    --shadow:0 15px 35px rgba(0,0,0,.18);

}

/* ===========================
        GENERAL
=========================== */

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

section{
    width:100%;
}

/* ===========================
        HEADER
=========================== */

header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    background:rgba(139,0,0,.90);

    backdrop-filter:blur(12px);

    z-index:9999;

    transition:.4s;

    box-shadow:0 5px 20px rgba(0,0,0,.15);

}

/* ===========================
        NAVBAR
=========================== */

.navbar{

    max-width:1300px;

    margin:auto;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:14px 40px;

}

.logo{

    display:flex;

    align-items:center;

    gap:15px;

}

.logo img{

    width:72px;

    height:72px;

    object-fit:cover;

    border-radius:50%;

    background:white;

    padding:4px;

}

.logo h2{

    color:white;

    font-size:30px;

    font-family:'Cinzel',serif;

    font-weight:700;

}

/* ===========================
      NAVIGATION
=========================== */

.nav-links{

    display:flex;

    gap:35px;

}

.nav-links li{

    position:relative;

}

.nav-links a{

    color:white;

    font-size:17px;

    font-weight:600;

    transition:.3s;

}

.nav-links a:hover{

    color:var(--gold);

}

.nav-links a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:var(--gold);

    transition:.35s;

}

.nav-links a:hover::after{

    width:100%;

}

/* ===========================
      MOBILE MENU ICON
=========================== */

.menu-btn{

    display:none;

    font-size:34px;

    color:white;

    cursor:pointer;

}

/* ===========================
        HERO
=========================== */

.hero{

    min-height:100vh;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:60px;

    padding:140px 8% 90px;

    background:

    linear-gradient(

    rgba(120,0,0,.84),

    rgba(139,0,0,.84)

    ),

    url("../images/hero.jpg");

    background-size:cover;

    background-position:center;

    color:white;

}

/* ===========================
      HERO LEFT
=========================== */

.hero-text{

    width:55%;

    animation:fadeLeft 1s ease;

}

.hero-text h3{

    color:var(--gold);

    letter-spacing:4px;

    margin-bottom:18px;

    font-size:22px;

}

.hero-text h1{

    font-family:'Cinzel',serif;

    font-size:72px;

    line-height:1.15;

    margin-bottom:25px;

}

.hero-text p{

    font-size:20px;

    line-height:1.9;

    max-width:650px;

    margin-bottom:35px;

}

/* ===========================
      BUTTONS
=========================== */

.hero-buttons{

    display:flex;

    gap:20px;

    flex-wrap:wrap;

}

.btn{

    display:inline-block;

    padding:16px 38px;

    background:white;

    color:var(--primary);

    font-weight:700;

    border-radius:50px;

    transition:.35s;

    box-shadow:var(--shadow);

}

.btn:hover{

    transform:translateY(-5px);

    background:var(--gold);

    color:black;

}

.btn-outline{

    display:inline-block;

    padding:16px 38px;

    border:2px solid white;

    color:white;

    border-radius:50px;

    font-weight:600;

    transition:.35s;

}

.btn-outline:hover{

    background:white;

    color:var(--primary);

}

/* ===========================
      HERO IMAGE
=========================== */

.hero-image{

    width:42%;

    display:flex;

    justify-content:center;

    animation:fadeRight 1s ease;

}

.hero-image img{

    width:100%;

    max-width:430px;

    border-radius:20px;

    box-shadow:

    0 30px 60px rgba(0,0,0,.35);

    transition:.5s;

}

.hero-image img:hover{

    transform:translateY(-10px);

}

/* ===========================
      ANIMATIONS
=========================== */

@keyframes fadeLeft{

from{

opacity:0;

transform:translateX(-60px);

}

to{

opacity:1;

transform:translateX(0);

}

}

@keyframes fadeRight{

from{

opacity:0;

transform:translateX(60px);

}

to{

opacity:1;

transform:translateX(0);

}

}

/* ===========================
      RESPONSIVE
=========================== */

@media(max-width:992px){

.nav-links{

display:none;

}

.menu-btn{

display:block;

}

.navbar{

padding:15px 20px;

}

.logo h2{

font-size:20px;

}

.hero{

flex-direction:column-reverse;

text-align:center;

padding-top:150px;

}

.hero-text{

width:100%;

}

.hero-image{

width:85%;

margin-bottom:40px;

}

.hero-text h1{

font-size:46px;

}

.hero-text h3{

font-size:18px;

}

.hero-text p{

font-size:18px;

}

.hero-buttons{

justify-content:center;

}

}

@media(max-width:576px){

.logo img{

width:60px;

height:60px;

}

.logo h2{

font-size:17px;

}

.hero{

padding:130px 25px 70px;

}

.hero-text h1{

font-size:36px;

}

.hero-text p{

font-size:16px;

}

.btn,

.btn-outline{

width:100%;

text-align:center;

}

}

/* ==========================================
            LEADERSHIP SECTION
========================================== */

.leadership{

    padding:100px 8%;

    background:#f8f8f8;

}

.leaders-container{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:35px;

    margin-top:50px;

}

.leader-card{

    background:#fff;

    padding:35px 25px;

    border-radius:20px;

    text-align:center;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.4s;

    border-bottom:5px solid var(--gold);

}

.leader-card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 40px rgba(0,0,0,.15);

}

.leader-card img{

    width:150px;

    height:150px;

    border-radius:50%;

    object-fit:cover;

    border:5px solid var(--gold);

    margin:auto;

    margin-bottom:20px;

}

.leader-card h3{

    color:var(--primary);

    font-size:24px;

    margin-bottom:8px;

}

.leader-card span{

    display:block;

    color:var(--gold);

    font-weight:600;

    margin-bottom:18px;

}

.leader-card p{

    color:#666;

    line-height:1.8;

}

@media(max-width:768px){

.leader-card{

padding:30px 20px;

}

.leader-card img{

width:120px;

height:120px;

}

}

/* ==========================================
              GALLERY SECTION
========================================== */

/* ===========================
   GALLERY
=========================== */

.gallery{
    padding:100px 7%;
    background:linear-gradient(to bottom,#ffffff,#f8f8f8,#ffffff);
    position:relative;
}

.gallery::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:8px;
    background:linear-gradient(90deg,#7a0000,#d4af37,#7a0000);
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title h2{

    font-size:48px;
    color:#7a0000;
    font-weight:700;
    margin-bottom:18px;
    position:relative;
    display:inline-block;

}

.section-title h2::after{

    content:"";
    width:80px;
    height:4px;
    background:#d4af37;
    display:block;
    margin:15px auto 0;
    border-radius:50px;

}

.section-title p{

    color:#555;
    font-size:19px;
    max-width:700px;
    margin:auto;
    line-height:1.8;

}

.gallery-grid{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;

}

.gallery-item{

    background:#fff;
    padding:10px;
    border-radius:18px;
    overflow:hidden;
    transition:.4s;
    box-shadow:0 12px 30px rgba(0,0,0,.08);

}

.gallery-item img{

    width:100%;
    height:280px;
    object-fit:cover;
    border-radius:12px;
    transition:.5s;

}

.gallery-item:hover{

    transform:translateY(-10px);

    box-shadow:
        0 0 18px rgba(212,175,55,.75),
        0 0 40px rgba(212,175,55,.45),
        0 20px 45px rgba(0,0,0,.18);

}

.gallery-item:hover img{

    transform:scale(1.08);

}
.gallery-container{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:25px;

    margin-top:50px;

}

.gallery-item{

    overflow:hidden;

    border-radius:20px;

    box-shadow:0 12px 25px rgba(0,0,0,.1);

}

.gallery-item img{

    width:100%;

    height:260px;

    object-fit:cover;

    transition:.5s;

}

.gallery-item:hover img{

    transform:scale(1.1);

}


/* ==========================================
               JOIN SECTION
========================================== */

.join{

    padding:100px 8%;

    background:#f8f8f8;

}

.join-container{

    max-width:750px;

    margin:auto;

}

#joinForm{

    background:#fff;

    padding:45px;

    border-radius:20px;

    box-shadow:0 12px 30px rgba(0,0,0,.08);

}

.input-group{

    margin-bottom:25px;

}

.input-group input,
.input-group textarea{

    width:100%;

    padding:16px 20px;

    border:1px solid #ddd;

    border-radius:10px;

    font-size:16px;

    outline:none;

    transition:.3s;

    font-family:'Poppins',sans-serif;

}

.input-group input:focus,
.input-group textarea:focus{

    border-color:var(--gold);

    box-shadow:0 0 8px rgba(212,175,55,.3);

}

textarea{

    resize:vertical;

}

#joinForm .btn{

    border:none;

    cursor:pointer;

    width:100%;

}

@media(max-width:768px){

#joinForm{

padding:25px;

}

}

/* ==========================================
              CONTACT SECTION
========================================== */

.contact{

    padding:100px 8%;

    background:#ffffff;

}

.contact-container{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:25px;

}

.contact-card{

    background:#fff;

    padding:35px;

    border-radius:20px;

    text-align:center;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.3s;

}

.contact-card:hover{

    transform:translateY(-8px);

}

.contact-card h3{

    color:var(--primary);

    margin-bottom:15px;

}

.contact-card p{

    color:#555;

}


/* ==========================================
                FOOTER
========================================== */

.footer{

    background:#8B0000;

    color:white;

    padding:70px 8% 20px;

}

.footer-content{

    display:grid;

    grid-template-columns:2fr 1fr 1fr;

    gap:50px;

}

.footer-logo img{

    width:80px;

    margin-bottom:20px;

}

.footer-logo h2{

    font-family:'Cinzel',serif;

    margin-bottom:15px;

}

.footer-logo p{

    line-height:1.8;

}

.footer-links h3,
.footer-contact h3{

    margin-bottom:20px;

}

.footer-links{

    display:flex;

    flex-direction:column;

}

.footer-links a{

    color:white;

    margin-bottom:12px;

    transition:.3s;

}

.footer-links a:hover{

    color:var(--gold);

}

.footer-contact p{

    margin-bottom:12px;

}

.footer-bottom{

    margin-top:50px;

    border-top:1px solid rgba(255,255,255,.2);

    padding-top:20px;

    text-align:center;

}

/* ==========================
        SCROLL TOP
========================== */

#scrollTop{

    position:fixed;

    bottom:30px;

    right:30px;

    width:50px;

    height:50px;

    border:none;

    border-radius:50%;

    background:var(--gold);

    color:black;

    font-size:24px;

    cursor:pointer;

    display:none;

    box-shadow:0 8px 20px rgba(0,0,0,.25);

    transition:.3s;

}

#scrollTop:hover{

    transform:translateY(-5px);

}

@media(max-width:900px){

.footer-content{

grid-template-columns:1fr;

text-align:center;

}

.footer-links{

align-items:center;

}

}


.nav-links.show{

    display:flex;

    flex-direction:column;

    position:absolute;

    top:100%;

    left:0;

    width:100%;

    background:#8B0000;

    padding:25px;

    text-align:center;

    gap:20px;

}

/*=========================================
        PREMIUM ABOUT SECTION
=========================================*/

.about{

padding:110px 8%;

background:linear-gradient(180deg,#fff,#faf8f3);

position:relative;

overflow:hidden;

}

.about-header{

text-align:center;

margin-bottom:70px;

}

.about-header span{

color:var(--gold);

font-weight:700;

letter-spacing:4px;

font-size:15px;

}

.about-header h2{

font-size:54px;

font-family:'Cinzel',serif;

margin:15px 0;

color:var(--primary);

}

.title-line{

width:100px;

height:4px;

background:var(--gold);

margin:auto;

border-radius:20px;

margin-bottom:25px;

}

.about-header p{

max-width:750px;

margin:auto;

font-size:18px;

line-height:1.8;

color:#666;

}

.about-wrapper{

display:grid;

grid-template-columns:420px 1fr;

gap:70px;

align-items:center;

margin-bottom:80px;

}

.about-left{

display:flex;

justify-content:center;

}

.about-left img{

width:100%;

max-width:420px;

border-radius:20px;

box-shadow:0 25px 60px rgba(0,0,0,.2);

transition:.5s;

}

.about-left img:hover{

transform:scale(1.03);

}

.about-right h3{

font-size:38px;

color:var(--primary);

margin-bottom:10px;

font-family:'Cinzel',serif;

}

.year{

display:inline-block;

background:var(--gold);

color:black;

padding:8px 18px;

border-radius:30px;

font-weight:600;

margin-bottom:25px;

}

.about-right p{

font-size:18px;

line-height:1.9;

margin-bottom:20px;

color:#555;

}

.core-values{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

gap:30px;

}

.value-card{

background:white;

padding:35px;

border-radius:20px;

box-shadow:0 15px 40px rgba(0,0,0,.08);

transition:.4s;

position:relative;

overflow:hidden;

}
.value-number{

    position:absolute;

    bottom:15px;
    right:20px;

    font-size:75px;
    font-weight:800;

    color:#000000;
    opacity:.12;

    line-height:1;

    user-select:none;
    pointer-events:none;

}

.value-card h3,
.value-card p{

    position:relative;
    z-index:2;

}
.value-card h3{

color:var(--primary);

margin-bottom:15px;

font-size:24px;

}

.value-card p{

color:#666;

line-height:1.8;

}

@media(max-width:992px){

.about-wrapper{

grid-template-columns:1fr;

text-align:center;

}

.about-left{

margin-bottom:20px;

}

.about-header h2{

font-size:42px;

}

}

.join{

padding:100px 8%;
background:#fff;

}

.join-container{

max-width:900px;
margin:auto;
background:#fff;
padding:40px;
border-radius:18px;
box-shadow:0 15px 40px rgba(0,0,0,.08);

}

.form-row{

display:grid;
grid-template-columns:1fr 1fr;
gap:20px;
margin-bottom:20px;

}

.input-group{

display:flex;
flex-direction:column;

}

.input-group label{

font-weight:600;
margin-bottom:8px;
color:#7d0000;

}

.input-group input,
.input-group textarea,
.input-group select{

padding:15px;
border:1px solid #ddd;
border-radius:10px;
font-size:15px;
font-family:Poppins,sans-serif;
outline:none;
transition:.3s;

}

.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus{

border-color:#b8860b;
box-shadow:0 0 10px rgba(184,134,11,.2);

}

.join button{

margin-top:20px;

}

@media(max-width:768px){

.form-row{

grid-template-columns:1fr;

}

.join-container{

padding:25px;

}

}

/* ===========================
   Gallery Lightbox
=========================== */

.lightbox{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.9);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.lightbox.active{
    display:flex;
}

.lightbox img{
    max-width:90%;
    max-height:90%;
    border-radius:10px;
    box-shadow:0 10px 40px rgba(0,0,0,.5);
}

.close-lightbox{
    position:absolute;
    top:20px;
    right:40px;
    color:#fff;
    font-size:45px;
    cursor:pointer;
    font-weight:bold;
}

/* ===========================
   GALLERY
=========================== */

.gallery{
    padding:80px 8%;
    background:#f8f8f8;
}

.gallery h2{
    text-align:center;
    margin-bottom:40px;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:20px;
    width:100%;
}

.gallery-grid img{
    width:100%;
    height:280px;
    object-fit:cover;
    border-radius:15px;
    cursor:pointer;
    transition:all .45s ease;
    box-shadow:0 8px 20px rgba(0,0,0,.15);
}

.gallery-grid img:hover{

    transform:translateY(-8px) scale(1.03);

    box-shadow:
        0 0 10px rgba(255,215,0,.7),
        0 0 25px rgba(255,215,0,.6),
        0 0 45px rgba(255,215,0,.45),
        0 15px 35px rgba(0,0,0,.35);

}

.gallery h2{
    text-align:center;
    font-size:52px;
    color:#6b0000;
    margin-bottom:15px;
    position:relative;
}

.gallery h2::after{

    content:"";

    width:90px;
    height:5px;

    background:#d4af37;

    display:block;

    margin:18px auto 0;

    border-radius:20px;

}
.developer-credit a{
    color:#ffffff;
    font-weight:bold;
    letter-spacing:.5px;
    text-decoration:none;
    transition:.3s;
}

.developer-credit a:hover{
    color:#d4af37;
    text-decoration:underline;
}

.footer-bottom{
    margin-top:40px;
    padding-top:20px;
    border-top:1px solid rgba(255,255,255,.15);

    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
}

.footer-bottom p{
    color:#fff;
    font-size:15px;
    margin:0;
}

.footer-bottom a{
    color:#FFD700;
    text-decoration:none;
    font-weight:700;
    transition:.3s;
}

.footer-bottom a:hover{
    color:#ffffff;
    text-decoration:underline;
}

