@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
    --navy: #0a192f;
    --blue-dark: #0d47a1;
    --blue: #1565c0;
    --blue-light: #42a5f5;
    --orange: #e65100;
    --orange-bright: #ff9800;
    --whatsapp: #25d366;
    --text: #1a237e;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(13, 71, 161, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Top contact bar */
.top-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    background: var(--navy);
    color: #e8e8e8;
    padding: 10px 24px;
    font-size: 13px;
}

.top-bar__left {
    justify-self: start;
    min-width: 0;
}

.top-bar__center {
    justify-self: center;
}

.top-bar__right {
    justify-self: end;
}

.top-bar__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #e8e8e8;
    text-decoration: none;
    transition: color 0.2s;
    max-width: 100%;
}

a.top-bar__item:hover {
    color: #fff;
}

.top-bar__item i {
    color: #90caf9;
    font-size: 15px;
    flex-shrink: 0;
}

.top-bar__left .top-bar__item span:last-child {
    line-height: 1.3;
}

.top-bar__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
}

.top-bar__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.top-bar__btn--whatsapp {
    background: var(--whatsapp);
    color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.top-bar__btn--whatsapp i {
    font-size: 18px;
}

/* Main header — Ummeed-style */
.main-header {
    background: var(--white);
    box-shadow: var(--shadow);
    border-bottom: 3px solid var(--blue-light);
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-header__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
    min-width: 0;
}

.brand__emblem {
    position: relative;
    flex-shrink: 0;
    width: 72px;
    height: 72px;
}

.brand__stars {
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 7px;
    color: var(--orange-bright);
    letter-spacing: 2px;
    line-height: 1;
}

.brand__ring {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid var(--blue);
    background: linear-gradient(145deg, #e3f2fd 0%, #bbdefb 100%);
    box-shadow: inset 0 0 0 2px #fff, 0 2px 8px rgba(21, 101, 192, 0.2);
}

.brand__ring i {
    font-size: 28px;
    color: var(--blue-dark);
}

.brand__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.brand__name {
    display: block;
    font-size: clamp(0.75rem, 1.8vw, 1.15rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.01em;
    white-space: nowrap;
    background: linear-gradient(180deg, #42a5f5 0%, #1565c0 45%, #0d47a1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@media (max-width: 900px) {
    .brand__name {
        white-space: normal;
    }
}

.brand__reg {
    display: inline-block;
    margin-top: 4px;
    padding: 3px 8px;
    font-size: 0.58rem;
    font-weight: 600;
    color: #fff;
    background: #212121;
    border-radius: 4px;
    letter-spacing: 0.02em;
    width: fit-content;
    max-width: 100%;
}

/* Navigation */
.nav-toggle {
    display: none;
    background: none;
    border: 2px solid var(--blue);
    color: var(--blue-dark);
    font-size: 1.25rem;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 28px;
}

.main-nav a {
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
    padding: 6px 0;
    position: relative;
    transition: color 0.2s;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--blue-light);
    transition: width 0.25s ease;
}

.main-nav a:hover {
    color: var(--blue);
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav a.active {
    color: var(--blue-light);
    font-weight: 700;
}

.main-nav a.active::after {
    width: 100%;
    background: var(--blue-light);
}

/* Hero — inner pages */
.hero--page {
    text-align: center;
    padding: 60px 24px 70px;
    background: linear-gradient(135deg, #0d47a1 0%, #1565c0 40%, #1976d2 70%, #42a5f5 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero--page::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 152, 0, 0.12) 0%, transparent 45%);
    pointer-events: none;
}

.hero--page > * {
    position: relative;
    z-index: 1;
}

.hero--page h2 {
    margin: 0 0 12px;
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero--page p {
    margin: 0 auto 10px;
    max-width: 640px;
    font-size: 1.05rem;
    opacity: 0.95;
}

.hero--page__lead {
    margin-bottom: 20px !important;
}

.hero--page__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero--page__badge i {
    color: var(--orange-bright);
}

/* About page */
.content--about {
    padding: 48px 24px 72px;
}

.content__inner--about {
    max-width: 960px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-intro {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    background: #fff;
    border-radius: 16px;
    padding: 36px 40px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--blue);
}

.about-intro__icon {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: var(--blue-dark);
    font-size: 1.75rem;
}

.about-intro__text h3 {
    margin: 0 0 14px;
    font-size: 1.45rem;
    color: var(--blue-dark);
}

.about-intro__text p {
    margin: 0 0 14px;
    color: #444;
    line-height: 1.75;
}

.about-intro__text p:last-child {
    margin-bottom: 0;
}

.about-mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.about-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px 30px;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.about-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(13, 71, 161, 0.18);
}

.about-card--mission {
    border-left: 5px solid var(--orange-bright);
}

.about-card--vision {
    border-left: 5px solid var(--blue);
}

.about-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #e3f2fd;
    color: var(--blue);
    font-size: 1.2rem;
    margin-bottom: 14px;
}

.about-card--mission .about-card__icon {
    background: #fff3e0;
    color: var(--orange);
}

.about-card h4 {
    margin: 0 0 10px;
    font-size: 1.15rem;
    color: var(--blue-dark);
}

.about-card p {
    margin: 0;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
}

.about-section-head {
    text-align: center;
}

.about-section-head__label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 6px;
}

.about-section-head h3 {
    margin: 0 0 10px;
    font-size: 1.5rem;
    color: var(--blue-dark);
}

.about-section-head__desc {
    margin: 0 auto;
    max-width: 620px;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.65;
}

.about-pillars {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.about-pillar {
    background: #fff;
    border-radius: 14px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.2s, border-color 0.2s;
    border-bottom: 3px solid transparent;
}

.about-pillar:hover {
    transform: translateY(-4px);
    border-bottom-color: var(--blue-light);
}

.about-pillar__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--blue) 0%, var(--blue-dark) 100%);
    color: #fff;
    font-size: 1.35rem;
}

.about-pillar h4 {
    margin: 0 0 10px;
    font-size: 1.05rem;
    color: var(--blue-dark);
}

.about-pillar p {
    margin: 0;
    font-size: 0.88rem;
    color: #555;
    line-height: 1.65;
}

.about-highlights {
    margin: 0 !important;
}

@media (max-width: 900px) {
    .about-mission-grid {
        grid-template-columns: 1fr;
    }

    .about-pillars {
        grid-template-columns: 1fr;
    }

    .about-intro {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 28px 24px;
    }
}

/* Hero — home (full banner layout) */
.hero--home {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    color: #fff;
    text-align: left;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1503676260728-1c00da094a0b?w=1920&q=80');
    background-size: cover;
    background-position: center;
    filter: blur(2px);
    transform: scale(1.05);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(10, 25, 47, 0.92) 0%,
        rgba(13, 71, 161, 0.78) 45%,
        rgba(21, 101, 192, 0.65) 100%
    );
}

.hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 56px 32px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 520px;
}

.hero__content {
    max-width: 720px;
}

.hero__title {
    margin: 0 0 18px;
    font-size: clamp(1.75rem, 4.5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.hero__highlight {
    color: var(--orange-bright);
}

.hero__subtitle {
    margin: 0 0 20px;
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    line-height: 1.65;
    opacity: 0.92;
    max-width: 560px;
}

.hero__divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    max-width: 320px;
}

.hero__divider-line {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.35);
}

.hero__divider i {
    color: var(--orange-bright);
    font-size: 0.85rem;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 22px;
    border-radius: 12px;
    font-family: inherit;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    border: 2px solid transparent;
    min-width: 200px;
}

.hero__btn > i {
    font-size: 1.35rem;
    flex-shrink: 0;
}

.hero__btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hero__btn-text strong {
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero__btn-text small {
    font-size: 0.72rem;
    font-weight: 500;
    opacity: 0.9;
    text-transform: none;
    letter-spacing: 0;
    margin-top: 2px;
}

.hero__btn--support {
    background: linear-gradient(180deg, #ffb74d 0%, #ff9800 50%, #f57c00 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(245, 124, 0, 0.45);
}

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

.hero__btn--support:hover {
    box-shadow: 0 8px 28px rgba(245, 124, 0, 0.55);
}

.hero__trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 0.8rem;
    opacity: 0.85;
}

.hero__trust-badge i {
    color: var(--orange-bright);
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 40px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero__stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 8px;
}

.hero__stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
}

