:root {
    --bg-base: #091427;
    --bg-deep: #050d1b;
    --bg-panel: rgba(14, 24, 44, 0.88);
    --bg-card: rgba(17, 28, 49, 0.9);
    --nav-bg: rgba(8, 18, 35, 0.92);
    --accent-primary: #ff7a12;
    --accent-secondary: #ff9f45;
    --accent-soft: rgba(255, 122, 18, 0.14);
    --text-primary: #f7f8fb;
    --text-secondary: #a3aec3;
    --text-muted: #7f8ba3;
    --border: rgba(255, 255, 255, 0.1);
    --border-strong: rgba(255, 255, 255, 0.16);
    --shadow-sm: 0 12px 24px rgba(3, 10, 24, 0.22);
    --shadow-md: 0 18px 48px rgba(3, 10, 24, 0.3);
    --shadow-lg: 0 28px 80px rgba(0, 0, 0, 0.38);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at 50% 16%, rgba(255, 122, 18, 0.1), transparent 24%),
        radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.04), transparent 20%),
        linear-gradient(180deg, #0b1730 0%, var(--bg-base) 36%, var(--bg-deep) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.brand-name {
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

a {
    color: inherit;
}

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

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.16);
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.28);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.8s ease-out forwards;
}

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

.main-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-content {
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}

.logo-container img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

.logo-container img.brand-logo {
    border: 3px solid var(--accent-primary);
    box-shadow:
        0 0 0 6px rgba(255, 122, 18, 0.16),
        0 14px 28px rgba(0, 0, 0, 0.24);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-name {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.brand-name span {
    color: var(--accent-primary);
}

.tagline {
    margin-top: 8px;
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 48px;
    list-style: none;
    margin: 0 auto;
}

.nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    gap: 24px;
}

.nav-toggle {
    display: none;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.92;
    transition: color 0.25s ease, opacity 0.25s ease;
}

.nav-links a:hover {
    color: var(--accent-primary);
    opacity: 1;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    padding: 0 34px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, #ff861d 0%, #ff7411 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(255, 122, 18, 0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(255, 122, 18, 0.28);
    filter: brightness(1.04);
}

.hero {
    position: relative;
    min-height: calc(100vh - 96px);
    display: flex;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.06), transparent 0, transparent 28%),
        radial-gradient(circle at 50% 42%, rgba(255, 122, 18, 0.08), transparent 48%),
        linear-gradient(180deg, rgba(8, 17, 33, 0.1), rgba(8, 17, 33, 0.55));
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    max-width: 900px;
    margin: 0 auto 24px;
    font-size: clamp(3.6rem, 8vw, 6.2rem);
    line-height: 0.98;
    font-weight: 800;
}

.hero h1 span {
    color: var(--accent-primary);
}

.hero p {
    max-width: 820px;
    margin: 0 auto 36px;
    color: var(--text-secondary);
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    justify-content: center;
}

.hero .cta-button {
    min-width: 220px;
}

section {
    position: relative;
}

.features-section,
.courses-section,
.stats-section,
.wall-section,
.faq-section,
.message-section {
    padding: 96px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h2 {
    font-size: clamp(2.2rem, 4vw, 3.3rem);
    margin-bottom: 14px;
    font-weight: 800;
}

.section-header h2 span,
.enquiry-container h2 span {
    color: var(--accent-primary);
}

.section-subtitle {
    max-width: 720px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 36px;
}

.feature-card,
.program-card,
.message-card,
.enquiry-container {
    background: linear-gradient(180deg, rgba(18, 29, 52, 0.92), rgba(11, 21, 39, 0.94));
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.feature-card {
    aspect-ratio: 1 / 1;
    min-height: 0;
    padding: 30px 26px 24px;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover,
.program-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 122, 18, 0.4);
    box-shadow: 0 24px 44px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    flex: 0 0 72px;
    align-self: flex-start;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: clamp(1.5rem, 1.95vw, 1.85rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.feature-card p,
.program-card p,
.footer-info p,
.message-content blockquote {
    color: var(--text-secondary);
}

.feature-card p {
    max-width: 100%;
    font-size: 0.9rem;
    line-height: 1.45;
}

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

.program-card {
    position: relative;
    border-radius: 28px;
    padding: 34px;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.program-card::before {
    content: '';
    position: absolute;
    inset: auto -50px -70px auto;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255, 122, 18, 0.16), transparent 70%);
    pointer-events: none;
}

.program-card h3 {
    font-size: 2rem;
    margin-bottom: 12px;
    font-weight: 800;
}

.program-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 122, 18, 0.22);
    background: var(--accent-soft);
    color: var(--accent-secondary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.program-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.p-tag {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 600;
}

.stats-section {
    background:
        linear-gradient(180deg, rgba(10, 20, 37, 0.92), rgba(6, 13, 25, 0.92));
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.stat-item {
    padding: 28px 20px;
    text-align: center;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-item h3 {
    color: var(--accent-primary);
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 6px;
}

.stat-item p {
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.76rem;
    font-weight: 700;
}

.wall-section {
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 122, 18, 0.12), transparent 26%),
        linear-gradient(180deg, rgba(9, 20, 39, 0.96), rgba(4, 11, 22, 0.98));
}

.wall-header {
    margin-bottom: 44px;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 122, 18, 0.24);
    background: rgba(255, 122, 18, 0.08);
    color: var(--accent-secondary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.wall-year-block + .wall-year-block {
    margin-top: 56px;
}

.wall-year-meta {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.wall-year-meta h3 {
    font-size: clamp(1.5rem, 2.6vw, 2.2rem);
    font-weight: 800;
}

.wall-year-meta span {
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

.wall-card {
    position: relative;
    display: block;
    padding: 18px;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(15, 27, 53, 0.96), rgba(8, 17, 33, 0.96));
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.wall-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 120px;
    background: linear-gradient(180deg, rgba(255, 122, 18, 0.18), transparent);
    pointer-events: none;
}

.wall-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 122, 18, 0.44);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.42);
}

.wall-card img {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 22px;
}

.message-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: center;
    padding: 40px;
    border-radius: 28px;
}

