*{
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    scroll-behavior: smooth;
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

section {
    justify-items: center;
}

#main-content {
    padding: 0px;
    min-height: 100vh;
    position: relative;
    z-index: 1;
    overflow: hidden;
  }

h1{
    font-size: 50px;
    text-align: center;
    margin: 20px;
    padding: 20px;
    text-transform: uppercase;
    font-weight: bolder;
    text-decoration: underline;
}
.banner{
    width: 100%;
/*     border: 1px solid #fff; */
    min-height:150vh;
    flex-direction: column;
    justify-content: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.75),rgba(0, 0, 0, 0.5)),url(home.webp);
    background-size: cover;
    overflow:hidden;
    background-repeat:no-repeat;
    background-position: center;
}
.navbar{
    width: 95%;
    margin: auto;
    padding: 20px 0;
/*     position: relative; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* float: right; */
}

.logo{
    width: 250px;
    cursor: pointer;
}

.navbar ul li{
    list-style: none;
    display: inline-block;
    margin: 10px 0px 10px 20px;
    position: relative;
    margin-right: 20px;
}
.navbar ul li a{
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
}
#col {
    background: #452d2d;
}
.navbar ul li::after{
    content: '';
    height: 3px;
    width: 0;
    background: #009688;
    position: absolute;
    left: 0;
    bottom: -10px;
    transition: 0.5s;
}
.navbar ul li:hover::after{
    width: 100%;
}
/* ===== Search Bar ===== */
.search-bar {
  margin: 20px auto;
  text-align: center;
}

.search-bar input {
  width: 60%;
  max-width: 400px;
  padding: 12px 15px;
  border: 2px solid #00bcd4;
  border-radius: 25px;
  font-size: 16px;
  outline: none;
  transition: 0.3s;
}

.search-bar input:focus {
  border-color: #007b8e;
  box-shadow: 0 0 8px rgba(0, 188, 212, 0.6);
}

@media screen and (max-width: 768px) {
  .search-bar input {
    width: 90%;
  }
}

.content{
    width: 90%;
    top: 40%;
    margin-top: 80px;
    flex-direction: column;
    text-align: center;
    padding: 20px;
    margin-bottom: 150px;
    /* display: flex; */
    transform: translate(-50);
    text-align: center;
    color: #fff;
    align-items: center;
    
}
.content h1{
    font-size: 70px;
    margin-top: 80px;  
    text-decoration: none; 
}
.content p{
    margin: 20px auto;
    font-weight: 500;
    line-height: 25px;

}

button{
    width: 30%;
    padding: 15px 0;
    text-align: center;
    margin: 20px 10px;
    border-radius: 25px;
    margin-left: 30px;
    margin-top: 30px;
    font-size: 15px;
    font-weight: bold;
    border: 2px solid #009688;
    background: transparent;
    color: white;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

a {
    text-decoration: none; /* Remove underline */
    width: 100%; /* Ensures full-width behavior */
    max-width: 400px;
    color: #fff;
    overflow: hidden;
  }
a .toggle-btn:hover {
    color: white;
    font-weight: bold;
    overflow: hidden;
}

#math23 {
    text-align: center;
/*     margin: 20px 10px; */
    border-radius: 25px;
    font-weight: bold;
    border: 2px solid #009688;
    background: #452d2d;
    color: white;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    width: 60%;
  max-width: 500px;
  text-align: center;
  margin: 20px auto;
  margin-left: 30px;
  margin-right: 32px;
  margin-top: 30px;
}

span{
    background-color: #009688;
    height: 100%;
    width: 70%;
    border-radius: 50px;
    position: relative;
    left: 0;
    bottom: 0;
    z-index: -1;
    transition: 0.5s;
}
button:hover::after span{
    width: 100%;
    left: 100%;

}
button:hover{
    z-index: 10;
    transform: scale(1.15);
    background-color: #009688;
    transition: 1s; 
}

.bannero{
    width: 100%;
    min-height: 100vh;
    background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
    background-size: cover;
    background-repeat:no-repeat;
    background-position: center;
    overflow: hidden;
}

