/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

html, body {
    background-color: #ffffff;
    max-width: 100%;
    overflow-x: hidden;
}


.top-bar {
    background-color: #b38140;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        text-align: center;
    }
    .contact, .address {
        margin: 5px 0;
    }
}

header {
    width: 100%;
    overflow-x: hidden;
    background-color: #8e1717; /* Primary background color */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    max-width: 100%;
    margin: 0 auto;
}

.logo img {
    height: 50px;
}

/* Navbar Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    overflow-x: hidden;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    font-size: 16px;
    color: #fff; /* Light yellow color for text */
    padding: 8px 15px;
    font-weight: 600;
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

.nav-links a:hover {
    color: #cc9966; /* Lighter gold hover effect */
    border-bottom: 2px solid #cc9966; /* Underline on hover */
}

/* Sign Up Button */
.sign-up-btn {
    background-color: #cc9966;
    color: #fff;
    font-weight: 600;
    padding: 8px 16px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 5px;
    font-size: 16px;
}

.sign-up-btn:hover {
    background-color: #ffff80;
    color: #8e1717;
}

/* Responsive Menu Icon */
.menu-icon {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    order: 2;
}

.menu-icon span {
    width: 30px;
    height: 3px;
    background-color: #ffff80; /* Light yellow */
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    html, body {
        background-color: #ffffff;
        max-width: 100%;
        overflow-x: hidden;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: 0;
        flex-direction: column;
        background-color: #8e1717;
        width: 100%;
        display: none; /* Hide by default */
        justify-content: center;
        align-items: center;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .nav-links.active {
        display: flex; /* Show the menu */
    }

    .menu-icon {
        display: flex;
    }

    /* Center the menu between the logo and sign-up button */
    .navbar {
        justify-content: space-between;
    }

    .menu-icon {
        order: 2;
        margin: 0 auto;
    }

    .sign-up-btn {
        order: 3;
    }
}


 /* Updated Slider Container - Wider and more prominent */
.slider-container {
  position: relative;
  max-width: 95%; /* Full width of the page */
  width: 100%;
  margin: 20px auto;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  height: auto;
  background-color: #f9f9f9;
}

/* Improved Slides */
.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.slide {
  min-width: 100%;
  overflow: hidden;
}

.slide-content {
  display: flex;
  flex-direction: column;
  padding: 50px;
  height: 100%;
  background-color: #fff;
}

/* Better balanced image and text */
.slide-image {
  flex: 0 0 auto;
  text-align: center;
  margin-bottom: 25px;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-image img {
  max-width: 100%;
  max-height: 450px; /* Increased height */
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Improved text content */
.slide-info {
  flex: 1;
  max-height: auto;
  overflow-y: auto; /* Add scrolling for very long content */
  padding-right: 10px;
padding-bottom: 10px;}

.slide-info::-webkit-scrollbar {
  width: 6px;
}

.slide-info::-webkit-scrollbar-thumb {
  background-color: #7a1918;
  border-radius: 3px;
}

.slide-info h2 {
  color: #7a1918;
  margin-bottom: 15px;
  font-size: 28px;
}

.slide-info p {
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.6;
}

.slide-info ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

.slide-info li {
  margin-bottom: 8px;
}

/* Enhanced Navigation Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background-color: rgba(142, 23, 23, 0.8);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s, opacity 0.3s;
  opacity: 0.8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow:hover {
  background-color: rgba(142, 23, 23, 1);
  opacity: 1;
}

.prev {
  left: 5px;
}

.next {
  right: 5px;
}

/* Improved Pagination Dots */
.pagination-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  padding: 8px 15px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 20px;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: rgba(142, 23, 23, 0.3);
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #7a1918;
}

/* Responsive Design - Better balance on different screens */
@media (min-width: 992px) {
  .slide-content {
    flex-direction: row;
    gap: 40px;
    align-items: flex-start;
  }

  .slide-image {
    flex: 0 0 45%;
    margin-bottom: 0;
    min-height: 350px;
  }

  .slide-info {
    flex: 0 0 55%;
    padding-left: 20px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .slide-content {
    flex-direction: row;
    gap: 30px;
  }

  .slide-image {
    flex: 0 0 40%;
    margin-bottom: 0;
  }

  .slide-info {
    flex: 0 0 60%;
  }
}

@media (max-width: 767px) {
  .slider-container {
    margin: 15px 10px;
    border-radius: 8px;
  }

  .slide-content {
    padding: 20px;
  }

  .slide-image {
    min-height: 200px;
  }

  .slide-info h2 {
    font-size: 22px;
  }

  .slide-info p,
  .slide-info li {
    font-size: 15px;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

/* Hide screen reader text visually */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}



/* Accessibility Focus Styles */
button:focus,
.dot:focus {
  outline: 2px solid #7a1918;
  outline-offset: 2px;
}

.customer-reviews {
    text-align: center;
    margin: 50px 20px;
    background-color: #ffffff;
    padding: 50px;
}

.customer-reviews h2 {
    font-size: 36px; /* Larger header size */
    font-weight: 700;
    margin-bottom: 50px;
    color: #333;
    position: relative;
    display: inline-block;
}

.customer-reviews h2::after {
    content: "";
    display: block;
    width: 120px; /* Larger underline */
    height: 3px;
    background-color: #C19A6B;
    margin: 8px auto 0;
}

/* Reviews Layout */
.reviews-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
    justify-content: center;
    
}

.review-card {
    background-color: #ffffff;
    border-radius: 15px; /* Larger border-radius for a softer look */
    padding: 20px;
    text-align: left;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1); /* Slightly deeper shadow */
    transition: transform 0.3s ease;
    font-size: 18px; /* Larger text for readability */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 320px;
    transition-delay: 0s;
}

.review-card h3 {
    font-size: 20px; /* Increased header size */
   
    margin-bottom: 10px;
}

.review-card .role {
    font-size: 16px; /* Slightly larger role text */
    color: #ffffff;
    margin-bottom: 20px;
}

.review-card p {
    font-size: 16px; /* Larger body text */
    color: #ffffff;
}

.review-card:hover {
    transform: translateY(-5px); /* Small hover animation */
}
/* Initial hidden state */
.scroll-animation {
    opacity: 0;
    transform: translateY(50px); /* Initially move section down */
    transition: transform 0.5s ease-out, opacity 0.5s ease-out; /* Smooth transition */
}

.scroll-animation.visible {
    opacity: 1;
    transform: translateY(0); /* Bring section into normal position */
}

/* For individual review cards (optional) */
.review-card {
    opacity: 0;
    transform: translateX(-50px); /* Move review cards to the left initially */
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}

.review-card.visible {
    opacity: 1;
    transform: translateX(0); /* Slide card into place */
}


/* Card Colors */
.card-1 {
    background-color: #AA3C3C; /* Closer to the image’s color */
    color: #fff;
    transition-delay: 0.3s;
}
.card-1 h3 {
   
    color: #cc9966;
}
.card-2 {
    background-color: #D7A55B; /* Exact shade of mustard from the image */
    color: #fff;
    transition-delay: 0.5s;
}
.card-2 h3 {
   
    color: #7C111E;
}
.card-3 {
    background-color: #B8A5A0; /* Light taupe color as seen in the image */
    color: #fff;
    transition-delay: 0.7s;
}
.card-3 h3 {
   
    color: #cc9966;
}
/* Client Logos */
.client-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px; /* Spacing between logos */
    height: 250px;
    background-color: #f7fafa;
    border-radius: 20px;
}

.client-logos img {
    max-width: 180px; /* Increased logo size */
    object-fit: contain;
  
    transition: filter 0.3s ease;
}

.client-logos img:hover {
    filter: grayscale(0%);
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .reviews-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .client-logos img {
        max-width: 150px; /* Slightly reduced size for smaller screens */
    }
}

@media screen and (max-width: 768px) {
    .client-logos img {
        max-width: 120px; /* Further reduce logo size on mobile */
    }
}
/* Footer Container */
.footer {
    background-color: #862828;
    color: #f4d488;
    padding: 50px 35px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    border-radius: 80px 80px 0 0;
    text-align: center;
}

/* Left Section */
.footer-sec {
    max-width: 250px;
    text-align: left;
    color: #f4d488;
}

.footer-sec img.footer-logo {
    width: 100px;
    height: auto;
    margin-bottom: 10px;
}


.footer-sec p {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    
   
}

/* Contact Info and Dots Wrapper */
.contact-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    padding: 0 20px;
}

