/********** Template CSS **********/
:root {
    --primary: #DCC50C;
    --light: #F1F8FF;
    --dark: #1A2537;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-semi-bold {
    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-dark .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 43, .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(15, 23, 43, .7);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}

.booking {
    position: relative;
    margin-top: -100px !important;
    z-index: 1;
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    left: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    right: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title.text-start::before,
.section-title.text-end::after {
    display: none;
}


/*** Service ***/
.service-item {
    height: 320px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.service-item:hover {
    background: var(--primary);
}

.service-item .service-icon {
    margin: 0 auto 30px auto;
    width: 65px;
    height: 65px;
    transition: .5s;
}

.service-item i,
.service-item h5,
.service-item p {
    transition: .5s;
}

.service-item:hover i,
.service-item:hover h5,
.service-item:hover p {
    color: #FFFFFF !important;
}


/*** Youtube Video ***/
.video {
    position: relative;
    height: 100%;
    min-height: 500px;
    background: linear-gradient(rgba(15, 23, 43, .1), rgba(15, 23, 43, .1)), url(../img/video.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--dark);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Testimonial ***/
.testimonial {
    background: linear-gradient(rgba(15, 23, 43, .7), rgba(15, 23, 43, .7)), url(../img/carousel-2.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.testimonial-carousel {
    padding-left: 65px;
    padding-right: 65px;
}

.testimonial-carousel .testimonial-item {
    padding: 30px;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 40px;
    top: calc(50% - 20px);
    left: 0;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--primary);
    background: #FFFFFF;
}


/*** Team ***/
.team-item,
.team-item .bg-primary,
.team-item .bg-primary i {
    transition: .5s;
}

.team-item:hover {
    border-color: var(--secondary) !important;
}

.team-item:hover .bg-primary {
    background: var(--secondary) !important;
}

.team-item:hover .bg-primary i {
    color: var(--secondary) !important;
}


/*** Footer ***/
.newsletter {
    position: relative;
    z-index: 1;
}

.footer {
    position: relative;
    margin-top: -110px;
    padding-top: 180px;
}

.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;
}


.contact-container {
    width: 100%;
    max-width: 100%;
    background: #ffffff;
    margin: 50px auto;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

input, textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 14px;
}

textarea {
    resize: none;
    height: 100px;
}

button {
    width: 100%;
    padding: 12px;
    background: #DCC50C;
    border: none;
    color: white;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #1A2537;
}

.success-message {
    display: none;
    padding: 15px;
    margin-top: 15px;
    background: #d4edda;
    color: #155724;
    border-radius: 5px;
    text-align: center;
}

.error-message {
    color: red;
    font-size: 14px;
    margin-top: 5px;
}

.blog-content img{
    width: 100%;
}

.blog-content, .service-content p{
    text-align: justify;
}

.service-content img{
    width: 100%;
}

.navbar-brand img{
    width: 80%;
}

.policy-content p{
    text-align: justify;
}

.about-img img{
    width: 100%;
}





/********** NEW ADDED Template CSS **********/
/* =========================================================
   HOME NEST HUBS - CLEAN COMPACT HEADER
   ========================================================= */

:root {
    --hn-navy: #1A2537;
    --hn-green: #73A066;
    --hn-light-green: #86AF78;
    --hn-offwhite: #F8FAF7;
    --hn-white: #FFFFFF;
    --hn-text: #333333;
}


/* =========================================================
   MAIN HEADER
   ========================================================= */

.container-fluid.bg-dark {
    background: var(--hn-navy) !important;
    padding: 0 !important;
}


/* =========================================================
   LOGO AREA
   ========================================================= */

.container-fluid.bg-dark .col-lg-3.bg-dark {
    background: var(--hn-offwhite) !important;
    width: 27%;
}


/* Logo */

.container-fluid.bg-dark .col-lg-3 .navbar-brand {
    background: transparent !important;
    padding: 10px 22px !important;
}


/* Logo size */

.container-fluid.bg-dark .col-lg-3 .navbar-brand img {
    width: 100%;
    max-width: 350px;
    height: auto;
    object-fit: contain;
}


/* =========================================================
   RIGHT SIDE
   ========================================================= */

.container-fluid.bg-dark > .row > .col-lg-9 {
    width: 73%;
}


/* =========================================================
   TOP CONTACT BAR
   ========================================================= */

.container-fluid.bg-dark .row.bg-white {
    height: 40px !important;
    min-height: 40px !important;

    background: var(--hn-white) !important;

    border-bottom: 1px solid #eeeeee;
}


/* Contact area */

.container-fluid.bg-dark .row.bg-white .col-lg-7 {
    padding-left: 45px !important;
}


/* Contact items */

.container-fluid.bg-dark .row.bg-white .h-100 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;

    font-size: 14px;
}


/* Contact text */

.container-fluid.bg-dark .row.bg-white p {
    color: var(--hn-text) !important;

    font-size: 14px;

    margin-bottom: 0 !important;
}


/* Contact icons */

.container-fluid.bg-dark .row.bg-white .text-primary {
    color: var(--hn-green) !important;

    font-size: 14px;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.container-fluid.bg-dark nav.navbar {
    height: 72px !important;
    min-height: 72px !important;

    padding: 0 !important;

    background: var(--hn-navy) !important;
}


/* Navbar collapse */

.container-fluid.bg-dark #navbarCollapse {
    height: 72px !important;
    min-height: 72px !important;
}


/* =========================================================
   NAVIGATION LINKS
   ========================================================= */

.container-fluid.bg-dark .navbar-nav {
    height: 72px !important;

    display: flex;
    align-items: center;

    padding-left: 12px;
}


/* Individual links */

.container-fluid.bg-dark .navbar-nav .nav-link {
    color: var(--hn-white) !important;

    font-size: 15px;
    font-weight: 500;

    padding: 25px 17px !important;

    margin: 0 !important;

    white-space: nowrap;

    transition: 0.25s ease;
}


/* Hover */

.container-fluid.bg-dark .navbar-nav .nav-link:hover {
    color: var(--hn-light-green) !important;
}


/* Active */

.container-fluid.bg-dark .navbar-nav .nav-link.active {
    color: var(--hn-green) !important;
}


/* =========================================================
   SUBSCRIBE BUTTON
   ========================================================= */

.container-fluid.bg-dark .btn-primary {
    height: 72px !important;

    min-width: 330px;

    display: flex !important;
    align-items: center;
    justify-content: center;

    background: var(--hn-green) !important;

    border: none !important;

    border-radius: 0 !important;

    color: var(--hn-white) !important;

    font-size: 15px;

    font-weight: 600;

    padding: 0 35px !important;

    transition: 0.25s ease;
}


/* Subscribe hover */

.container-fluid.bg-dark .btn-primary:hover {
    background: var(--hn-light-green) !important;
    color: var(--hn-navy) !important;
}


/* Arrow */

.container-fluid.bg-dark .btn-primary i {
    color: var(--hn-white) !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

.container-fluid.bg-dark .navbar-brand.d-block.d-lg-none {
    background: var(--hn-offwhite) !important;

    padding: 6px 12px !important;
}


.container-fluid.bg-dark .navbar-brand.d-block.d-lg-none img {
    max-width: 180px;
    height: auto;
}


/* Mobile toggle */

.container-fluid.bg-dark .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.4) !important;
}


/* =========================================================
   BOOTSTRAP OVERRIDES
   ========================================================= */

.text-primary {
    color: var(--hn-green) !important;
}


.bg-primary {
    background-color: var(--hn-green) !important;
}


.btn-primary {
    background-color: var(--hn-green) !important;
    border-color: var(--hn-green) !important;
}


.btn-primary:hover {
    background-color: var(--hn-light-green) !important;
    border-color: var(--hn-light-green) !important;
}


.bg-dark {
    background-color: var(--hn-navy) !important;
}


/* =========================================================
   HOME NEST HUBS - LOGO SIZE ADJUSTMENT
   ========================================================= */

.container-fluid.bg-dark .col-lg-3 .navbar-brand img {
    width: 75% !important;
    max-width: 300px !important;
    height: auto !important;
    object-fit: contain;
}

/* =========================================================
   HOME NEST HUBS - HERO / CAROUSEL
   ========================================================= */

.home-carousel {
    position: relative;
    overflow: hidden;
}


/* =========================================================
   CAROUSEL IMAGE
   ========================================================= */

.home-carousel .carousel-item {
    position: relative;
    min-height: 650px;
}


.home-carousel .carousel-item img {
    width: 100%;
    height: 650px;
    object-fit: cover;
}


/* =========================================================
   DARK BRAND OVERLAY
   ========================================================= */

.home-carousel .carousel-item::after {
    content: "";
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(26, 37, 55, 0.62);

    z-index: 1;
}


/* =========================================================
   HERO CONTENT
   ========================================================= */

.home-carousel .carousel-caption {
    z-index: 2;

    left: 0;
    right: 0;

    height: 100%;

    padding-bottom: 0;
}


.home-carousel .hero-content {
    width: 100%;
    max-width: 850px;

    margin: auto;
}


/* =========================================================
   HERO HEADING
   ========================================================= */

.home-carousel h1 {
    font-size: 54px;

    line-height: 1.15;

    font-weight: 700;

    margin-bottom: 25px !important;

    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}


/* =========================================================
   HERO DESCRIPTION
   ========================================================= */

.home-carousel p {
    max-width: 760px;

    margin: 0 auto 28px;

    color: #FFFFFF;

    font-size: 17px;

    line-height: 1.7;

    font-weight: 400;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.home-carousel .hero-buttons {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 10px;
}


/* Primary Button */

.home-carousel .home-primary-btn {
    background-color: #73A066 !important;

    border: 2px solid #73A066 !important;

    color: #FFFFFF !important;

    font-weight: 600;

    border-radius: 0;

    transition: all 0.3s ease;
}


.home-carousel .home-primary-btn:hover {
    background-color: #86AF78 !important;

    border-color: #86AF78 !important;

    color: #1A2537 !important;
}


/* Secondary Button */

.home-carousel .home-secondary-btn {
    background-color: #FFFFFF !important;

    border: 2px solid #FFFFFF !important;

    color: #1A2537 !important;

    font-weight: 600;

    border-radius: 0;

    transition: all 0.3s ease;
}


.home-carousel .home-secondary-btn:hover {
    background-color: transparent !important;

    color: #FFFFFF !important;

    border-color: #FFFFFF !important;
}


/* =========================================================
   CAROUSEL ARROWS
   REMOVE OLD PURPLE SHADE
   ========================================================= */

.home-carousel .carousel-control-prev,
.home-carousel .carousel-control-next {
    width: 75px;

    height: 75px;

    top: 50%;

    transform: translateY(-50%);

    background: rgba(26, 37, 55, 0.55);

    opacity: 1;

    z-index: 3;

    transition: all 0.3s ease;
}


/* Left arrow */

.home-carousel .carousel-control-prev {
    left: 25px;
}


/* Right arrow */

.home-carousel .carousel-control-next {
    right: 25px;
}


/* Arrow hover */

.home-carousel .carousel-control-prev:hover,
.home-carousel .carousel-control-next:hover {
    background: #73A066;
}


/* Arrow icons */

.home-carousel .carousel-control-prev-icon,
.home-carousel .carousel-control-next-icon {
    width: 28px;

    height: 28px;

    background-size: 70%;
}


/* =========================================================
   REMOVE ANY OLD PURPLE CAROUSEL STYLING
   ========================================================= */

#header-carousel::before,
#header-carousel::after {
    background: none;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {

    .home-carousel .carousel-item {
        min-height: 560px;
    }

    .home-carousel .carousel-item img {
        height: 560px;
    }

    .home-carousel h1 {
        font-size: 42px;
    }

    .home-carousel p {
        font-size: 16px;
    }

}


@media (max-width: 767px) {

    .home-carousel .carousel-item {
        min-height: 520px;
    }

    .home-carousel .carousel-item img {
        height: 520px;
    }

    .home-carousel h1 {
        font-size: 34px;
    }

    .home-carousel p {
        font-size: 15px;

        line-height: 1.6;
    }

    .home-carousel .hero-buttons {
        flex-direction: column;

        gap: 10px;
    }

    .home-carousel .hero-buttons .btn {
        margin: 0 !important;

        width: 200px;
    }

    .home-carousel .carousel-control-prev,
    .home-carousel .carousel-control-next {
        width: 50px;

        height: 50px;
    }

    .home-carousel .carousel-control-prev {
        left: 10px;
    }

    .home-carousel .carousel-control-next {
        right: 10px;
    }

}



/* Service Card Hover */
.service-item {
    background: #FFFFFF;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.service-item:hover {
    background: #FFFFFF;
    border-color: #73A066;
    box-shadow: 0 10px 30px rgba(26, 37, 55, 0.10);
    transform: translateY(-5px);
}
.service-item:hover h5 {
    color: #1A2537 !important;
}
.service-item:hover p {
    color: #555555 !important;
}
.service-item:hover .service-icon {
    border-color: #73A066 !important;
}
.service-item:hover .service-icon > div {
    border-color: #73A066 !important;
}
.service-item:hover .service-icon i {
    color: #73A066 !important;
}



/* =========================================================
   HOME NEST HUBS - NEWSLETTER
   ========================================================= */
.newsletter {
    position: relative;
    z-index: 2;
    margin-top: 50px !important;
    margin-bottom: 70px !important;
}
.newsletter-box {
    background: #FFFFFF;
    border: 1px solid #E4E9E4;
    border-radius: 4px;
    padding: 38px 30px;
    box-shadow: 0 8px 25px rgba(26, 37, 55, 0.06);
}
.newsletter-box h4 {
    color: #1A2537;
    font-size: 28px;
    font-weight: 600;
}
.newsletter-box h4 .text-primary {
    color: #73A066 !important;
}
.newsletter-box p {
    color: #5A626B;
    font-size: 15px;
    margin-left: auto;
    margin-right: auto;
    max-width: 650px;
}
.newsletter-btn {
    background: #73A066 !important;
    border-color: #73A066 !important;
    color: #FFFFFF !important;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 0;
    transition: all 0.3s ease;
}
.newsletter-btn:hover {
    background: #86AF78 !important;
    border-color: #86AF78 !important;
    color: #1A2537 !important;
}


/* Home Nest Hubs - Testimonial Carousel Arrows */


.testimonial .owl-nav .owl-prev,
.testimonial .owl-nav .owl-next {
    background-color: #73A066 !important;
    background-image: none !important;
    border-color: #73A066 !important;
    color: #FFFFFF !important;
}
.testimonial .owl-nav .owl-prev:hover,
.testimonial .owl-nav .owl-next:hover {
    background-color: #86AF78 !important;
    border-color: #86AF78 !important;
    color: #1A2537 !important;
}