/* ===== LOCAL FONTS ===== */
@font-face {
    font-family: 'Cinzel';
    src: url('Fonts/Cinzel-Regular.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Cinzel';
    src: url('Fonts/Cinzel-SemiBold.ttf') format('truetype');
    font-weight: 600;
}

@font-face {
    font-family: 'Cinzel';
    src: url('Fonts/Cinzel-Bold.ttf') format('truetype');
    font-weight: 700;
}

@font-face {
    font-family: 'Cinzel';
    src: url('Fonts/Cinzel-Black.ttf') format('truetype');
    font-weight: 900;
}

/* ===== CSS VARIABLES ===== */
:root {
    --crimson: #9d0404;
    --crimson-dark: #6b0202;
    --crimson-light: #c20505;
    --crimson-grad: linear-gradient(135deg, #6b0202 0%, #9d0404 40%, #c20505 100%);
    --crimson-grad-v: linear-gradient(180deg, #6b0202 0%, #9d0404 60%, #b50404 100%);
    --gold: #c9a84c;
    --gold-light: #e8c96a;
    --gold-dark: #a07a28;
    --gold-grad: linear-gradient(135deg, #a07a28, #c9a84c, #e8c96a, #c9a84c);
    --cream: #fdf8f0;
    --dark: #1a0a0a;
    --text: #2d1a1a;
    --text-light: #6b5050;
    --white: #ffffff;
    --nav-h: 80px;
    --section-pad: 100px 0;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4 {
    font-family: 'Cinzel', serif;
}

.section-label {
    font-family: 'Lato', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 1rem;
}

/* ===== LAYOUT ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    :root {
        --nav-h: 65px;
    }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    min-height: 48px;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.btn:hover::before {
    transform: translateX(0);
}

.btn-primary {
    background: var(--crimson-grad);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(157, 4, 4, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 8px 30px rgba(157, 4, 4, 0.6);
    transform: translateY(-2px);
}

.btn-gold {
    background: var(--gold-grad);
    color: var(--dark);
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.4);
}

.btn-gold:hover {
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.6);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--dark);
}

/* ===== NAVIGATION ===== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    height: var(--nav-h);
    transition: all 0.4s ease;
    background: rgba(26, 10, 10, 0.6);
    backdrop-filter: blur(8px);
}

#navbar.transparent-nav {
    background: transparent;
    backdrop-filter: none;
}

#navbar .container {
    height: 100%;
}

#navbar.scrolled {
    background: rgba(26, 10, 10, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo-icon {
    width: 85px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-logo-text {
    line-height: 1;
}

.nav-logo-text .name {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.05em;
    display: block;
}

.nav-logo-text .sub {
    font-size: 0.65rem;
    color: var(--gold);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    display: block;
}

.nav-logo-text .philippines {
    font-size: 0.55rem;
    color: var(--gold-light);
    letter-spacing: 0.78em;
    text-transform: uppercase;
    display: block;
    font-weight: 600;
    margin-top: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin-left: auto;
    height: 100%;
}

.nav-links>li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-links>li>a {
    font-family: 'Cinzel', serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 0 12px;
    display: flex;
    align-items: center;
    height: 100%;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links>li>a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-links>li>a:hover {
    color: var(--gold);
}

.nav-links>li>a:hover::after {
    transform: scaleX(1);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: rgba(26, 10, 10, 0.97);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-top: 2px solid var(--gold);
    list-style: none;
    padding: 8px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.7rem;
    font-family: 'Cinzel', serif;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.2s;
}

.dropdown-menu a:hover {
    color: var(--gold);
    background: rgba(201, 168, 76, 0.08);
    padding-left: 28px;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    height: 100%;
}

.nav-cta .btn {
    padding: 10px 24px;
    font-size: 0.68rem;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    position: relative;
    z-index: 10000;
    pointer-events: auto;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--dark);
    z-index: 10001;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    padding: 40px;
    padding-top: 100px;
    overflow-y: auto;
}

/* Open state — no animation on container, instant full coverage */
.mobile-menu.open {
    display: flex;
    pointer-events: auto;
}

/* Background wipes in bottom-to-top, fast then slow (ease-out) */
.mobile-menu.open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: var(--dark);
    z-index: 0;
    animation: bgWipeIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes bgWipeIn {
    from {
        clip-path: inset(100% 0 0 0);
    }

    to {
        clip-path: inset(0% 0 0 0);
    }
}

/* Links slide up staggered on open */
.mobile-menu.open>*:not(::before) {
    animation: linkIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
    opacity: 0;
}

.mobile-menu.open .mobile-menu-close {
    animation-delay: 0.05s;
}

.mobile-menu.open .mobile-menu-header {
    animation-delay: 0.10s;
}

.mobile-menu.open .mobile-nav {
    animation-delay: 0.14s;
}

.mobile-menu.open .mobile-menu-footer {
    animation-delay: 0.18s;
}

@keyframes linkIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Closing — background wipes up slow then fast (ease-in) */
.mobile-menu.closing::before {
    content: '';
    position: fixed;
    inset: 0;
    background: var(--dark);
    z-index: 0;
    animation: bgWipeOut 0.45s cubic-bezier(0.64, 0, 0.78, 0) forwards;
}

@keyframes bgWipeOut {
    from {
        clip-path: inset(0% 0 0 0);
    }

    to {
        clip-path: inset(0 0 100% 0);
    }
}

/* Links fade out on close */
.mobile-menu.closing>*:not(::before) {
    animation: linkOut 0.2s ease-in both;
}

.mobile-menu.closing .mobile-menu-close {
    animation-delay: 0s;
}

.mobile-menu.closing .mobile-menu-header {
    animation-delay: 0.02s;
}

.mobile-menu.closing .mobile-nav,
.mobile-menu.closing .mobile-menu-footer {
    animation-delay: 0.05s;
}

@keyframes linkOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(10px);
    }
}

.mobile-menu>* {
    position: relative;
    z-index: 1;
}

/* ===== MOBILE MENU HEADER ===== */
.mobile-menu-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
    width: 100%;
}

.mobile-logo-icon {
    width: 70px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mobile-logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mobile-logo-text {
    text-align: center;
    line-height: 1.2;
}

.mobile-name {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.05em;
    display: block;
}

.mobile-sub {
    font-size: 0.6rem;
    color: var(--gold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    display: block;
    margin-top: 2px;
}

.mobile-philippines {
    font-size: 0.5rem;
    color: var(--gold-light);
    letter-spacing: 0.7em;
    text-transform: uppercase;
    display: block;
    font-weight: 600;
    margin-top: 2px;
}

/* ===== CLOSE BUTTON ===== */
.mobile-menu-close {
    position: fixed;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
    line-height: 1;
    pointer-events: auto;
    transition: color 0.3s ease;
}

.mobile-menu-close:hover {
    color: var(--gold);
}

/* ===== MOBILE NAVIGATION ===== */
.mobile-nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-menu-item {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.mobile-menu-link,
.mobile-menu-toggle {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 0.08em;
    padding: 16px 12px;
    transition: all 0.3s ease;
    border: none;
    background: none;
    cursor: pointer;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

.mobile-menu-link:hover,
.mobile-menu-toggle:hover {
    color: var(--gold);
    background: rgba(201, 168, 76, 0.05);
    padding-left: 20px;
}

.mobile-menu-toggle span:first-child {
    flex: 1;
}

.toggle-icon {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.mobile-menu-toggle[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg);
}

/* ===== SUBMENU ===== */
.mobile-submenu {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: rgba(0, 0, 0, 0.4);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-submenu[open],
.mobile-submenu:not([hidden]) {
    max-height: 500px;
}

.mobile-submenu-link {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    letter-spacing: 0.06em;
    padding: 12px 12px 12px 32px;
    transition: all 0.3s ease;
    display: block;
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

.mobile-submenu-link::before {
    content: '◆';
    position: absolute;
    left: 16px;
    color: var(--gold);
    font-size: 0.4rem;
}

.mobile-submenu-link:hover {
    color: var(--gold);
    background: rgba(201, 168, 76, 0.05);
    padding-left: 40px;
}

/* ===== MOBILE MENU FOOTER ===== */
.mobile-menu-footer {
    width: 100%;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(201, 168, 76, 0.2);
    display: flex;
    gap: 12px;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

/* ===== HERO CAROUSEL ===== */
#hero {
    position: relative;
    height: 100vh;
    min-height: 650px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    transition: transform 7s ease;
    pointer-events: none;
}

.hero-slide.active .hero-slide-bg {
    transform: scale(1);
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 30, 30, 0.75);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: var(--nav-h);
    pointer-events: auto;
}

.hero-text {
    max-width: 780px;
    padding: 0 40px;
}

.hero-text .eyebrow {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.3s;
}

.hero-text .eyebrow::before {
    content: '';
    display: block;
    width: 50px;
    height: 1px;
    background: var(--gold);
}

.hero-slide.active .hero-text .eyebrow {
    opacity: 1;
    transform: translateY(0);
}

.hero-text h1 {
    font-size: clamp(2.4rem, 6vw, 5.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.9s ease 0.5s;
}

.hero-slide.active .hero-text h1 {
    opacity: 1;
    transform: translateY(0);
}

.hero-text h1 span {
    color: var(--gold);
    font-style: italic;
    font-family: 'Garamond', serif;
    font-weight: 700;
}

.hero-text h2 {
    font-size: clamp(2.4rem, 6vw, 5.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.9s ease 0.5s;
}

.hero-slide.active .hero-text h2 {
    opacity: 1;
    transform: translateY(0);
}

.hero-text h2 span {
    color: var(--gold);
    font-style: italic;
    font-family: 'Garamond', serif;
    font-weight: 700;
}

.hero-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
    max-width: 540px;
    margin-bottom: 36px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.9s ease 0.7s;
    font-weight: 300;
}

.hero-slide.active .hero-text p {
    opacity: 1;
    transform: translateY(0);
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.9s ease 0.9s;
}

.hero-slide.active .hero-btns {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .hero-btns {
        flex-direction: column;
    }

    .hero-btns .btn {
        width: 100%;
        display: block;
        text-align: center;
    }

    .hero-text {
        padding: 0 20px;
    }

    .hero-text .eyebrow {
        font-size: 0.55rem;
        gap: 12px;
        margin-bottom: 16px;
    }

    .hero-text .eyebrow::before {
        width: 35px;
    }

    .hero-text h1 {
        font-size: clamp(1.8rem, 5vw, 3.5rem);
        margin-bottom: 16px;
    }

    .hero-text h2 {
        font-size: clamp(1.8rem, 5vw, 3.5rem);
        margin-bottom: 16px;
    }

    .hero-text p {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }
}

/* Hero controls */
.hero-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
    align-items: center;
    pointer-events: auto;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.hero-dot.active {
    width: 28px;
    border-radius: 4px;
    background: var(--gold);
}

/* ===== STATS BAR ===== */
.stats-bar {
    background: var(--dark);
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
    padding: 0;
}

.stats-bar-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    padding: 28px 30px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.3s ease;
}

.stat-item:last-child {
    border-right: none;
}

.stat-item:hover {
    background: rgba(201, 168, 76, 0.05);
}

.stat-num {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    font-weight: 900;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    display: block;
}

.stat-label {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 6px;
    display: block;
}

@media (max-width: 600px) {
    .stats-bar-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item:nth-child(2) {
        border-right: none;
    }

    .stat-item:nth-child(3) {
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }
}

/* ===== ABOUT SECTION ===== */
#about {
    padding: var(--section-pad);
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

#about::before {
    content: 'DBC';
    position: absolute;
    top: -40px;
    right: -30px;
    font-family: 'Cinzel', serif;
    font-size: 22rem;
    font-weight: 900;
    color: rgba(157, 4, 4, 0.04);
    pointer-events: none;
    line-height: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-images {
    position: relative;
    height: 550px;
}

.about-img-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 85%;
    object-fit: cover;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.2);
}

.about-img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 55%;
    object-fit: cover;
    border: 6px solid var(--white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.about-text h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: var(--dark);
    line-height: 1.15;
    margin-bottom: 24px;
}

.about-text h2 em {
    color: var(--crimson);
    font-style: normal;
}

.about-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 50px;
}

.about-btns .btn {
    text-align: center;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-light);
    margin-bottom: 20px;
}

.about-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin: 32px 0;
}

.pillar {
    text-align: center;
    padding: 20px 12px;
    border: 1px solid rgba(157, 4, 4, 0.25);
    transition: all 0.3s ease;
}

.pillar:hover {
    border-color: var(--gold);
    background: rgba(201, 168, 76, 0.03);
}

.pillar:hover .pillar-icon {
    opacity: 1;
}

.pillar:hover .pillar-icon-circle {
    opacity: 1;
}

.pillar-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 8px;
    opacity: 0.65;
    transition: opacity 0.3s ease;
}

.pillar-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    margin: 0 auto 8px;
    border-radius: 50%;
    background: rgba(212, 164, 55, 0.25);
    opacity: 0.65;
    transition: opacity 0.3s ease;
}