.hero__stat-icon i {
    font-size: 1.15rem;
    color: var(--orange-bright);
    line-height: 1;
}

.hero__stat-icon i::before {
    display: block;
}

.hero__stat-text {
    font-size: 0.8rem;
    line-height: 1.35;
    opacity: 0.95;
}

.hero__stat-text strong {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
}

@media (max-width: 900px) {
    .hero__stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero__inner {
        padding: 40px 20px 24px;
        min-height: auto;
    }

    .hero--home {
        min-height: auto;
    }
}

@media (max-width: 520px) {
    .hero__stats {
        grid-template-columns: 1fr;
    }

    .hero__btn {
        width: 100%;
        min-width: unset;
    }
}

.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(180deg, #ffb74d 0%, #ff9800 50%, #f57c00 100%);
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(245, 124, 0, 0.45);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(245, 124, 0, 0.55);
}

.btn-primary--link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    background: #fff;
    color: var(--blue-dark);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid var(--blue);
    border-radius: 50px;
    transition: background 0.2s, color 0.2s;
}

.btn-secondary:hover {
    background: var(--blue-dark);
    color: #fff;
}

/* Page content */
.content {
    padding: 56px 24px 72px;
    background: #f8fafc;
}

.content--home {
    padding: 48px 24px 64px;
}

.content__inner {
    max-width: 820px;
    margin: 0 auto;
}

.content__inner--grid {
    max-width: 820px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.college-teaser {
    background: #fff;
    border-radius: 12px;
    padding: 36px 40px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--orange-bright);
    text-align: center;
}

.college-teaser--school {
    border-left-color: #7b1fa2;
}

.institution-overview--school .college-overview__badge {
    background: #7b1fa2;
}

.college-teaser__label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 8px;
}

.college-teaser h3 {
    margin: 0 0 12px;
    font-size: 1.35rem;
    color: var(--blue-dark);
}

.college-teaser p {
    margin: 0 auto 24px;
    max-width: 560px;
    color: #555;
    line-height: 1.7;
}

.college-teaser__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.college-overview {
    background: #fff;
    border-radius: 12px;
    padding: 40px 44px;
    box-shadow: var(--shadow);
}

.college-overview__badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: var(--blue);
    padding: 5px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.college-overview h3 {
    margin: 0 0 20px;
    font-size: 1.5rem;
    color: var(--blue-dark);
    line-height: 1.3;
}

.college-overview p {
    margin: 0 0 16px;
    color: #444;
    line-height: 1.75;
}

.college-overview__note {
    margin-top: 24px !important;
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
}

.institution-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.btn-secondary--facebook {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary--facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: #fff;
}

.college-highlights {
    list-style: none;
    margin: 28px 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.college-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    background: #e3f2fd;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
}

.college-highlights i {
    color: var(--blue);
    margin-top: 2px;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 900px) {
    .top-bar {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .top-bar__left,
    .top-bar__center,
    .top-bar__right {
        justify-self: center;
        width: 100%;
    }

    .top-bar__item {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: var(--shadow);
        padding: 16px 24px 20px;
        border-top: 1px solid #e0e0e0;
    }

    .main-nav.is-open {
        display: block;
    }

    .main-header {
        position: relative;
    }

    .main-header__inner {
        flex-wrap: wrap;
        position: relative;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .brand__emblem {
        width: 56px;
        height: 56px;
    }

    .brand__ring {
        width: 56px;
        height: 56px;
    }

    .brand__ring i {
        font-size: 22px;
    }

    .college-overview,
    .college-teaser {
        padding: 28px 22px;
    }
}
