    :root {
        --blue: #1a3a6b;
        --blue2: #2056a8;
        --red: #c0392b;
        --dark: #111111;
        --light: #f8f9fa;
        --white: #ffffff;
        --gray: #6c757d;
    }

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

    html {
        scroll-behavior: smooth;
    }

    body {
        font-family: 'Segoe UI', sans-serif;
        color: var(--dark);
        background: var(--white);
        overflow-x: hidden;
    }

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

    ::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    ::-webkit-scrollbar-thumb {
        background: var(--blue2);
        border-radius: 10px;
    }

    .topbar {
        background: var(--blue);
        color: #cfe2ff;
        font-size: 0.8rem;
        padding: 6px 0;
    }

    .topbar a {
        color: #cfe2ff;
        text-decoration: none;
    }

    .topbar a:hover {
        color: #fff;
    }

    .navbar {
        background: var(--white) !important;
        box-shadow: 0 2px 20px rgba(0, 0, 0, .1);
        padding: 12px 0;
        position: sticky;
        top: 0;
        z-index: 1050;
        transition: all .3s;
    }

    .navbar-brand span.kh {
        color: var(--blue);
        font-weight: 800;
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .navbar-brand span.hp {
        color: var(--red);
        font-weight: 400;
        font-size: 1.5rem;
    }

    .nav-link {
        color: var(--dark) !important;
        font-weight: 500;
        font-size: .92rem;
        padding: 6px 14px !important;
        position: relative;
        transition: color .3s;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background: var(--red);
        transition: all .3s;
        transform: translateX(-50%);
    }

    .nav-link:hover {
        color: var(--red) !important;
    }

    .nav-link:hover::after {
        width: 70%;
    }

    .btn-enquiry-nav {
        background: var(--red);
        color: #fff !important;
        border-radius: 25px;
        padding: 8px 22px !important;
        font-weight: 600;
        transition: background .3s, transform .2s;
    }

    .btn-enquiry-nav:hover {
        background: var(--blue);
        transform: scale(1.05);
    }

    .btn-enquiry-nav::after {
        display: none !important;
    }

    #heroCarousel {
        height: 100vh;
        min-height: 520px;
    }

    .carousel-item {
        height: 100vh;
        min-height: 520px;
    }

    .hero-pattern {
        position: absolute;
        inset: 0;
        background-image: repeating-linear-gradient(0deg, transparent, transparent 49px, rgba(255, 255, 255, .05) 49px, rgba(255, 255, 255, .05) 50px), repeating-linear-gradient(90deg, transparent, transparent 49px, rgba(255, 255, 255, .05) 49px, rgba(255, 255, 255, .05) 50px);
    }

    .hero-icon-bg {
        font-size: 180px;
        position: absolute;
        right: 8%;
        top: 50%;
        transform: translateY(-50%);
        opacity: .07;
        color: #fff;
    }

    .slide1-bg {
        background: linear-gradient(135deg, #0d2a5c 0%, #1a3a6b 50%, #2056a8 100%);
    }

    .slide2-bg {
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    }

    .slide3-bg {
        background: linear-gradient(135deg, #2d0a0a 0%, #5a1010 50%, #c0392b 100%);
    }

    .hero-caption {
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        transform: translateY(-50%);
        padding: 0 40px;
        z-index: 2;
    }

    .hero-badge {
        display: inline-block;
        background: var(--red);
        color: #fff;
        font-size: .78rem;
        letter-spacing: 3px;
        text-transform: uppercase;
        padding: 5px 18px;
        border-radius: 20px;
        margin-bottom: 16px;
        animation: fadeInDown .6s ease forwards;
    }

    .hero-title {
        font-size: clamp(2.2rem, 5vw, 4rem);
        font-weight: 800;
        color: #fff;
        line-height: 1.15;
        text-shadow: 2px 4px 12px rgba(0, 0, 0, .3);
        animation: fadeInUp .8s ease forwards;
    }

    .hero-title span {
        color: #f9c74f;
    }

    .hero-sub {
        color: rgba(255, 255, 255, .85);
        font-size: 1.1rem;
        margin: 18px 0 30px;
        max-width: 560px;
        animation: fadeInUp 1s ease forwards;
    }

    .hero-btns {
        animation: fadeInUp 1.2s ease forwards;
    }

    .btn-hero-primary {
        background: var(--red);
        color: #fff;
        border: none;
        padding: 14px 34px;
        border-radius: 30px;
        font-weight: 700;
        font-size: .95rem;
        transition: all .3s;
        box-shadow: 0 6px 20px rgba(192, 57, 43, .5);
    }

    .btn-hero-primary:hover {
        background: #a93226;
        transform: translateY(-3px);
    }

    .btn-hero-outline {
        background: transparent;
        color: #fff;
        border: 2px solid rgba(255, 255, 255, .6);
        padding: 14px 34px;
        border-radius: 30px;
        font-weight: 700;
        font-size: .95rem;
        transition: all .3s;
        text-decoration: none;
        display: inline-block;
    }

    .btn-hero-outline:hover {
        background: rgba(255, 255, 255, .15);
        border-color: #fff;
        color: #fff;
    }

    .hero-stats {
        position: absolute;
        bottom: 40px;
        left: 0;
        right: 0;
        z-index: 2;
    }

    .stat-box {
        text-align: center;
        color: #fff;
        border-right: 1px solid rgba(255, 255, 255, .2);
    }

    .stat-box:last-child {
        border-right: none;
    }

    .stat-num {
        font-size: 2rem;
        font-weight: 800;
        color: #f9c74f;
        display: block;
    }

    .stat-label {
        font-size: .78rem;
        opacity: .8;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .carousel-indicators [data-bs-target] {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(255, 255, 255, .5);
        border: none;
    }

    .carousel-indicators .active {
        background: var(--red);
    }

    section {
        padding: 90px 0;
    }

    .section-tag {
        display: inline-block;
        color: var(--red);
        font-size: .78rem;
        font-weight: 700;
        letter-spacing: 3px;
        text-transform: uppercase;
        margin-bottom: 10px;
    }

    .section-title {
        font-size: clamp(1.8rem, 3vw, 2.6rem);
        font-weight: 800;
        color: var(--blue);
        line-height: 1.2;
    }

    .section-title span {
        color: var(--red);
    }

    .title-line {
        width: 50px;
        height: 4px;
        background: var(--red);
        border-radius: 2px;
        margin: 14px 0 20px;
    }

    .section-desc {
        color: var(--gray);
        font-size: .98rem;
        line-height: 1.8;
        max-width: 600px;
    }

    #about {
        background: var(--light);
    }

    .about-img-wrap {
        position: relative;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 20px 60px rgba(26, 58, 107, .15);
    }

    .about-icon-bg {
        width: 100%;
        height: 380px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 140px;
        background: linear-gradient(135deg, var(--blue) 0%, var(--blue2) 100%);
        color: rgba(255, 255, 255, .15);
        position: relative;
        overflow: hidden;
    }

    .about-icon-bg::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: repeating-linear-gradient(45deg, transparent, transparent 14px, rgba(255, 255, 255, .03) 14px, rgba(255, 255, 255, .03) 15px);
    }

    .about-icon-bg i {
        position: relative;
        z-index: 1;
        color: rgba(255, 255, 255, .2);
    }

    .about-badge {
        position: absolute;
        bottom: 20px;
        right: 20px;
        background: var(--red);
        color: #fff;
        padding: 14px 20px;
        border-radius: 12px;
        text-align: center;
        font-weight: 700;
        box-shadow: 0 8px 24px rgba(192, 57, 43, .4);
    }

    .about-badge .num {
        font-size: 2rem;
        display: block;
    }

    .about-check li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 12px;
        color: var(--dark);
        font-size: .95rem;
    }

    .about-check li i {
        color: var(--red);
        font-size: 1.1rem;
        margin-top: 2px;
        flex-shrink: 0;
    }

    #services {
        background: var(--white);
    }

    .service-card {
        background: #fff;
        border: 1px solid #e8eef5;
        border-radius: 16px;
        padding: 34px 28px;
        height: 100%;
        transition: all .35s;
        position: relative;
        overflow: hidden;
    }

    .service-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 100%;
        background: var(--red);
        transform: scaleY(0);
        transition: transform .35s;
        transform-origin: bottom;
    }

    .service-card:hover::before {
        transform: scaleY(1);
    }

    .service-card:hover {
        box-shadow: 0 16px 48px rgba(26, 58, 107, .13);
        transform: translateY(-6px);
        border-color: transparent;
    }

    .svc-icon-wrap {
        width: 62px;
        height: 62px;
        background: #e8f0fd;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 18px;
        transition: all .35s;
        font-size: 1.6rem;
        color: var(--blue2);
    }

    .service-card:hover .svc-icon-wrap {
        background: var(--red);
        color: #fff;
    }

    .service-card h5 {
        font-size: 1rem;
        font-weight: 700;
        color: var(--blue);
        margin-bottom: 10px;
    }

    .service-card p {
        font-size: .87rem;
        color: var(--gray);
        line-height: 1.7;
        margin-bottom: 16px;
    }

    .btn-svc-enquiry {
        background: transparent;
        border: 1.5px solid var(--blue2);
        color: var(--blue2);
        font-size: .82rem;
        font-weight: 600;
        padding: 6px 18px;
        border-radius: 20px;
        transition: all .3s;
        cursor: pointer;
    }

    .btn-svc-enquiry:hover {
        background: var(--red);
        border-color: var(--red);
        color: #fff;
    }

    #mission {
        background: var(--blue);
    }

    .mv-card {
        background: rgba(255, 255, 255, .07);
        border: 1px solid rgba(255, 255, 255, .12);
        border-radius: 16px;
        padding: 44px 36px;
        height: 100%;
        text-align: center;
        transition: all .3s;
        position: relative;
        overflow: hidden;
    }

    .mv-card::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(192, 57, 43, .15), transparent);
        opacity: 0;
        transition: opacity .3s;
    }

    .mv-card:hover {
        transform: translateY(-6px);
    }

    .mv-card:hover::after {
        opacity: 1;
    }

    .mv-icon {
        font-size: 3rem;
        color: #f9c74f;
        margin-bottom: 20px;
        display: block;
    }

    .mv-card h3 {
        color: #fff;
        font-size: 1.5rem;
        font-weight: 800;
        margin-bottom: 14px;
    }

    .mv-card p {
        color: rgba(255, 255, 255, .75);
        font-size: .95rem;
        line-height: 1.8;
    }

    #why {
        background: var(--light);
    }

    .why-item {
        display: flex;
        gap: 18px;
        padding: 22px;
        background: #fff;
        border-radius: 14px;
        margin-bottom: 18px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
        transition: all .3s;
        border-left: 3px solid transparent;
    }

    .why-item:hover {
        border-left-color: var(--red);
        transform: translateX(6px);
    }

    .why-icon {
        width: 52px;
        height: 52px;
        flex-shrink: 0;
        background: linear-gradient(135deg, var(--blue), var(--blue2));
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.4rem;
        color: #fff;
    }

    .why-item h6 {
        font-size: .95rem;
        font-weight: 700;
        color: var(--blue);
        margin-bottom: 4px;
    }

    .why-item p {
        font-size: .84rem;
        color: var(--gray);
        margin: 0;
        line-height: 1.6;
    }

    .why-visual {
        background: linear-gradient(135deg, var(--blue), var(--blue2));
        border-radius: 20px;
        height: 100%;
        min-height: 400px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 24px;
        padding: 40px;
        position: relative;
        overflow: hidden;
    }

    .why-visual::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: radial-gradient(circle at 20% 80%, rgba(192, 57, 43, .3) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(249, 199, 79, .1) 0%, transparent 50%);
    }

    .why-stat {
        text-align: center;
        color: #fff;
        position: relative;
        z-index: 1;
    }

    .why-stat .big {
        font-size: 3rem;
        font-weight: 800;
        color: #f9c74f;
        display: block;
    }

    .why-stat small {
        font-size: .82rem;
        opacity: .8;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .why-divider {
        width: 60%;
        height: 1px;
        background: rgba(255, 255, 255, .15);
    }

    #gallery {
        background: var(--white);
    }

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

    .gallery-item {
        border-radius: 14px;
        overflow: hidden;
        position: relative;
        aspect-ratio: 4/3;
        cursor: pointer;
    }

    .gallery-item:first-child {
        grid-column: span 2;
    }

    .gallery-inner {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 80px;
        transition: transform .4s;
    }

    .gallery-item:hover .gallery-inner {
        transform: scale(1.06);
    }

    .gallery-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(0deg, rgba(26, 58, 107, .85) 0%, transparent 60%);
        opacity: 0;
        transition: opacity .3s;
        display: flex;
        align-items: flex-end;
        padding: 20px;
    }

    .gallery-item:hover .gallery-overlay {
        opacity: 1;
    }

    .gallery-overlay span {
        color: #fff;
        font-weight: 600;
        font-size: .9rem;
    }

    .g-bg-1 {
        background: linear-gradient(135deg, #1a3a6b, #2056a8);
    }

    .g-bg-2 {
        background: linear-gradient(135deg, #2a1a1a, #5a1010);
    }

    .g-bg-3 {
        background: linear-gradient(135deg, #1a2a1a, #1a5a2a);
    }

    .g-bg-4 {
        background: linear-gradient(135deg, #2a2a1a, #5a5a10);
    }

    .g-bg-5 {
        background: linear-gradient(135deg, #1a1a3a, #3a10aa);
    }

    .g-bg-6 {
        background: linear-gradient(135deg, #2a1a2a, #6a10aa);
    }

    #testimonials {
        background: var(--light);
    }

    .testi-card {
        background: #fff;
        border-radius: 18px;
        padding: 34px;
        height: 100%;
        box-shadow: 0 8px 32px rgba(0, 0, 0, .06);
        transition: all .3s;
        position: relative;
    }

    .testi-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 48px rgba(26, 58, 107, .12);
    }

    .testi-quote {
        font-size: 3rem;
        color: #e8f0fd;
        font-family: Georgia, serif;
        line-height: 1;
        margin-bottom: 10px;
    }

    .testi-text {
        color: var(--dark);
        font-size: .93rem;
        line-height: 1.8;
        font-style: italic;
        margin-bottom: 20px;
    }

    .testi-author {
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .testi-avatar {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--blue), var(--blue2));
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.3rem;
        color: #fff;
        flex-shrink: 0;
        font-weight: 700;
    }

    .testi-name {
        font-weight: 700;
        color: var(--blue);
        font-size: .93rem;
    }

    .testi-loc {
        font-size: .8rem;
        color: var(--gray);
    }

    .stars {
        color: #f9c74f;
        font-size: .85rem;
        margin-bottom: 4px;
    }

    .testi-badge {
        position: absolute;
        top: 20px;
        right: 20px;
        background: #e8f0fd;
        color: var(--blue2);
        font-size: .75rem;
        font-weight: 700;
        padding: 4px 12px;
        border-radius: 20px;
    }

    #cta {
        background: linear-gradient(135deg, var(--red) 0%, #a93226 100%);
        padding: 70px 0;
        position: relative;
        overflow: hidden;
    }

    #cta::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: radial-gradient(circle at 10% 50%, rgba(255, 255, 255, .1) 0%, transparent 50%), radial-gradient(circle at 90% 50%, rgba(0, 0, 0, .1) 0%, transparent 50%);
    }

    .cta-icon-bg {
        position: absolute;
        right: -30px;
        top: -30px;
        font-size: 220px;
        color: rgba(255, 255, 255, .05);
    }

    .cta-title {
        font-size: clamp(1.8rem, 3.5vw, 2.8rem);
        font-weight: 800;
        color: #fff;
    }

    .cta-sub {
        color: rgba(255, 255, 255, .85);
        font-size: 1rem;
    }

    .btn-cta-white {
        background: #fff;
        color: var(--red);
        font-weight: 700;
        padding: 14px 36px;
        border-radius: 30px;
        border: none;
        font-size: 1rem;
        transition: all .3s;
        box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
    }

    .btn-cta-white:hover {
        background: var(--blue);
        color: #fff;
        transform: translateY(-3px);
    }

    #contact {
        background: var(--white);
    }

    .contact-card {
        background: var(--light);
        border-radius: 16px;
        padding: 32px;
        height: 100%;
    }

    .contact-info-item {
        display: flex;
        gap: 16px;
        margin-bottom: 24px;
        align-items: flex-start;
    }

    .contact-info-icon {
        width: 48px;
        height: 48px;
        flex-shrink: 0;
        background: linear-gradient(135deg, var(--blue), var(--blue2));
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        color: #fff;
    }

    .contact-info-item h6 {
        font-size: .85rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: var(--gray);
        margin-bottom: 4px;
    }

    .contact-info-item p {
        font-size: .95rem;
        color: var(--dark);
        margin: 0;
        font-weight: 500;
    }

    .contact-form-card {
        background: #fff;
        border-radius: 16px;
        padding: 38px;
        box-shadow: 0 12px 40px rgba(26, 58, 107, .1);
    }

    .form-label {
        font-size: .85rem;
        font-weight: 600;
        color: var(--blue);
    }

    .form-control, .form-select {
        border: 1.5px solid #dee2e6;
        border-radius: 10px;
        padding: 10px 14px;
        font-size: .93rem;
        transition: border-color .3s, box-shadow .3s;
    }

    .form-control:focus, .form-select:focus {
        border-color: var(--blue2);
        box-shadow: 0 0 0 3px rgba(32, 86, 168, .12);
    }

    .btn-submit {
        background: linear-gradient(135deg, var(--blue), var(--blue2));
        color: #fff;
        border: none;
        padding: 13px 36px;
        border-radius: 30px;
        font-weight: 700;
        font-size: .95rem;
        transition: all .3s;
        width: 100%;
    }

    .btn-submit:hover {
        background: var(--red);
        transform: translateY(-2px);
    }

    footer {
        background: #0a1628;
        color: rgba(255, 255, 255, .7);
        padding: 70px 0 0;
    }

    .footer-brand .kh {
        color: #fff;
        font-weight: 800;
        font-size: 1.6rem;
    }

    .footer-brand .hp {
        color: var(--red);
        font-weight: 400;
        font-size: 1.6rem;
    }

    .footer-desc {
        font-size: .88rem;
        line-height: 1.8;
        margin: 14px 0 20px;
    }

    .footer-social a {
        display: inline-flex;
        width: 38px;
        height: 38px;
        background: rgba(255, 255, 255, .08);
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        color: rgba(255, 255, 255, .7);
        text-decoration: none;
        font-size: 1rem;
        margin-right: 8px;
        transition: all .3s;
    }

    .footer-social a:hover {
        background: var(--red);
        color: #fff;
    }

    footer h6 {
        color: #fff;
        font-weight: 700;
        font-size: .95rem;
        margin-bottom: 18px;
        letter-spacing: .5px;
    }

    .footer-links {
        list-style: none;
        padding: 0;
    }

    .footer-links li {
        margin-bottom: 10px;
    }

    .footer-links a {
        color: rgba(255, 255, 255, .6);
        text-decoration: none;
        font-size: .88rem;
        transition: color .3s;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .footer-links a:hover {
        color: var(--red);
    }

    .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, .1);
        padding: 18px 0;
        margin-top: 50px;
        font-size: .83rem;
        text-align: center;
    }

    .footer-bottom span {
        color: var(--red);
    }

    .modal-content {
        border-radius: 20px;
        overflow: hidden;
        border: none;
    }

    .modal-header {
        background: linear-gradient(135deg, var(--blue), var(--blue2));
        color: #fff;
        border: none;
        padding: 22px 28px;
    }

    .modal-header .btn-close {
        filter: invert(1);
    }

    .modal-title {
        font-weight: 700;
        font-size: 1.2rem;
    }

    .modal-body {
        padding: 30px 28px;
    }

    .modal-footer {
        border: none;
        padding: 16px 28px 24px;
    }

    .btn-modal-submit {
        background: var(--red);
        color: #fff;
        border: none;
        padding: 12px 32px;
        border-radius: 30px;
        font-weight: 700;
        transition: all .3s;
        width: 100%;
    }

    .btn-modal-submit:hover {
        background: var(--blue);
    }

    .float-enquiry {
        position: fixed;
        bottom: 30px;
        right: 30px;
        background: var(--red);
        color: #fff;
        border: none;
        padding: 14px 24px;
        border-radius: 40px;
        font-weight: 700;
        font-size: .9rem;
        box-shadow: 0 6px 24px rgba(192, 57, 43, .5);
        z-index: 9999;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: all .3s;
        cursor: pointer;
        animation: pulse 2s infinite;
    }

    .float-enquiry:hover {
        background: var(--blue);
        transform: scale(1.05);
        animation: none;
    }

    #scrollTop {
        position: fixed;
        bottom: 90px;
        right: 30px;
        width: 44px;
        height: 44px;
        background: var(--blue);
        color: #fff;
        border: none;
        border-radius: 50%;
        font-size: 1.1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9998;
        opacity: 0;
        transition: all .3s;
        cursor: pointer;
        box-shadow: 0 4px 16px rgba(26, 58, 107, .3);
    }

    #scrollTop.show {
        opacity: 1;
    }

    #scrollTop:hover {
        background: var(--red);
        transform: translateY(-3px);
    }

    @keyframes fadeInDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }

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

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }

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

    @keyframes pulse {
        0%, 100% {
            box-shadow: 0 6px 24px rgba(192, 57, 43, .5);
        }

        50% {
            box-shadow: 0 6px 36px rgba(192, 57, 43, .8);
        }
    }

    @keyframes floatY {
        0%, 100% {
            transform: translateY(0);
        }

        50% {
            transform: translateY(-12px);
        }
    }

    .float-anim {
        animation: floatY 3s ease-in-out infinite;
    }

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

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

    .reveal-left {
        opacity: 0;
        transform: translateX(-40px);
        transition: opacity .7s ease, transform .7s ease;
    }

    .reveal-left.visible {
        opacity: 1;
        transform: translateX(0);
    }

    .reveal-right {
        opacity: 0;
        transform: translateX(40px);
        transition: opacity .7s ease, transform .7s ease;
    }

    .reveal-right.visible {
        opacity: 1;
        transform: translateX(0);
    }

    @media (max-width: 768px) {
        #heroCarousel, .carousel-item {
            height: 100svh;
            min-height: 600px;
        }

        .hero-icon-bg {
            display: none;
        }

        .hero-caption {
            padding: 0 20px;
        }

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

        /* .gallery-item:first-child {
            grid-column: span 2;
        } */
    }




    #gallery {
        background: var(--white);
    }

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

    .gallery-item {
        border-radius: 14px;
        overflow: hidden;
        position: relative;
        aspect-ratio: 4/3;
        cursor: pointer;
    }

    .gallery-item:first-child {
        grid-column: span 1;
    }

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

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

    .gallery-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(0deg, rgba(26, 58, 107, .88) 0%, transparent 55%);
        opacity: 0;
        transition: opacity .3s;
        display: flex;
        align-items: flex-end;
        padding: 20px;
    }

    .gallery-item:hover .gallery-overlay {
        opacity: 1;
    }

    .gallery-overlay span {
        color: #fff;
        font-weight: 600;
        font-size: .9rem;
    }

    .gallery-zoom-btn {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0);
        width: 50px;
        height: 50px;
        background: rgba(255, 255, 255, .9);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.3rem;
        color: var(--blue);
        transition: transform .3s ease;
    }

    .gallery-item:hover .gallery-zoom-btn {
        transform: translate(-50%, -50%) scale(1);
    }

    /* Lightbox */
    #lightbox {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .92);
        z-index: 99999;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        padding: 20px;
    }

    #lightbox.active {
        display: flex;
    }

    #lightbox img {
        max-width: 90vw;
        max-height: 80vh;
        border-radius: 12px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
        object-fit: contain;
        animation: lbIn .3s ease;
    }

    @keyframes lbIn {
        from {
            opacity: 0;
            transform: scale(.9);
        }

        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    #lightbox-caption {
        color: rgba(255, 255, 255, .8);
        margin-top: 16px;
        font-size: .95rem;
        font-weight: 500;
    }

    #lightbox-close {
        position: absolute;
        top: 20px;
        right: 24px;
        color: #fff;
        font-size: 2rem;
        cursor: pointer;
        background: rgba(255, 255, 255, .1);
        border: none;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background .2s;
    }

    #lightbox-close:hover {
        background: var(--red);
    }

    #lightbox-prev, #lightbox-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        color: #fff;
        font-size: 1.8rem;
        cursor: pointer;
        background: rgba(255, 255, 255, .1);
        border: none;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background .2s;
    }

    #lightbox-prev {
        left: 20px;
    }

    #lightbox-next {
        right: 20px;
    }

    #lightbox-prev:hover, #lightbox-next:hover {
        background: var(--blue2);
    }

    #lightbox-counter {
        position: absolute;
        top: 24px;
        left: 50%;
        transform: translateX(-50%);
        color: rgba(255, 255, 255, .6);
        font-size: .85rem;
    }