.pillar h4 {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--crimson);
    font-family: 'Cinzel', serif;
}

@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-images {
        height: 450px;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        opacity: 1 !important;
        transform: none !important;
    }

    .about-text {
        text-align: center;
    }

    .about-text .gold-divider {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .about-images {
        height: 380px;
        opacity: 1 !important;
        transform: none !important;
    }

    .about-btns .btn {
        width: 100%;
        display: block;
    }

    .about-pillars {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .pillar {
        padding: 15px;
    }
}

/* ===== ACADEMICS ===== */
#academics {
    padding: var(--section-pad);
    background: var(--cream);
    position: relative;
}

.academics-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 70px;
}

.academics-header h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--dark);
    line-height: 1.15;
    margin-bottom: 20px;
}

.academics-header p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(201, 168, 76, 0.08);
    border: 1px solid rgba(201, 168, 76, 0.15);
    margin-bottom: 60px;
}

.program-card {
    background: var(--white);
    padding: 44px 36px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: default;
    border-bottom: 2px solid rgba(201, 168, 76, 0.1);
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-grad);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.program-card:hover {
    background: rgba(201, 168, 76, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.program-card:hover::before {
    transform: scaleX(1);
}

.program-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 12px;
    display: block;
    filter: brightness(1);
    opacity: 0.4;
    transition: opacity 0.4s ease;
}

.program-card:hover .program-icon {
    opacity: 1;
}

.program-card h3 {
    font-size: 1.05rem;
    color: var(--crimson);
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.program-card p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== DEGREE PROGRAMS ===== */
.academic-programs {
    margin-bottom: 80px;
}

.programs-subtitle {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: var(--crimson);
    margin-bottom: 40px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.degree-programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.degree-card {
    background: rgba(201, 168, 76, 0.12);
    border: 1px solid rgba(201, 168, 76, 0.25);
    padding: 40px;
    border-radius: 8px;
    transition: all 0.4s ease;
}

.degree-card:hover {
    background: rgba(201, 168, 76, 0.18);
    border-color: rgba(201, 168, 76, 0.4);
    transform: translateY(-8px);
}

.degree-header {
    margin-bottom: 20px;
}

.degree-header h4 {
    font-size: 1.15rem;
    color: var(--crimson);
    margin-bottom: 8px;
    font-weight: 700;
}

.degree-duration {
    display: block;
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    /* color: var(--text); */
    color: var(--gold-dark);
}

.degree-card p {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.8;
}

.courses-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 50px;
    border: 1px solid rgba(201, 168, 76, 0.15);
    background: var(--dark);
    flex-wrap: wrap;
}

.courses-num {
    text-align: center;
}

.courses-num .big {
    font-family: 'Cinzel', serif;
    font-size: 5rem;
    font-weight: 900;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    display: block;
}

.courses-num .label {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 6px;
}

.courses-divider {
    width: 1px;
    height: 80px;
    background: rgba(201, 168, 76, 0.2);
}

.courses-desc {
    max-width: 450px;
}

.courses-desc p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .programs-grid {
        grid-template-columns: 1fr;
    }

    .degree-programs-grid {
        grid-template-columns: 1fr;
    }

    .courses-highlight {
        gap: 30px;
    }

    .courses-divider {
        width: 60px;
        height: 1px;
    }
}

/* ===== QUOTE BANNER ===== */
.quote-banner {
    padding: 100px 0;
    background: var(--crimson-grad-v);
    position: relative;
    overflow: hidden;
}

.quote-banner .container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
}

