/********** Template CSS **********/
:root {
  --primary: #B78D65;
  --light: #F8F8F8;
  --dark: #252525;
}
#spinner {
transition: opacity 0.5s ease-out;
}


#spinner.hidden {
opacity: 0;
}
h1,
h2,
.h1,
.h2,
.fw-bold {
  font-weight: 600 !important;
}

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

h5,
h6,
.h5,
.h6,
.fw-normal {
  font-weight: 400 !important;
}

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

.btn-outline-body {
  color: var(--primary);
  border-color: #777777;
}

.btn-outline-body:hover {
  color: #FFFFFF;
  background: var(--primary);
  border-color: var(--primary);
}


/*** Navbar ***/
/* Main Navbar Styles */

.logo-image {
  height: 75px;     /* or any size you want */
  width: auto;
  display: block;
}


.navbar {
  background-color: #ffffff; /* Background of Navbar */
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.05); /* Box shadow for sticky */
  padding: 16px;
  transition: all 0.5s ease;
}

.navbar .navbar-brand {
  color: var(--dark); /* Text color for the brand */
  font-weight: bold;
  font-size: 24px;
}

.navbar .navbar-nav {
  display: flex;
  justify-content: center; /* Center the links horizontally */
}

.navbar .navbar-nav .nav-link {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-right: 30px;
  padding: 30px 0;
  color: var(--dark); /* Use the dark color as in the earlier CSS */
  transition: color 0.3s ease;
}

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

/* Navbar Toggle (Mobile) */
.navbar-toggler {
border: none;
background: transparent;
padding: 0;
outline: none;
}

.navbar-toggler-icon {
width: 30px;
height: 3px;
background-color: var(--dark); /* Unified color */
display:block;
position: relative;
transition: all 0.3s ease-in-out;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
content: "";
width: 30px;
height: 3px;
background-color: var(--dark);
position: absolute;
left: 0;
transition: all 0.3s ease-in-out;
}

.navbar-toggler-icon::before {
top: -8px;
}

.navbar-toggler-icon::after {
top: 8px;
}

/* Animated effect when toggled */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
background-color: transparent; /* Hide middle bar */
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
top: 0;
transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
top: 0;
transform: rotate(-45deg);
}










/* Custom White Button with Black Border and Text */
.btn.custom-white {
  background-color: white;  /* Set the background to white */
  color: rgb(56, 53, 53);  /* Set the text color to black */
  border: 2px solid rgb(57, 56, 56);  /* Set the border to black */
  font-weight: 600;
  font-size: 16px;  /* Control the font size */
  padding: 10px 20px;  /* Control the padding */
}

/* Hover Effect for Custom Button */
.btn.custom-white:hover {
  background-color:#676767;  /* Slightly darken the background on hover */
  color: rgb(255, 255, 255);  /* Keep text color black */
  border-color: #676767;  /* Ensure the border remains black */
  transition: background-color 0.3s ease;
}




/* Square Buttons Styles */
.navbar .square-btn {
  width: 150px; /* Adjust the width to be square */
  height: 150px; /* Adjust the height to make it square */
  border-radius: 0px; /* Square shape (no rounded corners) */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0;
  font-weight: 600;
}

.navbar .btn-outline-body {
  background-color: transparent;
  color: var(--dark); /* Matching the original color */
  border: 1px solid var(--dark);
  font-weight: 700;
}

.navbar .btn-primary {
  background-color: var(--primary); /* Use primary color */
  border: none;
  font-weight: 700;
}

.navbar .btn:hover {
  transform: translateY(-2px);
  transition: transform 0.3s ease;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
  .navbar .navbar-nav .nav-link {
      text-align: center;
      padding: 16px;
  }

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

  .navbar .navbar-nav {
      flex-direction: column;
      align-items: center;
  }

  .navbar .navbar-nav .nav-link:hover {
      background-color: #333333;
      transition: background-color 0.2s ease;
  }

  .navbar .d-none {
      display: none !important;
  }
}






