/********** Template CSS **********/
:root {
    --primary: #AB7442;
    --light: #F5F5F5;
    --dark: #353535;
}


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

.fw-bold {
    font-weight: 700 !important;
}

.fw-black {
    font-weight: 900 !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;
}


/*** Button ***/
.btn {
    font-weight: 500;
    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 ***/
.nav-icon {
    height: 4rem;   /* Adjust height to fit nicely */
    width: auto;    /* Maintain aspect ratio */
    margin-top: 0;  /* Optional: remove excess top margin */
    object-fit: contain;
    margin-bottom: 20px;
}


.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;
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

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

@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-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 ***/
@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;
    width: 200px;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    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);
}

.header-carousel .owl-dots {
    position: absolute;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: transparent;
    border: 1px solid #FFFFFF;
    transition: .5s;
}

.header-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    top: 4px;
    left: 4px;
    background: transparent;
    border: 1px solid #FFFFFF;
}

.header-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}

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

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title h1 {
    position: relative;
    display: inline-block;
    padding: 0 60px;
}

.section-title.text-start h1 {
    padding-left: 0;
}

.section-title h1::before,
.section-title h1::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 5px;
    bottom: 0;
    background: var(--dark);
}

.section-title h1::before {
    left: 0;
}

.section-title h1::after {
    right: 0;
}

.section-title.text-start h1::before {
    display: none;
}


/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Service ***/
.service-item img {
    transition: .5s;
}

.service-item:hover img {
    transform: scale(1.1);
}


/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Project Portfolio ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--primary);
    border-color: var(--primary);
}

.portfolio-item img {
    transition: .5s;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item .portfolio-overlay {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0;
    height: 0;
    bottom: 0;
    left: 50%;
    background: rgba(53, 53, 53, .7);
    transition: .5s;
}

.portfolio-item:hover .portfolio-overlay {
    width: 100%;
    height: 100%;
    left: 0;
}

.portfolio-item .portfolio-overlay .btn {
    opacity: 0;
}

.portfolio-item:hover .portfolio-overlay .btn {
    opacity: 1;
}


/*** Quote ***/
@media (min-width: 992px) {
    .container.quote {
        max-width: 100% !important;
    }

    .quote-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .quote-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .quote-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Team ***/
.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-item .team-social {
    position: absolute;
    width: 38px;
    top: 50%;
    left: -38px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    transition: .5s;
}

.team-item .team-social .btn {
    color: var(--primary);
    background: #FFFFFF;
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.team-item:hover .team-social {
    left: 0;
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text {
    border: 5px solid var(--light);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    transform: scale(1);
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 10px;
    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 {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}


/*** Contact ***/
@media (min-width: 992px) {
    .container.contact {
        max-width: 100% !important;
    }

    .contact-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/
.footer {
    background: linear-gradient(rgba(53, 53, 53, .7), rgba(53, 53, 53, .7)), url(../img/footer.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;
    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 {
    color: var(--primary);
    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 .copyright a:hover {
    color: var(--primary);
}



/* floating animation for the img of about  */
/* Floating animation */
.floating-img {
    animation: float 6s ease-in-out infinite;
    max-width: 100%;
    height: auto;
  }
  
  @keyframes float {
    0% {
      transform: translateY(0px);
    }
    50% {
      transform: translateY(-10px);
    }
    100% {
      transform: translateY(0px);
    }
  }

  

  /* video section */
  .rotating-text {
    animation: rotateText 35s linear infinite;
}

@keyframes rotateText {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}



/* blog section */
.blog-card {
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  .blog-card:hover {
    transform: translateY(-5px);
  }
  .blog-image {
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
  }
  .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .card-text {
    flex-grow: 1;
  }

  /* bg beige color */
  .beige-color {

    background-color: #e6e6e6;
  }





  /* timeline section start  */
.split-timeline {
  position: relative;
  max-width: 1200px;
  margin: auto;
  padding: 2rem 0;
}

.split-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #dee2e6;
  transform: translateX(-50%);
}

.split-checkpoint {
  position: relative;
  width: 50%;
  padding: 1rem 2rem;
  box-sizing: border-box;
}

.split-checkpoint.left {
  left: 0;
  text-align: right;
}

.split-checkpoint.right {
  left: 50%;
  text-align: left;
}

.split-checkpoint .content {
  background: #fff5ea;
  padding: 1rem;
  border-radius: 10px;
  position: relative;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.split-checkpoint.left .content {
  margin-right: 30px;
}

.split-checkpoint.right .content {
  margin-left: 30px;
}

.split-checkpoint .icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #0d6efd;
}

/* Responsive */
@media (max-width: 767px) {
  .split-checkpoint,
  .split-checkpoint.left,
  .split-checkpoint.right {
    left: 0 !important;
    width: 100%;
    text-align: left;
    margin-bottom: 2rem;
  }

  .split-checkpoint .content {
    margin: 0 auto;
  }

  .split-timeline::before {
    left: 20px;
  }
}

  /* timeline section end */



  /* about page section heading start  */
.highlight {
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0.1em;
  width: 100%;
  height: 0.25em;
  background-color: #F7A072;
  z-index: -1;
  transform: rotate(-2deg);
}

.about-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 2rem;
  object-fit: cover;
}

.about-section {
  padding: 4rem 0;
}

@media (max-width: 768px) {
  .about-section {
    text-align: center;
    padding: 2rem 1rem;
  }

  .highlight::after {
    height: 0.2em;
  }

  .display-4 {
    font-size: 2rem;
  }
}
  /* about page section heading end */


  /* mission and values card start */
  .mission-section {
    padding: 60px 15px;
  }
  .mission-heading {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
  }
  .mission-text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    color: #666;
  }
  .value-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
  }
  .value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  }
  .value-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: #B8895E;
  }
  .value-title {
    font-weight: 600;
    font-size: 1.3rem;
  }
  .value-description {
    font-size: 0.95rem;
    margin-top: 10px;
  }
  @media (max-width: 767.98px) {
    .value-card {
      margin-bottom: 20px;
    }
  }

  /* mission and values card end */
 
  


  /* service header start */
  .custom-image-grid {
    display: flex;
    align-items: center;
  }
  
  .big-img img {
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 1.5rem;
  }
  
  .small-imgs img {
    width: 140px;
    height: 190px;
    object-fit: cover;
    border-radius: 1.5rem;
  }
  
  @media (max-width: 768px) {
    .custom-image-grid {
      flex-direction: column;
      align-items: center;
    }
  
    .big-img img,
    .small-imgs img {
      width: 100%;
      height: auto;
    }
  
    .small-imgs {
      flex-direction: row;
      gap: 1rem;
    }
  }  

/* custom testimonial  */
.yt-testimonial-card {
    background: #ffffff;
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
  }

  .yt-testimonial-card:hover {
    transform: translateY(-5px);
  }

  .yt-testimonial-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #ff914d;
  }

  .yt-testimonial-name {
    font-weight: bold;
    margin-top: 15px;
    color: #333;
  }

  .yt-testimonial-profession {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 10px;
  }

  .yt-testimonial-text {
    font-style: italic;
    color: #555;
  }

  .yt-testimonial-section {
    background-color: #f9f7f5;
    padding: 60px 0;
  }


  /* for line section start */
  .text-highlight {
    color: #B58559; /* Elegant warm brown shade */
  }
  .custom-underline {
    width: 60px;
    height: 4px;
    background-color: #8c684a;
    border-radius: 2px;
  }
  /* for line section end  */

  /* bounce animation start */
  .bounce-arrow {
    animation: bounce 1.5s infinite;
  }

  @keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
  }
  /* bounce animation end */

  /* testimonial page cards of wall start */
  .review-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 0.5rem;
    scroll-behavior: smooth;
  }
  
  .review-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  .review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  }
  
  @media (max-width: 768px) {
    .review-wall {
      max-height: none;
      overflow: visible;
    }
  }
  /* testimonial page cards of wall end */

  /* contact page start */
  /* contact.css */

