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

:root {
    --bg: #eef5fb;
    --surface: #f9fcff;
    --surface-soft: #e8f0f8;
    --ink: #102432;
    --muted: #4c6070;
    --brand: #1f5f85;
    --brand-deep: #0e3f5d;
    --accent: #c18b2d;
    --accent-soft: #f3dfb8;
    --line: #b5cadb;
    --shadow: 0 14px 40px rgba(34, 29, 26, 0.12);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    line-height: 1.65;
    color: var(--ink);
    background:
        radial-gradient(circle at 8% 10%, rgba(31, 95, 133, 0.16), transparent 28%),
        radial-gradient(circle at 90% 0%, rgba(193, 139, 45, 0.14), transparent 24%),
        var(--bg);
}

img {
    max-width: 100%;
    display: block;
}

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

section {
    padding: 92px 0;
    position: relative;
}

h1, h2, h3, h4 {
    font-family: 'Cinzel', serif;
    line-height: 1.25;
    letter-spacing: 0.01em;
    margin-bottom: 14px;
}

p {
    color: var(--muted);
    font-size: 1.04rem;
    margin-bottom: 14px;
}

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

ul {
    list-style: none;
}

.section-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 42px;
}

.section-title {
    font-size: clamp(2rem, 4.4vw, 2.95rem);
    color: var(--ink);
}

.section-subtitle {
    font-size: 1.08rem;
}

.eyebrow {
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
    color: #f2dfb6;
    margin-bottom: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    padding: 13px 26px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease, color 0.28s ease;
    cursor: pointer;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(90, 68, 32, 0.3);
}

.btn-primary:hover {
    color: #fff;
    box-shadow: 0 14px 28px rgba(90, 68, 32, 0.38);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.64);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.navbar {
    position: fixed;
    inset: 14px 0 auto;
    z-index: 1100;
}

.nav-container {
    width: min(1220px, 94%);
    margin: 0 auto;
    min-height: 70px;
    padding: 10px 18px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(247, 252, 255, 0.9);
    border: 1px solid rgba(74, 114, 141, 0.32);
    box-shadow: 0 12px 26px rgba(11, 33, 47, 0.2);
    backdrop-filter: blur(8px);
}

.nav-logo h2 {
    margin: 0;
    font-size: clamp(0.95rem, 2.1vw, 1.18rem);
    color: var(--brand-deep);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-link {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 10px;
    color: #1e3d54;
    font-weight: 600;
    font-size: 0.94rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
    background: rgba(31, 95, 133, 0.16);
    color: #102f46;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.bar {
    width: 26px;
    height: 3px;
    border-radius: 99px;
    background: var(--brand-deep);
    transition: all 0.3s ease;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 128px;
    padding-bottom: 86px;
    overflow: hidden;
}

.hero-background,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    background:
        linear-gradient(110deg, rgba(8, 28, 43, 0.8) 0%, rgba(12, 59, 86, 0.72) 52%, rgba(27, 41, 52, 0.68) 100%),
        linear-gradient(0deg, rgba(6, 17, 27, 0.3), rgba(6, 17, 27, 0.3));
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, 92%);
    margin: 0 auto;
}

.hero-text {
    width: min(700px, 100%);
    background: rgba(8, 27, 40, 0.5);
    border: 1px solid rgba(205, 228, 244, 0.36);
    box-shadow: var(--shadow);
    padding: clamp(24px, 4vw, 42px);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    color: #fff;
    margin-bottom: 12px;
}

.hero-subtitle {
    color: #efe9db;
    font-size: 1.08rem;
    max-width: 60ch;
}

.hero-buttons {
    margin: 24px 0 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-email {
    color: #ece2ce;
}

.hero-email p {
    color: #f3e8d3;
    margin-bottom: 8px;
}

.hero-email-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #fff3d5;
    border-bottom: 1px dashed rgba(255, 233, 190, 0.55);
    padding-bottom: 2px;
}

