/*---------------------------------------------------------------

        Template Name: Dance Pulse - Feel the Rhythm, Live the Movement
        Description: Dance Pulse is a stylish and modern one-page dance studio website template. Perfect for showcasing dance classes, instructors, packages, and more!
        Author: Lucid Themeslab
        Author URL: https://www.templatemonster.com/store/lucid_themeslab/
        Version: 2.0.0


    -----------------------------------------------------------------

        CSS INDEX
        ==================

       
        01.   Basic Styles
        02.   Preloader Style 
        03.   Theme Switcher 
        04.   Header, Navigation Section Styles
        05.   Hero Banner Section Styles
        06.   Newletter Section Styles
        06,   About Section Styles
        07.   Dance Classes Section Styles
        08.   Instructor Section Style
        09.   CTA Section Style
        10.   Blog Section Style
        11.   Gallery Section Styles
        12.   Packages Section Styles
        13.   FAQ Section Styless
        14.   Contact Section Styles
        15.   Footer Section Styles
        16.   Back to top Styles
     
    
  
----------------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css2?family=Ranga:wght@400;700&family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap');

/* ==================
   Basic Styles 
================== */

[data-dancetheme="lightmode"] {
  --body-color: #FFFFFF;
  --primary-color: #EA0020;
  --primary-overlay: 234, 0, 32;
  --primary-hover-color: #c04300;
  --secondary-color: #3A0C0C;
  --secondary-overlay: 58, 12, 12;
  --alt-color: #FFF4F7;
  --white-color: #ffffff;
  --form-color: #F4F4F4;
  --card-color: #ffffff;
  --dark-color: #7D1F1F;
  --danger-color: #fa5050;
  --border-primary: #FF5900;
  --form-text-active: #000000;
  --light-form-bg: #F4F4F4;

  --banner-overlay: rgb(58, 12, 12, 0.5);
  /* adjust opacity as needed */

  /* text-colors */
  --primary-text: #EA0020;
  --secondary-text: #0E0003;
  --para-text: #858585;
  --white-text: #ffffff;
  --form-text: #777777;
  --danger-text: #fd5757;

  /* font family */
  --primaryfont: "Red Hat Display", serif;
  --secondaryfont: "Ranga", serif;
}

[data-dancetheme="darkmode-one"] {
  --body-color: #2B030C;
  --primary-color: #EA0020;
  --primary-overlay: 234, 0, 32;
  --primary-hover-color: #c04300;
  --secondary-color: #0E0003;
  --secondary-overlay: 14, 0, 3;
  --alt-color: #370610;
  --white-color: #ffffff;
  --form-color: #475569;
  --card-color: #4E0817;
  --dark-color: #2D2C2C;
  --danger-color: #fa5050;
  --border-primary: #FF5900;
  --form-text-active: #E8E8E8;
  --light-form-bg: #6C0C22;
  --banner-overlay: rgb(14, 0, 3,);

  /* text-colors */
  --primary-text: #EA0020;
  --secondary-text: #FFFFFF;
  --para-text: #E8E8E8;
  --white-text: #ffffff;
  --form-text: #E8E8E8;
  --danger-text: #fa5050;

  /* font family */
  --primaryfont: "Red Hat Display", serif;
  --secondaryfont: "Ranga", serif;
}

[data-dancetheme="darkmode-two"] {
  --body-color: #000000;
  --primary-color: #EA0020;
  --primary-overlay: 234, 0, 32;
  --primary-hover-color: #c04300;
  --secondary-color: #1E1E1E;
  --secondary-overlay: 30, 30, 30;
  --alt-color: #1B1B1B;
  --white-color: #ffffff;
  --form-color: #475569;
  --card-color: #262626;
  --dark-color: #2D2C2C;
  --danger-color: #fa5050;
  --border-primary: #FF5900;
  --form-text-active: #E8E8E8;
  --light-form-bg: #525252;

  --banner-overlay: rgb(30, 30, 30, 0.5);
  /* adjust opacity as needed */

  /* text-colors */
  --primary-text: #EA0020;
  --secondary-text: #FFFFFF;
  --para-text: #E8E8E8;
  --white-text: #ffffff;
  --form-text: #E8E8E8;
  --danger-text: #fa5050;

  /* font family */
  --primaryfont: "Red Hat Display", serif;
  --secondaryfont: "Ranga", serif;
}

