/********** Template CSS **********/
:root {
    --primary: #D81324;
    --secondary: #0B2154;
    --light: #F2F2F2;
    --dark: #111111;
}

/* Global background for the whole website */
body {
    background-image: url("../img/bg-site.jpg");  /* your background image */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed; /* optional */
}


.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: 500;
    text-transform: uppercase;
    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;
    border-radius: 2px;
}


/*** 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 {
    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(--primary);
}

@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-brand img {
    height: 64px !important;  
    width: 225px !important;   /* you can change the number */
    object-fit: contain;       /* prevents distortion */
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

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

@media (min-width: 992px) {
    .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-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .7);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header-inner {
    background: rgba(0, 0, 0, .7);
}

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


/*** Facts ***/
.fact {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-bg-1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}


/*** Service ***/
.service .nav .nav-link {
    background: var(--light);
    transition: .5s;
}

.service .nav .nav-link.active {
    background: var(--primary);
}

.service .nav .nav-link.active h4 {
    color: #FFFFFF !important;
}


/*** Booking ***/
.booking {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-bg-2.jpg) center center no-repeat;
    background-size: cover;
}

.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Team ***/
.team-item .team-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    transform: scale(0);
    transition: .5s;
}

.team-item:hover .team-overlay {
    transform: scale(1);
}

.team-item .team-overlay .btn {
    color: var(--primary);
    background: #FFFFFF;
}

.team-item .team-overlay .btn:hover {
    color: #FFFFFF;
    background: var(--secondary)
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    transition: .5s;
}

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


/*** Footer ***/
.footer {
    background: linear-gradient(rgba(0, 0, 0, .9), rgba(0, 0, 0, .9)), url(../img/carousel-bg-1.jpg) center center no-repeat;
    background-size: cover;
}

.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);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .3);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/* GRACE word-art text */
.grace-wordart-wrapper {
    max-width: 1200px;
    margin: 0 auto 2rem auto;
}

.grace-wordart {
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(4rem, 15vw, 11rem); /* responsive size */
    line-height: 0.85;
    letter-spacing: 0.04em;

    /* image inside text */
    background-image: url("img/grace-wordart.jpg"); /* <-- your collage image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent; /* Safari */

    display: inline-block;
}

/* Facts strip with icons + vertical dividers */
.fact .fact-item {
    padding: 2.5rem 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fact .fact-item:last-child {
    border-right: none;
}

.fact .fact-icon i {
    font-size: 2.5rem;
}

.fact .fact-number {
    font-size: 2.3rem;      /* smaller than before */
    font-weight: 600;
    line-height: 1.2;
}

.fact .fact-label {
    margin-top: 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
}

/* Mobile: stack items, no vertical line */
@media (max-width: 767.98px) {
    .fact .fact-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }
    .fact .fact-item:last-child {
        border-bottom: none;
    }
}

/* ==== Blog detail typography ==== */
.blog-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333333;
}

/* Paragraph spacing */
.blog-content p {
    margin-bottom: 1.1rem;
}

/* Headings inside blog content */
.blog-content h2,
.blog-content h3 {
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    color: #0B2154; /* same dark blue as rest of site */
}

/* Lists */
.blog-content ul,
.blog-content ol {
    margin: 0 0 1.2rem 1.5rem;
}

.blog-content li {
    margin-bottom: 0.4rem;
}

/* Links inside blogs */
.blog-content a {
    color: #D81324;
    text-decoration: underline;
}
.blog-content a:hover {
    text-decoration: none;
}

/* ===== TABLE OF CONTENTS BOX ===== */
.toc-box {
    background: #ffffff;
    border: 2px solid #D81324;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.toc-box h3 {
    margin-bottom: 10px;
    color: #0B2154;
    font-weight: 700;
}

.toc-box ul {
    margin: 0;
    padding-left: 20px;
}

.toc-box ul li {
    margin: 5px 0;
}