.quote-content {
    flex: 1;
    text-align: center;
}

.quote-banner::before {
    content: '"';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Playfair Display', serif;
    font-size: 30rem;
    color: rgba(255, 255, 255, 0.04);
    line-height: 1;
    pointer-events: none;
}

.quote-banner blockquote {
    font-family: 'Garamond', serif;
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-style: italic;
    font-weight: 700;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto 24px;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.quote-image-container {
    flex-shrink: 0;
    width: 280px;
    height: 280px;
    position: relative;
    z-index: 1;
}

.quote-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.quote-banner cite {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-style: normal;
    position: relative;
    z-index: 1;
}

.quote-banner cite .name {
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.2em;
}

.quote-banner cite .title {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.quote-divider {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 20px auto;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .quote-banner .container {
        flex-direction: column;
        gap: 30px;
    }

    .quote-image-container {
        width: 200px;
        height: 200px;
    }
}

/* ===== STUDENT LIFE ===== */
#student-life {
    padding: var(--section-pad);
    background: var(--white);
}

.student-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 70px;
}

.student-header h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--dark);
    margin-bottom: 20px;
}

.student-header p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

.life-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

.life-card {
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    cursor: default;
}

.life-card:nth-child(1) {
    grid-column: 1 / 3;
}

.life-card:nth-child(4) {
    grid-column: 2 / 4;
}

