:root {
    --primary-color: #002855;
    --secondary-color: #C6AA76;
    --secondary-hover: #257A8A;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f8fafc;
    --bg-dark: #001A3D;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --border-radius: 8px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    font-weight: 700;
}

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

.max-w-800 {
    max-width: 800px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hidden {
    display: none !important;
}

.section {
    padding: 80px 0;
}

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

.section--dark {
    background-color: var(--primary-color);
    color: var(--white);
}

.section-title {
    font-size: 2.0rem;
    margin-bottom: 1rem;
    color: inherit;
}

.section--light .section-title,
.section:not(.section--dark):not(.section--light) .section-title {
    color: var(--primary-color);
}

.section-desc {
    font-size: 1.0rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.section--dark .section-desc {
    color: #cbd5e1;
}

.section-tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: rgba(198, 170, 118, 0.1);
    color: var(--secondary-color);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.grid-2-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4-col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    font-size: 1rem;
}

.btn--primary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn--primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn--primary:hover .btn-arrow {
    transform: translateY(3px);
}

.btn--secondary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn--secondary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn--full {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #f1f5f9;
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 65px;
}

.header__logo img {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header__search-trigger-btn,
.header__menu-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 4px;
    background-color: transparent;
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    cursor: pointer;
}

.header__search-trigger-btn svg {
    width: 16px;
    height: 16px;
}

.header__search-trigger-btn:hover,
.header__menu-btn:hover {
    color: var(--primary-color);
    background-color: rgba(0, 40, 85, 0.08);
}

/* Hamburger icon wrapper */
.menu-icon-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 15px;
    height: 10px;
}

.menu-icon-line {
    width: 100%;
    height: 2px;
    background-color: currentColor;
    border-radius: 2px;
    transition: var(--transition);
}

/* Drawer overlay backdrop */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 26, 61, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    z-index: 9998;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Menu Drawer Container */
.menu-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 480px;
    height: 100%;
    background-color: var(--primary-color);
    /* Navy Blue */
    color: var(--white);
    z-index: 9999;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.menu-drawer.active {
    transform: translateX(0);
}

/* Drawer Header */
.menu-drawer__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.menu-drawer__logo {
    background-color: var(--white);
    padding: 6px 12px;
    border-radius: 4px;
    display: flex;
    align-items: center;
}

.menu-drawer__logo img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.menu-drawer__close-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
}

.menu-drawer__close-btn:hover {
    color: var(--secondary-hover);
}

.menu-drawer__close-btn svg {
    transition: transform 0.3s ease;
}

.menu-drawer__close-btn:hover svg {
    transform: rotate(90deg);
}

/* Drawer Content */
.menu-drawer__content {
    flex-grow: 1;
    overflow-y: auto;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Scrollbar styles for drawer content */
.menu-drawer__content::-webkit-scrollbar {
    width: 6px;
}

.menu-drawer__content::-webkit-scrollbar-track {
    background: transparent;
}

.menu-drawer__content::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

/* Drawer Search Form */
.menu-drawer__search {
    width: 100%;
}

.drawer-search-form {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 8px;
    transition: border-color 0.3s ease;
}

.drawer-search-form:focus-within {
    border-color: var(--secondary-color);
}

.drawer-search-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: var(--white);
    font-size: 1.1rem;
    font-family: inherit;
    padding-right: 40px;
}

.drawer-search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.drawer-search-submit {
    position: absolute;
    right: 0;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.drawer-search-submit:hover {
    color: var(--secondary-hover);
}

/* Drawer Menu Grid */
.menu-drawer__grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.menu-drawer__col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.menu-drawer__col-title {
    font-size: 1.15rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 4px;
}

.menu-drawer__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-drawer__link {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    transition: all 0.25s ease;
    display: inline-block;
}

.menu-drawer__link:hover {
    color: var(--secondary-hover);
    transform: translateX(6px);
}

/* Extra visual weight for main links */
.menu-drawer__link.font-semibold {
    font-weight: 600;
    color: var(--white);
}

/* Drawer Footer */
.menu-drawer__footer {
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background-color: var(--bg-dark);
}

.menu-drawer__socials {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
}

.menu-drawer__socials a {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.menu-drawer__socials a:hover {
    color: var(--secondary-color);
}

.menu-drawer__copyright {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.4;
}

/* Body State when Drawer is open */
body.drawer-open {
    overflow: hidden;
}

/* Floating Action Button (FAB) */
.fab {
    position: fixed;
    bottom: 20px;
    right: 95px;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 0 24px;
    border-radius: 50px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 999;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease, background-color 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    height: 60px;
    text-decoration: none;
}

.fab:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-5px);
}

