/********** Template CSS **********/
/* Global design tokens: brand colors and gradient endpoints used across UI */
:root {
    --primary: #D81324;
    --secondary: #0B2154;
    --light: #F2F2F2;
    --dark: #111111;
    --gradient-start: #D81324;
    --gradient-end: #0B2154;
}

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

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

body {
    font-family: 'REM', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    color: #333333;
    background: #FFFFFF;
}


/*** 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;
    cursor: pointer;
}

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

/* Gradient button: consistent primary/secondary blend with subtle hover brightening */
.btn-gradient {
    background-image: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: #FFFFFF;
    border: none;
}
.btn-gradient:hover {
    filter: brightness(1.05);
}

/* Text gradient: uses background-clip to render brand gradient inside text */
.text-gradient {
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Testimonial card and carousel item spacing */
.testimonial-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    padding: 18px 18px 20px;
    width: 100%;
}
.testimonial-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid rgba(216,19,36,0.6);
}
.testimonial-meta {
    display: grid;
}
.testimonial-name {
    font-weight: 700;
    line-height: 1.2;
}
.testimonial-email {
    font-size: 13px;
    color: #555;
}
.testimonial-body {
    font-size: 14px;
    color: #333;
}
.testimonial-carousel .owl-stage {
    padding: 10px 0;
}
.testimonial-carousel .owl-item {
    padding: 6px;
}

/* Brand logo sizing for navbar (frontend) */
.brand-logo {
    height: 48px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}
@media (max-width: 575.98px) {
    .brand-logo {
        height: 42px;
        max-width: 160px;
    }
}

/* Dynamic background helpers
   Usage: add class and provide --bg-image inline (e.g., style="--bg-image: url('...')").
   .dynamic-bg applies the image; .dynamic-bg-gradient overlays the brand gradient above it. */
.dynamic-bg {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: var(--bg-image);
}
.dynamic-bg-gradient {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background: linear-gradient(rgba(216, 19, 36, .85), rgba(11, 33, 84, .85)), var(--bg-image);
}
.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-image: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
}
.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    background-image: linear-gradient(135deg, rgba(216,19,36,0.12), rgba(11,33,84,0.12));
    color: var(--secondary);
    font-size: 28px;
}
.service-title {
    font-weight: 700;
    margin-bottom: 6px;
}
.service-desc {
    font-size: 14px;
    color: #555;
    margin-bottom: 12px;
}
.service-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}
.services-carousel .owl-stage {
    padding: 8px 0;
}
.services-carousel .owl-item {
    padding: 6px;
}
.services-carousel .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    background: rgba(11,33,84,0.3);
}
.services-carousel .owl-dots .owl-dot.active span {
    background: var(--secondary);
}

.feature-strip {
    background-image: linear-gradient(135deg, rgba(216,19,36,0.92), rgba(11,33,84,0.92));
    color: #fff;
}
.feature-strip .feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    padding: 18px 0;
    font-weight: 600;
}
.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.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;
    cursor: pointer;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
    text-decoration: none;
}

@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: var(--dark);
    font-weight: 500;
}

.navbar-toggler {
    cursor: pointer;
    transition: transform .2s ease;
}
.navbar-toggler:hover {
    transform: scale(1.05);
}