.life-card-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.life-card:nth-child(1) .life-card-img,
.life-card:nth-child(4) .life-card-img {
    height: 340px;
}

.life-card:hover .life-card-img {
    transform: scale(1.05);
}

.life-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 10, 10, 0.9) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 28px;
}

.life-card-overlay h3 {
    font-size: 1.1rem;
    color: var(--white);
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.life-card-overlay p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .life-bento {
        grid-template-columns: 1fr;
    }

    .life-card:nth-child(1),
    .life-card:nth-child(4) {
        grid-column: auto;
    }

    .life-card .life-card-img,
    .life-card:nth-child(1) .life-card-img,
    .life-card:nth-child(4) .life-card-img {
        height: 220px;
    }
}

/* ===== SCHOLARSHIPS ===== */
#scholarships {
    padding: var(--section-pad);
    background: var(--cream);
    position: relative;
}

.scholarships-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.scholarships-text h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.scholarships-text h2 em {
    color: var(--crimson);
    font-style: normal;
}

.scholarships-text>p {
    color: var(--text-light);
    line-height: 1.85;
    margin-bottom: 36px;
    font-size: 1rem;
}

.aid-types {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.aid-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 20px;
    background: var(--white);
    border-left: 3px solid var(--crimson);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.aid-item:hover {
    border-color: var(--gold);
    box-shadow: 4px 0 20px rgba(201, 168, 76, 0.15);
}

.aid-icon {
    width: 44px;
    height: 44px;
    background: var(--crimson-grad);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
    color: var(--white);
}

.aid-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
    color: var(--white);
}

