/* 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;
}

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;
        z-index: 999;
    }

    .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;
    }
  }
/* Footer styles */
.footer {
    background: #7C111E;
    color: #fff;
    padding: 130px 35px 50px 35px;
    position: relative;
    border-radius: 80px 80px 0px 0px;
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    clear: both;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    width: 100px;
    margin-bottom: 15px;
}

.footer-text {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.5;
}

.footer-section h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.footer-section .social-icons a {
    color: #F8E6B2;
    font-size: 20px;
    margin-right: 10px;
    text-decoration: none;
}

.footer-bottom {
    background-color: #D2B260;
    color: #7C111E;
    text-align: center;
    padding: 10px 0;
    margin-top: 40px;
    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) {
    .service-item {
        flex-direction: column;
    }

    .service-image {
        width: 100%;
    }

    .service-info {
        width: 100%;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        text-align: center;
    }

    .footer-bottom ul {
        flex-direction: column;
    }
}