* {
  box-sizing: border-box;
  font-family: var(--primaryfont) !important;
  word-break: break-word;
}

html {
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
  box-shadow: none;
  outline: none;
}

a:hover {
  color: var(--primary-color);
  text-decoration: none;

}

.outer-section {
  overflow: hidden !important;
  height: auto;
}

.fs-0 {
  font-size: 0px;
}

/* Background-Color*/

.body-color {
  background-color: var(--body-color) !important;
}

.primary-color {
  background-color: var(--primary-color) !important;
}

.primary-hover-color {
  background-color: var(--primary-hover-color) !important;
}

.secondary-color {
  background-color: var(--secondary-color) !important;
}

.secondary-overlay {
  background-color: var(--secondary-overlay) !important;
}

.alt-color {
  background-color: var(--alt-color) !important;
}

.white-color {
  background-color: var(--white-color) !important;
}

.form-color {
  background-color: var(--form-color) !important;
}

.card-color {
  background-color: var(--card-color) !important;
}

.danger-color {
  background-color: var(--danger-color) !important;
}

.warning-color {
  background-color: var(--warning-color) !important;
}

/* Text-Color*/

.primary-font {
  font-family: var(--primaryfont) !important;
}

.secondary-font {
  font-family: var(--secondaryfont) !important;
}

.primary-text {
  color: var(--primary-text);
}

.secondary-text {
  color: var(--secondary-text);
}

.para-text {
  color: var(--para-text);
}

.white-text {
  color: var(--white-text);
}

.form-text {
  color: var(--form-text);
}

.danger-text {
  color: var(--danger-text);
}

.border-primary {
  border-color: var(--primary-color) !important;
}

/* Button Style */

.primary-btn {
  background-color: var(--primary-color) !important;
  color: var(--white-text) !important;
  /* padding: 10px 20px; */
  border: 2px solid var(--primary-color) !important;
  font-size: 18px;
}

.primary-btn:hover {
  background-color: var(--secondary-color) !important;
  color: var(--white-text) !important;
  /* padding: 10px 20px; */
  border: 2px solid var(--secondary-color) !important;
  font-size: 18px;
  transition: 0.5s ease-in-out;
}

.secondary-btn {
  background-color: var(--secondary-color) !important;
  color: var(--white-text);
  padding: 10px 20px;
  border: transparent;
  font-size: 18px;
}

.secondary-btn:hover {
  background-color: var(--white-color) !important;
  color: #000;
  padding: 10px 20px;
  border: transparent;
  font-size: 18px;
  transition: 0.5s ease-in-out;
}

.btn-outline-primary {
  padding: 10px 20px;
  border: 1px solid var(--white-color) !important;
  color: var(--white-text);
  font-size: 18px;
  box-shadow: none;
  outline: none;
}

.btn:focus-visible {
  color: var(--bs-btn-hover-color);
  background-color: unset;
  border-color: unset;
  outline: 0;
  box-shadow: none;
  outline: 0;
}

.btn-outline-primary:hover {
  background-color: var(--white-color) !important;
  color: var(--primary-text) !important;
  padding: 10px 20px;
  border: 1px solid var(--primary-hover-color);
  font-size: 18px;
  transition: 0.5s ease-in-out;
}

/* ==================
  Preloader Style
================== */
/* Preloader Full Screen */
#preloader {
  position: fixed;
  inset: 0;
  background: #0e0e0e;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* Loader Ring */
.loader-ring {
  width: 50px;
  height: 50px;
  border: 4px solid #fff;
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

/* Title Styling */
.loader-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
}

/* Spin Animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ==================
  Theme Switcher
================== */