.aid-text h4 {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    color: var(--dark);
    margin-bottom: 4px;
    letter-spacing: 0.05em;
}

.aid-text p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
}

.scholarships-cta {
    background: var(--dark);
    padding: 50px;
    position: relative;
    overflow: hidden;
}

.scholarships-cta::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.05);
    border: 40px solid rgba(201, 168, 76, 0.08);
}

.scholarships-cta .label {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    display: block;
    font-family: 'Cinzel', serif;
}

.scholarships-cta h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.2;
}

.scholarships-cta p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 28px;
    font-size: 0.95rem;
}

.scholarship-types {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 32px;
}

.s-type {
    padding: 14px;
    border: 1px solid rgba(201, 168, 76, 0.2);
    font-size: 0.72rem;
    font-family: 'Cinzel', serif;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.05em;
    text-align: center;
    transition: all 0.3s;
}

.s-type:hover {
    border-color: var(--gold);
    color: var(--gold);
}

@media (max-width: 768px) {
    .scholarships-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .scholarships-cta {
        padding: 32px;
    }
}

/* ===== HOW TO APPLY ===== */
#apply {
    padding: var(--section-pad);
    background: var(--white);
}

.apply-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 70px;
}

.apply-header h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--dark);
    margin-bottom: 20px;
}

.apply-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    margin-bottom: 70px;
}

.apply-steps::before {
    content: '';
    position: absolute;
    top: 44px;
    left: calc(12.5% + 22px);
    right: calc(12.5% + 22px);
    height: 2px;
    background: linear-gradient(to right, var(--crimson), var(--gold));
    z-index: 0;
}