.fab.chatbot-open {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(0);
}

.fab__text {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
    letter-spacing: 0.5px;
    display: inline-block;
    white-space: nowrap;
}

/* Hero Section */
.hero {
    position: relative;
    height: 550px; /* Normal screens: normal landscape height, image displays normally */
    margin-top: 60px;
    overflow: hidden;
    background-color: var(--bg-dark);
}

@media (min-width: 1200px) {
    .hero {
        height: calc(100vh - 60px); /* Large screens: scale to fill viewport (fullscreen) */
        min-height: 600px;
    }
}

.iped-banner {
    margin-top: 60px !important;
}

.hero__slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

/* Hover effect: zoom background image slightly */
.hero:hover .hero__slide {
    transform: scale(1.05);
}

/* Bottom shadow vignette to make card pop */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 26, 61, 0.4), transparent);
    z-index: 2;
    pointer-events: none;
}

/* Floating Card Container */
.hero__container-wrapper {
    position: absolute;
    bottom: 8%;
    left: 8%;
    width: 84%;
    max-width: 1200px;
    z-index: 3;
    pointer-events: none;
}

.hero__card {
    background-color: var(--white);
    padding: 40px;
    width: 100%;
    max-width: 580px;
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
    border-top: 5px solid var(--secondary-color);
    /* Golden Accent Line */
    pointer-events: auto;
    /* Enable clicks inside card */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 26, 61, 0.15);
}

.hero__card-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero__card-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.25;
    margin: 0;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.hero__card-title a {
    color: inherit;
    text-decoration: none;
}

.hero__card-title a:hover {
    color: var(--secondary-color);
}

.hero__card-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.hero__card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.05rem;
    transition: var(--transition);
    align-self: flex-start;
    text-decoration: none;
}

.hero__card-btn:hover {
    color: var(--secondary-hover);
}

.hero__card-btn svg {
    transition: transform 0.3s ease;
}

.hero__card-btn:hover svg {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: auto;
        display: flex;
        flex-direction: column;
        margin-top: 60px;
    }

    .hero__slider {
        position: relative;
        height: 300px;
        width: 100%;
    }

    .hero__slide {
        position: absolute;
    }

    .hero__container-wrapper {
        position: relative;
        bottom: auto;
        left: auto;
        width: 100%;
        padding: 20px;
        z-index: 3;
    }

    .hero__card {
        max-width: 100%;
        padding: 30px 20px;
        box-shadow: none;
        border-radius: 0;
        border-top: none;
        border-bottom: 2px solid #e2e8f0;
    }

    .hero__card-title {
        font-size: clamp(1rem, 5.2vw, 1.45rem);
    }
}

.hero__caption {
    position: absolute;
    bottom: 20px;
    right: 100px;
    background-color: rgba(0, 40, 85, 0.75);
    color: var(--white);
    padding: 10px 18px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 4px;
    border-left: 4px solid var(--secondary-color);
    z-index: 5;
    pointer-events: none;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: var(--transition);
}

@media (max-width: 768px) {
    .hero__caption {
        bottom: 12px;
        right: 90px;
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

/* About Section */
.about__list {
    margin-top: 2rem;
}

.about__list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
}

.about__image-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 100%;
    min-height: 400px;
}

.about__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.about__image-wrapper:hover .about__img {
    transform: scale(1.05);
}

/* Quick Facts */
.facts {
    position: relative;
    padding-top: 100px;
    padding-bottom: 100px;
    overflow: hidden;
}

