/*=================================================
            GOOGLE FONT & RESET
==================================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
    font-family:'Poppins',sans-serif;
}

body{
    background-color: #FAF6F0;
    color: #1C1917;
    overflow-x:hidden;
    line-height:1.7;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

img{
    width:100%;
    display:block;
}

a{
    text-decoration:none;
}

section{
    padding:90px 10%;
}

section h3{
    margin-top:20px;
    font-size:1.4rem;
    margin-bottom:20px;
    color:#0b3d2e;
    text-align:center;
}

.title{
    text-align:center;
    font-size:2.8rem;
    margin-bottom:60px;
    color:#0b3d2e;
    position:relative;
}

.desc{
    text-align:center;
    font-size:1rem;
    margin-bottom:60px;
    color:#0b3d2e;
    position:relative;
}

.quote{
    text-align:center;
    font-size:2rem;
    margin-bottom:60px;
    color:#0b3d2e;
    position:relative;
}

.title::after{
    content:'';
    width:120px;
    height:5px;
    background:#2ecc71;
    display:block;
    margin:15px auto;
    border-radius:10px;
}

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

nav{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 9%;
    background:rgba(0,0,0,.55);
    backdrop-filter:blur(12px);
    z-index:999;
}

.logon{
    color:#fff;
    font-size:1.8rem;
    font-weight:3000;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

nav ul{
    display:flex;
    list-style:none;
    gap:35px;
}

nav ul li a{
    color:white;
    transition:.3s;
    font-weight:500;
}

nav ul li a:hover{
    color:#3cff95;
}

.logo a{
    color:white;
    transition:.3s;
    font-size:1.8rem;
    font-weight:3000;
}

.logo a:hover{
    color:#3cff95;
}

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

.hero{
    height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
    background:url("images/tajmahal.jpg") center/cover;
}

.uh{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    background-position:center;
    background-repeat:no-repeat;
    background-attachment:fixed;
    background-size:cover;
    position:relative;
    background:url("images/uh.jpg") center/cover;
    padding:150px 10% 80px;
}

.kb{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    background-position:center;
    background-repeat:no-repeat;
    background-attachment:fixed;
    background-size:cover;
    position:relative;
    background:url("images/kb.jpg") center/cover;
    padding:150px 10% 80px;
}

.kg{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    background-position:center;
    background-repeat:no-repeat;
    background-attachment:fixed;
    background-size:cover;
    position:relative;
    position:relative;
    background:url("images/kg.jpg") center/cover;
    padding:150px 10% 80px;
}
.mn{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    background-position:center;
    background-repeat:no-repeat;
    background-attachment:fixed;
    background-size:cover;
    position:relative;
    background:url("images/mn.jpg") center/cover;
    padding:150px 10% 80px;
}

.pg{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    background-position:center;
    background-repeat:no-repeat;
    background-attachment:fixed;
    background-size:cover;
    position:relative;
    background:url("images/pg.jpg") center/cover;
    padding:150px 10% 80px;
}

.sb{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    background-position:center;
    background-repeat:no-repeat;
    background-attachment:fixed;
    background-size:cover;
    position:relative;
    background:url("images/sb.jpg") center/cover;
    padding:150px 10% 80px;
}

.tv{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    background-position:center;
    background-repeat:no-repeat;
    background-attachment:fixed;
    background-size:cover;
    position:relative;
    background:url("images/tv.jpg") center/cover;
    padding:150px 10% 80px;
}

.ks{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    background-position:center;
    background-repeat:no-repeat;
    background-attachment:fixed;
    background-size:cover;
    position:relative;
    background:url("images/ks.jpg") center/cover;
    padding:150px 10% 80px;
}
.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.55);
}

.hero-content{
    position:relative;
    color:white;
    text-align:center;
    z-index:10;
    max-width:900px;
}

.hero h1{
    font-size:5rem;
    letter-spacing:2px;
    margin-bottom:20px;
}

.hero h2{
    font-size:2rem;
    color:#7CFFB2;
    margin-bottom:20px;
}

.hero p{
    font-size:1.15rem;
    margin-bottom:40px;
}

.btn{
    display:inline-block;
    padding:10px 20px;
    background:#2ecc71;
    color:white;
    border-radius:40px;
    transition:.35s;
    font-weight:600;
}

.btn:hover{
    transform:translateY(-6px);
    background:#27ae60;
    box-shadow:0 15px 35px rgba(46,204,113,.4);
}

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

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:35px;
}

.card{
    padding:45px 30px;
    text-align:center;
    border-radius:18px;
    transition:.35s;
    box-shadow:0 10px 35px rgba(0,0,0,.08);
    background-color: #E4EBE4;
    color: #1C2E24;
    border: 1px solid rgba(28, 46, 36, 0.1);
}

.card:hover{
    transform:translateY(-12px);
}

.card i{
    font-size:55px;
    color:#2ecc71;
    margin-bottom:25px;
}

.card h3{
    margin-bottom:15px;
    color:#0b3d2e;
}

.card p{
    color:#555;
}

/*=================================================
                HERITAGE SECTION
==================================================*/