.apply-step {
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.step-circle {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--crimson);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--crimson);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.apply-step:hover .step-circle {
    background: var(--crimson-grad);
    color: var(--white);
    border-color: var(--crimson);
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(157, 4, 4, 0.4);
}

.apply-step h3 {
    font-size: 0.85rem;
    color: var(--dark);
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.apply-step p {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.6;
}

.apply-requirements {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    padding: 60px;
    background: var(--cream);
    border-top: 4px solid var(--crimson);
}

.req-col h3 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 20px;
    letter-spacing: 0.1em;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(157, 4, 4, 0.15);
}

.req-list {
    list-style: none;
}

.req-list li {
    padding: 8px 0;
    font-size: 0.88rem;
    color: var(--text-light);
    display: flex;
    gap: 12px;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.req-list li::before {
    content: '✦';
    color: var(--gold);
    font-size: 0.6rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .apply-steps {
        grid-template-columns: 1fr 1fr;
    }

    .apply-steps::before {
        display: none;
    }

    .apply-requirements {
        grid-template-columns: 1fr;
        padding: 28px;
    }
}

@media (max-width: 600px) {
    .apply-steps {
        grid-template-columns: 1fr;
        margin-bottom: 50px;
    }

    .apply-step {
        padding: 0 10px;
    }

    .step-circle {
        width: 72px;
        height: 72px;
        font-size: 1.4rem;
        margin-bottom: 16px;
    }

    .apply-step h3 {
        font-size: 0.75rem;
        margin-bottom: 8px;
    }

    .apply-step p {
        font-size: 0.76rem;
        line-height: 1.5;
    }

    .apply-requirements {
        padding: 20px;
        gap: 24px;
    }

    .req-col h3 {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }

    .req-list li {
        font-size: 0.8rem;
        padding: 6px 0;
    }

    .apply-header h2 {
        font-size: 1.4rem;
    }

    .apply-header p {
        font-size: 0.85rem;
    }

    /* Stack buttons vertically with equal width on mobile */
    div[style*="display:flex"] {
        flex-direction: column !important;
    }

    div[style*="display:flex"] a.btn {
        width: 100%;
    }
}

/* ===== SCHOLARSHIP TERMS ===== */
.scholarship-terms {
    margin-top: 40px;
    padding: 40px;
    background: var(--gold-dark);
    border: 1px solid rgba(201, 168, 76, 0.35);
    border-radius: 8px;
}

.terms-title {
    color: var(--gold-light);
    margin-bottom: 28px;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
}

.terms-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 28px;
}

.term-item {
    padding: 16px 20px;
    position: relative;
    color: var(--dark);
    font-size: 0.9rem;
    line-height: 1.5;
    background: var(--cream);
    border-left: 3px solid var(--crimson);
    border-radius: 4px;
    padding-left: 24px;
}

.term-item::before {
    content: '•';
    position: absolute;
    left: 10px;
    color: var(--crimson);
    font-weight: bold;
}

@media (max-width: 991px) {
    .terms-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .scholarship-terms {
        padding: 32px 24px;
    }

    .terms-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .term-item {
        padding: 14px 18px;
        font-size: 0.88rem;
    }
}

/* ===== FAQ ===== */
#faq {
    padding: var(--section-pad);
    background: #e8e4df;
}

.faq-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}

.faq-header h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--text);
    margin-bottom: 16px;
}

.faq-header p {
    color: var(--text-light);
    font-size: 1rem;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(157, 4, 4, 0.1);
    overflow: hidden;
}

.faq-q {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    text-align: left;
    color: var(--text);
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}

.faq-q:hover {
    color: var(--crimson);
}

.faq-icon {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(157, 4, 4, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
    color: var(--crimson);
    line-height: 1;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: var(--crimson);
    border-color: var(--crimson);
    color: var(--white);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0;
}

.faq-a-inner {
    padding: 0 0 24px;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.92rem;
}

.faq-item.open .faq-a {
    max-height: 300px;
}

/* ===== CONTACT ===== */
#contact {
    padding: var(--section-pad);
    background: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: start;
}