.message-avatar {
    text-align: center;
}

.message-avatar img {
    width: 150px;
    height: 150px;
    margin: 0 auto 18px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent-primary);
    box-shadow:
        0 0 0 7px rgba(255, 122, 18, 0.16),
        0 18px 34px rgba(0, 0, 0, 0.26);
}

.message-avatar h3 {
    margin-bottom: 6px;
    font-size: 1.4rem;
}

.message-content blockquote {
    position: relative;
    padding-left: 28px;
    font-size: 1.14rem;
    line-height: 1.9;
}

.message-content blockquote::before {
    content: "“";
    position: absolute;
    left: 0;
    top: -16px;
    color: var(--accent-primary);
    font-size: 4rem;
    line-height: 1;
}

.message-footer {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.faq-section {
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 122, 18, 0.08), transparent 24%),
        linear-gradient(180deg, rgba(7, 15, 28, 0.92), rgba(6, 12, 23, 0.98));
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.faq-card {
    padding: 30px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(17, 28, 49, 0.92), rgba(10, 18, 34, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-md);
}

.faq-card h3 {
    margin-bottom: 12px;
    font-size: clamp(1.2rem, 1.8vw, 1.45rem);
    font-weight: 800;
    line-height: 1.25;
}

.faq-card p {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.7;
}

.footer-section {
    padding: 96px 0 36px;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 122, 18, 0.08), transparent 24%),
        linear-gradient(180deg, #081325 0%, #050c18 100%);
}

.enquiry-container {
    max-width: 860px;
    margin: 0 auto 72px;
    padding: 42px;
    border-radius: 30px;
}

.enquiry-container h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 32px;
    font-weight: 800;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.select-wrap {
    position: relative;
}

.select-wrap::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 20px;
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(255, 255, 255, 0.82);
    border-bottom: 2px solid rgba(255, 255, 255, 0.82);
    transform: translateY(-50%) rotate(45deg);
    pointer-events: none;
}

.form-group label {
    margin-left: 4px;
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 600;
}