.light-theme {
  background-color: #ffffff;
  color: #333;
}

.dark-theme1 {
  background-color: #2e2e2e;
  color: #f5f5f5;
}

.dark-theme2 {
  background-color: #121212;
  color: #e0e0e0;
}

.theme-switcher {
  /* position: fixed; */
  top: 20px;
  left: 20px;
  display: flex;
  flex-direction: row;
  gap: 15px;
  background-color: var(--secondary-color);
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

.theme-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  border: none;
  background-color: transparent;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.theme-btn i {
  font-size: 24px;
  color: #000;
}

.theme-btn.light {
  color: var(--white-color);
}

.theme-btn.dark1 {
  color: var(--white-color);
}

.theme-btn.dark2 {
  color: var(--white-color);
}

.theme-btn:hover,
.theme-btn.active {
  transform: scale(1.15);
  background-color: var(--primary-color);
}

/* color palette */

.pallete-box-main {
  position: fixed;
  background-color: #ffff;
  top: 250px;
  left: -222px;
  z-index: 5;
  width: 222px;
  transition: left 0.6s ease-in-out;
}

.pallete-box-main.active {
  left: 0px !important;
}

.control-btn {
    display: flex;
    position: absolute;
    justify-content: center;
    top: 0px;
    right: -38px;
    padding: 15px;
    height: 100%;
    width: 40px;
    line-height: 54px;
    align-items: center;
    border-radius: 0px 8px 8px 0px;
    background-color: var(--primary-color);
    box-shadow: 11px 0px 11px 0px rgba(154, 154, 154, 0.3);
}

#toggleButton {
  -moz-transition: all 0.5s linear;
  -webkit-transition: all 0.5s linear;
  transition: all 0.5s linear;
}

#toggleButton.rotate {
  -ms-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
  border-radius: 5px 0px 0px 5px;
}

#contactForm .error {
    color: rgb(252, 42, 42) !important;
  font-weight: 500;
  padding: 8px;
}

@media (max-width: 576px) {
.heading-text{
  font-size: 26px;
}

}

/* ==================
  Header, Navigation Section Styles
================== */
.nav-link {
  position: relative;
}

.nav-item.active .nav-link {
  color: var(--primary-color)!important;
}

.btn-close {
  background: unset;
}

.nav-item .nav-link {
  position: relative;
  display: inline-block;
}

.nav-item .nav-link::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 1px;
  width: 0%;
  border-bottom: 2px solid var(--primary-color);
  transition: width 0.3s ease;
}

/* Show underline for active */
.nav-item.active .nav-link::after {
  width: 100%;
}

/* Show underline on hover */
.nav-item .nav-link:hover::after {
  width: 100%;
}

@media (max-width: 576px) {
  .nav-item.active .nav-link::after {
    border-bottom: 0.5px solid var(--primary-color);
  }
}

.navbar-nav .nav-link {
  color: var(--heading-text);
  transition: color 0.3s ease;
}

/* Responsive spacing */
@media (min-width: 992px) {
  .offcanvas.offcanvas-end {
    position: static;
    transform: none;
    visibility: visible !important;
    background-color: transparent;
    border: none;
    display: flex !important;
    flex-grow: 1;
    padding: 0;
  }

  .offcanvas-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
  }

  .offcanvas-header {
    display: none;
  }

  .navbar-toggler {
    display: none;
  }
}

/* ==========================
  Hero Banner Section Styles
============================= */

.header-main {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 999;
  background: transparent;
  transition: all 0.3s ease-in-out;
}