.contact-section {
  background-image: url(../img/form-bg.jpg);
  background-repeat: no-repeat;
  background-size: 100%;
}


@media (max-width: 767.98px) {
  .contact-info-box {
    border-radius: 0 0 0.5rem 0.5rem;
  }
}

  
  /* contact page end */

  /* video testimonials start */
.custom-testimonial-container {
  position: relative;
  overflow: hidden;
  padding: 2rem 1rem;
}

.custom-testimonial-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 1rem;
  padding-bottom: 1rem;
  scrollbar-width: none; /* Firefox */
}

.custom-testimonial-track::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.custom-testimonial-card {
  flex: 0 0 auto;
  width: 240px; /* Portrait ratio width */
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.custom-testimonial-card video {
  width: 100%;
  height: 360px; /* Portrait height */
  object-fit: cover;
  border-radius: 0.75rem;
  cursor: pointer;
  background: #000; /* fallback if video doesn't load */
}

.custom-testimonial-info {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.custom-testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 0.5rem;
}

.custom-testimonial-buttons {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
}

.custom-scroll-btn {
  border: none;
  background-color: #6c63ff;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin: 0 5px;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: background-color 0.3s;
}

.custom-scroll-btn:hover {
  background-color: #5848e5;
}

@media (max-width: 768px) {
  .custom-testimonial-card {
    width: 60vw;
  }

  .custom-testimonial-card video {
    height: 420px;
  }
}

/* video testimonials end */

/* social links on contact page start */
.social-media-section {
  text-align: center;
  padding: 40px 20px;
  background-color: #f5f5f5;
}

.social-media-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #333;
}

.social-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.social {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: transform 0.3s ease, background 0.3s ease;
}

.social.instagram { background: #e4405f; }
.social.linkedin  { background: #0077b5; }
.social.facebook  { background: #1877f2; }
.social.whatsapp  { background: #25d366; }
.social.email     { background: #dd4b39; }

.social:hover {
  transform: scale(1.1);
  filter: brightness(1.1);
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .social {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }

  .social-media-section h2 {
    font-size: 1.5rem;
  }
}
/* social links on contact page end */

.whatsapp-contact {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;

}