.toc-box ul li a {
    color: #D81324;
    text-decoration: none;
}

.toc-box ul li a:hover {
    text-decoration: underline;
}

/* smooth scrolling for TOC anchors */
html {
    scroll-behavior: smooth;
}

/* Floating Enquire Now button */
.enquire-now-btn {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    background: var(--primary); /* 🔴 same red as other buttons */
    color: #fff;
    padding: 20px 12px;
    border-radius: 20px 0 0 20px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.05em;
    text-decoration: none;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.35);
    z-index: 9999;
}

.enquire-now-btn:hover {
    opacity: 0.9;
}

/* Popup overlay */
.enquire-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.enquire-modal.open {
    display: flex;
}

.enquire-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}

/* Popup box */
.enquire-modal-dialog {
    position: relative;
    background: #f7f7f7;
    max-width: 960px;
    width: 100%;
    margin: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.enquire-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #c00;
    z-index: 2;
}

/* Content layout */
.enquire-modal-content {
    display: flex;
    flex-wrap: wrap;
}

.enquire-modal-left,
.enquire-modal-right {
    flex: 1 1 50%;
    min-width: 280px;
}

.enquire-modal-left img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.enquire-modal-right {
    padding: 30px 30px 24px;
}

/* Form styling */
.enquire-field {
    margin-bottom: 12px;
}

.enquire-field label {
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
    color: #444;
}

.enquire-field input,
.enquire-field select,
.enquire-field textarea {
    width: 100%;
    padding: 8px 10px;
    border: 0;
    border-bottom: 1px solid #c94444;
    background: transparent;
    font-size: 14px;
    outline: none;
}

.enquire-field textarea {
    resize: vertical;
}

.enquire-consent {
    margin: 10px 0 16px;
    font-size: 11px;
    line-height: 1.4;
}

.enquire-consent input {
    margin-right: 6px;
}

.enquire-submit-btn {
    display: block;
    width: 100%;
    border: none;
    padding: 10px 0;
    background: #d62020;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
}

.enquire-submit-btn:hover {
    opacity: 0.9;
}

/* Mobile tweaks */
@media (max-width: 767.98px) {
    /* make the tab a normal button */
    .enquire-now-btn {
        top: auto;
        bottom: 20px;
        right: 20px;
        left: auto;
        transform: none;
        writing-mode: horizontal-tb;
        border-radius: 999px;
        padding: 10px 18px;
    }

    /* popup behaves like a card, not full screen */
    .enquire-modal-dialog {
        margin: 10px;
        max-height: 90vh;     /* not taller than screen */
        width: 100%;
    }

    /* hide big left image on very small screens */
    .enquire-modal-left {
        display: none;
    }

    /* form area scrolls if there is more content */
    .enquire-modal-right {
        padding: 20px 16px;
        max-height: 90vh;
        overflow-y: auto;     /* content scrolls inside, page behind is safe */
    }

    .enquire-modal-content {
        flex-direction: column;
    }
}

/* Floating Enquire Now button */
.enquire-now-btn {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    background: var(--primary); /* 🔴 same red as other buttons */
    color: #fff;
    padding: 20px 12px;
    border-radius: 20px 0 0 20px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.05em;
    text-decoration: none;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.35);
    z-index: 9999;
}

.enquire-now-btn:hover {
    opacity: 0.9;
}

/* Modal styling tweaks */
.enquiry-modal-box {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.enquiry-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
}

/* Mobile: make the tab a normal button */
@media (max-width: 767.98px) {
    .enquire-now-btn {
        top: auto;
        bottom: 20px;
        right: 20px;
        transform: none;
        writing-mode: horizontal-tb;
        border-radius: 999px;
        padding: 10px 18px;
    }
}

/* Make sure ENQUIRE NOW text is always white */
.enquire-now-btn,
.enquire-now-btn:visited,
.enquire-now-btn:hover,
.enquire-now-btn:focus,
.enquire-now-btn:active {
    color: #ffffff !important;
    text-decoration: none;
}

