/*basically this page contain css of home page which we can use in other page as well */
* {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    letter-spacing: normal;
}

.hero {
    position: relative;
    width: 100%;
    min-height: 520px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* 🔥 Full background image */
.hero-bg {
    margin: 1%;
    border-radius: 10px;
    position: absolute;
    inset: 0;
    background-image: url("../images/home_page_banner.png");
    background-size: cover;        /* key line */
    background-position: center;   /* center crop */
    background-repeat: no-repeat;
}

/* Dark gradient overlay */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 722px;
    padding: 40px 6vw;          /* responsive horizontal spacing */
    margin-left: 3.5vw;          /* keeps content pushed from left */
    color: #fff;
    font-family: Inter, sans-serif;
}

.hero-content h1 {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: 'Inter';
    font-weight: 400;
}

.hero-content p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.hero-btn {
    padding: 8px 16px;
    font-size: 14px;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
/* Tablet */
@media (max-width: 1024px) {
    .hero-content {
        max-width: 720px;
        padding: 30px 5vw;
        margin-left: 5vw;
    }
}
@media (max-width: 768px) {
    .hero {
        min-height: 420px;
    }

    .hero-content {
        max-width: 100%;
        padding: 24px 20px;
        margin-left: 0;
    }

    .hero-content h1 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 20px 16px;
    }
    .hero-content h1 {
        font-size: 25px;
    }
}
/*end of hero section css*/

/*start of section two*/
.section-two {
    padding: 40px 20px;
    background: #fff;
}

.section-container {
    max-width: 1240px;
    margin: auto;
    display: flex;
    gap: 30px;
}

/* Left Image */
.image-box {
    flex: 1;
    /*background: #d9d9d9;*/
    border-radius: 10px;
    overflow: hidden;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Right Content */
.content-box {
    flex: 1.4;
    background: #f6f6f6;
    border-radius: 10px;
    padding: 40px;
}

.content-box h2 {
    font-size: 40px;
    margin-bottom: 15px;
    font-family: 'Inter';
    font-weight: 400;
}

.content-box .intro {
    font-size: 14px;
    margin-bottom: 20px;
    color:black;
    line-height: 1.6;
    font-weight: 300;
}

.read-more {
    background: #000;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 50px;
}

/* Vision / Mission */
.add-bottom-space{
    margin-bottom: 3%;
}
.info-block {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.info-block h3 {
    margin: 0 0 5px;
    font-size: 20px;
    font-family: Inter;
    font-weight: 400;
    word-wrap: break-word;
}

.info-block p {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    color: black;
}

.icon {
    width: 50px;
    height: 42px;
    background: #fff;
    border-radius: 10px;
}
@media (max-width: 768px) {
    .icon {
        width: 40px;
        height: 40px;
    }
    .read-more {
        margin-bottom: 24px;
    }
    .section-two {
        padding: 15px 10px;
    }
    .section-container {
        flex-direction: column;
        gap:20px;
    }
    .content-box h2 {
        font-size: 25px;
        margin-top: 1%;
        margin-bottom: 10px;
    }
    .content-box {
        padding: 12px;
    }
    .info-block {
        gap: 8px;
        margin-bottom: 10px;
    }
    .info-block h3 {
        font-size: 18px;
    }
}
/*end of section two*/

/*start of section three */

.board-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Inter', sans-serif;
    text-align: center;
}

.board-title {
    font-size: 40px;
    font-weight: 400;
    margin-bottom: 40px;
}

.board-members {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 120px;
}

.member {
    flex: 1 1 200px;
    max-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.member-photo {
    width: 100%;
    aspect-ratio: 1 / 1; /* keeps it square */
    border-radius: 50%;
    background: #D9D9D9;
    overflow: hidden;
    margin-bottom: 10px;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-name {
    font-weight: 600;
    font-size: 16px;
    margin: 1% 0 0 0;
}

.member-role {
    font-weight: 400;
    font-size: 14px;
    margin: 0;
}
@media (max-width: 768px) {

    .member-name {
        font-size: 15px;
        margin: 2% 0 0 0;
    }
    .member-role {
        font-size: 15px;
    }
    .board-container {
        padding: 15px;
        margin-top: 2%;
        margin-bottom: 5%;
    }
    .board-members {
        gap: 30px;
    }
    .board-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
}
/*end of section three */

/*start of section four */
.university-section {
    background: #f6f6f6;
    border-radius: 10px;
    padding: 40px;
    max-width: 1260px;
    margin: 60px auto;
    font-family: Inter, sans-serif;
}
.add-space-bottom{
    margin-bottom: 2% !important;
}

.uni-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    align-items: stretch;
}

.uni-image {
    flex-shrink: 0;
    max-width: 280px;
    width: 100%;
}

.uni-image img {
    width: 100%;
    height: 100%;
    /*max-height: 280px;     */
    object-fit: cover;
    object-position: top; /* 👈 THIS is the key */
    display: block;
    border-radius: 10px;
}

/* Right Content */
.uni-info {
    flex: 1;
}

/* Logo + Divider + Title */
.uni-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 20px;
}

.uni-logo {
    max-width: 223px;
    width: 100%;
}

/* Grey Divider */
.uni-divider {
    width: 1px;
    height: 60px;
    background: #bdbdbd;
    display: block;
}

/* Title */
.uni-header h2 {
    font-size: 40px;
    font-weight: 400;
    margin: 0;
}

/* Text */
.uni-info p {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    color:black;
}

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

/* Tablet */
@media (max-width: 992px) {
    .uni-header h2 {
        font-size: 32px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .uni-header {
        margin-bottom: 15px;
    }
    .uni-info p {
        text-align: left;
    }
    .university-section {
        margin: 10px auto;
        padding: 20px 15px;
    }
    .uni-container {
        flex-direction: column;
        text-align: center;
        gap:20px;
    }

    .uni-header {
        flex-direction: column;
        gap: 10px;
    }

    .uni-divider {
        width: 60px;
        height: 1px;
        display: none;
    }

    .uni-header h2 {
        font-size: 25px;
    }

}

/* Tablet */
@media (max-width: 992px) {
    /*.uni-image img {*/
    /*    max-height: 240px;*/
    /*}*/
}

/* Mobile */
@media (max-width: 768px) {
    .uni-image {
        max-width: 100%;
    }

    .uni-image img {
        max-height: none;
        object-position: top; /* stays top aligned */
    }
}
@media (max-width: 992px) {
    .uni-logo {
        max-width: 180px;
    }
}
@media (max-width: 768px) {
    .uni-logo {
        max-width: 140px;
        margin: 0 auto; /* center logo */
    }
}
@media (max-width: 480px) {
    .uni-logo {
        max-width: 130px;
    }
}


/*end of section four*/