.header-main.scrolled {
  position: fixed;
  background: #1a0004;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-main {
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.navbar-brand img {
  max-height: 60px;
}

.single-banner-slide {
  padding: 300px 20px;
  position: relative;
  min-height: 950px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 1;
  overflow: hidden;
}

@media (max-width: 992px) {
  .single-banner-slide {
    padding: 200px 20px;
    min-height: 750px;
  }
}

@media (max-width: 768px) {
  .single-banner-slide {
    padding: 120px 15px;
    min-height: 600px;
  }

  .single-banner-slide h1,
  .single-banner-slide h2 {
    font-size: 1.8rem;
  }

  .banner-details {
    font-size: 0.95rem;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .single-banner-slide {
    padding: 90px 10px;
    min-height: 520px;
  }

  .single-banner-slide h1,
  .single-banner-slide h2 {
    font-size: 1.5rem;
  }

  .banner-details {
    font-size: 0.9rem;
  }
}

.item-bg_1 {
 background: linear-gradient(0deg,  rgba(var(--secondary-overlay), 0.5), rgba(var(--secondary-overlay), 0.6)),
    url('../../assets/banner-img/header_banner_01.webp') no-repeat center center;
  background-size: cover;
  background-position: center;
}

.item-bg_2 {
 background: linear-gradient(0deg,  rgba(var(--secondary-overlay), 0.5), rgba(var(--secondary-overlay), 0.6)),
    url('../../assets/banner-img/header_banner_02.webp') no-repeat center center;
  background-size: cover;
  background-position: center;
}

.item-bg_3 {
 background: linear-gradient(0deg,  rgba(var(--secondary-overlay), 0.5), rgba(var(--secondary-overlay), 0.6)),
    url('../../assets/banner-img/header_banner_03.webp') no-repeat center center;
  background-size: cover;
  background-position: center;
}

.banner-details {
  max-width: 700px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .splide__pagination {
    bottom: 10px !important;
  }
}

.banner-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.banner-content span,
.banner-content h1,
.banner-content h2,
.banner-content p,
.banner-content a {
  text-shadow: 0 1px 3px rgba(228, 63, 79, 0.5);
}

@media (max-width: 992px) {
  .banner-content h1,
  .banner-content h2 {
    font-size: 2rem !important;
  }

  /* .banner-content p {
    font-size: 1rem;
  } */

  .banner-content .btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
  }
}

@media (max-width: 300px) {
  .banner-content {
    padding: 1.5rem 1rem;
  }

  .banner-content h1,
  .banner-content h2 {
    font-size: 1.5rem !important;
  }

  .banner-content p {
    font-size: 0.95rem;
  }

  .banner-content .btn {
    width: 100%;
    text-align: center;
  }
}

/*===========================
   Booking form
=============================*/
.booking-form button {
  min-height: 56px;
}

.bookingform-main {
  margin-top: -75px;
  position: relative;
  z-index: 2;
}

/*============================
  About Styles
==============================*/

.abt-gridwrapper {
  max-width: 550px;
}

.abt-gridwrapper>div {
  display: flex;
  justify-content: center;
  align-items: center;
}

.abt-gridwrapper div {
  width: 100%;
  height: 100%;
  position: relative;
  border: 12px solid var(--image-border-color) !important;
}

.abt-gridwrapper>div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0px;

}

.abt-gridwrapper {
  display: grid;
  grid-gap: 0.5em;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-auto-rows: 120px;
  grid-auto-flow: dense;
}

.abt-gridwrapper .wide {
  grid-column: span 2;
}

.abt-gridwrapper .tall {
  grid-row: span 2;
}

.abt-gridwrapper .big {
  grid-column: span 2;
  grid-row: span 2;
}

.abt-row {
  min-height: 650px;
}

.abtimg-outer {
  position: relative;
  min-height: 550px;
}

.abtimg-outer img {
  border: 12px solid var(--image-border-color);
  object-fit: cover;
  object-position: center;
}

.first-img {
  position: absolute;
  top: 0%;
  left: calc(50% - 200px);
  width: 400px;
}

.second-img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 300px;
}

.abt-gridwrapper .tall {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.3s ease;
  will-change: transform;
}

.abt-gridwrapper .tall img {
  display: block;
  width: 100%;
  transition: transform 0.3s ease, filter 0.3s ease;
  border-radius: 12px;
}

.abt-gridwrapper .tall:hover {
  transform: rotateZ(1.5deg) scale(1.02);
   box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* Neutral soft shadow */
}