.fact-card {
    text-align: center;
    padding: 30px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.fact-card:nth-child(3n) {
    border-right: none;
}

.fact-card__icon {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.fact-card__number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fact-card__text {
    font-size: 1.125rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 2-Column Layout for Facts Section */
.facts__container {
    position: relative;
    z-index: 2;
    display: block;
}

.facts__content {
    max-width: 650px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.facts__title {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: clamp(1.2rem, 4vw, 2rem);
    text-align: center;
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 992px) {
    .facts__title {
        max-width: 420px;
        margin-left: 0;
        margin-right: 0;
        white-space: nowrap;
    }
}

.facts__grid {
    display: flex;
    gap: 30px;
    margin-top: 15px;
    position: relative;
}

.facts__col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.facts__divider {
    display: none;
}

.fact-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

.fact-item__icon {
    color: #94a3b8;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    transition: var(--transition);
}

.fact-item:hover .fact-item__icon {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.fact-item__details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fact-item__number {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(135deg, #fff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fact-item__text {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.facts__action {
    margin-top: 20px;
    display: flex;
    justify-content: flex-start;
}

@media (max-width: 991px) {
    .facts__action {
        justify-content: center;
    }
}

.facts__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.facts__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

.facts__bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, 
        rgba(0, 26, 61, 0.95) 0%, 
        rgba(0, 26, 61, 0.85) 30%, 
        rgba(0, 26, 61, 0.45) 55%, 
        rgba(0, 26, 61, 0.0) 85%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 80%);
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 80%);
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 991px) {
    .facts {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    .facts__bg::before {
        background: rgba(0, 26, 61, 0.85);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        mask-image: none;
        -webkit-mask-image: none;
    }
    
    .facts__content {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .facts__grid {
        flex-direction: column;
        gap: 20px;
    }
    
    .facts__divider {
        width: 100%;
        height: 1px;
    }
}


/* Quick Facts Bottom Action */
.facts-action {
    text-align: center;
    margin-top: 20px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    width: 100%;
}

.facts-action__btn {
    gap: 8px;
    padding: 14px 32px;
    box-shadow: 0 4px 15px rgba(198, 170, 118, 0.2);
}

.facts-action__btn .btn-arrow {
    transition: transform 0.3s ease;
}

.facts-action__btn:hover .btn-arrow {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .facts-action {
        margin-top: 15px;
        padding-top: 20px;
    }
}

/* USPs */
/* USPs Section Layout */
.usps {
    background-color: var(--white);
}

.usp-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 2rem;
}

.usp-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    flex: 1 1 calc(33.333% - 20px);
    min-width: 300px;
    max-width: 370px;
    display: flex;
    flex-direction: column;
    position: relative;
    border-top: 4px solid var(--secondary-color);
    /* Gold top border */
}

.usp-card::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 0;
    width: 0;
    height: 4px;
    background-color: var(--primary-color);
    /* Navy on hover */
    transition: width 0.4s ease;
}

.usp-card:hover::before {
    width: 100%;
}

.usp-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.usp-card__header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.usp-card__icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(198, 170, 118, 0.1);
    /* Light Gold background */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.usp-card:hover .usp-card__icon-wrapper {
    background: rgba(10, 37, 64, 0.08);
    /* Soft Navy background */
    color: var(--primary-color);
    /* Navy icon color */
    transform: scale(1.1);
}

.usp-card__content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.usp-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.4;
    min-height: auto; /* Allow natural height to prevent unnecessary gaps */
}

.usp-card__desc {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Certifications */
.certifications {
    background-color: var(--white);
    position: relative;
}

.certifications--compact {
    padding-top: 50px;
    padding-bottom: 50px;
}

.certifications::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 1000px;
    height: 1px;
    border-top: 1px solid var(--secondary-color);
    pointer-events: none;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.cert__title {
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.cert__logos {
    gap: 40px;
    flex-wrap: wrap;
}

.cert__logo {
    height: 130px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    padding-bottom: 10px;
    border-bottom: 3px solid transparent;
}

.cert__logo:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--secondary-color);
}

/* Instructors & Partners */
.instructors {
    background-color: var(--white);
    position: relative;
}

.section--dark.instructors {
    background-color: var(--primary-color);
}

.instructors--compact {
    padding-top: 50px;
    padding-bottom: 50px;
}

.instructors::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 1000px;
    height: 1px;
    border-top: 1px solid var(--primary-color);
    pointer-events: none;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    top: 0;
}

.marquee-leadership {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    margin-top: 3rem;
    padding: 20px 0;
}

.marquee-leadership:before,
.marquee-leadership:after {
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    content: "";
    z-index: 2;
    pointer-events: none;
    display: none;
}

.marquee-leadership:before {
    left: 0;
    background: linear-gradient(to right, var(--white) 0%, transparent 100%);
}

.marquee-leadership:after {
    right: 0;
    background: linear-gradient(to left, var(--white) 0%, transparent 100%);
}

