/********** Template CSS **********/
:root {
    --primary: #F3BD00;
    --secondary: #757575;
    --light: #F3F6F8;
    --dark: #0C2B4B;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

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


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #0C2B4B;
}


.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 ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 80px
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--light);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

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

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@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;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 0, 0, .75);
    z-index: 1;
}

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

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

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

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .75), rgba(0, 0, 0, .75)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Facts ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -75px;
        z-index: 1;
    }
}


/*** Courses ***/
.courses {
    min-height: 100vh;
    background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .9)), url(../img/carousel-1.jpg) center center no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.courses-item .courses-overlay {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.courses-item:hover .courses-overlay {
    height: 100%;
    opacity: 1;
}


/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .75);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social {
    height: 100%;
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    height: 40px;
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: transparent;
    border: 2px solid var(--primary);
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

.testimonial-carousel .owl-item img {
    width: 150px;
    height: 150px;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    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;
    color: var(--light);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    background: #092139;
    
}

.copyright a {
    color: var(--primary);
}

.copyright a:hover {
    color: var(--light);
}

/* Added By Anis  */

.logo-rounded {
  border-radius: 6px !important;
}

.logo-text,
.logo-text * {
  color:  var(--bs-dark) !important; /* Bootstrap primary */
}

.normal-case {
  text-transform: none !important;
  color:  var(--bs-dark) !important; /* Bootstrap primary */
}

.carousel-wrapper {
  width: 100%;
  max-width: 1200px;   /* optional */
  height: 795px;       /* fixed height */
  margin: 0 auto;
  overflow: hidden; 
}

  .carousel-wrapper img {
  width: 100%;
  height: 100%; 
   object-fit: cover;   /*prevents image stretching */
 } 

.form-floating > label {
  color: #000 !important;
  opacity: 1 !important;
}

.form-floating > .form-control:focus ~ label {
  color: #000 !important;
}

.form-floating > .form-control:not(:placeholder-shown) ~ label {
  color: #000 !important;
}

/* ***************************************************************************************************************************************** */
/* ***************************************************************************************************************************************** */
/* ***************************************************************************************************************************************** */
/* ******** For Displaying HabiTech Details ********** */
/* ***************************************************************************************************************************************** */
/* ***************************************************************************************************************************************** */
/* ***************************************************************************************************************************************** */

.product-page {
  width: 100%;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* Top Center Description */
.product-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
}

.product-header h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.product-header p {
  font-size: 18px;
  color: #555;
}

/* Feature Rows */
/* .feature-row {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto 80px auto;
  gap: 40px;
} */

.feature-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
}

.feature-row {
  display: flex;
  align-items: top;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto 80px auto;
  gap: 20px;
}

/* .feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto 80px;
  gap: 40px;
} */

.feature-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.feature-row.reverse {
  flex-direction: row-reverse;
  /* direction: rtl; */
}

/* .feature-text {
  flex: 1;
   max-width: 500px;
  text-align: center;
  margin: 0 auto;
} */

.feature-text {
  width: 100%;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}

.feature-text h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: maroon;
}

.feature-text p {
  font-size: 18px;
  /* color: #444; */
  color: #0C2B4B;
}

/* .feature-image {
  flex: 1;
  text-align: center;
}

.feature-image img {
  max-width: 100%;
  height: auto;
} */

/* @media (max-width: 768px) {
  .feature-image img {
    width: 100%;
    max-width: 300px;
  }
} */

/* For making images responsive */

/* .feature-row {
  display: flex;
  align-items: center;
  gap: 2rem;
} */

/* Image container */
/* .feature-image {
  flex: 1;
} */

/* Responsive image */
.responsive-img {
  width: 100%;
  max-width: 300px; /* optional */
  height: auto;
}

.product-header p {
  text-align: justify;
  text-justify: inter-word;
  color: var(--dark);
}

/* .carousel {
  position: relative;
  width: 100%;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
} */

/* .carousel {
  position: relative;
  width: 100%;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
} */

.carousel {
  position: relative;
  width: 100%;
  min-height: 250px;
  overflow: hidden;
}

/* .carousel img {
  width: 100%;
  max-width: 90%;
} */

.carousel img {
  width: 100%;
  max-width: 100%;
  height: auto;
}


ul {
  list-style-type:square !important;
  padding-left: 20px;
  color: #0C2B4B;
}


/* ******************************************** */

.fade-carousel {
  height: 260px;
  position: relative;
  overflow: hidden;
}

/* .carousel-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
} */

/* .carousel-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
} */

.carousel-img {
  position: absolute;
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}


/* .carousel-img.active {
  opacity: 1;
} */


.carousel-img.active {
  opacity: 1;
  position: relative;
}


/* ********************************************************* */

.slide-carousel {
  height: 260px;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease-in-out;
}

.carousel-track img {
  min-width: 100%;
  height: 100%;
  object-fit: contain;
}

.page-wrapper{
  border-left:150px solid #0C2B4B;
  border-right:150px solid #0C2B4B;
}

@media (max-width: 768px){
  .page-wrapper{
    border-left:none;
    border-right:none;
    padding:15px;
  }
}

img{
  max-width:100%;
  height:auto;
}

.carousel-img{
width:100%;
height:auto;
border-radius:10px;
}

.book-demo-page{
min-height:100vh;
display:flex;
justify-content:center;
align-items:center;
padding:40px 20px;
}

@media (max-width:768px){

.book-demo-page{
display:block;
padding:20px;
}

}

@media (max-width:768px){

.form-floating label{
font-size:14px;
}

.display-6{
font-size:28px;
text-align:center;
}

}

.demo-card{
max-width:900px;
margin:auto;
background:#ffffff;
padding:40px;
border-radius:12px;
box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

@media (max-width:768px){

.demo-card{
padding:25px;
border-radius:8px;
}

}

/* Make all forms mobile friendly */

form {
  width: 100%;
}

.form-control,
.form-select,
textarea {
  width: 100%;
  font-size: 16px;
}

@media (max-width: 768px) {

  .container,
  .container-xxl {
    padding-left: 15px;
    padding-right: 15px;
  }

  .form-floating {
    margin-bottom: 15px;
  }

  button,
  .btn {
    width: 100%;
  }

}

.form-control,
.form-select {
  border-radius: 8px;
}

/* Prevent horizontal scrolling */
html, body {
  overflow-x: hidden;
}

.problem-list {
  font-size: 17px;
  line-height: 1.9;
  padding-left: 25px;
  max-width: 650px;
  margin: 0 auto;
}

.problem-list li {
  margin-bottom: 8px;
}

.feature-wrapper {
  max-width: 1200px;
  margin: auto;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}

.feature-row.reverse {
  flex-direction: row-reverse;
}

.feature-text {
  flex: 1;
}

.feature-image {
  flex: 1;
}

@media (max-width: 768px) {

  .feature-row,
  .feature-row.reverse {
    flex-direction: column;
    text-align: center;
  }

}

@media (max-width: 768px) {

.feature-row,
.feature-row.reverse {
  flex-direction: column;
}

.feature-image {
  margin-top: 20px;
}

}