.banner1{
    width: 100%;
    min-height: 240vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.234),rgba(0, 0, 0, 0.748)),url(f1y.webp);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.banner2{
    width: 100%;
    min-height: 180vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.234),rgba(0, 0, 0, 0.748)),url(chem.webp);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.banner3{
    width: 100%;
    min-height: 180vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.073),rgba(0, 0, 0, 0.982)),url(mech.webp);
    background-size: cover;
    background-position: center;
}
.banner4{
    width: 100%;
    min-height: 180vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.336),rgba(0, 0, 0, 0.749)),url(phy.webp);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.banner5{
    width: 100%;
    min-height: 180vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0),rgba(0, 0, 0, 0.749)),url(elec.webp);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.banner6{
    width: 100%;
    min-height: 150vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0),rgba(0, 0, 0, 0.749)),url(pps.webp);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.banner7{
    width: 100%;
    min-height: 130vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.354),rgba(0, 0, 0, 0.319)),url(ss1.webp);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.banner8{
    width: 100%;
    min-height: 150vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.43),rgba(0, 0, 0, 0.316)),url(evs.webp);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.banner9{
    width: 100%;
    min-height: 160vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.16),rgba(0, 0, 0, 0.673)),url(math.webp);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

#contact h1{
    height: 25px;
    font-weight: bolder;
    text-decoration: solid;
    border-bottom: 2px solid;
    padding: 15px;
    margin: 10px;
    width: 220px;
}

#contact h4{
    text-align: center;
    padding: 2px;
    text-decoration: underline;
    text-decoration: underline;
}

summary{
    font-size: 30px;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    padding: 10px;
    margin: 10px;
    text-decoration: underline;
}
.name{
    font-size: 20px;
    text-transform: uppercase;
    text-align: left;
    padding: 10px;
    margin: 10px;
}

.back{
background: radial-gradient(#f0f4fd, #a8caf9);
background-size: cover;
background-repeat: no-repeat;
align-items: center center;
margin: 0%;
overflow:hidden;
padding: 0%;
}


.ripple-button {
    position: relative;
    padding: 12px 24px;
    font-size: 16px;
    color: white;
    background: #007bff;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    overflow: hidden;
    outline: none;
    transition: background 0.3s;
}

.ripple {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
to {
    transform: scale(4);
    opacity: 0;
}
}

/* Iframe Container */
.iframe-container {
    width: 100%;
    max-width: 100%;
    height: 720px;
    display: none;
    margin-top: 20px;
    border: 2px solid #007bff;
    border-radius: 8px;
    overflow: hidden;
}

#dinoIframeContainer {
    width: 95%;
    max-width: 100%;
    height: 720px;
    margin: 0 auto;
}

.hidden {
    display: none;
}

#second,#common-second, #python-second, #first-year
, #tc, #math{
    display: none;
    align-items: baseline;
    flex-wrap: wrap;
}

.pdf-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 20px;
}

/* Style the embedded PDF */
.pdf-viewer {
    width: 90%; 
    height: 600px; 
    border: 3px solid #ccc;
    border-radius: 10px; 
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Soft shadow */
    background: #f9f9f9; 
    transition: all 0.3s ease-in-out;
}

.pdf-viewer:hover {
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.3); /* Slightly stronger shadow */
    border-color: #007BFF; /* Change border color on hover */
}

.toggle-btn, .hide-btn {
    background-color:transparent; 
    color: white;
    border: 2px solid #009688;
    padding: 10px 15px;
    font-size: 15px;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s;
    width: 30%;
    padding: 15px 0;
    text-align: center;
    margin: 20px 10px;
    margin-left: 30px;
    margin-top: 30px;
    font-weight: bold;
    overflow: hidden;
}

.toggle-btn:hover {
    background-color: #009688;
    transform: scale(1.1);
    transition: 1s;
}

.hide-btn:hover {
    background-color: #FF4B4B;
    transition: 1s;
}

.tooltip-container {
  position: relative;
  display: inline-block;
  width: 95%;
}

.tooltip-text {
  visibility: hidden;
  width: 70px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 6px 8px;
  position: absolute;
  z-index: 1;
  bottom: 125%; /* Show above the button */
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
}
.tooltip-container:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

    footer {
        background-color: #333;
        color: #fff;
        text-align: center;
        padding: 10px 0;
        position: sticky;
        width: 100%;
    }
    
    body > footer {
        margin-top: auto;
    }

/*Responsive Iframe*/
iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/*Responsive Iframe*/
iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* 
mobile s */