/* ===== WhatsApp Chat Widget (Brand-tuned & right side) ===== */
.whatsapp-widget-wrapper {
    position: fixed;
    bottom: 20px;
    left: 20px;          /* 👈 stay on LEFT */
    right: auto;
    z-index: 9999;
    font-family: inherit;
}

/* Small circular button (when closed) */
.whatsapp-widget-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: var(--primary);  /* 🔴 brand red */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    cursor: pointer;
    font-size: 26px;
}

/* Chat card */
.whatsapp-widget-card {
    width: 320px;
    max-width: 90vw;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    margin-bottom: 10px;
    display: none; /* hidden by default */
}

/* When open: show card */
.whatsapp-widget-wrapper.open .whatsapp-widget-card {
    display: block;
}

/* Header */
.whatsapp-widget-header {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
}

.whatsapp-widget-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);   /* 🔴 brand red bubble */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    margin-right: 10px;
}

.whatsapp-widget-title {
    font-weight: 700;
    font-size: 15px;
    color: var(--secondary);      /* dark blue heading, like rest of site */
}

.whatsapp-widget-subtitle {
    font-size: 12px;
    color: #777;
}

.whatsapp-widget-close {
    margin-left: auto;
    border: none;
    background: transparent;
    font-size: 18px;
    cursor: pointer;
    color: #999;
}

/* Message area */
.whatsapp-widget-body {
    padding: 12px 14px 10px;
    background: #f8fff5;
}

.whatsapp-widget-body {
    color: #111111; /* dark text */
}

.whatsapp-widget-body p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: inherit; /* use the dark color above */
}

/* Button at bottom */
.whatsapp-widget-footer {
    padding: 10px 14px 14px;
    background: #ffffff;
}

.whatsapp-widget-btn {
    width: 100%;
    border: none;
    background: #25D366;           /* ✅ keep WhatsApp green for trust/recognition */
    color: #fff;
    border-radius: 999px;
    padding: 9px 12px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}

.whatsapp-widget-btn i {
    font-size: 18px;
}

/* Mobile: move slightly inwards from edges */
@media (max-width: 575.98px) {
    .whatsapp-widget-wrapper {
        bottom: 15px;
        left: 15px;   /* 👈 left on mobile too */
        right: auto;
    }
}

/* Fix selection color only inside WhatsApp widget */
.whatsapp-widget-card ::selection {
    background: #cde7ff;
    color: #111111;
}

.whatsapp-widget-card ::-moz-selection {
    background: #cde7ff;
    color: #111111;
}

/* Fix hero heading cut on mobile */
@media (max-width: 576px) {
    .typed-text {
        white-space: normal !important;  /* allow text to wrap */
        display: inline-block;
    }
}

/* ===== HERO VIDEO SECTION (FULL BLEED, NO BLACK BARS) ===== */
.hero-video-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;          /* full screen hero on desktop */
    overflow: hidden;
    background: #000;       /* in case video takes a moment to load */
}

/* Video fills the entire hero area – no black bars */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;      /* 🔥 fills area, removes side bars */
}

/* Dark overlay like your old carousel */
.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

/* Text block */
.hero-video-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
    color: #fff;
}

/* ---------- MOBILE TWEAKS ---------- */
@media (max-width: 768px) {
    .hero-video-wrapper {
        height: 75vh;       /* a bit shorter on mobile so it doesn’t feel huge */
    }

    .hero-video-content {
        top: 52%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 94%;
        text-align: center;
    }

    .hero-video-content h1 {
        font-size: 2.3rem !important;
        line-height: 1.2;
    }

    .hero-video-content p {
        font-size: 0.95rem;
    }
}

/* Make typing text wrap on small screens so it doesn’t cut off */
@media (max-width: 576px) {
    .typed-text {
        white-space: normal !important;
        display: inline-block;
    }
}
