:root {
    --primary: #ffffff;
    --secondary: #51CFED;
    --light: #F8F2F0;
    --dark: #060315;
}

.fw-medium {
    font-weight: 600 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

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

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: #316377;
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        top: -6px;
        left: 50%;
        background: #FFFFFF;
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header Carousel ***/
.header-carousel .owl-carousel-item {
    position: relative;
    width: 100%;
    min-height: 620px;
    overflow: hidden;
}

.header-carousel .owl-carousel-item img {
    width: 100%;
    height: 100%;
    min-height: 620px;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Service, Price & Team ***/
.service-item,
.price-item,
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.service-item img,
.team-item img {
    transition: .5s;
}

.service-item:hover img,
.team-item:hover img {
    transform: scale(1.1);
}

.service-item a.btn-slide,
.price-item a.btn-slide,
.team-item div.btn-slide {
    position: relative;
    display: inline-block;
    overflow: hidden;
    font-size: 0;
}

.service-item a.btn-slide i,
.service-item a.btn-slide span,
.price-item a.btn-slide i,
.price-item a.btn-slide span,
.team-item div.btn-slide i,
.team-item div.btn-slide span {
    position: relative;
    height: 40px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    color: #FFFFFF;
    background: #1e2a38;
    border-radius: 0 35px 35px 0;
    transition: .5s;
    z-index: 2;
}

.service-item .card-img-holder {
    width: 100%;
    height: 180px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    border-radius: 4px;
    background: #eef2f6;
}

.service-item .card-img-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.service-item:hover .card-img-holder img {
    transform: scale(1.08);
}

.service-item .service-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    min-height: 30px;
}

.service-item .service-badge {
    margin-bottom: 0.75rem;
    min-height: 24px;
}

.service-item .service-desc {
    min-height: 75px;
    margin-bottom: 1rem;
    color: #6c757d;
    font-size: 0.875rem;
    line-height: 1.5;
}

.team-item div.btn-slide span a i {
    padding: 0 10px;
}

.team-item div.btn-slide span a:hover i {
    background: var(--secondary);
}

.service-item a.btn-slide span,
.price-item a.btn-slide span,
.team-item div.btn-slide span {
    padding-left: 0;
    left: -100%;
    z-index: 1;
}

.service-item:hover a.btn-slide i,
.price-item:hover a.btn-slide i,
.team-item:hover div.btn-slide i {
    border-radius: 0;
}

.service-item:hover a.btn-slide span,
.price-item:hover a.btn-slide span,
.team-item:hover div.btn-slide span {
    left: 0;
}

.service-item a.btn-slide:hover i,
.service-item a.btn-slide:hover span,
.price-item a.btn-slide:hover i,
.price-item a.btn-slide:hover span {
    background: var(--secondary);
    color: #060315;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item {
    position: relative;
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    animation: pulse 1s ease-out .5s;
}

.testimonial-carousel .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--primary);
    border: 5px solid var(--light);
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--light);
    border-color: var(--primary);
}