.heritage{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.heritage img{
    border-radius:20px;
    box-shadow:0 25px 50px rgba(0,0,0,.15);
}

.heritage h3{
    font-size:2.4rem;
    color:#0b3d2e;
    margin-bottom:20px;
}

.heritage p{
    margin-bottom:35px;
    color:#555;
}

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

.gallery{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:25px;
    text-align: center;
    font-size: 0.9rem;
    margin-top: 1.5rem;
}

.gallery img{
    height:280px;
    object-fit:cover;
    border-radius:18px;
    transition:.4s;
    cursor:pointer;
}

.gallery img:hover{
    transform:scale(1.05);
    box-shadow:0 20px 40px rgba(0,0,0,.2);
}

/*=================================================
                IMPACT SECTION
==================================================*/

.stats{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:30px;
    margin-top:50px;
}

.stats div{
    text-align:center;
    padding:45px;
    border-radius:20px;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
    transition:.35s;
    background-color: #E4EBE4;
    color: #1C2E24;
    border: 1px solid rgba(28, 46, 36, 0.1);
}

.stats div:hover{
    transform:translateY(-10px);
}

.stats h1{
    color:#2ecc71;
    font-size:3rem;
}

.stats p{
    margin-top:12px;
    color:#477a52;
    font-weight:500;
}

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

#contact{
    background:#0b3d2e;
    color:white;
    text-align:center;
}

#contact h2{
    font-size:3rem;
    margin-bottom:20px;
}

#contact p{
    margin-bottom:15px;
}


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

footer{
    background:#062118;
    color:white;
    text-align:center;
    padding:25px;
}

/*=================================================
                RESPONSIVE
==================================================*/

@media(max-width:991px){

.hero h1{
    font-size:3.4rem;
}

.hero h2{
    font-size:1.6rem;
}

.heritage{
    grid-template-columns:1fr;
}

nav{
    flex-direction:column;
    gap:20px;
    position: relative; 
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

nav ul{
    flex-wrap:wrap;
    justify-content:center;
}

}

@media(max-width:600px){

section{
    padding:300px 8%;
}

.hero h1{
    font-size:2.5rem;
}

.hero h2{
    font-size:1.2rem;
}

.title{
    font-size:2rem;
}

.btn{
    padding:14px 35px;
}
}

/* Makes the video fill the container responsively */
.video-player-container video {
    width: 100%;
    height: auto;
    display: block;
    outline: none;
}

/* Container holding the video */
.video-player-container {
    width: 100%;
    max-width: 850px;           /* Controls the maximum size of the video player */
    margin: 20px auto;          /* Centers the video player horizontally */
    aspect-ratio: 16 / 9;       /* Forces the perfect YouTube widescreen ratio */
    border-radius: 12px;        /* Matches YouTube's smooth rounded corners */
    overflow: hidden;           /* Ensures the video edges respect the border radius */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); /* Deep shadow to pop off dark/night themes */
    background-color: #000;     /* Prevents any flickering while loading */
}

/* The actual YouTube iframe inside the container */
.video-player-container iframe {
    width: 100%;
    height: 100%;
    border: none;               /* Removes default browser borders */
    display: block;
}

.video-player-container {
    width: 100%;
    max-width: 850px;
    margin: 20px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}