/* Services Section Styling */
.services-section {
  background-color: #B78D65;
  color: #fff;
  padding:20px 0;
  text-align: center;
}

.service {
  margin: 20px 0;
}

.service-icon {
  font-size: 50px;
  color: #fff;
  margin-bottom: 10px;
}

.service h2 {
  font-size: 36px;
  font-weight: bold;
  color: #fff;
  margin: 10px 0;
}

.service p {
  font-size: 18px;
  color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.row {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .service {
    margin: 20px auto;
    width: 100%;
  }
}


/*** Header ***/



.carousel-container {
position: relative;
overflow: hidden;
}

.carousel-slide {
position: relative;
min-height: 850px;
transition: opacity 0.5s ease-in-out;
}

.carousel-image {
width: 100%;
height: 90%;
object-fit: cover;
position: absolute;
top: 0;
left: 0;
}

.carousel-content {
position: absolute;
bottom: 80px;
width: 100%;
text-align: center;
color: white;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.carousel-title {
font-size: 4rem;
margin-bottom: 17.5rem;
color: white;
background: rgba(0, 0, 0, 0.2); /
}

.carousel-text {
font-size: 1.25rem;
font-weight: 500;
margin-bottom: 7.5rem;

}

/* Modern Controls */
.carousel-control {
position: absolute;
top: 50%;
transform: translateY(-50%);
background: rgba(0, 0, 0, 0.6);
color: white;
border: none;
border-radius: 50%;
width: 50px;
height: 50px;
font-size: 1.5rem;
cursor: pointer;
transition: background 0.3s;
}

.carousel-control:hover {
background: rgba(0, 0, 0, 0.8);
}

.prev { left: 20px; }
.next { right: 20px; }

/* Dots */
.carousel-dots {
position: absolute;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 10px;
}

.dot {
width: 12px;
height: 12px;
background: rgba(255, 255, 255, 0.5);
border: none;
border-radius: 50%;
cursor: pointer;
transition: all 0.3s;
}

.dot.active {
background: white;
width: 16px;
height: 16px;
}

/* Progress Bar */
.progress-bar {
position: absolute;
bottom: 0;
width: 100%;
height: 4px;
background: rgba(255, 255, 255, 0.3);
}

.progress {
height: 100%;
background: white;
transition: width 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
.carousel-slide {
  min-height: 500px;
}

.carousel-title {
  font-size: 2rem;
  margin-bottom: -7.5rem;

}

.carousel-title {
  font-size: 3.0rem;

}

.carousel-text {
  font-size: 1rem;
}

.carousel-control {
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
}
}

/* page header */

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

.breadcrumb-item+.breadcrumb-item::before {
color: var(--light);
}
/* page header ends */

/*** Section Title ***/
.section-title {
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
}


/*** Facts ***/
.fact-item .fact-icon {
  width: 120px;
  height: 120px;
  margin-top: -60px;
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border-radius: 120px;
  transition: .5s;
}

.fact-item:hover .fact-icon {
  background: var(--dark);
}

.fact-item .fact-icon i {
  color: var(--primary);
  transition: .5;
}

.fact-item:hover .fact-icon i {
  color: #FFFFFF;
}


/*** About & Feature ***/
.about-img,
.feature-img {
  position: relative;
  height: 100%;
  min-height: 400px;
  display: flex; /* Use flexbox for side-by-side layout */
  justify-content: center;
  align-items: center;
  gap: 20px; /* Space between images */
}

.about-img img,
.feature-img img {
  position: relative; /* Remove absolute positioning */
  width: 95%; /* Adjust width to fit side by side */
  height: 80%; /* Maintain height */
  object-fit: cover;
  border: 5px solid var(--primary); /* Add border directly to images */
  z-index: 1; /* Ensure images are above any pseudo-elements */
}

/* Remove the offset for the second image */
.about-img img:last-child,
.feature-img img:last-child {
  margin: 0; /* Reset margin */
}

/* Optional: Add a subtle background or frame effect */
.about-img::before,
.feature-img::before {
  position: absolute;
  content: "";
  width: 90%; /* Wider background frame */
  height: 85%;
  top: 7.5%;
  left: 5%;
  background: rgba(0, 0, 0, 0.05); /* Light background for contrast */
  z-index: 0; /* Behind images */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .about-img,
  .feature-img {
      flex-direction: column; /* Stack images vertically on smaller screens */
      min-height: 300px;
  }

  .about-img img,
  .feature-img img {
      width: 100%; /* Full width on mobile */
      height: 100%; /* Adjust height */
  }

  .about-img::before,
  .feature-img::before {
      width: 85%;
      height: 90%;
      top: 5%;
      left: 7.5%;
  }
}




/*** Service ***/
.service-item {
position: relative;
overflow: hidden;
border-radius: 10px;
perspective: 1000px;
transition: transform 0.3s ease-in-out;
height: 400px; /* Set a fixed height for all service items */
}

.service-item .service-image-wrapper {
position: relative;
width: 100%;
height: 90%; /* Make wrapper take full height of parent */
}

.service-item .service-img {
width: 100%;
height: 90%; /* Make image take full height of wrapper */
object-fit: cover; /* Maintain aspect ratio while filling container */
transition: transform 0.8s ease-in-out, filter 0.6s ease-in-out;
}
.service-item .service-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 90%;
background: rgba(0, 0, 0, 0.1);
color: #ffffff;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
opacity: 0;
transform: translateY(50px);
transition: opacity 0.5s ease, transform 0.6s ease-in-out, background 0.5s ease;
padding: 20px;
}

.service-item:hover .service-overlay {
opacity: 1;
transform: translateY(0);
background:#252525; /* Soft peach tone */
color: #333; /* Darker text for contrast */
}

.service-item:hover .service-img {
transform: scale(1.05) translateY(-10px); /* Soft lift effect */
filter: brightness(0.8);
}

.service-item .service-overlay img {
width: 60px;
height: 60px;
margin-bottom: 15px;
opacity: 0;
transform: translateY(20px) scale(0.8);
transition: opacity 0.5s ease, transform 0.5s ease-in-out;
}

.service-item:hover .service-overlay img {
opacity: 1;
transform: translateY(0) scale(1);
}

.service-item .service-overlay h3 {
font-size: 1.8rem;
margin-bottom: 10px;
opacity: 0;
transform: translateY(20px);
transition: opacity 0.5s ease, transform 0.5s ease-in-out 0.2s, color 0.5s ease;
}

.service-item .service-overlay p {
font-size: 1rem;
opacity: 0;
transform: translateY(20px);
transition: opacity 0.5s ease, transform 0.5s ease-in-out 0.4s, color 0.5s ease;
}

.service-item:hover .service-overlay h3, 
.service-item:hover .service-overlay p {
opacity: 1;
transform: translateY(0);
color: #ffffff; /* Darker shade for readability */
}


@media (max-width: 768px) {
.shuffle-btn-group {
  margin-bottom: 1.5rem;
  padding: 0 10px;
  display: grid; /* Using grid for precise row control */
  grid-template-columns: repeat(2, 1fr); /* Two columns of equal width */
  gap: 20px 10px; /* 20px vertical gap (between rows), 10px horizontal gap (between columns) */
}

.shuffle-btn-group .btn {
  width: 100%; /* Full width within grid cell */
  margin: 0; /* Remove individual margins */
  padding: 8px 10px;
  font-size: 0.9rem;
  box-sizing: border-box; /* Include padding in width */
  text-align: center; /* Center text within buttons */
}

.service-item {
  height: 300px; /* Slightly smaller height for mobile */
}
}

/* Preloader Styles */





/* Mobile View Adjustments */
/* Preloader Base Styles */
#spinner {
z-index: 9999; /* Ensure preloader stays on top */
}