.contact-info h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.contact-info>p {
    color: var(--text-light);
    line-height: 1.85;
    margin-bottom: 44px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.c-icon {
    width: 44px;
    height: 44px;
    background: var(--crimson-grad);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
    color: var(--white);
}

.c-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
    color: var(--white);
}

.c-text {
    flex: 1;
}

.c-label {
    font-family: 'Cinzel', serif;
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 4px;
}

.c-val {
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 400;
}

.c-val a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s;
}

.c-val a:hover {
    color: var(--crimson);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 36px;
}

.social-btn {
    width: 44px;
    height: 44px;
    border: 2px solid rgba(157, 4, 4, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1rem;
    color: var(--crimson);
    transition: all 0.3s;
}

.social-btn:hover {
    background: var(--crimson);
    color: var(--white);
    border-color: var(--crimson);
}

.contact-form-wrap {
    background: var(--white);
    padding: 50px;
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.07);
}

.contact-form-wrap h3 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(157, 4, 4, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-light);
    font-family: 'Cinzel', serif;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: var(--cream);
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    color: var(--text);
    transition: all 0.3s;
    outline: none;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--crimson);
    box-shadow: 0 0 0 3px rgba(157, 4, 4, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-wrap {
        padding: 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ===== CAMPUS MAP ===== */
.map-section {
    padding: 60px 0 0;
    background: #6b0404;
}

.map-section .container {
    margin-bottom: 30px;
}

.map-section h2 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 8px;
}

.map-section p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.map-frame {
    width: 100%;
    height: 350px;
    border: none;
    display: block;
    filter: grayscale(20%) contrast(1.05);
}

/* ===== FOOTER ===== */
footer {
    background: #0f0404;
    border-top: 1px solid rgba(201, 168, 76, 0.15);
}

.footer-main {
    padding: 80px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-brand-text {
    flex: 1;
}

.footer-brand .logo-text {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    color: var(--white);
    display: block;
    margin-bottom: 4px;
}

.footer-brand .logo-sub {
    font-size: 0.6rem;
    color: var(--gold);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0;
}

.footer-brand p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.8;
    margin-bottom: 28px;
}

.footer-col h4 {
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    color: var(--gold);
}

.footer-col ul li a::before {
    content: '›';
    color: var(--crimson);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer-bottom a {
    color: var(--gold);
    text-decoration: none;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 500px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== ENHANCED SCHOLARSHIP CARDS (REDESIGN) ===== */
.scholarship-cards {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid rgba(157, 4, 4, 0.12);
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 40px;
}

.s-card {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 0;
    border-bottom: 1px solid rgba(157, 4, 4, 0.12);
    transition: background 0.25s, border-color 0.25s;
    cursor: default;
    overflow: hidden;
}

.s-card:last-child {
    border-bottom: none;
}

.s-card:hover {
    background: rgba(201, 168, 76, 0.04);
}

.s-card-accent {
    background: var(--crimson);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: background 0.25s;
}

.s-card:hover .s-card-accent {
    background: var(--gold-dark);
}

.s-card-body {
    padding: 20px 24px;
}

.s-card-name {
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    color: var(--dark);
    margin-bottom: 2px;
}

.s-card-amount {
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-dark);
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}

.s-card-desc {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.65;
}

.s-card-sub {
    padding: 12px 0 0;
    margin-top: 12px;
    border-top: 1px dashed rgba(201, 168, 76, 0.3);
}

.s-card-sub-name {
    font-family: 'Cinzel', serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--crimson);
    margin-bottom: 4px;
    letter-spacing: 0.05em;
}

/* ===== ENHANCED CONDITIONS GRID ===== */
.conditions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(201, 168, 76, 0.1);
    margin-top: 30px;
}

.cond-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 26px 28px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    transition: background 0.25s;
}

.cond-item:hover {
    background: rgba(201, 168, 76, 0.08);
}

.cond-bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
    margin-top: 7px;
}

.cond-text {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

@media (max-width: 991px) {
    .conditions-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .conditions-grid {
        grid-template-columns: 1fr;
    }

    .s-card {
        grid-template-columns: 48px 1fr;
    }
}

/* ===== ANIMATE ON SCROLL ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* ===== GOLD DIVIDER ===== */
.gold-divider {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.gold-divider::before,
.gold-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gold-grad);
    opacity: 0.3;
}

.gold-divider-center {
    justify-content: center;
}

