/* Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: Arial, sans-serif;
  background: #f4f4f4;
  color: #fff;
}

/* Carousel Styles */
#carousel {
  position: relative;
  width: 80%;
  height: 700px;
  margin: 20px auto;
  border-radius: 15px;
  overflow: hidden;
}
.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
}
.carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.carousel-slide.active {
  opacity: 1;
}
.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Carousel Caption */
.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  padding: 20px;
  text-align: center;
  color: #fff;
}
.carousel-caption h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.carousel-caption p {
  font-size: 1.2rem;
  margin: 0;
}
/* Carousel Arrow Styles */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  z-index: 2;
  border-radius: 50%;
}
.left-arrow {
  left: 10px;
}
.right-arrow {
  right: 10px;
}
@media (max-width: 600px) {
  #carousel {
    height: 400px;
  }
}

/* Info Section Styles */
#info-section {
  background-color: #fff;
  color: #000;
  padding: 40px 20px;
  text-align: center;
}
.info-container {
  max-width: 800px;
  margin: 0 auto;
}
.info-text {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 30px;
}
/* Stats Styles with Animation */
.stats-container {
  display: flex;
  justify-content: center;
  gap: 50px;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0; /* initial state */
  transform: translateY(20px);
}
.stat.animate {
  animation: fadeInUp 1s forwards;
}
.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #ff512f;
  display: block;
}
.stat-label {
  font-size: 1.2rem;
  margin-top: 5px;
  display: block;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* About Us Section */
#about-us-section {
  background-color: #e6f7ff;
  color: #000;
  padding: 40px 20px;
}
.about-us-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.about-us-description {
  flex: 1 1 60%;
}
.about-us-description p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
.learn-more {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ff512f;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  opacity: 0; /* hidden until animated */
}
.about-us-title {
  flex: 1 1 35%;
  text-align: center;
  border-left: 2px solid #ccc;
  padding-left: 20px;
  opacity: 0; /* hidden until animated */
}
.about-us-title h2 {
  font-size: 2.5rem;
  margin: 0;
}
/* Animations for About Us Section */
@keyframes fadeInFromTop {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-from-top {
  animation: fadeInFromTop 1s forwards;
}
@keyframes fadeInFromBottom {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-from-bottom {
  animation: fadeInFromBottom 1s forwards;
}
@media (max-width: 600px) {
  .about-us-container {
    flex-direction: column;
    text-align: center;
  }
  .about-us-title {
    border-left: none;
    padding-left: 0;
    margin-top: 20px;
  }
}

/* Gallery Section */
.gallery-section {
  background: #fff;
  color: #000;
  padding: 20px;
  text-align: center;
}
.gallery-header {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #000;
}
.gallery {
  display: grid;
  gap: 10px;
  padding: 20px;
  grid-template-columns: repeat(3, 1fr);
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer; /* Show hand icon on hover */
  transition: opacity 1s ease-in-out; /* Smooth fade transition */
}
/* Random fade-in/fade-out for some images */
.gallery img.fade {
  animation: fadeInOut 4s infinite; /* 4-second cycle */
}
@keyframes fadeInOut {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
@media (min-width: 992px) {
  .gallery {
    grid-template-columns: repeat(9, 1fr);
  }
}

/* Feature Section */
#feature-section {
  background-color: #fff;
  color: #000;
  padding: 40px 20px;
}
.feature-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
  gap: 20px;
}
.feature-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
}
.feature-content {
  flex: 1;
}
.feature-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.feature-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
.contact-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ff512f;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  opacity: 0; /* initially hidden */
}
@media (max-width: 600px) {
  .feature-container {
    flex-direction: column;
    text-align: center;
  }
  .feature-image {
    order: 2;
  }
  .feature-content {
    order: 1;
  }
}

/* Enquiry Section */
#enquiry-section {
  background-color: #e6f7ff; /* Light Blue */
  color: #000; /* Black Text */
  padding: 40px 20px;
  text-align: center;
}
.enquiry-heading {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #000;
}
.enquiry-btn {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.2rem;
  background-color: #ff512f;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  animation: buttonBounce 2s infinite;
}
@keyframes buttonBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (max-width: 600px) {
  .carousel-caption h2 {
    font-size: 1.3rem;  /* Reduced from 2.5rem or larger */
  }
  
  .carousel-caption p {
    font-size: 1rem;    /* Reduced from 1.2rem or larger */
  }
}