.spinner-border {
z-index: 0; /* Below video, acts as fallback */
}

.preloader-video {
width: 100%;
height: 100%;
object-fit: cover; /* Ensures video fills container */
z-index: 1; /* Above spinner */
}

/* Hide spinner when video is playing (optional) */
.preloader-video[autoplay]:not([data-error]) + .spinner-border {
display: none;
}

/* Hide preloader when page is loaded */
#spinner.hide {
display: none;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
.spinner-border {
  width: 4rem !important; /* Smaller spinner for mobile */
  height: 4rem !important;
}

.preloader-video {
  width: 100%; /* Full viewport width */
  height: 110%; /* Slightly taller to ensure full coverage */
  object-fit: cover; /* Cover the entire screen, may crop edges */
  max-width: none; /* Override any max-width constraints */
  max-height: none; /* Override any max-height constraints */
}
}



.team-item img {
height: 350px; /* Adjust the height as needed */
object-fit: cover;
width: 100%;
}

.team-items {
display: flex;
justify-content: center;
gap: 10px; /* Reducing the gap */
}

.col-lg-3 {
padding: 0 5px; /* Adjust padding to reduce spacing */
}


/*** Project ***/
.project .nav .nav-link {
  background: var(--light);
  transition: .5s;
}

.project .nav .nav-link.active {
  background: var(--primary);
}