.section--dark .marquee-leadership:before {
    background: linear-gradient(to right, var(--primary-color) 0%, transparent 100%);
}

.section--dark .marquee-leadership:after {
    background: linear-gradient(to left, var(--primary-color) 0%, transparent 100%);
}

.marquee-leadership__content {
    display: inline-block;
    animation: marquee-leadership 45s linear infinite;
}

.marquee-leadership:hover .marquee-leadership__content {
    animation-play-state: paused;
}

.marquee-leadership__content .instructor-card {
    display: inline-block;
    width: 280px;
    min-height: 330px;
    margin: 0 20px;
    background-color: var(--white);
    padding: 30px 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    white-space: normal;
    text-align: center;
    vertical-align: top;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 4px solid var(--primary-color);
}

.marquee-leadership__content .instructor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-bottom-color: var(--secondary-color);
}

.marquee-leadership__content .instructor-card__img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.25rem;
    border: 4px solid var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    display: block;
}

.marquee-leadership__content .instructor-card:hover .instructor-card__img {
    transform: scale(1.05);
    border-color: rgba(0, 40, 85, 0.4);
}

.marquee-leadership__content .instructor-card__name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.marquee-leadership__content .instructor-card__title {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

@keyframes marquee-leadership {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.partners {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid var(--secondary-color);
}

.partners-section {
    padding-top: 50px;
    padding-bottom: 50px;
    position: relative;
}

.partners-section::before,
.partners-section::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 1000px;
    height: 1px;
    border-top: 1px solid var(--secondary-color);
    pointer-events: none;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.partners-section::before {
    top: 0;
}

.partners-section::after {
    bottom: 0;
}

.partners__title {
    color: var(--text-light);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.marquee {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.marquee:before,
.marquee:after {
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    content: "";
    z-index: 2;
}

.marquee:before {
    left: 0;
    background: linear-gradient(to right, white 0%, transparent 100%);
}

.marquee:after {
    right: 0;
    background: linear-gradient(to left, white 0%, transparent 100%);
}

.marquee__content {
    display: inline-block;
    animation: marquee 45s linear infinite;
}

/* Pause scroll animation on hover */
.marquee:hover .marquee__content {
    animation-play-state: paused;
}

.marquee__content img {
    display: inline-block;
    margin: 0 15px;
    height: 85px;
    max-width: 180px;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
    transition: var(--transition);
    padding-bottom: 10px;
    border-bottom: 3px solid transparent;
}

.marquee__content img:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--secondary-color);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Testimonials */
.testimonial-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: rgba(198, 170, 118, 0.1);
    font-family: serif;
    line-height: 1;
}

.testimonial-card__quote {
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-card__user {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
}

.testimonial-card__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-card__name {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.testimonial-card__role {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* FAQ */
.faq__item {
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 1rem;
}

.faq__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: left;
    transition: var(--transition);
}

.faq__question:hover {
    color: var(--secondary-color);
}

.faq__icon {
    transition: transform 0.3s ease;
}

.faq__item.active .faq__icon {
    transform: rotate(180deg);
    color: var(--secondary-color);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq__answer p {
    padding-bottom: 20px;
    color: var(--text-light);
}

/* Lead Gen Form */
.contact {
    background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--bg-dark) 100%);
}

.contact__info {
    padding-right: 40px;
}

.contact__details {
    margin-top: 2rem;
}

.contact__detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.contact__detail-item svg {
    color: var(--secondary-color);
}

.contact__form-wrapper {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    color: var(--text-color);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-color);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(198, 170, 118, 0.1);
}

/* Footer */
.footer {
    background-color: #f9f9f9;
    color: #555555;
    padding-top: 80px;
}

.footer__container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer__logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.footer__desc {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    max-width: 400px;
}

.footer__socials {
    display: flex;
    gap: 15px;
}

.footer__social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--text-light);
    transition: var(--transition);
}

.footer__social-link:hover {
    background-color: #555555;
    color: var(--white);
    transform: translateY(-3px);
}

.footer__title {
    color: #4b5563;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer__links ul li {
    margin-bottom: 0.75rem;
}

.footer__links ul li a {
    color: var(--text-light);
    transition: var(--transition);
    display: inline-block;
}

.footer__links ul li a:hover {
    color: #1f2937;
    transform: translateX(5px);
}