.abt-gridwrapper .tall:hover img {
  filter: brightness(1.1) contrast(1.1);
}

@media(max-width:1199px) {
  .abtimg-outer {
    min-height: 400px;
    margin-bottom: 100px;
  }

  .first-img {
    left: calc(50% - 175px);
    max-width: 350px;
  }

  .second-img {
    max-width: 250px;
    top: 60%;
    left: calc(70% - 150px);
  }
}

.icon-call {
  width: 50px;
  height: 50px;
  background-color: var(--white-color);
  border-radius: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.callbtn-main {
  position: relative;
  color: var(--white-color);
  display: flex;
  align-items: center;
  justify-content: start;
}

.callbtn-main i,
.callbtn-main svg {
  padding: 0 11px;
}

.callbtn-main::after {
  content: '';
  font-family: 'FontAwesome';
  z-index: -1;
  position: absolute;
  background-color: var(--white-color);
  padding: 15px;
  border-radius: 6px;
  min-width: 50px;
  min-height: 50px;
  transition: 0.5s ease;
}

.callbtn-main:hover::after {
  min-width: calc(100% + 10px);
}

.callbtn-main:hover {
  color: var(--primary-color) !important;
}

.social-icons a {
  font-size: 18px;
}

/* ============================
  Dance Classes Section Styles
=============================== */

.flipbox_area {
  background: linear-gradient(0deg, rgba(var(--secondary-overlay), 0.8), rgba(var(--secondary-overlay), 0.9)),
    url(../../assets/bg-img/bg_img_02.webp) no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.dance_flipbox {
  position: relative;
  transform-style: preserve-3d;
  -webkit-perspective: 1000px;
  -webkit-transform-style: preserve-3d;
  z-index: 1;
}

.dance_flipbox .dance_flipbox_font,
.dance_flipbox .dance_flipbox_back {
  min-height: 300px;
  height: auto;
  box-shadow: 0px 1px 51.3px 5.7px rgb(137 143 156 / 15%);
  -webkit-backface-visibility: hidden;
  -webkit-transform: rotateX(0);
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  transition: transform .7s ease, -webkit-transform .7s ease;
  position: relative;
}

.dance_flipbox_font {
  border: 1px solid var(--primary-color);
  border-radius: 8px;
}

.dance_flipbox .dance_flipbox_inner {
  text-align: center;
  padding: 0 25px;
  border-radius: 2px;
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  -webkit-perspective: inherit;
  outline: transparent solid 1px;
  backface-visibility: hidden;
  overflow: hidden;
}

.dance_flipbox_font .icon {
  line-height: 90px;
  height: 90px;
  width: 90px;
  background: var(--primary-color);
  border-radius: 33% 66% 70% 30%/49% 62% 38% 51% !important;
  display: inline-block;
}

.dance_flipbox_back {
  background-image: url(../../assets/why-choose-img/img_01.webp);
  background-size: cover;
  border-radius: 8px;
}

.dance_flipbox .dance_flipbox_back::before {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent -80%, var(--primary-color));
}

.dance_flipbox .dance_flipbox_inner {
  text-align: center;
  padding: 0 25px;
  border-radius: 2px;
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  perspective: inherit;
  -webkit-perspective: inherit;
  outline: transparent solid 1px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateY(-50%) translateZ(60px) scale(0.94);
  transform: translateY(-50%) translateZ(60px) scale(0.94);
  z-index: 2;
}

.dance_flipbox:hover .dance_flipbox_back {
  -webkit-transform: rotateX(0deg);
  transform: rotateX(0deg);
}

.dance_flipbox .dance_flipbox_back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  border-radius: 2px;
  -webkit-transform: rotateX(180deg);
  transform: rotateX(180deg);
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.dance_flipbox {
  position: relative;
  -webkit-perspective: 1000px;
  -webkit-transform-style: preserve-3d;
  z-index: 1;
}

.dance_flipbox:hover .dance_flipbox_font {
  -webkit-transform: rotateX(-180deg);
  transform: rotateX(-180deg);
}

.dance_flipbox .dance_flipbox_inner {
  text-align: center;
  padding: 0 25px;
  border-radius: 2px;
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  perspective: inherit;
  -webkit-perspective: inherit;
  outline: transparent solid 1px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateY(-50%) translateZ(60px) scale(0.94);
  transform: translateY(-50%) translateZ(60px) scale(0.94);
  z-index: 2;
}

.dance-img .icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon-img {
  width: 50px;
  height: 50px;
  background-color: rgba(var(--primary-overlay), 0.2);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}


@media (max-width: 575px) {
    .dance_flipbox {
        max-width: 340px;
        margin: auto;
    }
}
/* =============================
  Dance Instructor Section Styles
================================ */
.instructor-card{
background-color: var(--card-color);
}

.instructor-img {
  transition: transform 0.4s ease;
  border-radius: 0 0 1rem 1rem; 
  overflow: hidden;
}
.instructor-img img {
  width: 100%;
  transition: transform 0.4s ease;
}
.instructor-img:hover img {
  transform: scale(1.1);
}
.overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.instructor-img:hover .overlay {
  opacity: 1;
}
.social-icons a {
  color: #fff;
  font-size: 1.3rem;
  margin: 0 10px;
  transition: transform 0.3s;
}
.social-icons a:hover {
  transform: scale(1.2);
  color: var(--primary-color);
}

@media (max-width: 575px) {
    .instructor-card {
        max-width: 340px;
        margin: auto;
    }
}

/*================================================
Testimonials Styles
=================================================*/
.head-text::before {
  content: "";
  position: absolute;
  bottom: -20px;
  width: 60px;
  left: 50%;
  height: 2px;
  background: #ffffff;
  margin-left: -30px;
}

.testimonial-item img {
  width: 110px !important;
  height: 110px !important;
  border-radius: 50%;
  margin: 25px auto;
}

.testimonial-item p {
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  line-height: 27px;
}

.testimonial-active .owl-prev {
  position: absolute;
  left: 0;
  top: 50%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-active .owl-next {
  position: absolute;
  right: 0;
  top: 50%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.owl-dots {
  display: flex;
  gap: 5px;
  justify-content: center;
  padding: 15px 0;
}

.testimonial-active .owl-dot {
  width: 25px;
  height: 5px;
  background-color: white;
}

.testimonial-active .owl-dot.active {
  width: 25px;
  height: 5px;
  background-color: var(--primary-color);
}

/* ==================
 CTA Section Styles
================== */

.cta-section {
  background: linear-gradient(0deg, rgba(var(--secondary-overlay), 0.8), rgba(var(--secondary-overlay), 0.9)),
    url(../../assets/bg-img/bg_img_02.webp) no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

/* ==================
  Blog Section Styles
================== */

.blog-card {
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.blog-card img {
  width: 100%;
  height: auto;
}

.blog-content {
  padding: 15px;
}

.date-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--primary-color);
  padding: 5px 10px;
  font-size: 12px;
  font-weight: bold;
}
.blog-card {
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.blog-card img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
  display: block;
}

.blog-card:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.blog-card:hover img {
  transform: scale(1.05);
}

@media (max-width: 575px) {
    .blog-card {
        max-width: 340px;
        margin: auto;
    }
}

/* ==================
  Gallery Section Styles
================== */

.gallery-section .section-title {
  font-size: 32px;
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 10px;
}

.gallery-section .section-subtitle {
  font-size: 18px;
  color: #ff6363;
  font-weight: 600;
  margin-bottom: 30px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-grid .large {
  grid-column: span 2;
}

    .gallery-item {
      position: relative;
      overflow: hidden;
      border-radius: 15px;
      /* height: 300px; */
    }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center; /* ADDED */
  border-radius: 15px;
  transition: transform 0.4s ease;
}
    .gallery-item:hover img {
      transform: scale(1.05);
    }

    .gallery-item .overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: rgba(0, 0, 0, 0.65);
      padding: 15px 20px;
      color: #fff;
      transform: translateY(100%);
      transition: transform 0.4s ease;
      z-index: 2;
    }

    .gallery-item:hover .overlay {
    transform: translateY(0);
    opacity: 1;
    display: flex;
    flex-direction: column;
    justify-content: end;
    }

    .gallery-item .overlay h5 {
      margin: 0;
      font-size: 18px;
      font-weight: bold;
    }

    .gallery-item .overlay p {
      margin: 5px 0 0;
      font-size: 14px;
      color: #eee;
    }
/* 📱 MOBILE RESPONSIVE STYLES */
@media (max-width: 768px) {
  .gallery-item {
    /* max-width: 80%; */
    margin: 0 auto;    
    position: relative;
  }

  .gallery-item img {
    width: 100%;
    height: 90%;
    border-radius: 10px;
  }

  .gallery-item .overlay {
    width: 100%;   
    padding: 10px 12px;
    font-size: 14px;
    left: 0;
    right: 0;
  }
}

/* 📱 MOBILE RESPONSIVE STYLES */
@media (max-width: 576px) {
  .gallery-item {
    max-width: 70%;
    margin: 0 auto;    
    position: relative;
  }

  .gallery-item img {
    width: 100%;
    height: 90%;
    border-radius: 10px;
  }

  .gallery-item .overlay {
    width: 100%;   
    padding: 10px 12px;
    font-size: 14px;
    left: 0;
    right: 0;
  }
}
/* ==================
  Packages Section Styles
================== */

.packages-section {
  padding: 100px 0;
  text-align: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
  background-size: cover;
}

.package-card {
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.highlight {
  position: absolute;
  top: 0px;
  left: 0px;
  padding: 5px 20px;
  box-shadow: 0 5px 15px rgba(255, 107, 107, 0.5);
  border-radius: 0 0 10px 0;
}

.package-list li {

  position: relative;
  padding-left: 25px;
}

.package-card {
  border-radius: 12px;
  padding: 30px 20px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  background-color: #fff;
  overflow: hidden;
}

.package-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* ==================
  FAQ Section Styles
================== */

.accordion-item {
  border: none;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.accordion-button:not(.collapsed) {
  color: var(--primary-text);
  font-weight: bold;
  box-shadow: none;
}

.accordion-button:focus {
  z-index: 3;
  border-color: unset;
  outline: 0;
  box-shadow: none;
}

.accordion-item {
  background-color: var(--card-color);
}

.accordion-button:not(.collapsed)::after {
  content: '\f077';
  font-family: 'FontAwesome';
  background-image: unset;
  transform: var(--bs-accordion-btn-icon-transform);
}

.accordion-button::after {
  content: '\f078';
  font-family: 'FontAwesome';
  background-image: unset;
  transform: var(--bs-accordion-btn-icon-transform);
}

.accordion-button {
  background-color: var(--card-color);
}

.accordion-button:not(.collapsed) {
  background-color: var(--card-color);
  box-shadow: none;
}

.accordion-button:focus {
  border-color: unset;
  outline: 0;
  box-shadow: none;
}

.accordion-button .faq-button:hover {
  background-color: var(--primary-text) !important;
}

.accordion_wrapper .accordion-body {
  padding: 26px;
  padding-right: 28px;
  padding-top: 0;
  background-color: var(--card-bg);
  font-size: 16px;
  line-height: 1.75;
}

.checklist-icon {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: rgba(var(--primary-rgba-color), 0.2);
}

/* ==================
  Contact Section Styles
================== */

#contactForm .form-control:focus {
  color: var(--form-text);
}

.comment-input {
  border: 1px solid var(--light-form-bg) !important;
}

.comment-input:focus {
  color: var(--form-text);
  border: 1px solid var(--primary-color) !important;
}

.comment-input::placeholder {
  color: var(--form-text) !important;
}

.comment-input,
.form-select-bg {
  background-color: var(--light-form-bg) !important;
  border: none;
  outline: none;
  box-shadow: none !important;
  color: var(--form-text);
}

.comment-input,
.form-select-bg:focus {
  background-color: var(--light-form-bg) !important;
  color: var(--form-text);
  border: none;
  outline: none;
  box-shadow: none !important;
}

.comment-input,
.form-select-bg::placeholder {
  color: var(--form-text) !important;
}

.newsletter-section {
  position: relative;
  margin-bottom: -90px;
  margin-top: 40px;
}

#subscription .error:not(.form-control) {
  position: absolute;
  top: 100%;
  left: 8px;
}
#subscription .error {
  color: rgb(252, 42, 42) !important;
  background-color: var(--secondary-color);
  font-weight: 500;
  padding: 8px;
}

#bookingForm .error{
  color: rgb(252, 42, 42) !important;
  /* background-color: var(--secondary-color); */
  font-weight: 500;
  padding: 8px;
}