.project .nav .nav-link.active h3 {
  color: #FFFFFF !important;
}


/*** 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%;
  bottom: -20px;
  left: 0;
}

.team-item .team-social .btn {
  display: inline-flex;
  margin: 0 2px;
  color: var(--primary);
  background: var(--light);
}

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


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

/* src/components/Testimonial.css */
/* src/components/Testimonial.css */
.interactive-testimonial {
padding: 80px 20px;
background: #ffffff url("/img/sketch.jpg") no-repeat right center fixed; /* Right-side image */
background-size: 700px auto;
overflow: hidden;
position: relative;
user-select: none;
min-height: 400px;
}

.background-layer {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: url("/img/sketch2.jpg") no-repeat left center fixed; /* Left-side image */
background-size: 900px auto;
z-index: 0; /* Behind content */
}

/* Ensure content stays above background */
.testimonial-header,
.testimonial-container {
position: relative;
z-index: 1; /* Above both background layers */
}

.testimonial-header, .testimonial-container {
position: relative;
z-index: 0; /* Above background */
}
.testimonial-header {
text-align: center;
margin-bottom: 60px;
}

.header-subtitle {
font-size: 1.2rem;
color: #6c757d;
text-transform: uppercase;
letter-spacing: 3px;
font-weight: 500;
}

.header-title {
font-size: 2.8rem;
color: #2c3e50;
font-weight: 700;
margin-top: 10px;
}

.testimonial-container {
max-width: 1200px;
margin: 0 auto;
position: relative;
}

.testimonial-track {
display: flex;
width: 300%; /* 100% * number of testimonials */
transition: transform 0.5s ease;
cursor: grab;
}

.testimonial-track:active {
cursor: grabbing;
}

.testimonial-card {
flex: 0 0 33.33%; /* 100% / number of testimonials */
padding: 0 20px;
opacity: 0.7;
transform: scale(0.95);
transition: all 0.4s ease;
}

.testimonial-card.active {
opacity: 1;
transform: scale(1);
}

.card-content {
background: #ffffff;
border-radius: 10px;
padding: 30px 40px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
position: relative;
overflow: hidden;
transition: transform 0.3s ease, box-shadow 0.3s ease;
width: 780px;
height: 360px;
margin: 0 auto;
display: flex;
flex-direction: column;
justify-content: space-between;
}