.form-group input,
.form-group select {
    appearance: none;
    min-height: 56px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.form-group select {
    padding-right: 52px;
    width: 100%;
}

.form-group select option {
    color: #0b1730;
    background: #ffffff;
}

.form-group select:invalid {
    color: var(--text-muted);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus {
    border-color: rgba(255, 122, 18, 0.6);
    box-shadow: 0 0 0 4px rgba(255, 122, 18, 0.12);
    background: rgba(255, 255, 255, 0.05);
}

.form-submit {
    grid-column: 1 / -1;
    margin-top: 8px;
}

.form-submit .cta-button {
    width: 100%;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-credit {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    font-size: 0.95rem;
    text-align: center;
}

.footer-credit a {
    color: var(--accent-secondary);
    font-weight: 700;
    text-decoration: none;
}

.footer-credit a:hover {
    color: var(--accent-primary);
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.social-link {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.social-link:hover {
    transform: translateY(-2px);
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {
    .nav-content {
        gap: 18px;
    }

    .nav-actions {
        gap: 18px;
    }

    .nav-links {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .features-grid,
    .programs-grid,
    .stats-grid,
    .wall-grid,
    .faq-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .message-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .message-content blockquote {
        padding-left: 0;
    }

    .message-content blockquote::before {
        position: static;
        display: block;
        margin-bottom: 12px;
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: static;
    }

    .nav-content {
        min-height: auto;
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 12px;
        padding: 16px 0;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-toggle.is-active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.is-active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav-actions {
        grid-column: 1 / -1;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 16px;
        border-radius: 24px;
        background: rgba(10, 19, 37, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: var(--shadow-md);
    }

    .nav-actions.is-open {
        display: flex;
    }

    .nav-links {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        order: 0;
        padding: 0;
    }

    .nav-links li {
        flex: 0 0 auto;
        min-width: 0;
    }

    .nav-links a {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        min-height: 44px;
        padding: 0 16px;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.035);
        border: 1px solid rgba(255, 255, 255, 0.06);
        font-size: 0.92rem;
    }

    .brand-name {
        font-size: 1rem;
    }

    .tagline {
        font-size: 0.68rem;
        letter-spacing: 0.15em;
    }

    .nav-actions .cta-button {
        width: 100%;
        max-width: none;
        min-height: 54px;
    }

    .hero {
        min-height: auto;
        padding: 52px 0 48px;
    }

    .hero h1 {
        max-width: 12ch;
        font-size: clamp(2.5rem, 12vw, 4rem);
        margin-bottom: 18px;
    }

    .hero p {
        max-width: 34ch;
        margin-bottom: 28px;
        font-size: 0.98rem;
        line-height: 1.65;
    }

    .hero .cta-button {
        width: 100%;
        max-width: 280px;
    }

    .features-grid,
    .programs-grid,
    .stats-grid,
    .wall-grid,
    .faq-grid,
    .enquiry-form {
        grid-template-columns: 1fr;
    }

    .section-header {
        margin-bottom: 36px;
    }

    .section-header h2 {
        margin-bottom: 10px;
    }

    .section-subtitle {
        font-size: 0.96rem;
        line-height: 1.6;
    }

    .feature-card {
        aspect-ratio: auto;
        min-height: auto;
        padding: 28px 22px 24px;
    }

    .feature-card h3,
    .program-card h3 {
        font-size: 1.8rem;
    }

    .program-card {
        padding: 28px 24px;
    }

    .stat-item {
        padding: 22px 18px;
    }

    .wall-card {
        padding: 14px;
        border-radius: 24px;
    }

    .wall-card img {
        border-radius: 16px;
    }

    .message-avatar img {
        width: 120px;
        height: 120px;
    }

    .message-content blockquote {
        font-size: 1rem;
        line-height: 1.75;
        max-width: 34ch;
        margin: 0 auto;
        color: #c4cede;
    }

    .message-avatar h3 {
        font-size: 1.25rem;
    }

    .message-avatar p {
        font-size: 0.98rem;
    }

    .message-content blockquote::before {
        margin-bottom: 4px;
        font-size: 3.2rem;
    }

    .message-footer {
        margin-top: 18px;
        padding-top: 18px;
        font-size: 0.76rem;
        letter-spacing: 0.12em;
    }

    .faq-card {
        padding: 24px 20px;
    }

    .features-section,
    .courses-section,
    .stats-section,
    .wall-section,
    .faq-section,
    .message-section,
    .footer-section {
        padding: 72px 0;
    }

    .wall-year-meta {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 18px;
    }

    .enquiry-container,
    .message-card {
        padding: 24px 18px;
    }

    .enquiry-container {
        margin-bottom: 48px;
    }

    .enquiry-container h2 {
        margin-bottom: 24px;
    }

    .enquiry-form {
        gap: 16px;
    }

    .form-group input,
    .form-group select {
        min-height: 54px;
        font-size: 0.98rem;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        text-align: center;
        gap: 18px;
    }

    .footer-info p {
        max-width: 28ch;
        margin: 0 auto;
        font-size: 0.94rem;
        line-height: 1.55;
    }

    .footer-credit {
        margin-top: 16px;
        font-size: 0.88rem;
    }
}

@media (max-width: 520px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .logo-container {
        width: auto;
        justify-content: flex-start;
        gap: 10px;
    }

    .logo-container img {
        width: 48px;
        height: 48px;
    }

    .brand-name {
        font-size: 0.96rem;
    }

    .tagline {
        font-size: 0.62rem;
    }

    .nav-links a {
        font-size: 0.88rem;
    }

    .cta-button {
        min-height: 56px;
        padding: 0 28px;
    }

    .hero {
        padding: 42px 0 40px;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 11.5vw, 3.1rem);
    }

    .hero p {
        font-size: 0.94rem;
    }

    .program-card,
    .feature-card,
    .faq-card,
    .wall-card,
    .message-card,
    .enquiry-container {
        border-radius: 22px;
    }

    .program-tags {
        gap: 8px;
    }

    .message-card {
        gap: 22px;
    }

    .message-avatar img {
        margin-bottom: 14px;
    }

    .message-avatar h3 {
        margin-bottom: 4px;
    }

    .message-avatar p {
        margin-bottom: 2px;
    }

    .p-tag,
    .program-badge {
        font-size: 0.74rem;
    }

    .wall-year-meta h3 {
        font-size: 1.35rem;
    }

    .wall-year-meta span,
    .message-footer,
    .footer-credit {
        letter-spacing: 0.08em;
    }

    .footer-socials {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .social-link {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .footer-info p {
        max-width: 24ch;
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .footer-credit {
        margin-top: 14px;
        font-size: 0.84rem;
    }
}