#subscription::placeholder {
  color: var(--form-text) !important;
}

#subscription .form-control:focus{
  box-shadow: none;
  background-color: var(--light-form-bg)!important;
}

#subscription .form-control{
  background-color: var(--light-form-bg) !important;
  border: none;
  outline: none;
  box-shadow: none !important;
  color: var(--form-text);
}

#subscription .form-control::placeholder{
  color: var(--form-text);
}

#cta .error{
    color: rgb(252, 42, 42) !important;
    font-weight: 500;
    padding-left: 15px!important;
}

.white-text {
  color: var(--white-color);
}

.secondary-text {
  color: var(--secondary-text);
}

.primary-btn {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  transition: background-color 0.3s ease;
}

.primary-btn:hover {
  background-color: var(--primary-hover);
}

.comment-input {
  background-color: var(--input-bg);
  color: var(--text-color);
  border-radius: 0.5rem;
  transition: box-shadow 0.3s ease, background-color 0.3s;
}

.comment-input:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem var(--primary-color-light);
  background-color: var(--input-focus-bg);
}

/* ==================
  Footer Section Styles
================== */

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-link:hover {
  color: var(--PrimaryColor) !important;
  transition: 0.3s ease-in;
}

.footer-icons {
  display: flex;
  gap: 15px;
  bottom: -20px;
  left: 20%;
  align-items: center;
}

