:root {
    --primary: #f58220;
    --primary-dark: #dc6c0d;
    --dark: #292929;
    --heading: #202020;
    --text: #555;
    --muted: #777;
    --light: #f8f8f6;
    --light-2: #f4f4f1;
    --white: #fff;
    --border: #e8e8e8;
    --border-dark: rgba(255,255,255,.12);
    --success: #17845b;
    --shadow-sm: 0 12px 28px rgba(23, 23, 23, .07);
    --shadow-md: 0 18px 42px rgba(23, 23, 23, .10);
    --radius: 16px;
    --radius-sm: 10px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading);
    font-weight: 750;
    line-height: 1.15;
    letter-spacing: -.02em;
}

p:last-child {
    margin-bottom: 0;
}

::selection {
    background: rgba(245, 130, 32, .22);
    color: var(--heading);
}

.topbar {
    background: var(--dark);
    color: rgba(255,255,255,.88);
    font-size: .86rem;
    padding: 8px 0;
}

.topbar-copy {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.topbar-links {
    align-items: center;
    gap: 18px;
}

.topbar a {
    color: rgba(255,255,255,.88);
    text-decoration: none;
}

.topbar a:hover {
    color: var(--white);
}

.site-navbar {
    min-height: 76px;
    border-bottom: 1px solid rgba(232,232,232,.82);
    transition: box-shadow .2s ease, min-height .2s ease;
    z-index: 1020;
}

.site-navbar.navbar-scrolled {
    box-shadow: 0 10px 30px rgba(31,31,31,.08);
}

.navbar-brand img {
    width: 235px;
    height: 64px;
    object-fit: contain;
    object-position: left center;
}

.site-navbar .nav-link {
    color: var(--dark);
    font-weight: 650;
    padding: 1.7rem .78rem !important;
    position: relative;
}

.site-navbar .nav-link::after {
    content: "";
    position: absolute;
    left: .78rem;
    right: .78rem;
    bottom: 15px;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform .2s ease;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    color: var(--primary-dark);
}

.site-navbar .nav-link.active::after,
.site-navbar .nav-link:hover::after {
    transform: scaleX(1);
}

.site-btn {
    min-height: 46px;
    border-radius: 8px;
    font-weight: 700;
    padding: .7rem 1.15rem;
}

.btn-primary {
    --bs-btn-bg: var(--primary);
    --bs-btn-border-color: var(--primary);
    --bs-btn-hover-bg: var(--primary-dark);
    --bs-btn-hover-border-color: var(--primary-dark);
    --bs-btn-active-bg: var(--primary-dark);
    --bs-btn-active-border-color: var(--primary-dark);
}

.btn-outline-primary {
    --bs-btn-color: var(--primary-dark);
    --bs-btn-border-color: var(--primary);
    --bs-btn-hover-bg: var(--primary);
    --bs-btn-hover-border-color: var(--primary);
}

.section {
    padding: 88px 0;
}

.section-sm {
    padding: 62px 0;
}

.section-light {
    background: var(--light);
}

.section-dark {
    background: var(--dark);
    color: rgba(255,255,255,.78);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-heading.centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-heading h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin: 6px 0 14px;
}

.section-heading p {
    font-size: 1.06rem;
    color: var(--muted);
}

.eyebrow {
    display: inline-block;
    color: var(--primary-dark);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.flash-wrap {
    position: relative;
    z-index: 1030;
    margin-top: 14px;
}

.hero {
    background:
        linear-gradient(90deg, rgba(248,248,246,.98) 0%, rgba(248,248,246,.98) 55%, rgba(248,248,246,.78) 100%);
    min-height: 650px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 38%;
    background: var(--primary);
    z-index: 0;
}

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

.hero-copy {
    padding: 76px 0;
}

.hero h1 {
    font-size: clamp(2.65rem, 5.2vw, 4.85rem);
    max-width: 780px;
    margin: 10px 0 20px;
}

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

.hero-lead {
    max-width: 690px;
    font-size: 1.12rem;
    color: #656565;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.hero-trust-line {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
    color: var(--dark);
    font-size: .94rem;
    font-weight: 650;
}

.hero-trust-line span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-trust-line i {
    color: var(--primary);
}

.hero-image-wrap {
    height: 590px;
    margin-top: 34px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-image-frame {
    width: min(100%, 410px);
    height: 555px;
    background: #fff;
    border: 8px solid rgba(255,255,255,.82);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    position: relative;
}

.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
}

.hero-badge {
    position: absolute;
    left: -30px;
    bottom: 44px;
    background: var(--white);
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
    padding: 14px 18px;
    max-width: 210px;
}

.hero-badge strong {
    display: block;
    color: var(--heading);
    font-size: 1.05rem;
}

.hero-badge span {
    font-size: .84rem;
    color: var(--muted);
}

.trust-strip {
    border-bottom: 1px solid var(--border);
    background: var(--white);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust-item {
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-right: 1px solid var(--border);
}

.trust-item:last-child {
    border-right: 0;
}

.trust-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    background: rgba(245,130,32,.10);
    color: var(--primary-dark);
    border-radius: 50%;
    font-size: 1.25rem;
}

.trust-item strong {
    display: block;
    color: var(--heading);
    line-height: 1.25;
}

.trust-item small {
    color: var(--muted);
}

.about-visual {
    position: relative;
}

.about-main-image {
    height: 500px;
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.about-stat-card {
    position: absolute;
    right: -20px;
    bottom: 26px;
    background: var(--dark);
    color: white;
    padding: 20px 22px;
    max-width: 235px;
    border-radius: 8px;
}

.about-stat-card strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: grid;
    gap: 12px;
}

.check-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.check-list i {
    color: var(--primary);
    margin-top: 2px;
}

.destination-card {
    height: 100%;
    border: 1px solid var(--border);
    background: var(--white);
    overflow: hidden;
    border-radius: var(--radius-sm);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.destination-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
    border-color: #ddd;
}

.destination-image {
    height: 210px;
    position: relative;
    overflow: hidden;
}

.destination-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.destination-card.featured .destination-image::after {
    content: "Featured";
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--primary);
    color: white;
    font-weight: 800;
    font-size: .72rem;
    padding: 7px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.destination-body {
    padding: 22px;
}

.destination-body h3 {
    font-size: 1.25rem;
    margin-bottom: 9px;
}

.destination-body p {
    color: var(--muted);
    font-size: .94rem;
    min-height: 74px;
}

.text-link {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 750;
    display: inline-flex;
    gap: 7px;
    align-items: center;
}

.text-link:hover {
    color: var(--dark);
}

.philippines-feature {
    background: var(--dark);
    color: rgba(255,255,255,.78);
    overflow: hidden;
}

.philippines-feature h2 {
    color: var(--white);
}

.philippines-image {
    min-height: 460px;
    height: 100%;
    position: relative;
}

.philippines-image img {
    width: 100%;
    height: 100%;
    min-height: 460px;
    object-fit: cover;
}

.philippines-copy {
    padding: 68px 6vw 68px 52px;
}

.feature-points {
    display: grid;
    gap: 14px;
    margin: 26px 0 30px;
}

.feature-point {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.feature-point i {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--primary);
    color: var(--white);
    flex: 0 0 auto;
}

.feature-point strong {
    display: block;
    color: var(--white);
}

.university-card {
    height: 100%;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease;
}

.university-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.university-card.featured {
    border-top: 4px solid var(--primary);
}

.university-image {
    height: 230px;
    overflow: hidden;
    position: relative;
    background: #ececec;
}

.university-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.university-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--primary);
    color: var(--white);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: 7px 10px;
    border-radius: 999px;
}