.gd-icon {
    color: var(--gold);
    font-size: 0.8rem;
}

/* ===== INGRACE BANNER ===== */
.ingrace-banner {
    background: linear-gradient(135deg, rgba(107, 2, 2, 0.95), rgba(26, 10, 10, 0.98));
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid rgba(201, 168, 76, 0.15);
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.ingrace-banner h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: var(--white);
    margin-bottom: 12px;
}

.ingrace-banner p {
    color: rgba(255, 255, 255, 0.6);
    max-width: 550px;
    margin: 0 auto 28px;
    line-height: 1.7;
    font-size: 0.95rem;
}

@media (max-width: 600px) {
    .ingrace-banner {
        padding: 40px 0;
    }

    .ingrace-banner h3 {
        font-size: clamp(1rem, 2vw, 1.4rem);
        margin-bottom: 12px;
    }

    .ingrace-banner p {
        font-size: 0.85rem;
        margin-bottom: 20px;
        line-height: 1.6;
    }
}

/* scrolled active nav link */
.nav-links>li>a.active {
    color: var(--gold);
}

/* ===== BREADCRUMB ===== */
.breadcrumb-nav {
    background: rgba(0, 0, 0, 0.03);
    padding: 12px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 4;
}

.breadcrumb {
    list-style: none;
    display: flex;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--text-light);
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 8px;
    color: var(--text-light);
    opacity: 0.5;
}

.breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--crimson);
    text-decoration: underline;
}

/* ===== PAGE HERO ===== */
.page-hero {
    padding-top: var(--nav-h);
    position: relative;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 50%;
    z-index: 0;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 10, 10, 0.6), rgba(26, 10, 10, 0.7)),
        linear-gradient(to bottom, rgba(26, 10, 10, 0.6) 0%, rgba(26, 10, 10, 0.3) 80%, rgba(26, 10, 10, 0) 100%);
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero-content {
    color: var(--white);
    text-align: left;
}

.page-hero-content .eyebrow {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    font-weight: 700;
}

.page-hero-content h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--white);
}

.page-hero-content h1 span {
    color: var(--gold);
}

.page-hero-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 400px;
        padding-top: calc(var(--nav-h) + 20px);
    }

    .page-hero-content h1 {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
    }

    .page-hero-content p {
        font-size: 0.95rem;
    }
}

@media (max-width: 600px) {
    .page-hero {
        min-height: 350px;
        padding-top: calc(var(--nav-h) + 15px);
    }

    .page-hero-content h1 {
        font-size: clamp(1.3rem, 3.5vw, 2rem);
        margin-bottom: 12px;
    }

    .page-hero-content .eyebrow {
        font-size: 0.7rem;
        margin-bottom: 12px;
    }

    .page-hero-content p {
        font-size: 0.85rem;
        line-height: 1.6;
    }
}

/* ===== 404 ERROR PAGE ===== */
#error-404 {
    padding: calc(var(--nav-h) + 100px) 0 100px;
    background: var(--cream);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

#error-404::before {
    content: '404';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Cinzel', serif;
    font-size: 30rem;
    font-weight: 900;
    color: rgba(157, 4, 4, 0.08);
    pointer-events: none;
    line-height: 1;
    z-index: 0;
}

.error-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.error-code {
    font-family: 'Cinzel', serif;
    font-size: 8rem;
    font-weight: 900;
    background: var(--crimson-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    display: block;
    margin-bottom: 16px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

#error-404 h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

#error-404 p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 50px;
}

.error-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.error-actions .btn {
    display: inline-flex;
}

.error-actions .btn-outline {
    background: transparent;
    color: var(--crimson);
    border: 2px solid var(--crimson);
}

.error-actions .btn-outline:hover {
    background: var(--crimson);
    color: var(--white);
}

@media (max-width: 768px) {
    #error-404 {
        padding: calc(var(--nav-h) + 60px) 0 60px;
    }

    #error-404::before {
        font-size: 12rem;
    }

    .error-code {
        font-size: 4rem;
    }

    #error-404 h1 {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
    }

    #error-404 p {
        font-size: 0.95rem;
    }

    .error-actions {
        flex-direction: column;
        gap: 12px;
    }

    .error-actions .btn {
        width: 100%;
    }
}