.card-content:hover {
transform: perspective(1000px) rotateX(5deg) rotateY(5deg);
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.quote-icon {
position: absolute;
top: 115px;
left: 20px;
font-size: 4rem;
color: #e9ecef;
line-height: 1;
}

.testimonial-quote {
font-size: 1.3rem;
color: #495057;
line-height: 1.6;
margin-top: 125px;
margin-bottom: 0;
position: relative;
z-index: 1;
flex-grow: 1;
text-align: center;
}

.client-info {
display: flex;
align-items: center;
gap: 20px;
position: absolute;
top: 30px;
left: 40px;
}

.client-avatar {
width: 70px;
height: 70px;
border-radius: 50%;
object-fit: cover;
border: 3px solid #B78D65;
cursor: pointer;
transition: transform 0.3s ease, border-color 0.3s ease;
}

.client-avatar:hover {
transform: scale(1.1);
border-color: #e2b074;
}

.client-avatar:active {
transform: scale(0.95);
}

.client-details {
text-align: left;
}

.client-name {
font-size: 1.5rem;
color: #2c3e50;
font-weight: 600;
margin: 0;
}

.client-profession {
font-size: 1rem;
color: #6c757d;
font-style: italic;
}

.card-bottom {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
padding-bottom: 10px;
}

.card-controls {
display: flex;
gap: 10px;
}

.control-dot {
width: 10px;
height: 10px;
background: #ced4da;
border-radius: 50%;
border: none;
cursor: pointer;
transition: all 0.3s ease;
}

.control-dot:hover {
background: #adb5bd;
transform: scale(1.2);
}

.control-dot.active {
width: 30px;
border-radius: 15px;
background: #B78D65;
box-shadow: 0 4px 12px rgba(183, 141, 101, 0.4);
}

.progress-bar {
width: 100%;
height: 4px;
background: #e9ecef;
border-radius: 2px;
overflow: hidden;
}

.progress-fill {
height: 100%;
background: #B78D65;
transition: width 0.1s linear;
}

/* Mobile View Adjustments */
@media (max-width: 768px) {
.interactive-testimonial {
  padding: 40px 10px; /* Reduced padding for mobile */
  background: #ffffff url("/img/sketch.jpg") no-repeat right center fixed;
  background-size: 400px auto; /* Smaller image for mobile */
  min-height: 300px; /* Slightly shorter section */
}

.background-layer {
  background: url("/img/sketch2.jpg") no-repeat left center fixed;
  background-size: 0px auto; /* Smaller image for mobile */
}

/* Adjust header for smaller screens */
.testimonial-header {
  margin-bottom: 40px;
}

.header-subtitle {
  font-size: 1rem;
  letter-spacing: 2px;
}

.header-title {
  font-size: 2rem;
}
.card-content {
  width: 90%;
  height: 400px;
  padding: 20px;
}

.testimonial-quote {
  font-size: 1.1rem;
  margin-top: 50px;
}

.client-info {
  top: 20px;
  left: 20px;
}

.client-avatar {
  width: 50px;
  height: 50px;
}

.client-name {
  font-size: 1.2rem;
}

.client-profession {
  font-size: 0.9rem;
}

.quote-icon {
  top: 70px;
}

.card-bottom {
  padding-bottom: 8px;
}
}

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

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

.footer .form-control {
  border-color: #777777;
}

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













/* new css project */


/* Projects area
================================================== */
/* Project filter nav */
/* Global Styling */
body {
font-family: "Arial", sans-serif;
line-height: 1.6;
margin: 0;
padding: 0;
}

/* Section Styling */
#project-area {
padding: 50px 0;
background-color: #f9f9f9;
}

.section-title {
font-size: 2.5rem;
font-weight: bold;
color: #333;
}

.section-sub-title {
font-size: 1.2rem;
color: #777;
margin-bottom: 20px;
}

/* Shuffle Button Group */
.shuffle-btn-group {
margin-bottom: 30px;
}