.about {
    background: linear-gradient(180deg, rgba(249, 252, 255, 0.98), rgba(234, 243, 250, 0.96));
}

.about-content {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 28px;
    align-items: start;
}

.about-text,
.about-info {
    display: grid;
    gap: 18px;
}

.about-image-container {
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid rgba(79, 62, 42, 0.2);
    box-shadow: var(--shadow);
}

.about-image {
    width: 100%;
    height: clamp(220px, 34vw, 330px);
    object-fit: cover;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.stat-item {
    border: 1px solid rgba(90, 68, 32, 0.2);
    background: var(--surface);
    border-radius: var(--radius-sm);
    padding: 18px 10px;
    text-align: center;
    box-shadow: 0 6px 16px rgba(34, 29, 26, 0.08);
}

.stat-number {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 2rem;
    color: var(--brand-deep);
}

.stat-label {
    margin-top: 3px;
    color: #5b4f41;
    font-weight: 600;
    font-size: 0.92rem;
}

.foundation-info {
    background: var(--surface);
    border: 1px solid rgba(90, 68, 32, 0.2);
    border-radius: var(--radius-md);
    padding: 22px;
    box-shadow: 0 10px 24px rgba(34, 29, 26, 0.08);
}

.foundation-info h3 {
    color: var(--brand-deep);
    font-size: 1.32rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.info-item {
    border: 1px solid rgba(90, 68, 32, 0.18);
    background: #fff;
    border-radius: 10px;
    padding: 11px 12px;
    display: grid;
    gap: 4px;
}

.info-item-full {
    grid-column: 1 / -1;
}

.info-label,
.detail-label {
    font-weight: 700;
    color: var(--brand-deep);
    font-size: 0.88rem;
}

.info-value,
.detail-value {
    color: #2c241e;
    font-weight: 600;
    word-break: break-word;
}

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

.info-card {
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(90, 68, 32, 0.2);
    background: linear-gradient(180deg, #fffdf9, #f8f1e2);
    box-shadow: 0 8px 18px rgba(34, 29, 26, 0.08);
}

.info-card i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 8px;
}

.info-card h3 {
    font-size: 1.16rem;
    color: #30261b;
}

.info-card p {
    margin: 0;
}

.mission {
    background: linear-gradient(135deg, #2e251a 0%, #0e3f5d 52%, #355b66 100%);
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 30px;
    align-items: center;
}

.mission-image {
    width: 100%;
    height: clamp(280px, 46vw, 490px);
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 243, 215, 0.36);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.32);
}

.mission-text {
    color: #fff;
}

.mission-text h2 {
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 2.55rem);
}

.mission-description,
.mission-belief {
    color: #f0e7d6;
}

.mission-values {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.value-item {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 235, 197, 0.34);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.value-item i {
    color: #f8ddb0;
    font-size: 1.55rem;
    margin-bottom: 6px;
}

.value-item h3 {
    font-size: 1.08rem;
    margin-bottom: 8px;
    color: #fff;
}

.value-item p {
    margin: 0;
    color: #f3ebdd;
    font-size: 0.94rem;
}

.programs {
    background: linear-gradient(180deg, #e9f2f9 0%, #f9fcff 100%);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.program-card {
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid rgba(90, 68, 32, 0.24);
    background: var(--surface);
    box-shadow: 0 10px 24px rgba(34, 29, 26, 0.08);
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, transparent 0%, rgba(138, 106, 47, 0.1) 80%);
}

.program-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #f6ebcf, #e8d7b4);
    border: 1px solid rgba(138, 106, 47, 0.32);
    margin-bottom: 12px;
}

.program-icon i {
    color: var(--brand-deep);
    font-size: 1.35rem;
}

.program-card h3 {
    font-size: 1.22rem;
    color: #2a2219;
}

.program-features {
    margin-top: 10px;
    display: grid;
    gap: 6px;
}

