*::before,
*,
*::after{
margin: 0;
padding: 0;
}

html{
    scroll-behavior: smooth;    
}

body{
    box-sizing: border-box;
   
    font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  overflow-x: hidden;
  background-color: #ffffff; /* White background */
  
  height: 100vh;
}
/* Base font sizes for h1 to h6 */
h1 {
    font-size: 2.5rem; 
    text-align: center;/* Default for desktop */
}
h2 {
    font-size: 2rem;
    text-align: center;
}
h3 {
    font-size: 1.8rem;
}
h4 {
    font-size: 1.5rem;
}
h5 {
    font-size: 1.2rem;
}
h6 {
    font-size: 1.1rem;
}

/* Large devices (desktops, 1200px and up) */
@media (min-width: 1200px) {
    h1 {
        font-size: 2.5rem; /* Default for desktop */
    }
    h2 {
        font-size: 2rem;
    }
    h3 {
        font-size: 1.8rem;
    }
    h4 {
        font-size: 1.5rem;
    }
    h5 {
        font-size: 1.2rem;
    }
    h6 {
        font-size: 1.1rem;
    }
}

/* Medium devices (tablets, 768px to 1199px) */
@media (max-width: 1199px) and (min-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 1.6rem;
    }
    h3 {
        font-size: 1.5rem;
    }
    h4 {
        font-size: 1.4rem;
    }
    h5 {
        font-size: 1.3rem;
    }
    h6 {
        font-size: 1.2rem;
    }
}