.shuffle-btn-group .btn {
border-radius: 20px;
padding: 10px 20px;
font-size: 0.9rem;
transition: background-color 0.3s ease, color 0.3s ease;
}

.shuffle-btn-group .btn:hover {
background-color: B78D65;
color: white;
}

.shuffle-btn-group .btn.btn-primary {
background-color:B78D65;
color: white;
}

/* Project Cards */
.project-img-container {
position: relative;
overflow: hidden;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-img-container:hover {
transform: translateY(-5px);
box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.project-img-container img {
display: block;
width: 100%;
height: auto;
border-radius: 10px;
}

.project-item-info {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
padding: 15px;
/* background: rgba(0, 0, 0, 0.6); */
color: white;
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
transition: background 0.3s ease;
}

.project-item-info h3 {
font-size: 1.2rem;
margin: 0;
}

.project-item-info p {
font-size: 0.9rem;
color: #d1d1d1;
}

.project-item-info-content {
text-align: center;
}

/* .project-img-container:hover .project-item-info {
background: rgba(0, 0, 0, 0.8);
} */

/* Icon */
.project-img-container .gallery-icon {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: white;
font-size: 2rem;
opacity: 0;
transition: opacity 0.3s ease;
}

.project-img-container:hover .gallery-icon {
opacity: 1;
}

/* View All Button */
.btn-primary {
border-radius: 25px;
padding: 10px 30px;
font-size: 1rem;
}

.btn-primary:hover {
background-color:#B78D65;
border-color: #B78D65;
}

/* FACTS CSS */

/* FACTS CSS */

:root {
--primary: #B78D65;
}

.facts-container {
position: relative;

background: url("/img/newbanners/banner-4.jpg") no-repeat center center;
background-size: cover;
padding: 150px 0px;
min-height: 500px;
display: flex;
align-items: center;
z-index: 1;
overflow: hidden; /* Prevent any overflow issues */
}

/* Desktop: Use native parallax */
@media (min-width: 769px) {
.facts-container {
  background-attachment: fixed;
}
}

/* Mobile: Default to scroll, JavaScript will override */
@media (max-width: 768px) {
.facts-container {
  background-attachment: scroll; /* Fallback if JS fails */
}
}

.facts-container::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.3);
z-index: -1;
}

.fact-box {
text-align: center;
padding: 15px;
border-radius: 10px;
background: #ffffff33;
backdrop-filter: blur(1px);
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
transition: transform 0.3s ease, box-shadow 0.3s ease;
max-width: 199px;
margin: 0 auto;
}

.fact-box:hover {
transform: translateY(-10px) scale(1.05);
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.fact-box:focus {
outline: 2px solid #ffffff;
outline-offset: 2px;
}

.fact-box i {
font-size: 35px;
color: var(--primary);
margin-bottom: 10px;
transition: transform 0.3s ease;
}

.fact-box i:hover {
transform: scale(1.2);
}

.fact-box h3 {
font-weight: 900;
font-size: 50px;
color: #ffffff;
margin: 0px 0;
}

.fact-box p {
font-size: 16px;
font-weight: 500;
text-transform: uppercase;
color: #ffffff;
margin: 8px 0 0;
}

.counter-number {
font-weight: bold;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
.facts-container {
  padding: 80px 0px;
  min-height: 800px;
}

.fact-box {
  padding: 12px;
  max-width: 160px;
  margin: 10px auto;
  transition: transform 0.3s ease, opacity 0.5s ease;
  opacity: 0.9;
}

.fact-box.in-view {
  opacity: 1;
  transform: scale(1.02);
}

.fact-box i {
  font-size: 30px;
  margin-bottom: 8px;
}

.fact-box h3 {
  font-size: 36px;
}

.fact-box p {
  font-size: 14px;
  font-weight: 500;
  margin: 6px 0 0;
}
}

/* FACTS CSS - ENDS */










body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* Section Styling */
#project-area {
  padding: 50px 0;
  background-color: #f9f9f9;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
}

