:root {
    --navy: #0b2f59;
    --navy-2: #073963;
    --gold: #f2a000;
    --gold-dark: #d78c00;
    --cream: #fffaf1;
    --blue-soft: #f4f9fd;
    --text: #243447;
    --muted: #6f7c8a;
    --line: #e4ebf1;
    --white: #fff;
    --shadow: 0 14px 40px rgba(11,47,89,.08);
    --radius: 16px;
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    background: #fff;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
svg { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }
.section { padding: 84px 0; }

h1, h2, h3 { margin: 0 0 16px; color: var(--navy); line-height: 1.08; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 700; }
h1 { font-size: clamp(2.8rem, 5vw, 5.2rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 3vw, 3rem); letter-spacing: -.025em; }
h3 { font-size: 1.08rem; }
p { margin: 0 0 20px; color: #596677; }

.eyebrow {
    position: relative;
    display: inline-block;
    margin-bottom: 14px;
    padding-left: 42px;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .73rem;
    font-weight: 800;
    color: var(--navy);
}
.eyebrow::before { content: ""; position: absolute; left: 0; top: 50%; width: 28px; height: 3px; border-radius: 3px; background: var(--gold); transform: translateY(-50%); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 800;
    transition: .25s ease;
    border: 1px solid transparent;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--gold), #ffad10); box-shadow: 0 9px 22px rgba(242,160,0,.24); }
.btn-primary:hover { transform: translateY(-2px); background: var(--gold-dark); }
.btn-outline { color: var(--gold-dark); border-color: rgba(242,160,0,.65); background: #fff; }
.btn-outline:hover { color: #fff; background: var(--gold); }

.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(228,235,241,.9); backdrop-filter: blur(12px); }
.header-inner { height: 76px; display: flex; align-items: center; gap: 24px; }
.brand { flex: 0 0 280px; }
.brand img { width: 265px; max-height: 48px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 24px; flex: 1; }
.main-nav a { position: relative; padding: 28px 0 26px; color: #294664; font-size: .84rem; font-weight: 700; white-space: nowrap; }
.main-nav a::after { content: ""; position: absolute; left: 50%; bottom: 16px; width: 0; height: 2px; background: var(--gold); transition: .25s ease; transform: translateX(-50%); }
.main-nav a:hover, .main-nav a.active { color: var(--gold-dark); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.header-cta { flex: 0 0 auto; min-height: 44px; padding-inline: 20px; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; padding: 9px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--navy); }

.hero { overflow: hidden; background: linear-gradient(90deg, #f7fbff 0%, #f7fbff 38%, #fff 100%); }
.hero-grid { min-height: 500px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: stretch; }
.hero-copy { align-self: center; position: relative; z-index: 2; padding: 80px 40px 80px 0; }
.hero-copy p { max-width: 610px; margin-bottom: 28px; font-size: 1rem; }
.hero-image { position: relative; min-height: 500px; margin-right: calc((100vw - min(100vw - 40px, var(--container))) / -2); }
.hero-image::before { content: ""; position: absolute; z-index: 2; inset: 0 auto 0 0; width: 35%; background: linear-gradient(90deg, #f7fbff 0%, rgba(247,251,255,.82) 38%, transparent 100%); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.section-copy p { max-width: 590px; }
.value-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.value-card { min-height: 220px; padding: 32px 24px; border: 1px solid #edf1f5; border-radius: var(--radius); background: linear-gradient(180deg,#fff,#fbfdff); box-shadow: var(--shadow); }
.value-card p { margin: 0; font-size: .88rem; }
.icon-box, .stat-icon { color: var(--gold); }
.icon-box { width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 12px; background: #fff8ea; }
.icon-box svg { width: 27px; height: 27px; }
.icon-box.small { width: 42px; height: 42px; margin: 0 auto 12px; }

.stats-section { padding-top: 60px; background: linear-gradient(180deg,#fff, #fffdfa 50%, #fff); }
.stats-panel { display: grid; grid-template-columns: repeat(5,1fr); margin-top: 30px; padding: 34px 20px; border-radius: 18px; background: linear-gradient(90deg,#f8fbff,#fff7e8); border: 1px solid #eef1f3; }
.stat-item { position: relative; text-align: center; padding: 2px 20px; }
.stat-item:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 12%; height: 76%; width: 1px; background: #d9e0e6; }
.stat-icon svg { width: 28px; height: 28px; }
.stat-item strong { display: block; margin: 8px 0 2px; color: var(--navy); font-size: 1.85rem; line-height: 1; }
.stat-item span { display: block; max-width: 120px; margin: 0 auto; color: #5c6977; font-size: .83rem; line-height: 1.3; }

.section-heading-row { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 28px; }
.institution-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.institution-card { overflow: hidden; border: 1px solid #e8eef3; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); transition: .25s ease; }
.institution-card:hover { transform: translateY(-6px); }
.institution-card > img { width: 100%; height: 190px; object-fit: cover; }
.card-body { padding: 22px; }
.card-body p { min-height: 44px; margin-bottom: 12px; font-size: .9rem; }
.card-body a { color: var(--gold-dark); font-size: .88rem; font-weight: 800; }

.founder-section { overflow: hidden; padding: 70px 0; background: radial-gradient(circle at 19% 35%, rgba(242,160,0,.11), transparent 30%), linear-gradient(90deg,#fff9ef,#fff); }
.founder-grid { display: grid; grid-template-columns: .9fr 1.15fr .75fr; gap: 46px; align-items: center; }
.founder-portrait { align-self: end; }
.founder-portrait img { width: 100%; max-height: 360px; object-fit: cover; object-position: center top; border-radius: 28px 28px 0 0; mix-blend-mode: multiply; }
.founder-copy p { font-size: .94rem; }
.founder-quote { margin: 0; padding: 24px 8px 24px 34px; border-left: 1px solid #e5dccd; }
.quote-mark { display: block; color: var(--gold); font-family: Georgia,serif; font-size: 4rem; line-height: .8; }
.quote-mark.muted { color: #e6edf4; }
.founder-quote p { color: var(--navy); font-family: Georgia,serif; font-size: 1.35rem; font-style: italic; line-height: 1.35; }
.founder-quote strong { color: var(--navy); }

.president-section { padding-bottom: 68px; }
.president-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 55px; align-items: center; }
.president-grid > img { width: 100%; height: 280px; object-fit: cover; object-position: center; border-radius: 14px; box-shadow: var(--shadow); }
.president-grid p { font-size: .98rem; }
.president-grid strong, .president-grid small { display: block; color: var(--navy); }
.president-grid small { color: #697888; }
.signature-line { width: 40px; height: 3px; margin: 18px 0 10px; background: var(--gold); }

.achievements-section { padding-top: 38px; }
.achievements-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: stretch; gap: 42px; }
.achievement-items { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 30px; }
.achievement-item { padding: 18px; text-align: center; border-right: 1px solid #e3e9ee; }
.achievement-item:last-child { border-right: 0; }
.achievement-item span { color: #435365; font-size: .82rem; font-weight: 700; line-height: 1.3; }
.achievement-image { overflow: hidden; border-radius: 14px; }
.achievement-image img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }

.activities-section { padding-bottom: 50px; }
.activity-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 28px; }
.activity-card { position: relative; overflow: hidden; height: 180px; border-radius: 14px; background: #123; }
.activity-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 35%,rgba(0,21,46,.86)); }
.activity-card img { width: 100%; height: 100%; object-fit: cover; transition: .35s ease; }
.activity-card:hover img { transform: scale(1.05); }
.activity-card span, .activity-card b { position: absolute; z-index: 2; bottom: 18px; color: #fff; }
.activity-card span { left: 18px; font-weight: 800; }
.activity-card b { right: 18px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); }

.gallery-section { padding-top: 40px; }
.gallery-strip { display: grid; grid-template-columns: 1.15fr 1.25fr 1.05fr 1.3fr 1.2fr; gap: 10px; }
.gallery-strip a { display: block; overflow: hidden; height: 145px; border-radius: 10px; }
.gallery-strip img { width: 100%; height: 100%; object-fit: cover; transition: .35s ease; }
.gallery-strip a:hover img { transform: scale(1.06); }

.site-footer { margin-top: 20px; color: #fff; background: linear-gradient(120deg,#07365e,#062b4e); }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr .75fr; gap: 70px; padding: 46px 0 36px; }
.footer-brand img { width: 300px; padding: 8px 10px; border-radius: 10px; background: #fff; }
.footer-brand p { margin-top: 14px; color: #bdd0e1; font-size: .86rem; }
.site-footer h3 { color: #fff; font-size: .95rem; }
.footer-link-grid { display: grid; grid-template-columns: repeat(2,minmax(100px,1fr)); gap: 7px 20px; }
.footer-links a { color: #d8e5ef; font-size: .86rem; }
.footer-links a:hover { color: var(--gold); }
.social-row { display: flex; gap: 11px; }
.social-row a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--navy); font-size: .78rem; font-weight: 900; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.13); }
.footer-bottom-inner { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-bottom p, .footer-bottom a, .footer-bottom span { margin: 0; color: #9fb4c8; font-size: .75rem; }
.footer-bottom span { margin: 0 10px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
    .brand { flex-basis: 230px; }
    .brand img { width: 220px; }
    .main-nav { gap: 14px; }
    .main-nav a { font-size: .76rem; }
    .header-cta { display: none; }
    .hero-grid { grid-template-columns: 1fr 1fr; }
    .value-cards { gap: 12px; }
    .founder-grid { grid-template-columns: .8fr 1.2fr; }
    .founder-quote { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; border-left: 0; border-top: 1px solid #eadfce; padding: 28px 0 0; }
    .founder-quote p { margin: 0; }
}

@media (max-width: 900px) {
    .section { padding: 68px 0; }
    .header-inner { height: 70px; }
    .brand { flex: 1; }
    .menu-toggle { display: block; }
    .main-nav { position: fixed; z-index: 1001; left: 0; right: 0; top: 70px; bottom: 0; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 24px 28px 60px; background: #fff; transform: translateX(100%); transition: .28s ease; overflow-y: auto; }
    .main-nav.open { transform: translateX(0); }
    .main-nav a { padding: 15px 0; border-bottom: 1px solid #edf1f4; font-size: 1rem; }
    .main-nav a::after { display: none; }
    .hero-grid { min-height: auto; grid-template-columns: 1fr; }
    .hero-copy { padding: 70px 0 35px; }
    .hero-image { min-height: 330px; margin: 0 -20px; }
    .hero-image::before { inset: 0 0 auto; width: 100%; height: 28%; background: linear-gradient(180deg,#f7fbff,transparent); }
    .about-grid, .president-grid, .achievements-grid { grid-template-columns: 1fr; }
    .value-cards { grid-template-columns: repeat(3,1fr); }
    .stats-panel { grid-template-columns: repeat(3,1fr); row-gap: 30px; }
    .stat-item:nth-child(3)::after, .stat-item:last-child::after { display: none; }
    .institution-grid { grid-template-columns: repeat(2,1fr); }
    .institution-card:last-child { grid-column: 1 / -1; max-width: 50%; }
    .founder-grid { grid-template-columns: .75fr 1.25fr; }
    .achievement-image { max-height: 300px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-social { grid-column: 1 / -1; }
}

@media (max-width: 650px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .section { padding: 54px 0; }
    h1 { font-size: 2.75rem; }
    h2 { font-size: 2.15rem; }
    .brand img { width: 205px; }
    .hero-image { margin: 0 -14px; min-height: 260px; }
    .value-cards, .institution-grid, .activity-grid { grid-template-columns: 1fr; }
    .value-card { min-height: 0; }
    .stats-panel { grid-template-columns: repeat(2,1fr); padding: 28px 8px; }
    .stat-item::after { display: none !important; }
    .stat-item:last-child { grid-column: 1 / -1; }
    .section-heading-row { align-items: flex-start; flex-direction: column; }
    .institution-card:last-child { grid-column: auto; max-width: none; }
    .institution-card > img { height: 180px; }
    .founder-grid { grid-template-columns: 1fr; gap: 28px; }
    .founder-portrait img { max-height: 360px; object-position: center 15%; }
    .founder-quote { display: block; }
    .president-grid { gap: 26px; }
    .president-grid > img { height: 240px; }
    .achievement-items { grid-template-columns: repeat(2,1fr); }
    .achievement-item:nth-child(2) { border-right: 0; }
    .activity-card { height: 190px; }
    .gallery-strip { grid-template-columns: repeat(2,1fr); }
    .gallery-strip a { height: 120px; }
    .gallery-strip a:last-child { grid-column: 1 / -1; }
    .footer-grid { grid-template-columns: 1fr; gap: 34px; }
    .footer-social { grid-column: auto; }
    .footer-bottom-inner { flex-direction: column; align-items: flex-start; padding: 18px 0; }
}