.footer__bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--text-light);
    padding: 20px 0;
    text-align: center;
    font-size: 0.875rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* Gallery Section */
.gallery {
    background-color: var(--white);
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 20px;
}

.gallery__item {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
}

.gallery__item--large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery__item:hover .gallery__img {
    transform: scale(1.05);
}

/* Chatbot */
.chatbot {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.chatbot__toggle {
    background-color: var(--primary-color);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.chatbot__toggle:hover {
    transform: scale(1.1);
    background-color: var(--secondary-color);
}

.chatbot__window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 450px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.chatbot.is-open .chatbot__window {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
}

.chatbot__header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot__header h4 {
    margin: 0;
    font-size: 1.1rem;
}

.chatbot__close {
    color: var(--white);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.chatbot__close:hover {
    opacity: 1;
}

.chatbot__body {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-msg {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.chat-msg--bot {
    background-color: var(--white);
    color: var(--text-color);
    border-bottom-left-radius: 2px;
    align-self: flex-start;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.chat-msg--user {
    background-color: var(--secondary-color);
    color: var(--white);
    border-bottom-right-radius: 2px;
    align-self: flex-end;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.chat-quick-replies {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.chat-btn {
    background-color: rgba(198, 170, 118, 0.1);
    color: var(--secondary-color);
    border: 1px solid rgba(198, 170, 118, 0.2);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    text-align: left;
    transition: var(--transition);
}

.chat-btn:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.chatbot__footer {
    padding: 15px;
    background-color: var(--white);
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 10px;
}

.chatbot__input {
    flex-grow: 1;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    padding: 10px 15px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.chatbot__input:focus {
    border-color: var(--secondary-color);
}

.chatbot__send {
    background-color: var(--secondary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.chatbot__send:hover {
    background-color: var(--secondary-hover);
}

/* Program Details Grid */
.program-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 2rem;
}

.program-item {
    background-color: var(--white);
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary-color);
    transition: var(--transition);
}

.program-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.program-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}

.program-item p {
    color: var(--text-light);
    font-size: 1rem;
}

.program-item--full {
    grid-column: span 2;
}

/* Highlighted Partner */
.partner-highlight {
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    padding: 5px;
    background-color: rgba(198, 170, 118, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .grid-4-col {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero__title {
        font-size: 2.8rem;
    }

    .hero__overlay {
        width: 75%;
        clip-path: polygon(0 0, 90% 0, 100% 100%, 0% 100%);
    }

    .footer__container {
        grid-template-columns: 1fr 1fr;
    }

    .footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {

    .grid-2-col,
    .grid-3-col,
    .grid-4-col {
        grid-template-columns: 1fr;
        gap: 20px !important;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.6rem;
    }
    .section-title span,
    .hero__title span {
        white-space: normal !important;
    }

    .section-desc {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .cert__logos {
        gap: 20px;
    }

    .cert__logo {
        height: 80px;
    }

    .facts__grid {
        flex-direction: column;
        gap: 20px;
    }

    .facts__title {
        text-align: center;
        max-width: 100%;
    }

    .header__nav {
        display: none;
    }

    .header__container {
        height: 50px;
    }

    .header__logo img {
        height: 32px;
    }

    .header__search-trigger-btn,
    .header__menu-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .iped-banner {
        margin-top: 50px !important;
    }

    /* Simplified for mobile, would need hamburger menu in real app */
    .hero {
        margin-top: 50px;
        height: auto; /* Mobile screens: normal flow height */
        min-height: auto;
    }

    .hero__overlay {
        width: 100%;
        clip-path: none;
        padding: 0 5%;
        background-color: rgba(0, 40, 85, 0.85);
        justify-content: center;
        text-align: center;
    }

    .hero__title {
        font-size: 2.2rem;
    }

    .hero__arrow {
        display: none;
    }

    .fact-card {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .fact-card:last-child {
        border-bottom: none;
    }

    .contact__info {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .fab__text {
        display: inline-block;
        font-size: 0.85rem;
    }

    .fab {
        padding: 0 16px;
        border-radius: 30px;
        right: 75px;
        bottom: 15px;
        top: auto;
        transform: none;
        width: auto;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }

    .chatbot {
        bottom: 15px;
        right: 15px;
    }

    .chatbot__toggle {
        width: 50px;
        height: 50px;
    }

    .contact-btn {
        width: 50px;
        height: 50px;
        margin-bottom: 8px;
    }

    .contact-btn .contact-label {
        right: 60px;
        font-size: 0.8rem;
    }

    .fab:hover {
        transform: translateY(-5px);
    }

    .program-grid {
        grid-template-columns: 1fr;
    }

    .program-item--full {
        grid-column: span 1;
    }

    /* Gallery Grid Mobile Responsiveness */
    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 10px;
    }
    .gallery__item--large {
        grid-column: span 2;
        grid-row: span 1;
        height: 200px;
    }
    .gallery__item {
        height: 150px;
    }

    /* Banner Sizing for Subpages on Mobile */
    section[style*="height: 400px"],
    .iped-banner {
        height: 220px !important;
        padding-bottom: 20px !important;
    }
    section[style*="height: 400px"] h1,
    .iped-banner h1 {
        font-size: 1.8rem !important;
    }

    .video-fallback-text {
        text-align: center;
        max-width: 90%;
        line-height: 1.4;
    }
}

@media (max-width: 576px) {
    .header__search-trigger-btn .action-text,
    .header__menu-btn .action-text {
        display: none;
    }
    
    .header__search-trigger-btn,
    .header__menu-btn {
        padding: 8px;
        gap: 0;
    }

    .footer__container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .chatbot__window {
        width: calc(100vw - 40px);
        right: 0px;
        bottom: 70px;
        height: 400px;
    }

    .gallery__grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .gallery__item--large {
        grid-column: span 1;
        grid-row: span 1;
        height: 200px;
    }
    .gallery__item {
        height: 180px;
    }
    
    .usp-card {
        min-width: 100%;
    }

    .usp-card__title {
        min-height: auto;
    }
}


/* PTIT Section Styling */
.ptit-about {
    background-color: var(--white);
    border-bottom: 1px solid #e2e8f0;
}


.ptit-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    background: var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.ptit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--secondary-color), var(--secondary-hover));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.ptit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 40, 85, 0.08);
    border-color: rgba(198, 170, 118, 0.3);
}

.ptit-card:hover::before {
    transform: scaleX(1);
}

/* Fallback for YouTube embed with disabled playback */
.video-fallback-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.video-fallback-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: var(--border-radius);
    aspect-ratio: 16/9;
    background-color: #000;
}

.video-fallback-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.video-fallback-link:hover .video-fallback-thumbnail {
    transform: scale(1.05);
}

.video-fallback-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 37, 64, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    transition: background 0.3s ease;
}

.video-fallback-link:hover .video-fallback-overlay {
    background: rgba(10, 37, 64, 0.55);
}

.play-button {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background-color: var(--secondary-color, #C6AA76);
    color: var(--white, #fff);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.play-button svg {
    margin-left: 4px;
    fill: currentColor;
}

.video-fallback-link:hover .play-button {
    background-color: var(--secondary-hover, #B59765);
    transform: scale(1.15);
    box-shadow: 0 6px 25px rgba(198, 170, 118, 0.6);
}

.video-fallback-text {
    color: var(--white, #fff);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
}

.video-fallback-link:hover .video-fallback-text {
    color: var(--secondary-color, #C6AA76);
    border-bottom-color: var(--secondary-color, #C6AA76);
}

/* --- Lightbox / Image Zoom Popup --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox__content {
    position: relative;
    max-width: 85%;
    max-height: 85%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox.active .lightbox__content {
    transform: scale(1);
}

.lightbox__image {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    object-fit: contain;
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.lightbox__caption {
    color: #ffffff;
    margin-top: 15px;
    font-size: 1.1rem;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2.5rem;
    cursor: pointer;
    opacity: 0.75;
    transition: all 0.2s ease;
    z-index: 100000;
    line-height: 1;
}

.lightbox__close:hover {
    opacity: 1;
    transform: scale(1.1);
}

.lightbox__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 2rem;
    padding: 10px 18px;
    cursor: pointer;
    border-radius: 50%;
    opacity: 0.7;
    transition: all 0.2s ease;
    user-select: none;
    z-index: 100000;
}

.lightbox__arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.lightbox__arrow--prev {
    left: 25px;
}

.lightbox__arrow--next {
    right: 25px;
}

/* Enable zoom-in cursor for gallery and zoomable images */
.gallery__img,
.zoomable {
    cursor: zoom-in;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery__img:hover,
.zoomable:hover {
    filter: brightness(1.05);
}

@media (max-width: 768px) {
    .lightbox__arrow {
        padding: 8px 14px;
        font-size: 1.5rem;
    }

    .lightbox__arrow--prev {
        left: 10px;
    }

    .lightbox__arrow--next {
        right: 10px;
    }

    .lightbox__close {
        top: 15px;
        right: 15px;
        font-size: 2rem;
    }

    .lightbox__content {
        max-width: 95%;
        max-height: 90%;
    }
}

/* Accreditation Detail Page Logo Hover Effects */
.accreditation-link {
    display: inline-block;
    align-self: flex-start;
}

.accreditation-link img {
    transition: transform 0.3s ease;
}

.accreditation-link:hover img {
    transform: translateY(-5px) scale(1.03);
}

/* Custom Button Hover States */
.btn--white-bg {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn--white-bg:hover {
    background-color: var(--secondary-hover);
    color: var(--white);
}

.btn--outline-custom {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}

.btn--outline-custom:hover {
    border-color: var(--secondary-hover);
    color: var(--secondary-hover);
    background-color: rgba(37, 122, 138, 0.05);
}

.btn--outline-gold {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    background-color: transparent;
}

.btn--outline-gold:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Search suggestions auto-complete */
.drawer-search-form {
    position: relative;
}

.search-suggestions-container {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    max-height: 250px;
    overflow-y: auto;
    display: none;
    margin-top: 8px;
}

.search-suggestion-item {
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    font-size: 0.95rem;
    transition: background-color 0.2s ease, color 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.search-suggestion-item:last-child {
    border-bottom: none;
}

.search-suggestion-item:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.search-suggestion-item svg {
    flex-shrink: 0;
    color: var(--secondary-color);
    transition: color 0.2s ease;
}

.search-suggestion-item:hover svg {
    color: var(--white);
}

.search-suggestion-no-result {
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    font-style: italic;
    text-align: left;
}

/* Alternating Features Section for Cooperation Page */
.alternating-features-container {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-top: 20px;
}

.alternating-feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.feature-desc {
    text-align: justify;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
    margin: 0;
}

.feature-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16/10;
    width: 100%;
    background-color: #f1f5f9;
}

.feature-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.feature-image-wrapper:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .alternating-features-container {
        gap: 50px;
    }
    
    .alternating-feature-row {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .feature-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .feature-desc {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .feature-image-wrapper {
        aspect-ratio: 16/10;
    }
}

@media (min-width: 769px) {
    .alternating-feature-row:nth-child(even) .feature-text {
        order: 2;
        padding-left: 20px;
    }
    
    .alternating-feature-row:nth-child(even) .feature-image {
        order: 1;
    }
    
    .alternating-feature-row:nth-child(odd) .feature-text {
        padding-right: 20px;
    }
}

/* --- Video Modal for YouTube --- */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.video-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.video-modal__content {
    position: relative;
    width: 90%;
    max-width: 960px;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-modal.active .video-modal__content {
    transform: scale(1);
}

.video-modal__ratio {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    overflow: hidden;
}

.video-modal__ratio iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-modal__close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease, transform 0.3s ease;
    z-index: 100000;
}

.video-modal__close:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .video-modal__close {
        top: 15px;
        right: 15px;
        font-size: 2.5rem;
    }
}

/* News Cards Polish */
.news-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Floating quick contact buttons (Facebook & Zalo) */
.contact-btn {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease, visibility 0.3s;
    margin-bottom: 12px;
    color: var(--white);
    text-decoration: none;
    opacity: 1;
    visibility: visible;
}

.contact-btn .contact-label {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background-color: var(--primary-color);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    pointer-events: none;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-btn .contact-label::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 5px 0 5px 5px;
    border-style: solid;
    border-color: transparent transparent transparent var(--primary-color);
}

.contact-btn:hover .contact-label {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.contact-btn:hover {
    transform: scale(1.1);
}

.contact-btn--fb {
    background-color: #1877F2;
}

.contact-btn--zalo {
    background-color: #0068FF;
}

/* Smooth fade out when chatbot window is open */
.chatbot.is-open .contact-btn {
    transform: scale(0);
    opacity: 0;
    visibility: hidden;
    height: 0;
    margin-bottom: 0;
    pointer-events: none;
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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