.program-features li {
    color: #493d31;
    font-weight: 600;
    font-size: 0.94rem;
    padding-left: 18px;
    position: relative;
}

.program-features li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent);
    position: absolute;
    left: 0;
    top: 9px;
}

.gallery {
    background: #10293a;
}

.gallery .section-title,
.gallery .section-subtitle {
    color: #f4efe4;
}

.carousel {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 20px 34px rgba(0, 0, 0, 0.34);
}

.carousel-item img {
    height: clamp(320px, 54vw, 560px);
    object-fit: cover;
}

.carousel-caption {
    text-align: left;
    left: 8%;
    right: 8%;
    bottom: 8%;
    background: linear-gradient(120deg, rgba(20, 17, 14, 0.84), rgba(34, 48, 55, 0.75));
    border-radius: 12px;
    padding: 14px 16px;
}

.carousel-caption h5 {
    color: #fff;
    margin-bottom: 6px;
    font-size: 1.2rem;
}

.carousel-caption p {
    color: #ece3d2;
    margin: 0;
    font-size: 0.96rem;
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: none;
}

.impact {
    background: linear-gradient(130deg, #0a2638, #145376 45%, #6a4f21 100%);
    color: #fff;
}

.impact .section-title,
.impact .section-subtitle {
    color: #fff;
}

.impact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.impact-stat {
    padding: 18px;
    border-radius: 14px;
    text-align: center;
    border: 1px solid rgba(255, 234, 193, 0.28);
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(4px);
}

.stat-icon {
    font-size: 1.8rem;
    color: #f6deae;
    margin-bottom: 6px;
}

.impact-stat .stat-number {
    color: #fff;
}

.impact-stat .stat-label {
    color: #f2e8d5;
}

.impact-description p {
    color: #e6dece;
}

.impact-features {
    display: grid;
    gap: 10px;
}

.feature-item {
    border: 1px solid rgba(255, 234, 193, 0.26);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px;
}

.feature-item i {
    color: #f7e4bf;
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.feature-item h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
    color: #fff;
}

.feature-item p {
    margin: 0;
    color: #efe4d2;
    font-size: 0.94rem;
}

.documents {
    background: linear-gradient(180deg, #f8fbff 0%, #e8f1f8 100%);
}

.documents-content {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 22px;
}

.document-card,
.document-viewer {
    border: 1px solid rgba(90, 68, 32, 0.2);
    background: #fffefb;
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: 0 10px 24px rgba(34, 29, 26, 0.08);
}

.document-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #f6e7c7, #e5d2ab);
    border: 1px solid rgba(138, 106, 47, 0.25);
    margin-bottom: 12px;
}

.document-icon i {
    color: var(--brand-deep);
    font-size: 1.44rem;
}

.document-details {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.detail-item {
    border: 1px solid rgba(90, 68, 32, 0.16);
    border-radius: 10px;
    background: #fff;
    padding: 10px;
    display: grid;
    gap: 4px;
}

.document-actions {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.document-list {
    margin-top: 16px;
}

.document-list h4 {
    font-size: 1.05rem;
}

.document-list ul {
    display: grid;
    gap: 8px;
    padding-left: 0;
}

.document-list li {
    border-left: 3px solid var(--brand);
    background: #fbf7ef;
    padding: 8px 10px;
    color: #4a3f34;
}

.document-note {
    margin-top: 10px;
    color: #4d3f30;
}

.iframe-container {
    width: 100%;
    min-height: 530px;
    border: 1px solid rgba(90, 68, 32, 0.2);
    border-radius: 12px;
    overflow: hidden;
    background: #f8f1e5;
}

.iframe-container iframe {
    width: 100%;
    min-height: 530px;
    border: 0;
}

.document-fallback {
    display: none;
    justify-content: center;
    align-items: center;
    min-height: 360px;
}

.fallback-content {
    text-align: center;
}

.fallback-content i {
    font-size: 2rem;
    color: var(--brand-deep);
    margin-bottom: 10px;
}

.transparency-note {
    margin-top: 20px;
    border: 1px solid rgba(90, 68, 32, 0.2);
    background: #f9fcff;
    border-radius: 12px;
    padding: 14px;
}

.note-content {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.note-content i {
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: 2px;
}

.note-text h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.note-text p {
    margin: 0;
}

.contact {
    background: linear-gradient(145deg, #0c2b3f, #185a7f 48%, #1f4a61 100%);
}

.contact .section-title,
.contact .section-subtitle {
    color: #fff;
}

.contact-content {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 22px;
}

.contact-info {
    display: grid;
    gap: 12px;
}

.contact-card,
.contact-form-section {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 235, 197, 0.28);
    border-radius: var(--radius-md);
    padding: 20px;
    color: #fff;
}

.contact-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.2);
    margin-bottom: 10px;
}

.contact-icon i {
    font-size: 1.2rem;
    color: #f7deb2;
}

.contact-card h3,
.contact-form-section h3 {
    color: #fff;
}

.contact-card p,
.contact-address,
.contact-form-section p {
    color: #efe5d3;
}

.contact-link {
    color: #fff7df;
    border-bottom: 1px dashed rgba(255, 233, 190, 0.55);
    font-weight: 600;
}

.contact-address {
    font-style: normal;
    margin: 0;
}

.contact-form {
    display: grid;
    gap: 12px;
}

.form-group {
    display: grid;
    gap: 6px;
}

.form-group label {
    font-weight: 600;
    color: #fff;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(255, 232, 194, 0.4);
    padding: 11px 12px;
    font-family: inherit;
    color: #2f2519;
    background: rgba(255, 255, 255, 0.95);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.footer {
    background: #0b1b27;
    color: #c4d6e2;
    padding: 62px 0 26px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
}

.footer-info h3 {
    color: #fff5df;
    font-size: 1.35rem;
}

.footer-info p,
.footer-contact p {
    color: #c4d6e2;
}

.footer-contact {
    margin-top: 12px;
    display: grid;
    gap: 6px;
}

.footer-contact i {
    color: #e8c98a;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.footer-section h4 {
    color: #fff1d2;
    font-size: 1.02rem;
}

.footer-section ul {
    display: grid;
    gap: 6px;
}

.footer-section a {
    color: #b6cfde;
    font-size: 0.94rem;
}

.footer-section a:hover {
    color: #d7ebf8;
}

.footer-bottom {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 234, 193, 0.18);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-bottom-content p {
    color: #9eb7c8;
    margin: 0;
    font-size: 0.9rem;
}

@media (max-width: 1200px) {
    .nav-menu {
        gap: 8px;
    }

    .nav-link {
        padding: 7px 9px;
        font-size: 0.9rem;
    }
}

@media (max-width: 1024px) {
    section {
        padding: 78px 0;
    }

    .about-content,
    .mission-content,
    .impact-content,
    .documents-content,
    .contact-content,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .about-stats,
    .impact-stats,
    .programs-grid,
    .document-details,
    .info-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 860px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        margin: 0 auto;
        width: min(94vw, 560px);
        background: rgba(255, 252, 245, 0.98);
        border: 1px solid rgba(90, 68, 32, 0.25);
        border-radius: 12px;
        box-shadow: 0 14px 24px rgba(17, 14, 10, 0.2);
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 6px;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        display: block;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 118px;
    }

    .hero-text {
        padding: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .about-stats,
    .impact-stats,
    .mission-values,
    .programs-grid,
    .document-details,
    .info-grid,
    .footer-links {
        grid-template-columns: 1fr;
    }

    .carousel-caption {
        left: 5%;
        right: 5%;
        bottom: 5%;
    }

    .iframe-container,
    .iframe-container iframe {
        min-height: 400px;
    }

    .footer-bottom-content {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}