/* Link and interactive hover improvements for smoother UI feel */
/* Generic link hover improvements */
a, .btn-link, .dropdown-item {
    transition: color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
a:hover, .btn-link:hover, .dropdown-item:hover {
    text-decoration: none;
}

/* Fixed action stacks: global call/WhatsApp buttons positioned on right side center */
.fixed-center-stack {
    position: fixed;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 18px;
}

.fixed-buttons-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}
.fixed-buttons-container.center-right {
    top: 50%;
    right: 24px;
    bottom: auto;
    transform: translateY(-50%);
}
#contactTogglePhone.fixed-buttons-container.center-right { top: 35%; }
#contactToggleWhatsApp.fixed-buttons-container.center-right { top: 65%; }
/* Contact toggles: circular buttons with pulse glow to draw attention */
.contact-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: #ffffff;
    border: none;
    box-shadow: 0 8px 18px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: transform .2s ease, filter .2s ease;
    animation: pulse-glow 2.5s infinite;
}
.contact-toggle:hover {
    transform: scale(1.06);
    filter: brightness(1.05);
}
.contact-actions {
    display: grid;
    gap: 10px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: all .2s ease;
}
.fixed-buttons-container.open .contact-actions {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
/* Individual contact buttons with distinct brand gradients */
.phone-button, .whatsapp-button {
    width: 56px;
    height: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    transition: transform .2s ease, filter .2s ease;
    animation: pulse-glow 3s infinite;
}
.phone-button {
    background-image: linear-gradient(135deg, #3b82f6, #1d4ed8);
}
.whatsapp-button {
    background-image: linear-gradient(135deg, #25D366, #128C7E);
}
.phone-button:hover, .whatsapp-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
}
.square-button i {
    font-size: 22px;
}
/* Global Call Now fixed button */
.call-now-fixed {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 9999;
    background-image: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #ffffff;
    border: none;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
    padding: 10px 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.call-now-fixed:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

/* Pulsing glow keyframes: used on contact buttons to increase discoverability */
@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(216, 19, 36, 0.6);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(216, 19, 36, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(216, 19, 36, 0);
  }
}
.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, .6);
    z-index: 1;
}

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

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

/* Hero carousel sizing for better aesthetics */
#header-carousel .carousel-item {
    min-height: 720px;
}
#header-carousel .carousel-item img {
    width: 100%;
    height: 720px;
    object-fit: cover;
}
@media (max-width: 991.98px) {
    #header-carousel .carousel-item {
        min-height: 640px;
    }
    #header-carousel .carousel-item img {
        height: 640px;
    }
}
@media (max-width: 575.98px) {
    #header-carousel .carousel-item {
        min-height: 540px;
    }
    #header-carousel .carousel-item img {
        height: 540px;
    }
}

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

.booking-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.request-toggle .btn {
    border-radius: 999px;
}
.btn-gradient {
    background: linear-gradient(135deg, #3498db, #e74c3c);
    border: none;
    color: #fff;
}
.input-icon {
    position: relative;
}
.input-icon i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(0,0,0,0.5);
    font-size: 1.1rem;
}
.input-icon input,
.input-icon select,
.input-icon textarea {
    padding-left: 2.2rem;
}

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


