.hero-pattern {
    background-color: #f7fafc;
    background-image: linear-gradient(315deg, #f7fafc 0%, #edf2f7 74%);
}

/* Add these new modal styles */
#imageModal {
    opacity: 0;
    transition: opacity 0.3s ease;
    display: none;
}

#imageModal.show {
    display: flex !important;
    opacity: 1;
}

.modal-image {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.modal-image:hover {
    transform: scale(1.02);
}
#modalImage{
    max-height: 90vh;
}



/* Hero slider styles */
.hero-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
}

/* Slider navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    transform: translateY(-50%);
    z-index: 10;
}

.slider-button {
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-button:hover {
    background-color: rgba(255, 255, 255, 1);
}

.slider-button svg {
    width: 20px;
    height: 20px;
}

/* Slider dots */
.slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-dot.active {
    background-color: white;
}

/* Image modal */
.modal-image {
    cursor: pointer;
}











/* Video Background Styles */
.video-hero {
    position: relative;
    overflow: hidden;
    padding-top: 5rem;
    padding-bottom: 5rem;
    min-height: 600px;
    display: flex;
    align-items: center;
  }
  
  .video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }
  
  .video-container video {
    position: absolute;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
  }
  
  .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust opacity as needed */
  }
  
  .content-container {
    position: relative;
    z-index: 10;
    color: white;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .video-hero {
      min-height: 500px;
    }
  }
  
  @media (max-width: 640px) {
    .video-hero {
      min-height: 400px;
    }
  }




/* Responsive adjustments */
@media (max-width: 768px) {
    .slider-button {
        width: 30px;
        height: 30px;
    }
    
    .slider-button svg {
        width: 15px;
        height: 15px;
    }
}

/* Fixing hero slider height for proper display */
.hero-slider {
    height: 0;
    padding-bottom: 60%; /* This creates a responsive aspect ratio */
    position: relative;
}

@media (min-width: 768px) {
    .hero-slider {
        padding-bottom: 56.25%; /* 16:9 aspect ratio for larger screens */
    }
}

