/********** Template CSS **********/
:root {
    --primary: #3480a0;
    --secondary: #FF4917;
    --light: #EDF1FC;
    --dark: #17224D;
}

html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

body > .content {
  flex: 1; /* pushes footer down */
}

.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;
}

@media (max-width: 991.98px) {
    #img_of_post {        display: block;
        border: none;
        margin-top: 550px;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }
}



/*** 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 ***/
.top-bar {
    height: 75px;
    padding: 0 4rem;
}

.nav-bar {
    position: relative;
    transition: .5s;
    z-index: 9999;
}



.nav-bar.sticky-top {
    position: sticky;
    padding: 0;
    z-index: 9999;
}

.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: 15px 0;
    color: var(--dark);
    font-size: 15px;
    font-weight: 600;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .nav-bar {
        padding: 0;
    }

    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #EEEEEE;
    }
}

.ig_dropdown{
    float: right;
}

@media (min-width: 992px) {
    .ig_dropdown {
        display: none;
    }

}



@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 ***/
.header-carousel .container,
.page-header .container {
    position: relative;
    padding: 45px 0 45px 35px;
    border-left: 15px solid #FFFFFF;
}

.header-carousel .container::before,
.header-carousel .container::after,
.page-header .container::before,
.page-header .container::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100px;
    height: 15px;
    background: #FFFFFF;
}

.header-carousel .container::after,
.page-header .container::after {
    top: 100%;
    margin-top: -15px;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .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(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** Facts ***/
.fact {
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}


/*** Service ***/
.service-item-top img {
    transition: .5s;
}

.service-item-top:hover img {
    transform: scale(1.1);
}

.service-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.service-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--primary);
    border: 5px solid var(--light);
    transition: .5s;
}

.service-carousel .owl-dot.active {
    background: var(--light);
    border-color: var(--primary);
}


/*** Booking ***/
.video {
    position: relative;
    padding: 8rem 0 12rem 0;
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.video .btn-play {
    position: relative;
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
    margin-bottom: 4rem;
}

.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: #FFFFFF;
    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: #FFFFFF;
    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(--primary);
    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;
}

.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 img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}



.team-item .team-text {
    height: 90px;
    overflow: hidden;
}

.team-item .team-text .bg-light,
.team-item .team-text .bg-primary {
    position: relative;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: .5s;
}

.team-item .team-text .bg-primary {
    flex-direction: row;
}

.team-item:hover .team-text .bg-light {
    margin-top: -90px;
}

.team-item .team-text .bg-primary .btn {
    color: var(--primary);
    background: #FFFFFF;
}

.team-item .team-text .bg-primary .btn:hover {
    color: #FFFFFF;
    background: var(--secondary)
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
    position: relative;
    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-item .testimonial-text::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    left: 50%;
    bottom: -30px;
    transform: translateX(-50%);
    border: 15px solid;
    border-color: var(--light) transparent transparent transparent;
    transition: .5s;

}

.testimonial-carousel .owl-item.center .testimonial-text::after {
    border-color: var(--primary) transparent transparent transparent;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}



.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    font-size: 30px;
    color: var(--primary);
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}


/*** Footer ***/
.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);
}



.custom-select {
    min-width: 350px;
}

.custom-select select {
    font-weight: bold;
    width: auto;
    font-size: 1.15rem;
    padding: 0.675em 6em 0.675em 1em;
    background-color: #fff;
    border: 1px solid #caced1;
    border-radius: 0.25rem;
    color: #000;
    cursor: pointer;
}



/* ============================
   Profile Dropdown
   ============================ */

/* Parent wrapper */
.private-nav {
  position: relative;
  z-index: 10000;
}

/* Dropdown wrapper */
.profile-dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown button (gradient + glow) */
.profile-dropdown-btn {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.5rem 1.2rem;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 10px;
  border: none;
  outline: none;
  background: linear-gradient(135deg, #6b73ff, #000dff);
  color: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 13, 255, 0.25);
  position: relative;
}

/* Hover & active effects */
.profile-dropdown-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 13, 255, 0.35);
}
.profile-dropdown-btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 6px rgba(0, 13, 255, 0.25);
}

/* Glow effect */
.profile-dropdown-btn.glow::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, #6b73ff, #000dff);
  filter: blur(8px);
  opacity: 0.6;
  z-index: -1;
}

/* Chevron (rotates on hover) */
.profile-dropdown-btn .chevron {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  margin-left: 6px;
}
.profile-dropdown:hover .chevron {
  transform: rotate(225deg);
}

/* Dropdown menu */
.profile-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #fff;
  min-width: 180px;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  padding: 8px 0;
  z-index: 10001;
}

/* Links inside dropdown */
.profile-dropdown-content a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  transition: background 0.2s;
}
.profile-dropdown-content a:hover {
  background-color: #f5f5f5;
}

/* Divider */
.dropdown-divider {
  height: 1px;
  margin: 6px 0;
  background: #eee;
}

/* Logout link */
.profile-dropdown-content a.logout {
  color: #e63946;
  font-weight: 600;
}
.profile-dropdown-content a.logout:hover {
  background-color: #ffe5e5;
  color: #c70000;
}