.university-card-body {
    padding: 22px;
}

.university-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: .83rem;
    color: var(--muted);
    margin-bottom: 9px;
}

.university-card h3 {
    font-size: 1.24rem;
    min-height: 58px;
    margin-bottom: 10px;
}

.university-card p {
    color: var(--muted);
    font-size: .92rem;
    min-height: 94px;
}

.university-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.service-card {
    height: 100%;
    background: var(--white);
    border: 1px solid var(--border);
    padding: 26px;
    border-radius: var(--radius-sm);
}

.service-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    background: rgba(245,130,32,.10);
    color: var(--primary-dark);
    border-radius: 50%;
    font-size: 1.35rem;
    margin-bottom: 18px;
}

.service-card h3 {
    font-size: 1.16rem;
    margin-bottom: 9px;
}

.service-card p {
    color: var(--muted);
    font-size: .94rem;
}

.process-wrap {
    counter-reset: process;
}

.process-step {
    position: relative;
    padding: 0 10px;
}

.process-step::before {
    counter-increment: process;
    content: "0" counter(process);
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    background: var(--dark);
    color: var(--white);
    border-radius: 50%;
    font-weight: 800;
    margin-bottom: 18px;
}

.process-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 26px;
    left: 73px;
    width: calc(100% - 84px);
    height: 1px;
    background: var(--border);
}