/* Small devices (landscape phones, 576px to 767px) */
@media (max-width: 767px) and (min-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    h3 {
        font-size: 1.4rem;
    }
    h4 {
        font-size: 1.3rem;
    }
    h5 {
        font-size: 1.2rem;
    }
    h6 {
        font-size: 1.1rem;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    h3 {
        font-size: 1.4rem;
    }
    h4 {
        font-size: 1.3rem;
    }
    h5 {
        font-size: 1.2rem;
    }
    h6 {
        font-size: 1.1rem;
    }
}


/*navbar css

.navbar{
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
    height: 60px;
    transition: background-color 0.4s ease;
}


/* Background white after scrolling 
.navbar.scrolled {
    background-color: white !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Ensures the text remains visible after scroll 
.navbar.scrolled .nav-link {
    color: #000 !important;
}


.navbar-nav .nav-link {
    position: relative;
    padding-bottom: 5px;
    color: #000;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.875rem;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #000;
    left: 0;
    bottom: 0;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.collapse.show {
    display: block;
    z-index: 9999;
    background: #fff;
}
*/

/* Navbar basic styling */
.navbar {
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

/* Background & shadow after scroll */
.navbar.scrolled {
  background-color: white !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Nav links */
.navbar-nav .nav-link {
  position: relative;
  padding-bottom: 5px;
  color: #000;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.875rem;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #000;
  left: 0;
  bottom: 0;
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* Mobile menu background & padding */
.navbar-collapse.collapse {
 /* background-color: #fff;*/
 /* padding: 10px 15px;*/
 /* border-top: 1px solid #ddd;*/
}

.navbar-collapse.collapse.show {
  display: block !important;
}

/* Buttons spacing */
.navbar-nav .btn {
  margin: 5px 0;
}

/* Media queries */
@media (max-width: 768px) {
  .navbar-nav {
    flex-direction: column;
    align-items: center;
  }

  .navbar-nav .nav-link {
    padding: 10px 0;
  }

  .navbar-nav .btn {
    width: 100%; /* Full width on mobile */
    text-align: center;
  }
}



/*media queries*/
@media screen and (max-width:1024px) {
    .navbar{
      padding: 0 30px;  
    }
}
@media screen and (max-width:768px) {
    .navbar-nav{
        display: flex;
    justify-content: center;
    align-items: center;
    }
    .navbar-collapse.collapse {
        display: none !important;
        max-height: 0; /* Ensure the initial max-height is 0 */
        overflow: hidden; /* Prevent overflow during the transition */
        transition: max-height 0.5s ease-out;
    }

    .navbar-collapse.collapse.show {
        display: block !important;
        max-height: 400px; /* Adjust based on content size */
        transition: max-height 0.5s ease-in;
    }

    /* Smooth transition for nav-links when expanding */
    .navbar-nav .nav-link {
        padding-bottom: 5px;
        color: #000;
        text-transform: uppercase;
        font-weight: bold;
        position: relative;
    }

    .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        background-color: #000;
        left: 0;
        bottom: 0;
        transition: width 0.3s ease;
    }

    .navbar-nav .nav-link:hover::after {
        width: 100%;
    }
}

/*Hero section css old
.hero{
    margin-top: 70px;
    position: relative;
    width: 100%;
    height: 600px;
    background-image: url(/tara/1899-Tarachand-Ramnath-Cam-004_01.webp);
    background-position:center;
    background-size: cover;
    background-repeat: no-repeat;
    
}



.hero .form{
    position: absolute;
    top: 30px;
   margin-bottom: 50px;
   margin-left: 50px;
    width: 340px;
    height: auto;
    padding: 15px;
    background-color: #fff;
 
    border-radius: 10px;
}
.hero .form h3{
    text-align: center;
}
.hero .form .content{
    background-color: rgb(1, 1, 43);
    padding: 20px;
}

.hero .form .content h3,
.hero .form .content h4,
.hero .form .content h5{
    text-align: center;
    color: #fff;
}

/*media queries
@media screen and (max-width:425px){
    .hero .form{
        position: absolute;
        top: 30px;
        margin-left: 30px;
        margin-bottom: 30px;
        width: 340px;
        height: auto;
        padding: 15px;
        background-color: #fff;
     
        border-radius: 10px;
    }
}

@media screen and (max-width:375px){
    .hero .form{
        position: absolute;
        top: 30px;
        margin-left: 15px;
        margin-bottom: 30px;
        width: 90%;
        height: auto;
        padding: 15px;
        background-color: #fff;
     
        border-radius: 10px;
    }
}

@media screen and (max-width:320px){
    .hero .form{
        width: 90%;
        position: absolute;
        top: 30px;
        margin-left: 10px;
        margin-bottom: 30px;
        
        height: auto;
        padding: 15px;
        background-color: #fff;
     
        border-radius: 10px;
    }
}
*/


/* 3 scrolling images added */


/* HERO WRAPPER */
.hero {
  margin-top: 70px;
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* CAROUSEL IMG */
.hero-img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

/* FORM BOX — LEFT SIDE */
.hero .form {
  position: absolute;
  top: 20px;
  right: 10px;         /* Keep form on left */
  width: 350px;
  background: #ffffff;
  padding: 18px;
  border-radius: 10px;
  z-index: 20;
  box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

/* FORM CONTENT COLORS */
.hero .form .content {
  background-color: rgb(1, 1, 43);
  padding: 22px;
  border-radius: 10px;
}

.hero .form .content h3,
.hero .form .content h4,
.hero .form .content h5 {
  text-align: center;
  color: #fff;
  margin: 5px 0;
}


.carousel-control-prev-icon,
.carousel-control-next-icon {
 background-image: none !important;    
}

.carousel-control-prev,
.carousel-control-next {
      background: none;
    border: none;
    outline: none;
}

.carousel-control-prev::after,
.carousel-control-next::after {
  font-size: 32px;
  color: #fff;      /* arrow color */
  font-weight: bold;
}

.carousel-control-prev::after {
  content: '<';
}

.carousel-control-next::after {
  content: '>';
}

/* ---- LEFT CONTENT BLOCK (DESKTOP ONLY) ---- */
.hero-left-content {
  position: absolute;
  top: 20px;
  left: 10px;
  background: #fff;
  color: rgb(1, 1, 43);
  z-index: 12;
  padding: 10px;
  text-align: center;
  border-radius: 10px;
  width: 350px;
  
}
.hero-left-content ul{
    background-color: lightgray;
    padding: 5px;
}
.hero-left-content ul li{
    list-style: none;
    padding: 5px;
}

/* --------------------------- RESPONSIVE ---------------------------------- */
@media (max-width: 1024px) {
  .hero {
    height: 520px;
  }
  .hero-img {
    height: 520px;
  }
  .hero .form {
    width: 330px;
    right: 30px;
  }
}

/*
@media (max-width: 768px) {
  .hero {
    height: 500px;
  }
  .hero-img {
    height: 500px;
  }
  .hero .form {
    width: 90%;
    left: 5%;
    top: 20px;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 480px;
  }
  .hero-img {
    height: 480px;
  }
  .hero .form {
    width: 92%;
    left: 4%;
    top: 15px;
    padding: 12px;
  }
}
*/

/* ---- RESPONSIVE (MOBILE) ---- */
@media (max-width: 768px) {

  .hero {
    height: 450px;
  }

  .hero-img {
    height: 450px;
  }

  /* hide the form on mobile */
  .hero .form {
    display: none;
  }

  /* LEFT CONTENT becomes overlay + centered */
  .hero-left-content {
    position: absolute;
    top: 10px;               /* keeps it above the image */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    text-align: center;
    z-index: 20;             /* make sure it's visible above image */
    color: rgb(1, 1, 43);          /* white text on image */
   
    padding: 2px;
    
  }
}




/*overview section*/

.overview{
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 500;
}

.overview h2{
    background-color:rgb(1, 1, 43);
    padding: 5px 20px;
    color: #fff;
    border-radius: 5px;
    margin-bottom: 20px;
    border: none;
    outline: none;
}

/*highlight section*/
.highlight{
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 500;
}

.highlight h2{
    background-color:rgb(1, 1, 43);
    padding: 5px 20px;
    color: #fff;
    border-radius: 5px;
    margin-bottom: 20px;
    border: none;
    outline: none;
}

.highlight .table tr td{
    text-align: center;
}


/*connect section*/
.connect{
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 500;
}

.connect h2{
    background-color:rgb(1, 1, 43);
    padding: 5px 20px;
    color: #fff;
    border-radius: 5px;
    margin-bottom: 20px;
    border: none;
    outline: none;
}

.connect .table tr td{
    text-align: center;
}


/*connect section*/
.upcomming{
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 500;
}

.upcomming h2{
    background-color:rgb(1, 1, 43);
    padding: 5px 20px;
    color: #fff;
    border-radius: 5px;
    margin-bottom: 20px;
    border: none;
    outline: none;
}

/*banner 2*/
.banner2{
    margin-bottom: 50px;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: lightgrey;
    padding: 20px 0;
}

@media screen and (max-width:768px) {
    .banner2{
        flex-direction:column;
    }
    .banner2 .text h5{
        text-align: center;
    }

    .banner2 .text button{

        display: block;
        margin: 0 auto;
    }
}


/*amenities section*/
.amenities{
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 500;
}

.amenities h2{
    background-color:rgb(1, 1, 43);
    padding: 5px 20px;
    color: #fff;
    border-radius: 5px;
    margin-bottom: 20px;
    border: none;
    outline: none;
}

.amenities .amenitiesLists{
    width: 100%;
    border: 0.2px solid lightgray;
    height: auto;
    padding: 20px;
}

.amenities .amenitiesLists .am{
    box-shadow: 0px 2px 2px 2px gray;
    height: 50px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}


/*gallery section*/
.gallery{
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 500;
}

.gallery h2{
    background-color:rgb(1, 1, 43);
    padding: 5px 20px;
    color: #fff;
    border-radius: 5px;
    margin-bottom: 20px;
    border: none;
    outline: none;
}


/*price section*/
.price{
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 500;
}

.price h2{
    background-color:rgb(1, 1, 43);
    padding: 5px 20px;
    color: #fff;
    border-radius: 5px;
    margin-bottom: 20px;
    border: none;
    outline: none;
}

/*views*/
.views{
    margin: 50px 0;
    width: 100%;
    height: 250px;
    background: url(/kalpataru-assest/DesktopBanner111.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    
}

.views .mask{
    width: 100%;
    height: 250px; 
    background-color: #000;
    opacity: 0.6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.views .mask .content h5,
.views .mask .content p
{
     color: #ffff;
    font-weight: bold;
    z-index: 11111;
}

/*video section*/
.video{
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 500;
}

.video h2{
    background-color:rgb(1, 1, 43);
    padding: 5px 20px;
    color: #fff;
    border-radius: 5px;
    margin-bottom: 20px;
    border: none;
    outline: none;
}

/*floor section*/
.floor{
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 500;
}

.floor h2{
    background-color:rgb(1, 1, 43);
    padding: 5px 20px;
    color: #fff;
    border-radius: 5px;
    margin-bottom: 20px;
    border: none;
    outline: none;
}

.floor .f1{
    position: relative;
}

.floor .f1 .mask{
    
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
   transition: all 0.5s ease-in;

}



.floor .f1 .btnn{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    display: flex;
   justify-content: center;
   align-items: center;
   transition: all 0.5s ease-in;
   opacity: 0;
}

.floor .f1 .btnn button{
   
z-index: 1111;
}

.floor .f1 .btnn:hover{
    background-color: #000;
    opacity: 0.8;
}



.floor .f2{
    position: relative;
}



.floor .f2 .btnn{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    display: flex;
   justify-content: center;
   align-items: center;
   transition: all 0.5s ease-in;
   opacity: 0;
}

.floor .f2 .btnn button{
   
z-index: 1111;
}

.floor .f2 .btnn:hover{
    background-color: #000;
    opacity: 0.8;
}


/*downloads*/

.downloads{
    margin: 50px 0;
    width: 100%;
    height: 350px;
    background: url(/kalpataru-assest/DesktopBanner111.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    
}

.downloads .mask{
    width: 100%;
    height: 350px; 
    background-color: #000;
    opacity: 0.6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.downloads .mask .content h5,
.downloads .mask .content p
{
     color: #ffff;
    font-weight: bold;
    z-index: 11111;
}

/*location*/
.location{
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 500;
}

.location h2{
    background-color:rgb(1, 1, 43);
    padding: 5px 20px;
    color: #fff;
    border-radius: 5px;
    margin-bottom: 20px;
    border: none;
    outline: none;
}


/*faq*/
.faq{
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 500;
}

.faq h2{
    background-color:rgb(1, 1, 43);
    padding: 5px 20px;
    color: #fff;
    border-radius: 5px;
    margin-bottom: 20px;
    border: none;
    outline: none;
}

@media screen and (max-width:425px) {
    .faq .map #accordion .card .card-header .btn{
      font-size: 0.8rem;
      font-weight: 600;
      padding: 0;
    }
}
@media screen and (max-width:375px) {
    .faq .map #accordion .card .card-header .btn{
      font-size: 0.6rem;
      font-weight: 600;
      padding: 0;
    }
}

@media screen and (max-width:320px) {
    .faq .map #accordion .card .card-header .btn{
      font-size: 0.5rem;
      font-weight: 600;
      padding: 0;
    }
}

/*about*/
.about{
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 500;
}

.about h2{
    background-color:rgb(1, 1, 43);
    padding: 5px 20px;
    color: #fff;
    border-radius: 5px;
    margin-bottom: 20px;
    border: none;
    outline: none;
}