@import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=Baloo+2:wght@400..800&family=Baloo+Bhaijaan+2:wght@400..800&family=Butcherman&family=Cutive+Mono&family=Fredoka:wght@300..700&family=Gothic+A1&family=Gravitas+One&family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Libertinus+Sans:ital,wght@0,400;0,700;1,400&family=Luckiest+Guy&family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Nanum+Pen+Script&family=Nata+Sans:wght@100..900&family=Nosifer&family=Noto+Sans+NKo&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Paprika&family=Parisienne&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Playwrite+VN+Guides&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&family=Protest+Revolution&family=Raleway:ital,wght@0,100..900;1,100..900&family=Roboto+Flex:opsz,wght@8..144,100..1000&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Rubik+Doodle+Shadow&family=Rubik+Spray+Paint&family=Sen:wght@400..800&family=Shadows+Into+Light&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=Baloo+2:wght@400..800&family=Baloo+Bhaijaan+2:wght@400..800&family=Butcherman&family=Cutive+Mono&family=Fredoka:wght@300..700&family=Google+Sans+Flex:opsz,wght@6..144,1..1000&family=Gothic+A1&family=Gravitas+One&family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Libertinus+Sans:ital,wght@0,400;0,700;1,400&family=Luckiest+Guy&family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Nanum+Pen+Script&family=Nata+Sans:wght@100..900&family=Nosifer&family=Noto+Sans+NKo&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Paprika&family=Parisienne&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Playwrite+VN+Guides&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&family=Protest+Revolution&family=Raleway:ital,wght@0,100..900;1,100..900&family=Roboto+Flex:opsz,wght@8..144,100..1000&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Rubik+Doodle+Shadow&family=Rubik+Spray+Paint&family=Sen:wght@400..800&family=Shadows+Into+Light&display=swap');

:root {
    --primary-color: #001f3f;
    --secondary-color: #04417e;
    --bg-color: #fffafa;
    --font-head: 'Montserrat', Arial;
    --font-para: 'Nunito Sans', Arial;
    --muted: #848485dd;
    --text-color: #111;
    --text-light: #ffffff;
    --radius: 8px;
    --glass-border: rgba(255, 255, 255, 0.6);
    --shadow: 0 4px 10px rgba(176, 179, 188, 0.107);
}

html, body {
    height: 100%;
}