/* Show dropdown on hover */
.profile-dropdown:hover .profile-dropdown-content {
  display: block;
}

/* ============================
   Login/Register Buttons - Compact & Modern (Soft, Low Opacity)
   ============================ */
.btn-auth {
  display: inline-block;
  padding: 0.35rem 0.95rem;   /* compact touch-friendly */
  margin-left: 6px;
  font-weight: 600;
  font-size: 0.82rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  cursor: pointer;
  letter-spacing: 0.3px;
}

/* Gradient style - Login (Soft Blue) */
.btn-auth.btn-sm {
  border: 2px solid rgba(37, 99, 235, 0.4); /* light border */
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.2), rgba(37, 99, 235, 0.2)); /* very low opacity */
  color: #333333;
  box-shadow: 0 2px 6px rgba(96, 165, 250, 0.15); /* soft glow */
}

.btn-auth.btn-sm:hover {
  transform: translateY(-2.5px);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
  opacity: 0.9;
}

/* Register Button - Soft Green */
.btn-auth.btn-sm.register {
  border: 2px solid rgba(37, 99, 235, 0.4); /* light border */
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.2), rgba(37, 99, 235, 0.2)); /* very low opacity */
  color: #333333;
  padding: 0.35rem 0.95rem;
  font-size: 0.82rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(52, 211, 153, 0.15);
  transition: all 0.25s ease;
}

.btn-auth.btn-sm.register:hover {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.25), rgba(52, 211, 153, 0.25));
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.2);
  transform: translateY(-1.5px);
}




@media (max-width: 992px) {
  .welcome-msg {
    display: inline-block; /* hide by default */
    align-items: center;
    gap: 6px;
    background: #f0f4ff;
    color: #1a1a1a;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.9rem;
  }

  /* Show only when JS adds "open" */
  .welcome-msg.open {
    display: inline-flex;
  }

  .welcome-msg .username {
    color: #007bff;
    font-weight: 600;
  }

  .welcome-msg .wave {
    display: inline-block;
    animation: wave 1s ease-in-out infinite;
  }

  .welcome-msg .chevron {
    margin-left: 4px;
    color: #007bff;
    transition: transform 0.2s;
  }

  .welcome-msg.open .chevron {
    transform: rotate(180deg);
  }

  @keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(20deg); }
  }
}






.create-post-btn {
  text-decoration: none;
  display: block;
  margin: 1rem 0;
}

.create-post-container {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  background: linear-gradient(90deg, #007bff, #3399ff);
  transition: transform 0.2s, box-shadow 0.2s;
}

.create-post-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.icon-wrapper {
  flex-shrink: 0;
  width: 55px;
  height: 55px;
  background: #0056b3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.helper-icon {
  width: 70%;
  height: auto;
}

.text-wrapper {
  margin-left: 1rem;
}

.text-wrapper h5 {
  margin: 0;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
}

.text-wrapper u {
  text-decoration-color: #ffe600;
}

@media (max-width: 768px) {
  .create-post-container {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }

  .text-wrapper {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .text-wrapper h5 {
    font-size: 1rem;
  }
}


.create-post-wrapper {
  display: flex;
  justify-content: flex-end; /* Push to right */
}

@media (max-width: 768px) {
  .create-post-wrapper {
    justify-content: center; /* center on mobile for better UX */
  }
}

.btn-green {
  background: linear-gradient(135deg, #34d399, #059669);
  color: white;
}

.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  color: white;
  background: linear-gradient(135deg, #5eead4, #10b981);
}




    
/* ===== Search Bar in Blue Strip ===== */
.search-bar-container {
  max-width: 600px;
  margin: 0 auto;
}

/* Form wrapper */
.search-form {
  display: flex;
  align-items: center;
}

/* Input wrapper with icon */
.search-input-wrapper {
  position: relative;
  flex: 1;
}

.search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280; /* gray icon */
  pointer-events: none;
  font-size: 1rem;
}

/* Input field */
.search-input {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.5rem; /* extra left padding for icon */
  border-radius: 30px 0 0 30px;
  border: none;
  outline: none;
  font-size: 1rem;
  color: #1c2f56; /* dark text */
  background-color: #ffffff; /* solid white */
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.search-input::placeholder {
  color: #6b7280; /* gray placeholder */
}

.search-input:focus {
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2); /* subtle shadow */
  background-color: #ffffff; /* stay white */
}

/* Submit button */
.search-btn {
  padding: 0.65rem 1.5rem;
  border-radius: 0 30px 30px 0;
  border: none;
  background-color: #facc15; /* soft yellow */
  color: #1c2f56; /* dark text */
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.search-btn:hover {
  background-color: #fcd34d;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* subtle shadow */
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .search-input, .search-btn {
    font-size: 0.9rem;
    padding: 0.5rem 0.8rem 0.5rem 2rem; /* keep enough space for icon */
  }
  .search-icon {
    left: 10px;
  }

  .search-btn {
    font-size: 0.9rem;
    padding: 0.5rem 0.8rem;
  }
  
}

.auth-wrapper, .welcome-msg {
  display: none; /* hide initially */
}



/* added to remove the border radius on left side of input boxes on some pages */
.input-group input {
    border-radius: 0px 0px 0px 0px !important;
}