.nav {
    display: flex;
    height: 75px;
    background-color: #EDD012;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    position: relative; 
    top: 0;
    transition: background-color 0.3s ease-in-out;
    z-index: 999;
}
.nav:hover{
    background-color: #d4b10f;
}
.nav div{
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    padding:10px 15px;
    transition: color 0.3s ease-in-out, transform 0.2s ease;
}
.nav div:hover{
    color:white;
    transform: scale(1.1);
}
.college{
    font-family:'Raleway', sans-serif;
    font-size: xx-large;
    color: #EDD012;
    font-weight: bold;
    background-color: black;
    height:80%;
    width:150px;
    align-content: center;
    text-align: center;
}

.college a{
    text-decoration: none;
    transition: color 0.3s ease-in-out;
    color: #EDD012;
}
.college a:hover{
    color: white;
    
}
.apply{
    margin-left: 50%;
}
.apply,.Visit,.req{
    font-size: larger;
    font-weight: 600;
    cursor:pointer;
}
.apply:hover{
    text-decoration: underline;
    font-family:'Raleway', sans-serif;
}
.Visit:hover{
    text-decoration: underline;
    font-family:'Raleway', sans-serif;
}
.req:hover{
    text-decoration: underline;
    font-family:'Raleway', sans-serif;
}
.req{
    margin-right: 50px;
}
.nav2{
    display:flex;
    height:50px;
    background-color: aliceblue;
    align-items: center;
    gap:10px;
    padding:0 20px;
}
.About{
    padding-top: 20%;
    padding-left: 20%;
}
.container{
    display: grid;

}

.college-info{
    display: flex;
    padding-left: 1%;
    flex-direction: row-reverse;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}
.college-info h1{
    font-family: 'Raleway', sans-serif;
    font-size: 30px;
    font-weight: 700;

}
.college-image{
    width: 300px;
    height: auto;
    border-radius: 4%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
}
.college-text{
    flex: 1;
}
.academic-departments{
    padding: 0% 1%;
    text-align: center;
}
.academic-departments .deaprtment {
  margin-bottom: 20px;
}
.academic-departments i{
    font-size: 48px;

}
.academic-departments h3{
    font-family: 'Raleway', sans-serif;
    font-size: 30px;
}
.know-more-btn {
    display: flex;
    margin-top: 10px;
    padding: 10px 20px;
    font-family: 'Raleway', sans-serif;
    background-color: #EDD012;
    color: black;
    max-width: 90px;
    text-align: center;
    width: 100%;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.button-container{
    display: flex;
    justify-content: center;
    align-items: center;

}
.know-more-btn:hover {
    background-color: goldenrod;
    color: white;
    transform: scale(1.1);
   
}
.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    
}
video {
    position: absolute;
    top: -13%;
    left: 0;
    width: 100%;
    height: 123%;
    object-fit: cover;
    clip-path: inset(10% 0 10% 0);
}
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 5px;
    background-color: #EDD012;
    z-index: 1000;
    transition: width 0.2s ease-in-out;
}


.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}
.overlay-text h1{
    font-family: 'Raleway', sans-serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}
footer{
    background-color: black;
    color: white;
    text-align: center;
    padding: 10px 0;
    width: 100%;
}
footer a{
    text-decoration: none;
    color: lightblue;
}
footer a:hover{
    color:white;
}
.container{
    margin-top: auto;
}
hr {
    border: 0;
    height: 1%;
    padding-top: 5px;
    position: relative;
    z-index: 1;
    background-color: #EDD012;
    margin: 20px 0;
    width: 100%;
}
.adm,.acad,.res,.stu,.abt{
    background-color:black;
    border:none;
    color:white;
    font-family: "IBM Plex Serif", serif;
    font-size:larger;
    border-radius: 5px;
    cursor:pointer;
    box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.adm:hover {
    transform: scale(1.1);
    box-shadow: 6px 6px 8px rgba(0, 0, 0, 0.3); 
  }
.acad:hover {
    transform: scale(1.1);
    box-shadow: 6px 6px 8px rgba(0, 0, 0, 0.3); 
}
.res:hover {
    transform: scale(1.1);
    box-shadow: 6px 6px 8px rgba(0, 0, 0, 0.3); 
}
.stu:hover {
    transform: scale(1.1);
    box-shadow: 6px 6px 8px rgba(0, 0, 0, 0.3); 
}
.abt:hover {
    transform: scale(1.1);
    box-shadow: 6px 6px 8px rgba(0, 0, 0, 0.3); 
}

.nav2>h2{
    margin:0px;
    cursor:pointer;
    text-decoration: none;
    font-size: medium;
}
.nav2>h2:hover{
    text-decoration: underline;
}
.nav2 > h2:nth-child(6) {
    margin-left: auto;
}
.page {
    width: 100%;
    height: 100vh;
    background: url(./campus_1.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top left;
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    filter: brightness(100%);
    position: relative;
    text-align: center;
}


.page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    background: rgba(0, 0, 0, 0.7);
}

h1 {
    margin: 0;
    padding: 0;
    font-size: 50px;
    color: white;
    position: relative;
    z-index: 1;
}
.discover {
    background-color: black;
    padding: 10px 20px;
    border: none;
    color: white;
    font-family: "IBM Plex Serif", serif;
    font-size: xx-large;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 20px;
}

.discover:hover {
    transform: scale(1.1);
    box-shadow: 6px 6px 8px rgba(0, 0, 0, 0.3);
}
body{
    margin:0px;
    padding:0px;
}
/* Responsive Styles */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        height: auto;
        padding: 10px 0;
    }

    .college {
        width: 100%;
        height: auto;
        padding: 10px 0;
    }

    .apply, .Visit, .req {
        margin-left: 0;
        margin-right: 0;
        padding: 10px 0;
    }

    .nav2 {
        flex-direction: column; 
        height: auto;
        padding: 10px 0;
    }

    .nav2 > h2 {
        margin-left: 0; 
        padding: 10px 0;
    }

    .nav2 > h2:nth-child(6) {
        margin-left: 0;
    }

    .page {
        background-position: center;
    }

    h1 {
        font-size: 30px;
    }

    .discover {
        font-size: large; 
    }
    .college-info{
        flex-direction: column;
        align-items: center;
    }
    .college-image{
        width: 100%;
        max-width: 300px;
    }
    .college-text{
        text-align: center;
    }
}