.section-sub-title {
  font-size: 1.2rem;
  color: #777;
  margin-bottom: 20px;
}

/* Shuffle Button Group */
.shuffle-btn-group {
  margin-bottom: 30px;
}

.shuffle-btn-group .btn {
  border-radius: 20px;
  padding: 10px 20px;
  font-size: 0.9rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.shuffle-btn-group .btn:hover {
  background-color: B78D65;
  color: white;
}

.shuffle-btn-group .btn.btn-primary {
  background-color:B78D65;
  color: white;
}

/* Project Cards */
.project-img-container {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  height: 300px; /* Set a fixed height for uniformity */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-img-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.project-img-container img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures images fit the container without distortion */
  border-radius: 10px;
}

.project-item-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  /* background: rgba(0, 0, 0, 0.6); */
  color: white;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  transition: background 0.3s ease;
}

.project-item-info h3 {
  font-size: 1.2rem;
  margin: 0;
}

.project-item-info p {
  font-size: 0.9rem;
  color: #d1d1d1;
}

.project-item-info-content {
  text-align: center;
}

/* .project-img-container:hover .project-item-info {
  background: rgba(0, 0, 0, 0.8);
}
 */

/* Icon */
.project-img-container .gallery-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-img-container:hover .gallery-icon {
  opacity: 1;
}

/* View All Button */
.btn-primary {
  border-radius: 25px;
  padding: 10px 30px;
  font-size: 1rem;
}

.btn-primary:hover {
  background-color:#B78D65;
  border-color: #B78D65;
}

.service-image-wrapper {
  position: relative;
  overflow: hidden;
}
.service-img {
  width: 100%;
  height: auto;
  transition: opacity 0.5s ease-in-out;
}
.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  color: black;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}
.service-image-wrapper:hover .service-img {
  opacity: 0;
}
.service-image-wrapper:hover .service-overlay {
  opacity: 1;
}




/* work css/ */
.work-container {
  background: #f9f9f9;
  padding: 50px 20px; /* 20px padding on the right and left */
}

.work-item {
position: relative;
overflow: hidden;
border-radius: 10px;
}

.work-img {
width: 100%;
height: 250px;
object-fit: cover;
transition: transform 0.5s ease-in-out;
}

.large .work-img {
height: 100%;
}

.work-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0);
display: flex;
justify-content: center;
align-items: center;
transition: background 0.5s ease-in-out;
}

.work-text {
font-size: 1.2rem;
font-weight: bold;
opacity: 0;
transition: opacity 0.5s ease-in-out;
}

.work-item:hover .work-overlay {
background: rgba(0, 0, 0, 0.6);
}

.work-item:hover .work-text {
opacity: 1;
}

.work-item:hover .work-img {
transform: scale(1.05);
}


.widget-container {
max-width: 1400px;
margin: auto;
padding: 2rem;
}

/* Parallax Background */
.parallax-bg {
background: url("/img/main3.webp") no-repeat center center fixed;
background-size: cover;
height: 400px;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}

.widget-title {
font-size: 3.5rem;
font-weight: 700;
color: white;
text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.5);
}

/* Swiper Customization */
.project-slider {
padding-top: 50px;  /* Added space from top */
margin-top: 30px;   /* Added margin from top */
padding-bottom: 50px;
}

/* Adjusted Image Size */
.project-card {
background: rgba(255, 255, 255, 0.9);
border-radius: 15px;
box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.1);
overflow: hidden;
transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
text-align: center;
padding: 15px;
}

.project-card:hover {
transform: scale(1.05);
box-shadow: 0px 12px 30px rgba(0, 0, 0, 0.2);
}

.project-image {
width: 90%;  /* Made the image smaller */
height: 350px; /* Reduced height */
object-fit: cover;
border-radius: 10px;
transition: transform 0.3s ease-in-out;
}