.process-step h3 {
    font-size: 1.12rem;
}

.process-step p {
    font-size: .9rem;
    color: var(--muted);
}

.video-scroller {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.reel-card {
    appearance: none;
    border: 0;
    padding: 0;
    background: transparent;
    width: 100%;
    text-align: left;
}

.reel-poster {
    aspect-ratio: 9 / 16;
    position: relative;
    overflow: hidden;
    background: #ddd;
    border-radius: 10px;
}

.reel-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.reel-card:hover .reel-poster img {
    transform: scale(1.025);
}

.reel-overlay {
    position: absolute;
    inset: auto 0 0;
    min-height: 46%;
    padding: 22px 18px 18px;
    color: white;
    background: linear-gradient(transparent, rgba(0,0,0,.82));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.reel-overlay h3 {
    color: white;
    font-size: 1.05rem;
    margin: 10px 0 5px;
}

.reel-overlay p {
    font-size: .8rem;
    color: rgba(255,255,255,.78);
    margin: 0;
}

.play-button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--primary);
    color: white;
    font-size: 1.15rem;
    box-shadow: 0 8px 20px rgba(0,0,0,.22);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 220px;
    gap: 14px;
}

.gallery-item {
    border: 0;
    padding: 0;
    background: #ddd;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: zoom-in;
}

.gallery-item:nth-child(1) { grid-column: span 6; grid-row: span 2; }
.gallery-item:nth-child(2) { grid-column: span 3; }
.gallery-item:nth-child(3) { grid-column: span 3; }
.gallery-item:nth-child(4) { grid-column: span 3; }
.gallery-item:nth-child(5) { grid-column: span 3; }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.gallery-item:hover img {
    transform: scale(1.025);
}

.gallery-label {
    position: absolute;
    left: 14px;
    bottom: 14px;
    background: rgba(41,41,41,.86);
    color: white;
    padding: 7px 10px;
    font-size: .78rem;
    font-weight: 700;
}