/*--------------------------------------------------------------
# Speakers Section
--------------------------------------------------------------*/
#speakers {
    padding: 60px 0 30px 0;
  }
  
  #speakers .speaker {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
  }
  
  #speakers .speaker .details {
    background: rgba(6, 12, 34, 0.76);
    position: absolute;
    left: 0;
    bottom: -40px;
    right: 0;
    text-align: center;
    padding-top: 10px;
    transition: all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
  }
  
  #speakers .speaker .details h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
  }
  
  #speakers .speaker .details p {
    color: #fff;
    font-size: 15px;
    margin-bottom: 10px;
    font-style: italic;
  }
  
  #speakers .speaker .details .social {
    height: 40px;
  }
  
  #speakers .speaker .details .social i {
    line-height: 0;
    margin: 0 2px;
  }
  
  #speakers .speaker .details a {
    color: #fff;
  }
  
  #speakers .speaker .details a:hover {
    color: #f82249;
  }
  
  #speakers .speaker:hover .details {
    bottom: 0;
  }
  
  #speakers-details {
    padding: 60px 0;
  }
  
  #speakers-details .details h2 {
    color: #112363;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
  }
  
  #speakers-details .details .social {
    margin-bottom: 15px;
  }
  
  #speakers-details .details .social a {
    background: #e9edfb;
    color: #112363;
    line-height: 1;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  #speakers-details .details .social a:hover {
    background: #f82249;
    color: #fff;
  }
  
  #speakers-details .details .social a i {
    font-size: 16px;
    line-height: 0;
  }
  
  #speakers-details .details p {
    color: #112363;
    font-size: 15px;
    margin-bottom: 10px;
  }
  
  /*--------------------------------------------------------------
  # Schedule Section
  --------------------------------------------------------------*/
  #schedule {
    padding: 60px 0 60px 0;
  }
  
  #schedule .nav-tabs {
    text-align: center;
    margin: auto;
    display: block;
    border-bottom: 0;
    margin-bottom: 30px;
  }
  
  #schedule .nav-tabs li {
    display: inline-block;
    margin-bottom: 0;
  }
  
  #schedule .nav-tabs a {
    border: none;
    border-radius: 50px;
    font-weight: 600;
    background-color: #0e1b4d;
    color: #fff;
    padding: 10px 100px;
  }
  
  @media (max-width: 991px) {
    #schedule .nav-tabs a {
      padding: 8px 60px;
    }
  }
  
  @media (max-width: 767px) {
    #schedule .nav-tabs a {
      padding: 8px 50px;
    }
  }
  
  @media (max-width: 480px) {
    #schedule .nav-tabs a {
      padding: 8px 30px;
    }
  }
  
  #schedule .nav-tabs a.active {
    background-color: #f82249;
    color: #fff;
  }
  
  #schedule .sub-heading {
    text-align: center;
    font-size: 18px;
    font-style: italic;
    margin: 0 auto 30px auto;
  }
  
  @media (min-width: 991px) {
    #schedule .sub-heading {
      width: 75%;
    }
  }
  
  #schedule .tab-pane {
    transition: ease-in-out 0.2s;
  }
  
  #schedule .schedule-item {
    border-bottom: 1px solid #cad4f6;
    padding-top: 15px;
    padding-bottom: 15px;
    transition: background-color ease-in-out 0.3s;
  }
  
  #schedule .schedule-item:hover {
    background-color: #fff;
  }
  
  #schedule .schedule-item time {
    padding-bottom: 5px;
    display: inline-block;
  }
  
  #schedule .schedule-item .speaker {
    width: 60px;
    height: 60px;
    overflow: hidden;
    border-radius: 50%;
    float: left;
    margin: 0 10px 10px 0;
  }
  
  #schedule .schedule-item .speaker img {
    height: 100%;
    transform: translateX(-50%);
    margin-left: 50%;
    transition: all ease-in-out 0.3s;
  }
  
  #schedule .schedule-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
  }
  
  #schedule .schedule-item h4 span {
    font-style: italic;
    color: #19328e;
    font-weight: normal;
    font-size: 16px;
  }
  
  #schedule .schedule-item p {
    font-style: italic;
    color: #152b79;
    margin-bottom: 0;
  }
  

  /*--------------------------------------------------------------
# Hotels Section
--------------------------------------------------------------*/
#hotels {
    padding: 60px 0;
  }
  
  #hotels .hotel {
    border: 1px solid #e0e5fa;
    background: #fff;
    margin-bottom: 30px;
  }
  
  #hotels .hotel:hover .hotel-img img {
    transform: scale(1.1);
  }
  
  #hotels .hotel-img {
    overflow: hidden;
    margin-bottom: 15px;
  }
  
  #hotels .hotel-img img {
    transition: 0.3s ease-in-out;
  }
  
  #hotels h3 {
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 5px;
    padding: 0 20px;
  }
  
  #hotels a {
    color: #152b79;
  }
  
  #hotels a:hover {
    color: #f82249;
  }
  
  #hotels .stars {
    padding: 0 20px;
    margin-bottom: 5px;
  }
  
  #hotels .stars i {
    color: rgb(255, 195, 29);
  }
  
  #hotels p {
    padding: 0 20px;
    margin-bottom: 20px;
    color: #060c22;
    font-style: italic;
    font-size: 15px;
  }





/*** Team ***/
.team-item .team-overlay {
    display: none;
}

.team-item:hover .team-overlay {
    display: none;
}

.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: .2s;
}

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