* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #172033;
    background: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1150px, 92%);
    margin: auto;
}


/* =========================
   TOP BAR
========================= */

.top-bar {
    background: #071b41;
    color: #ffffff;
    font-size: 13px;
}

.top-bar-content {
    display: flex;
    justify-content: flex-end;
    gap: 28px;
    padding: 8px 0;
}


/* =========================
   HEADER
========================= */

.header {
    background: #ffffff;
    border-bottom: 1px solid #e8ebf0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    /* removed gap, since there is no text */
}


/* REAL ISMT LOGO – now auto‑width, fixed height */

.logo-mark {
    width: auto;          /* let the image decide width */
    height: 70px;         /* adjust this value if your logo is bigger/smaller */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: transparent;
    border: none;
    overflow: hidden;
}

.logo-mark img {
    height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
}

/* .brand-text is removed from HTML, so these styles are no longer used.
   You can keep them or delete them – they won't affect anything. */

.navigation {
    display: flex;
    gap: 30px;
    align-items: center;
}

.navigation a {
    color: #27344d;
    font-size: 14px;
    font-weight: 600;
    transition: 0.25s;
}

.navigation a:hover {
    color: #0b2b68;
}

.menu-button {
    display: none;
    background: none;
    border: none;
    font-size: 25px;
    cursor: pointer;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 570px;
    position: relative;
    background:
        linear-gradient(
            115deg,
            #071b41 0%,
            #0c3476 60%,
            #1657a5 100%
        );
    color: white;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    border: 70px solid rgba(255, 255, 255, 0.05);
    right: -120px;
    top: 45px;
}

.hero-content {
    min-height: 570px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 700px;
}

.welcome-badge {
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.35);
    padding: 7px 14px;
    border-radius: 4px;
    font-size: 12px;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 68px);
    line-height: 1.08;
    margin-bottom: 22px;
}

.hero h1 span {
    display: block;
    color: #e2b33f;
}

.hero p {
    max-width: 640px;
    color: #e5ecf8;
    font-size: 17px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 13px 24px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    transition: 0.25s;
}

.primary-btn {
    background: #d9a72e;
    color: #081a3c;
}

.primary-btn:hover {
    transform: translateY(-2px);
}

.outline-btn {
    border: 1px solid rgba(255,255,255,0.6);
    color: #ffffff;
}

.outline-btn:hover {
    background: #ffffff;
    color: #0b2b68;
}

.hero-card {
    width: 310px;
    padding: 34px;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
}

.hero-card-icon {
    font-size: 42px;
    margin-bottom: 15px;
}

.hero-card h3 {
    margin-bottom: 10px;
    font-size: 21px;
}

.hero-card p {
    font-size: 14px;
    margin: 0;
}


/* =========================
   HIGHLIGHTS
========================= */

.highlights {
    background: #f7f8fa;
    border-bottom: 1px solid #e7e9ee;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.highlight-item {
    padding: 25px 15px;
    text-align: center;
    border-right: 1px solid #e1e4e9;
}

.highlight-item:last-child {
    border-right: none;
}

.highlight-item strong {
    display: block;
    color: #0b2b68;
    font-size: 18px;
}

.highlight-item span {
    color: #6b7280;
    font-size: 13px;
}


/* =========================
   SECTIONS
========================= */

.section {
    padding: 90px 0;
}

.two-column {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.section-label {
    color: #b18420;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section h2 {
    color: #0b2b68;
    font-size: clamp(32px, 4vw, 45px);
    line-height: 1.15;
    margin-bottom: 20px;
}

.section h2 span {
    color: #b18420;
}

.section p {
    color: #606b7d;
    margin-bottom: 16px;
}

.text-link {
    color: #0b2b68;
    font-weight: 700;
}

.about-card {
    background: #f5f7fa;
    padding: 40px;
    border-left: 5px solid #d9a72e;
}

.about-card-number {
    font-size: 46px;
    color: #d9a72e;
    font-weight: 800;
    margin-bottom: 10px;
}

.about-card h3 {
    color: #0b2b68;
    font-size: 25px;
    margin-bottom: 10px;
}


/* =========================
   PROGRAMMES
========================= */

.programs-section {
    background: #f7f8fa;
}

.section-heading {
    max-width: 650px;
    margin: 0 auto 45px;
    text-align: center;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.program-card {
    background: #ffffff;
    padding: 34px;
    border: 1px solid #e3e6eb;
    border-radius: 6px;
    transition: 0.25s;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.program-card.featured {
    border-top: 4px solid #d9a72e;
}

.program-icon {
    font-size: 34px;
    margin-bottom: 16px;
}

.program-card h3 {
    color: #0b2b68;
    font-size: 21px;
    margin-bottom: 12px;
}

.program-card p {
    font-size: 14px;
}

.program-card a {
    color: #0b2b68;
    font-weight: 700;
    font-size: 14px;
}


/* =========================
   ADMISSIONS
========================= */

.admission-section {
    background: #0b2b68;
    color: #ffffff;
    padding: 65px 0;
}

.admission-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.admission-section h2 {
    font-size: 42px;
    line-height: 1.15;
    margin-bottom: 12px;
}

.admission-section h2 span {
    color: #e2b33f;
}

.admission-section p {
    color: #dce5f5;
    margin: 0;
}

.light {
    color: #e2b33f;
}

.white-btn {
    background: #ffffff;
    color: #0b2b68;
    white-space: nowrap;
}


/* =========================
   CONTACT
========================= */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.contact-card {
    border: 1px solid #e3e6eb;
    padding: 30px;
    text-align: center;
}

.contact-icon {
    font-size: 28px;
    margin-bottom: 10px;
}

.contact-card h3 {
    color: #0b2b68;
    margin-bottom: 5px;
}

.contact-card p {
    margin: 0;
}


/* =========================
   FOOTER
========================= */

.footer {
    background: #071b41;
    color: #ffffff;
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 45px;
}

/* Updated footer logo – same auto‑width, fixed height */
.footer-logo {
    display: inline-flex;
    width: auto;
    height: 70px;          /* match header height */
    align-items: center;
    justify-content: flex-start;
    background: transparent; /* remove white background */
    margin-bottom: 15px;
    overflow: hidden;
}

.footer-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
}

.footer h4 {
    color: #e2b33f;
    margin-bottom: 15px;
}

.footer a,
.footer p {
    display: block;
    color: #cbd5e6;
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-description {
    max-width: 400px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 18px 0;
    color: #9daac0;
    font-size: 12px;
}


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

@media (max-width: 850px) {

    .navigation {
        display: none;
        position: absolute;
        top: 82px;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    }

    .navigation.active {
        display: flex;
    }

    .menu-button {
        display: block;
    }

    .hero-card {
        display: none;
    }

    .hero-content {
        min-height: 520px;
    }

    .highlight-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .two-column {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .program-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .admission-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}


@media (max-width: 550px) {

    .top-bar-content {
        justify-content: center;
        flex-wrap: wrap;
        gap: 5px 15px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .highlight-grid {
        grid-template-columns: 1fr;
    }

    .highlight-item {
        border-right: none;
        border-bottom: 1px solid #e1e4e9;
    }

    /* smaller logo on small screens */
    .logo-mark {
        height: 55px;
    }

    .footer-logo {
        height: 55px;
    }
}