.why-card {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.why-card:last-child {
    border-bottom: 0;
}

.why-number {
    font-size: 1.6rem;
    line-height: 1;
    color: var(--primary);
    font-weight: 850;
    min-width: 40px;
}

.why-card h3 {
    font-size: 1.08rem;
    margin-bottom: 5px;
}

.why-card p {
    font-size: .91rem;
    color: var(--muted);
}

.eligibility-panel {
    background: var(--dark);
    color: rgba(255,255,255,.78);
    border-radius: var(--radius);
    overflow: hidden;
}

.eligibility-copy {
    padding: 48px;
}

.eligibility-copy h2 {
    color: white;
}

.eligibility-steps {
    display: grid;
    gap: 13px;
    margin-top: 24px;
}

.eligibility-step {
    display: flex;
    gap: 12px;
}

.eligibility-step i {
    color: var(--primary);
}

.eligibility-form-wrap {
    background: white;
    padding: 34px;
    color: var(--text);
    height: 100%;
}

.enquiry-form {
    position: relative;
}

.form-heading {
    margin-bottom: 22px;
}

.form-heading h3 {
    margin: 4px 0 8px;
}

.form-heading p {
    color: var(--muted);
    font-size: .92rem;
}

.form-label {
    color: var(--heading);
    font-size: .87rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.form-control,
.form-select {
    min-height: 48px;
    border-color: #ddd;
    border-radius: 7px;
    padding: .7rem .85rem;
}

textarea.form-control {
    min-height: 110px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 .2rem rgba(245,130,32,.12);
}

.form-privacy {
    font-size: .75rem;
    color: var(--muted);
    margin-top: 8px;
    text-align: center;
}

.form-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.accordion {
    --bs-accordion-border-color: var(--border);
    --bs-accordion-btn-focus-box-shadow: none;
    --bs-accordion-active-bg: var(--light);
    --bs-accordion-active-color: var(--heading);
}

.accordion-button {
    font-weight: 720;
    color: var(--heading);
    padding: 20px 22px;
}

.accordion-body {
    color: var(--muted);
    padding: 2px 22px 22px;
}

.cta-band {
    background: var(--white);
}

.cta-panel {
    background: var(--primary);
    color: rgba(255,255,255,.86);
    padding: 42px 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border-radius: 10px;
}

.cta-panel h2 {
    color: white;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin: 4px 0 8px;
}

.cta-panel p {
    max-width: 700px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 0 0 auto;
}

.site-footer {
    background: #222;
    color: rgba(255,255,255,.68);
    padding: 68px 0 0;
}

.footer-logo-wrap {
    background: white;
    display: inline-block;
    padding: 8px 10px;
    margin-bottom: 18px;
}

.footer-logo-wrap img {
    width: 230px;
}

.footer-intro {
    max-width: 380px;
}

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

.footer-contact-list a,
.footer-contact-list > div {
    display: flex;
    gap: 10px;
    text-decoration: none;
    color: rgba(255,255,255,.72);
}

.footer-contact-list i {
    color: var(--primary);
    margin-top: 2px;
}

.footer-title {
    color: white;
    font-size: 1rem;
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.footer-links a {
    color: rgba(255,255,255,.65);
    text-decoration: none;
}

.footer-links a:hover {
    color: white;
}

.footer-cta {
    border: 1px solid var(--border-dark);
    padding: 24px;
}

.footer-cta h3 {
    color: white;
    font-size: 1.35rem;
    margin: 5px 0 8px;
}

.footer-cta p {
    font-size: .9rem;
}

.footer-bottom {
    border-top: 1px solid var(--border-dark);
    margin-top: 48px;
    padding: 20px 0 28px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: .78rem;
}

.footer-disclaimer {
    max-width: 700px;
    text-align: right;
}

.page-hero {
    background: var(--light);
    padding: 72px 0;
    border-bottom: 1px solid var(--border);
}

.page-hero h1 {
    font-size: clamp(2.35rem, 4.5vw, 4rem);
    margin: 8px 0 14px;
}

.page-hero p {
    max-width: 760px;
    font-size: 1.08rem;
    color: var(--muted);
}

.breadcrumb-lite {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: .82rem;
    color: var(--muted);
}

.breadcrumb-lite a {
    text-decoration: none;
    color: var(--dark);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}

.stat-box {
    background: white;
    padding: 24px;
}

.stat-box strong {
    display: block;
    color: var(--heading);
    font-size: 1.15rem;
}

.stat-box span {
    color: var(--muted);
    font-size: .86rem;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.filter-btn {
    border: 1px solid var(--border);
    background: white;
    color: var(--dark);
    min-height: 43px;
    padding: 8px 16px;
    font-weight: 700;
    border-radius: 999px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--dark);
    color: white;
    border-color: var(--dark);
}

.university-detail-panel {
    background: var(--light);
    border: 1px solid var(--border);
    padding: 28px;
    margin-bottom: 34px;
}

.university-detail-panel img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.university-detail-panel .detail-list {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.university-detail-panel .detail-list li {
    display: flex;
    gap: 9px;
}

.university-detail-panel .detail-list i {
    color: var(--primary);
}

.contact-card {
    height: 100%;
    border: 1px solid var(--border);
    padding: 26px;
    background: white;
}

.contact-card i {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(245,130,32,.10);
    color: var(--primary-dark);
    font-size: 1.15rem;
    margin-bottom: 16px;
}

.contact-card h3 {
    font-size: 1.08rem;
}

.contact-card a {
    color: var(--text);
    text-decoration: none;
}

.map-placeholder {
    min-height: 420px;
    background:
        linear-gradient(rgba(245,130,32,.06), rgba(245,130,32,.06)),
        repeating-linear-gradient(90deg, #f3f3f0 0, #f3f3f0 46px, #ededeb 46px, #ededeb 47px),
        repeating-linear-gradient(0deg, transparent 0, transparent 46px, #ededeb 46px, #ededeb 47px);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    text-align: center;
    padding: 28px;
}

.map-placeholder i {
    font-size: 2.2rem;
    color: var(--primary);
}

.modal-content {
    border-radius: 10px;
}

.modal-video-size {
    max-width: 430px;
}

#modalVideo {
    max-height: 78vh;
    background: black;
}

.gallery-modal-image {
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
}

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 28px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--dark);
    color: white;
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .2s ease;
    z-index: 1010;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 62px;
    background: white;
    border-top: 1px solid var(--border);
    z-index: 1040;
    display: none !important;
    grid-template-columns: repeat(3, 1fr);
}

.mobile-action-bar a,
.mobile-action-bar button {
    border: 0;
    background: white;
    color: var(--dark);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: .72rem;
    font-weight: 700;
    gap: 2px;
}

.mobile-action-bar i {
    font-size: 1.05rem;
    color: var(--primary-dark);
}

.offcanvas-brand img {
    width: 230px;
}

.mobile-nav-list .nav-link {
    padding: 13px 0;
    font-weight: 700;
    border-bottom: 1px solid var(--border);
}

.mobile-nav-list .nav-link.active {
    color: var(--primary-dark);
}

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

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

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

@media (max-width: 1199.98px) {
    .navbar-brand img {
        width: 210px;
    }
    .hero h1 {
        font-size: 3.5rem;
    }
    .hero-image-frame {
        width: 355px;
    }
    .university-card p {
        min-height: 116px;
    }
}

@media (max-width: 991.98px) {
    .mobile-action-bar {
        display: grid !important;
    }
    body {
        padding-bottom: 62px;
    }
    .site-navbar {
        min-height: 70px;
    }
    .navbar-brand img {
        width: 200px;
        height: 54px;
    }
    .hero {
        min-height: auto;
    }
    .hero::after {
        display: none;
    }
    .hero-copy {
        padding: 58px 0 24px;
    }
    .hero-image-wrap {
        height: 475px;
        margin: 0 0 42px;
    }
    .hero-image-frame {
        width: min(100%, 390px);
        height: 450px;
    }
    .hero-badge {
        left: 0;
    }
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .trust-item:nth-child(2) {
        border-right: 0;
    }
    .trust-item:nth-child(-n+2) {
        border-bottom: 1px solid var(--border);
    }
    .section {
        padding: 70px 0;
    }
    .about-main-image {
        height: 420px;
    }
    .about-stat-card {
        right: 20px;
    }
    .philippines-copy {
        padding: 48px 30px;
    }
    .video-scroller {
        display: flex;
        overflow-x: auto;
        gap: 14px;
        scroll-snap-type: x mandatory;
        padding-bottom: 10px;
        scrollbar-width: thin;
    }
    .reel-card {
        min-width: 260px;
        scroll-snap-align: start;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
    }
    .gallery-item,
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5) {
        grid-column: auto;
        grid-row: auto;
    }
    .gallery-item:nth-child(1) {
        grid-column: span 2;
    }
    .process-step:not(:last-child)::after {
        display: none;
    }
    .cta-panel {
        align-items: flex-start;
        flex-direction: column;
    }
    .footer-bottom {
        flex-direction: column;
    }
    .footer-disclaimer {
        text-align: left;
    }
    .back-to-top {
        bottom: 82px;
    }
}

@media (max-width: 767.98px) {
    .topbar {
        font-size: .78rem;
    }
    .section {
        padding: 56px 0;
    }
    .section-sm {
        padding: 48px 0;
    }
    .section-heading {
        margin-bottom: 26px;
    }
    .hero-copy {
        padding-top: 48px;
    }
    .hero h1 {
        font-size: 2.75rem;
    }
    .hero-lead {
        font-size: 1rem;
    }
    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .hero-image-wrap {
        height: 400px;
    }
    .hero-image-frame {
        height: 390px;
        width: 100%;
    }
    .hero-badge {
        bottom: 20px;
        max-width: 190px;
    }
    .trust-grid {
        grid-template-columns: 1fr;
    }
    .trust-item {
        border-right: 0;
        border-bottom: 1px solid var(--border) !important;
        padding: 18px 0;
    }
    .trust-item:last-child {
        border-bottom: 0 !important;
    }
    .about-main-image {
        height: 340px;
    }
    .about-stat-card {
        position: static;
        margin: -34px 14px 0;
        max-width: none;
    }
    .destination-image {
        height: 225px;
    }
    .philippines-image,
    .philippines-image img {
        min-height: 330px;
    }
    .philippines-copy {
        padding: 38px 22px;
    }
    .university-card h3,
    .university-card p {
        min-height: 0;
    }
    .eligibility-copy {
        padding: 32px 24px;
    }
    .eligibility-form-wrap {
        padding: 26px 20px;
    }
    .cta-panel {
        padding: 30px 22px;
    }
    .cta-actions {
        width: 100%;
    }
    .cta-actions .btn {
        width: 100%;
    }
    .page-hero {
        padding: 52px 0;
    }
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-item,
    .gallery-item:nth-child(1) {
        grid-column: auto;
    }
    .map-placeholder {
        min-height: 320px;
    }
}

@media (max-width: 420px) {
    .navbar-brand img {
        width: 180px;
    }
    .hero h1 {
        font-size: 2.35rem;
    }
    .reel-card {
        min-width: 235px;
    }
}