.project-card:hover .project-image {
transform: scale(1.08);
}

.project-content {
padding: 15px;
}

.project-title {
font-size: 1.3rem;
font-weight: 600;
color: #333;
margin-bottom: 8px;
}

.project-meta {
font-size: 0.9rem;
font-weight: 600;
color: #444;
}

/* Swiper Navigation & Pagination */
.swiper-button-next,
.swiper-button-prev {
color: #6e44ff;
}

.swiper-pagination-bullet {
background: #6e44ff;
opacity: 0.7;
}

.swiper-pagination-bullet-active {
background: #aa00ff;
opacity: 1;
}
/* work css/ */





/* new portfolio css */
/* Portfolio Container */
/* Portfolio Container */
.portfolio-container {
display: flex;
flex-direction: column;
align-items: center;
padding: 0px;
font-family: Arial, sans-serif;
}

.portfolio-content {
display: flex;
width: 100%;
max-width: 1600px;
padding: 20px;
}

.portfolio-sidebar {
flex: 1;
padding-left: 30px;
border-right: 2px solid #ccc;
min-width: 250px;
}

.category-list {
list-style: none;
padding: 0;
}

.category-item {
font-size: 15px;
cursor: pointer;
padding: 12px 0;
transition: color 0.3s;
color: black;
}

.category-item.active {
color: #b78d65;
font-weight: bold;
}

.category-item:hover {
color: #b78d65;
}

.portfolio-main {
flex: 4;
display: flex;
justify-content: center;
}

.project-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 25px;
}

.project-card {
background: white;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
overflow: hidden;
transition: transform 0.3s;
border-bottom: 6px solid  #d19b68;
padding: 5px;
border-radius: 0px;
}

.project-card:hover {
transform: translateY(-12px);
}

.project-image {
width: 95%;
height: 320px;
object-fit: cover;
border-radius: 0px;
transition: transform 0.3sease-in-out;
border-bottom-left-radius: 50px;
}

.project-details {
padding: 5px;
text-align: center;
}

.project-title {
font-size: 1.6rem;
font-weight: bold;
color: #b78d65;;
}

.project-info {
font-size: 1.1rem;
color: #666;
}


/* Updated Categories */



/* Mobile Responsiveness */
@media (max-width: 768px) {
.portfolio-content {
    flex-direction: column;
    align-items: center;
    margin: 0 0px; /* Further reduced margin for better width on mobile */

}

.portfolio-sidebar {
    border-right: none;
    border-bottom: 2px solid #ccc;
    padding-bottom: 20px;
    min-width: 100%;
    text-align: center;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.category-item {
    padding: 10px;
    font-size: 1rem;
    margin: 0px;
}

.project-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
}

@media (max-width: 480px) {
.project-grid {
    grid-template-columns: repeat(1, 1fr);
}
}


/* src/components/TextSlider.css */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

.slider-container {
width: 100%;
height: 350px;
position: relative;
overflow: hidden;
background-image: url('/img/textslider.jpg');
background-size: cover;
background-position: center;
filter: brightness(0.75);
display: flex;
justify-content: center;
align-items: center;
}

@keyframes slide {
0% {
  transform: translateX(0);
}
100% {
  transform: translateX(-50%);
}
}

.text-slider {
white-space: nowrap;
font-size: 7em;
color: transparent;
-webkit-text-stroke: 2px white;
text-stroke: 4px white;
font-family: Arial, sans-serif;
animation: slide 50s linear infinite;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
.slider-container {
  height: 250px;
}

.text-slider {
  font-size: 5em;
  -webkit-text-stroke: 1px white;
  text-stroke: 2px white;
}
}

@media (max-width: 480px) {
.slider-container {
  height: 200px;
}

.text-slider {
  font-size: 4em;
  -webkit-text-stroke: 0.8px white;
  text-stroke: 1.5px white;
}
}