body {
    font-family: var(--font-para);
    margin: 0;
    background: var(--bg-color);
    color: var(--text-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.45;
    scroll-behavior: smooth;
}

h1, h2, h3, h4 {
    color: #05305c;
    font-weight: 500;
    font-family: var(--font-head);
}

a, p {
    font-family: var(--font-para);
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1999;
    box-shadow: var(--shadow);
    background: var(--primary-color);
    border-bottom: 1px solid #04417e;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary);
    color: white;
    padding: 10px;
}

.brand {
    display: flex;
    align-items: center;
    margin-right: 5px;
    gap: 10px;
}

.brand_logo {
    background: linear-gradient(180deg,#1d558e, #001f3f);
    box-shadow: 0 2px 10px rgba(115, 130, 174, 0.349);
    border-radius: 10px;
    padding: 4px;
    display: block;
    font-size: 25px;
    font-weight: 700;
}

.brand_wrap {
    margin: inherit;
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

.logo a {
    text-decoration: none;
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-light);
}

.brand_wrap p {
    font-size: 12px;
    font-weight: 600;
    color: #b1b1b1;
}


.nav_ul {
    list-style: none;
    display: flex;
    gap: 25px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav_link {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
    text-decoration: none;
    transition: all .4s ease;
}

.nav_ul a {
    transition: border-bottom .4s ease;
}

.nav_ul a:hover {
    transition: all .4s ease;
    border-bottom: 1px solid #fff;
}

.nav_ul a:active {
    color: #3b3b3b;
}

.hero {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 50px;
}

.hero_wrap {
    margin: 0 20px;
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
}

.hero_content {
    line-height: 1.4;
}

.hero_content h2 {
    font-size: 25px;
    font-weight: 700;
}

.hero_content .fa-regular {
    color: #04417e;
}

.hero_para {
    font-size: 16px;
}

.hero_btn {
    margin: 30px auto;
    display: flex;
    gap: 10px;
}

.btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
    transition: all .3s ease;
}

.btn.primary {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
    transition: all .3s ease;
    background: #04417e;
}

.btn.primary:hover {
    color: #fff;
    background: var(--primary-color);
}

.btn.secondary {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
}

.btn.secondary:hover {
    color: #fff;
    transition: all .3s ease;
    background: #04417e;
}


/*.ads p {
    font-size: 0.9rem;
    color: #777;
    text-align: center;
    margin-top: 20px;
}

.ads-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}
.ads-grid img {
    max-width: 100px;
    width: 54px;
    height: 54px;
    opacity: 0.7;
    transition: opacity .3s ease;
}

.ads-grid img:hover {
    opacity: 1;
}*/

.about {
    margin: 20px 0;
    margin-bottom: 30px;
}

.about h1 {
    text-align: center;
    font-weight: 700;
    margin-bottom: 40px;
}

.about_wrap {
    margin: 0 20px;
    display: flex;
    gap: 40px;
}

.about_img {
    break-inside: avoid;
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
}

.about_img img {
    width: 100%;
    height: 85%;
    object-fit: cover;
    display: block;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform .4s ease;
}

.about_wrap img:hover {
    transform: scale(1.05);
    transition: transform 0.6s ease;
}

.about_content {
    text-align: center;
    max-width: 550px;
}

.about_content h1 {
    color: #04417e;
}

.about_rating {
    text-align: center;
    line-height: 1.4;
}

.about_rating span {
    color: #daa520;
    font-size: 25px;
    font-weight: 900;
}

.featured {
    margin-top: 70px;
    margin-bottom: 30px;
}

.featured_content {
    text-align: center;
}

.featured_content h1 {
    font-weight: 700;
}

.grid {
    display: grid;
    align-items: center;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    padding: 20px 0;
    margin: 50px;
}

.featured_card {
    position: relative;
    margin: 0 auto;
    padding: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--primary-color);
    background: linear-gradient(180deg, #ffffff, #fbfbff);
    box-shadow: 0 6px 18px rgba(13, 30, 60, 0.06);
    transition: transform .25s ease, box-shadow .25s ease;
    max-width: 280px;
    height: auto;
    display: flex;
    flex-direction: column;
    font-size: .95rem;
    text-align: center;
}

.featured_card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 30px rgba(13, 30, 60, 0.10);
}

.featured_card img {
    display: block;
    width: 100%;
    height: 160px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    transition: transform .4s ease;
}

.featured_card:hover img {
    transform: scale(1.03);
}

.featured_desc {
    line-height: 1.3;
    padding: 12px;
    flex-grow: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: transparent;
}

.featured_desc h3 {
    line-height: 0;
    font-weight: 600;
    font-size: 20px;
}

.featured_desc p {
    margin: 0;
    color: var(--text-color);
    font-size: .92rem;
}

.btn.featured {
    width: 100%;
    padding: 8px 12px;
    font-size: 0.85rem;
    margin-top: 8px;
    align-self: flex-start;
    border-radius: 999px;
    background: var(--secondary-color);
    color: var(--text-light);
    transition: background .2s ease, transform .15s ease;
}

.btn.featured:hover {
    color: #fff;
    /*transform: translateY(-2px);*/
    background: var(--primary-color);
}

.featured_icons {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

.featured_icons p {
    background: rgba(255, 255, 255, 0.9);
    color: #666;
    border: 1px solid #eee;
    border-radius: 999px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: .78rem;
    transition: background .2s ease, color .2s ease, transform .12s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.featured_icons .fa-solid {
    font-size: 12px;
    color: var(--secondary-color);
}

.faculty {
    margin: 70px 0;
    margin-bottom: 30px;
}

.faculty_content {
    text-align: center;
}

.faculty_content h1 {
    font-weight: 700;
}

.faculty_grid {
    margin: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 10px;
}

.faculty_card {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 420px;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.faculty_card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    opacity: 0.1;
    z-index: 1;
    transition: width .4s ease, backdrop-filter .4s ease;
}

.faculty_card:hover::after {
    backdrop-filter: blur(10px);
    width: 100%;
}

.faculty_overlay{
    position: absolute;
    bottom: 5%;
    left: 3%;
    z-index: 2;
    background: rgba(0, 0, 0, 0);
    color:  var(--text-light);
    padding: 20px;
    text-align: left;
    transition: background .3s ease;
    border-radius: 2px;
}

.faculty_overlay h2 {
    padding-bottom: 0.8rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-light);
}


.faculty_card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.faculty_desc {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 14px 16px;
    background: linear-gradient(180deg, 60% #aaaaaa9d, #fafafa5b 40%);
    backdrop-filter: blur(5px);
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s ease-in;
    border-radius: 2px;
    text-align: left;
    pointer-events: none;
}

.faculty_card:hover .faculty_desc {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.faculty_desc h2 {
    color: var(--text-light);
    font-weight: 700;
}

.faculty_desc p {
    color: #fff;
    line-height: 1.45;
    font-weight: 400;
}

.faculty_gallery {
    margin: 70px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.faculty_content h1 {
    margin-bottom: 40px;
}

.faculty_gallery img {
    width: 85%;
    height: 450px;
    display: block;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact {
    margin: 70px 0;
    margin-bottom: 30px;
}

.contact h1 {
    font-weight: 700; 
    text-align: center;
    margin-bottom: 40px;
}

.contact_wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.contact_form {
    color: var(--text-light);
    background: linear-gradient(to right, #1d558e, #05305c);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    padding: 20px;
}

.contact_form h2,
.contact_form p {
    text-align: center;
}

.contact_info {
    list-style: none;
}


.contact_img img {
    width: 500px;
    height: 700px;
    display: block;
    object-fit: cover;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
}

footer {
    background: #001f3f;
    color: var(--text-light);
    padding: 50px;
}

.footer_wrap {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    gap: 20px;
    border-bottom: 1px solid #fff;
}

.footer_section {
    max-width: 500px;
    margin-bottom: 10px;
}

.footer_section h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer_section p {
    color: #e9e6e6;
}

.footer_social a {
    text-decoration: none;
    font-size: 16px;
    color: #fff;
}

.footer_section li a {
    color: #e9e6e6;
    text-decoration: none;
    transition: all .3s ease;
}

.footer_section li a:hover {
    color: #b5b4b4;
}

.footer_section li a:active {
    color: #eee;
}

.footer_bottom {
    margin-top: 20px;
    text-align: center;
}

/* make sure card content fits nicely on very small screens */
@media (max-width: 420px) {
    .featured_card {
        max-width: 220px;
    }
    .featured_card img {
        height: 140px;
    }
    .featured_desc {
        padding: 10px;
    }
    .btn.featured {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}
