@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap');

*{
    margin: 0;
    padding: 0;
    font-family: "Josefin Sans", sans-serif;
    overflow-x: hidden;
}

body {
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

.header{
    min-height: 100vh;
    width: 100%;
    /* background-image: linear-gradient(rgba(39, 38, 38, 0.7),rgba(56, 56, 56, 0.7)),url("images/4.jpg"); */
    background-image: url("images/2.jpg");
    background-position: center;
    background-size: cover;
    /* background-repeat: no-repeat;
    background-attachment: fixed; */
    position: relative;
}

nav{
    display: flex;
    padding: 0.8% 3%;
    justify-content: center;
    align-items: center;
    background-color: #fff;
}

nav img{
    width: 200px;
}

.nav-links{
    flex: 1;
    text-align: right;
}

.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 10px 10px 0;
    position: relative;
}

.nav-links ul li a{
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 13px;
}

.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 1.5px;
    background: rgb(51, 173, 255);
    display: block;
    margin: auto;
    transition: 0.5s;
} 

.nav-links ul li:hover::after{
    width: 100%;
} 

.nav-links ul li a.active {
    color: #29b7f0;
    font-weight: bold;
}

.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}

.text-box h1{
    font-size: 12px;
    /* font-weight: 400; */
}

.text-box h1 img{
    width: 350px;
    margin-bottom: 105px;
}

.text-box p{
    margin: 10px 0 40px;
    font-size: 16px;
    color: #fff;
}

nav .fa-solid{
    display: none;
}


@media(max-width: 700px){
    .text-box h1 img{
        width: 270px;
    }

    .nav-links ul li{
        display: block;
    }

    .nav-links{
        position: absolute;
        background: #fff;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }

    .nav-links ul li::after{
        background: #fff;        
    }

    .nav-links ul li a.active {
        color: #29b7f0;
        /* border: 2px solid black; */
        font-weight: bolder;
    }

    nav .fa-solid{
        display: block;
        color: #29b7f0;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }

    nav .fa-bars{
        color: #29b7f0  ;
        margin-left: 60px;
    }

    .nav-links ul{
        padding: 30px;
    }

    .nav-links ul li{
        margin-top:8px;
    }
}

.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: #29b7f0;
    border: 1px solid #29b7f0;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    margin-left: 145px;
    cursor: pointer;
}

.hero-btn:hover{
    border: 1px solid #29b7f0;
    background: #29b7f0;
    color: #fff;
    transition: 0.5s;
}


.campus{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 30px;
}

.campus h1{
    font-size: 60px;
    padding: 20px;
    color: #29b7f0;
}

.row {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    padding-top : 20px;
    /* padding-bottom : 20px; */
}


.campus-col{
    flex-basis: 370px;
    border: 1px solid #056489;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease-in-out;
    margin-bottom: 20px;
    
}

.campus-col:hover {
    transform: scale(0.95); /* Zoom out effect */
}


.campus-col img{
    height: 550px;
    width: 100%;
    display: block;
}









footer {
    background-color: #111;
    color: #fff;
    padding: 60px 0 20px;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    width: 85%;
    margin: auto;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-col {
    flex-basis: 25%;
    margin-bottom: 20px;
}

.footer-col h3 {
    margin-bottom: 20px;
    font-size: 18px;
    color: #29b7f0;
}

.footer-col p, 
.footer-col ul, 
.footer-col .contact-info {
    font-size: 16px;
    line-height: 24px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #29b7f0;
}

.footer-bottom-text {
    text-align: center;
    font-size: 14px;
    margin-top: 10px;
}

@media (max-width: 700px) {
    .footer-row {
        flex-direction: column;
        align-items: center;
    }

    .footer-col {
        flex-basis: 100%;
        text-align: center;
    }

}