.footer-icons a {
  text-decoration: none;
  background-color: var(--dark-color);
  color: var(--white-color);
  border: 1px solid var(--secondary-text);
  border-radius: 50%;
  padding: 3px;
  font-size: 18px;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  align-items: center;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.footer-icons a:hover {
  color: var(--white-text);
  background-color: var(--primary-color);
}

.contact-icon {
  display: flex;
  gap: 15px;
  bottom: -20px;
  left: 20%;
  align-items: center;
}

.contact-icon a {
  text-decoration: none;
  background-color: var(--dark-color);
  color: var(--white-text);
  border-radius: 8px;
  padding: 3px;
  font-size: 20px;
  transition: all 0.3s ease;
  width: 45px;
  height: 45px;
  align-items: center;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.contact-icon a:hover {
  color: var(--white-text);
  border-color: #ff4c61;
  background-color: var(--primary-color);
}

.insta-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
}

/* ==================
  Back to top Styles
================== */

#backtotop {
  position: fixed;
  bottom: 25px;
  right: 25px;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  border-radius: 50%;
  border: 2px dotted var(--white-color);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#backtotop:hover {
  cursor: pointer;
}

#backtotop.show {
  opacity: 1;
  visibility: visible;
}

.select-wrapper {
  position: relative;
}

.select-wrapper .form-select {
  --bs-form-select-bg-img: none;
  background-image: none;
  appearance: none;
  padding-right: 2.5rem; 
}

/* Add Font Awesome angle-down icon */
.select-wrapper::after {
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  top: 50%;
  right: 1.2rem;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 1rem;
  color: var(--para-text);
}
.alertmsg{
  z-index: 1000;
}