@media (max-width: 321px) {
    html {
        font-size: 70%;
    }


    .navbar ul {
        display: grid;
        flex-direction: column;
        align-items: center;
        justify-content: space-around; 
        width: 70%;
        padding: 0;
    }
    
    .content h1{
        font-size: 40px;
        margin-top: 80px;  
        text-decoration: none; 
    }

    .logo{
        width: 150px;
        height: max-content;
    }

    .banner{
        width: 100%;
        height: 180vh;
    }
    
  .bannero{
        width: 100%;
        height: 300vh;
    }
    
    .banner1{
        width: 100%;
        height: 300vh;
    }
    .banner2{
        width: 100%;
        height: 230vh;
    }
    .banner3{
        width: 100%;
        height: 250vh;
    }
    .banner4{
        width: 100%;
        height: 230vh;
    }
    .banner5{
        width: 100%;
        height: 250vh;
    }
    .banner6{
        width: 100%;
        height: 260vh;
    }
    .banner7{
        width: 100%;
        height: 250vh;
    }
    .banner8{
        width: 100%;
        height: 250vh;
    }
    .banner9{
        width: 100%;
        height: 250vh;
    }
    .content {
        top: 40%;
    }
    button{
        width: 60%;
        padding: 20px;
        text-align: center;
        margin: 10px 10px;
        border-radius: 45px;
        font-weight: bold;
        border: 2px solid #009688;
        background: transparent;
        color: white;
        cursor: pointer;
        position: relative;
        font-size: 15px;
        overflow: hidden;
    }
}

/* mobile medium */
@media (min-width: 321px) and (max-width: 427px) {
    html {
        font-size: 70%;
    }

    .logo{
        width: 150px;
        height: max-content;
    }

    .navbar ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-around; 
        width: 100%;
        padding: 0;
    }

    .navbar ul li {
        list-style: none;
        margin: 10px 0; /* Space around each item */
    }

    .navbar ul li a{
        font-size: 20px;
    }

    .banner{
        width: 100%;
        height: 200vh;
    }
    
  .bannero{
        width: 100%;
        height: 150vh;
    }
    
    .banner1{
        width: 100%;
        height: 300vh;
    }
    .banner2{
        width: 100%;
        height: 230vh;
    }
    .banner3{
        width: 100%;
        height: 250vh;
    }
    .banner4{
        width: 100%;
        height: 230vh;
    }
    .banner5{
        width: 100%;
        height: 250vh;
    }
    .banner6{
        width: 100%;
        height: 260vh;
    }
    .banner7{
        width: 100%;
        height: 250vh;
    }
    .banner8{
        width: 100%;
        height: 250vh;
    }
    .banner9{
        width: 100%;
        height: 250vh;
    }
    .content {
        top: 60%;
    }
    .navbar {
        width: 95%;
        margin: 0px;
        padding: 20px 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        float: right;
    }
    .navbar ul li a{
        font-size: 15px;
    }
    button{
        width: 60%;
        padding: 20px;
        text-align: center;
        margin: 20px 10px;
        border-radius: 45px;
        font-weight: bold;
        border: 2px solid #009688;
        background: transparent;
        color: white;
        cursor: pointer;
        position: relative;
        font-size: 20px;
        overflow: hidden;
    }
}

@media (max-width: 281px) {
    .logo{
        width: 140px;
        height: max-content;
    }
    .navbar ul {
        display: grid;
        flex-direction: column;
        align-items: center;
        justify-content: space-around; 
        width: 70%;
        padding: 0;
    }

    .navbar ul li {
        list-style: none;
        margin: 10px 0; /* Space around each item */
    }

    .navbar ul li a{
        font-size: 15px;
    }
    
.bannero{
        width: 120%;
        height: 320vh;
    }
    
    .banner1{
        width: 120%;
        height: 320vh;
    }
}
@media (min-width: 560px) and (max-width: 642px)  {
    
 
    .navbar ul {
        display: contents;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        width: 70%;
        padding: 0;
    } 

    .logo {
        width: 200px;
    }
}


@media (min-width: 426px) and (max-width: 560px)  {
    
 .content{
    font-weight: bold;
 }
    .navbar ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-around; 
        width: 60%;
        padding: 0;
    }

    .navbar ul li {
        list-style: none;
        margin: 10px 0; /* Space around each item */
    }

    .navbar ul li a{
        font-size: 15px;
    }
    button{
        width: 60%;
        padding: 20px;
        text-align: center;
        margin: 20px 10px;
        border-radius: 35px;
        font-weight: bold;
        border: 2px solid #009688;
        background: transparent;
        color: white;
        cursor: pointer;
        position: relative;
        font-size: 20px;
        overflow: hidden;
    }
    .banner{
        width: 100%;
        height: 180vh;
    }