/*** Contact ***/
@media (min-width: 992px) {
    .container.contact-page {
        max-width: 100% !important;
    }

    .contact-page .contact-form {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-page .contact-form {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-page .contact-form {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/
.footer {
    position: relative;
    background-color: #060315 !important;
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(../img/map.png) center center no-repeat;
    background-size: contain;
    opacity: 0.30;
    pointer-events: none;
    z-index: 0;
}

.footer.footer-no-map::before {
    display: none !important;
}

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

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

/* Updated Service Section  */
.airline-carousel .owl-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.airline-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    height: 120px;
    display: flex;
    align-items: center;
}

.airline-item img {
    max-height: 80px;
    width: auto;
    margin: 0 auto;
    /* filter: grayscale(100%); */
    transition: all 0.3s;
}

.airline-item:hover img {
    filter: grayscale(0%);
}


/* Carousal */
.airline-showcase {
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
}

.airline-track {
    display: flex;
    animation: scroll 40s linear infinite;
    width: max-content;
    align-items: center;
}

.airline-item {
    flex: 0 0 auto;
    margin: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.airline-item img {
    height: 50px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}

@media (min-width: 768px) {
    .airline-item img {
        height: 60px;
    }
}

@media (min-width: 1200px) {
    .airline-item img {
        height: 70px;
    }
}

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

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

/* Navbar Logo */
/* Adjust logo size globally */
.navbar-logo {
    height: 70px;
    margin-top: 6px;
    width: auto;
    margin-bottom: 0.3rem;
}

/* Mobile-specific adjustments */
@media (max-width: 576px) {
    .navbar-logo {
        height: 70px; /* shrink logo on mobile */
         margin-bottom: 0.3rem;
    }

    .brand-title {
        font-size: 1rem; /* smaller title text */
    }

    .navbar-brand {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .navbar-toggler {
        margin-right: 0.5rem;
    }
}

/* Maldives Route & Special Features Styles (Theme Consistent: #51CFED & #1e2a38) */
.badge-route {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1e2a38;
    color: #51CFED;
    border: 1px solid rgba(81, 207, 237, 0.3);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 6px 16px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
}

.badge-country {
    background: #51CFED;
    color: #060315;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.maldives-card {
    background: #ffffff;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    border: 1px solid #f0f0f0;
    transition: .5s;
    height: 100%;
}

.maldives-card h4 {
    min-height: 28px;
}

.maldives-card > p {
    min-height: 48px;
}

.maldives-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 45px rgba(81, 207, 237, 0.2);
    border-color: #51CFED;
}

.service-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    background: rgba(81, 207, 237, 0.15);
    color: #316377;
    margin-bottom: 20px;
    transition: .5s;
}

.maldives-card:hover .service-icon-box {
    background: #51CFED;
    color: #ffffff;
}

.process-step {
    position: relative;
    background: #ffffff;
    padding: 30px 20px;
    border: 1px solid #edf2f7;
    text-align: center;
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s;
}

.process-step:hover {
    border-color: #51CFED;
    transform: translateY(-4px);
}

.process-step .step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 34px;
    height: 34px;
    background: #51CFED;
    color: #060315;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(81, 207, 237, 0.3);
}

.aeo-answer-box {
    background: #f8fafc;
    border-left: 4px solid #51CFED;
    padding: 20px 24px;
    margin-bottom: 25px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.04);
}

.logistics-table-container {
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    background: #ffffff;
    border: 1px solid #edf2f7;
}

.logistics-table {
    margin-bottom: 0;
}

.logistics-table thead {
    background: #1e2a38;
    color: #ffffff;
}

.logistics-table th {
    padding: 16px 20px;
    font-weight: 600;
    border-bottom: 2px solid #51CFED;
}

.logistics-table td {
    padding: 16px 20px;
    vertical-align: middle;
}

.faq-accordion .accordion-button {
    font-weight: 600;
    font-size: 1.05rem;
    color: #1e2a38;
    background-color: #ffffff;
    padding: 18px 24px;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: #1e2a38;
    background-color: rgba(81, 207, 237, 0.12);
    box-shadow: none;
    border-left: 4px solid #51CFED;
}

.faq-accordion .accordion-item {
    border: 1px solid #e2e8f0;
    margin-bottom: 12px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.03);
}

.faq-accordion .accordion-body {
    padding: 18px 24px;
    color: #555555;
    line-height: 1.7;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    left: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: #FFF;
    transform: scale(1.08);
}

.cta-banner-maldives {
    background: linear-gradient(rgba(6, 3, 21, .85), rgba(6, 3, 21, .85)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
    padding: 50px 40px;
    color: #ffffff;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

/* Responsive Matrix Table Transformation for Mobile (< 768px) */
@media (max-width: 768px) {
    .logistics-table-container {
        border: none;
        box-shadow: none;
        background: transparent;
        overflow: visible;
    }

    .logistics-table {
        min-width: 100% !important;
    }

    .logistics-table thead {
        display: none;
    }

    .logistics-table,
    .logistics-table tbody,
    .logistics-table tr,
    .logistics-table td {
        display: block;
        width: 100%;
    }

    .logistics-table tbody tr {
        background: #ffffff;
        border: 2px solid #51CFED;
        border-radius: 12px;
        padding: 18px 20px;
        margin-bottom: 22px;
        box-shadow: 0 6px 20px rgba(81, 207, 237, 0.12);
        transition: all 0.3s ease;
    }

    .logistics-table tbody tr:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(81, 207, 237, 0.22);
    }

    .logistics-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0 !important;
        border: none !important;
        border-bottom: 1px dashed #edf2f7 !important;
        font-size: 0.9rem;
        text-align: right;
    }

    .logistics-table td:first-child {
        padding-top: 0 !important;
        font-size: 1.05rem;
    }

    .logistics-table td:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }

    .logistics-table td::before {
        content: attr(data-label);
        font-weight: 700;
        color: #1e2a38;
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.03em;
        text-align: left;
        margin-right: 12px;
        flex-shrink: 0;
    }

    .logistics-table td[data-label="Best For"] {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .logistics-table td[data-label="Best For"]::before {
        margin-bottom: 4px;
    }

    .service-item .service-desc,
    .maldives-card > p {
        min-height: auto;
    }

    .service-item .service-title,
    .maldives-card h4 {
        min-height: auto;
    }

    .cta-banner-maldives {
        padding: 35px 20px;
    }
}

@media (max-width: 576px) {
    .page-header {
        margin-bottom: 3rem !important;
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .page-header h1 {
        font-size: 2.1rem !important;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        left: 20px;
        font-size: 26px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
    }

    .badge-route {
        font-size: 0.75rem;
        padding: 5px 12px;
    }

    .faq-accordion .accordion-button {
        font-size: 0.95rem;
        padding: 14px 16px;
    }

    .faq-accordion .accordion-body {
        padding: 14px 16px;
        font-size: 0.9rem;
    }

    .cta-banner-maldives h3 {
        font-size: 1.35rem;
    }

    .cta-banner-maldives .btn {
        width: 100%;
    }
}