/* Adding white border on each side of contact-wrapper */
.contact-wrapper::before,
.contact-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 5px;
    background-color: #ffffff;
    border-radius: 2px;
}

.contact-wrapper::before {
    left: -15px;
}

.contact-wrapper::after {
    right: -15px;
}

/* Dot Sections */
.dots {
    display: flex;
    gap: 0px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.yellow {
    background-color: #f4d488;
    border: 1px solid;
}

.orange {
    background-color: transparent;
    border: 1px solid #ffffff;
}

.white {
    background-color: #ffffff;
    border: 1px solid #ffffff;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 200px;
    text-align: center;
}

.contact-info p {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

/* Right Section - Certifications */
.certification-info {
    max-width: 250px;
    text-align: center;
    color: #f4d488;
}

.certification-info h3 {
    font-size: 18px;
    margin: 0 0 10px;
    font-weight: bolder;
}

.certification-info p {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 10px;
   
}

.certification-images {
    display: flex;
    gap: 5px;
    justify-content: center;
}

.certification-images img {
    width: 90px;
    height: auto;
}

.footer-bottom {
background-color: #D2B260; /* Beige background */
color: #7C111E;
text-align: center;
padding: 10px 0;
margin-top: 0px;
font-size: 14px;
bottom: 0px;

}

.footer-bottom ul {
list-style: none;
padding: 0;
margin: 10px 0 0;
display: flex;
justify-content: center;
gap: 10px;
}

.footer-bottom ul li a {
color: #7C111E;
text-decoration: none;
}
/* Responsive Design */
@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        text-align: center;
    }

    .contact-wrapper {
        flex-direction: column;
    }

    .contact-wrapper::before,
    .contact-wrapper::after {
        display: none;
    }

    .footer-sec, .contact-info, .certification-info {
        max-width: 100%;
        margin: 10px 0;
    }

    .certification-images img {
        width: 50px;
    }
}