/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9f9f9;
  color: #222;
}

/* Preloader */
#preloader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  animation: fadeOut 2s forwards 1s;
}

#preloader img {
  width: 120px;
  animation: pulse 1.5s infinite;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Header */
#main-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: background 0.4s ease;
  border-radius: 8px;
  height: 60px;  /* reduced height */
}

#main-header.scrolled {
  background: linear-gradient(90deg, #276678, #3e8989);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.logo img {
  width: 80px;
  height: auto;
}

/* Contact Info */
.contact-info {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: #444;
  align-items: center;
  white-space: nowrap;
}

.contact-info a {
  color: #c49b36; /* gold color */
  text-decoration: none;
  font-weight: 600;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Date-Time style */
#date-time {
  font-weight: 600;
  color: #b42a2a; /* subtle red */
}

/* Nav */
nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav ul li a {
  text-decoration: none;
  color: #444;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #c49b36; /* gold on hover */
}

/* Spacer between nav and slider */
.nav-slider-spacer {
  height: 20px;
  margin-top: 60px; /* compensate for fixed nav height */
}

//* Slider Section */
.slider-section {
  position: relative;
  width: 100%;
  max-width: 900px; /* Adjust width as needed */
  margin: 0 auto;
  overflow: hidden;
}

.slider-fade img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
}

.slider-fade img.active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  padding: 0.5em 1em;
  cursor: pointer;
  font-size: 1.5rem;
  z-index: 10;
  user-select: none;
  transition: background 0.3s ease;
}

.slider-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}




/* Features */
.features {
  padding: 40px 20px 80px 20px;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-box {
  flex: 1 1 280px;
  background: linear-gradient(135deg, #c49b36, #b42a2a);
  padding: 30px 20px;
  text-align: center;
  border-radius: 15px;
  color: white;
  box-shadow: 0 6px 15px rgba(180, 154, 54, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
  position: relative;
}

.feature-box img {
  width: 80px;
  height: auto;
  margin: 0 auto 15px auto;
  display: block;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.3));
}

.feature-box:hover img {
  transform: scale(1.1);
}

.feature-box h3 {
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: 700;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.2);
}

/* Button inside features */
.feature-box button {
  background: #b42a2a;
  border: none;
  color: #fff;
  padding: 12px 30px;
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(180, 42, 42, 0.7);
  transition: background-color 0.3s ease;
  align-self: center;
  margin-top: auto;
}

.feature-box button:hover {
  background-color: #c49b36; /* gold on hover */
  color: #222;
}

.feature-box:hover {
  transform: scale(1.07);
  box-shadow: 0 8px 25px rgba(180, 154, 54, 0.8);
}


/* Modal Styling */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  padding: 20px;
}

.modal-content {
  position: relative;
  background: #fff;
  padding: 30px 40px 40px 40px;
  border-radius: 15px;
  width: 90%;
  max-width: 450px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
  animation: zoomIn 0.3s ease-out;
}

.modal-content p {
  margin-top: 15px;
  font-size: 16px;
  color: #333;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #b42a2a;
  cursor: pointer;
  transition: color 0.3s ease;
  user-select: none;
}

.close-modal:hover {
  color: #c49b36;
}

/* Animations */
@keyframes zoomIn {
  from {
    transform: scale(0.6);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 992px) {
  #main-header {
    flex-wrap: wrap;
    height: auto;
    padding: 15px 15px;
    left: 0;
    transform: none;
    width: 100%;
    border-radius: 0;
  }

  .logo img {
    width: 70px;
  }

  .contact-info {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
  }

  nav ul {
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
  }

  .nav-slider-spacer {
    margin-top: 100px; /* compensate for taller nav on small */
  }

  .features {
    gap: 20px;
    padding: 30px 10px 60px 10px;
  }
}

@media (max-width: 600px) {
  .feature-box {
    flex: 1 1 100%;
  }

  .feature-box button {
    padding: 12px 24px;
  }
}
.about-us-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #fffbe6, #f9f7f2);
  overflow: hidden;
}

.about-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  transform: translateY(30px);
  opacity: 0;
  transition: all 1s ease;
  border: 1px solid transparent;
  border-left: 6px solid transparent;
  border-image: linear-gradient(to bottom, #b42a2a, #c49b36) 1;
}

.about-wrapper.fade-in.visible {
  transform: translateY(0);
  opacity: 1;
}

.about-image {
  flex: 1 1 45%;
  min-height: 350px;
  overflow: hidden;
  position: relative;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s ease;
}

.parallax-container:hover img {
  transform: scale(1.08) rotate(0.3deg);
}

.about-content {
  flex: 1 1 55%;
  padding: 40px 35px;
  background-color: #ffffff;
}

.about-content h2 {
  font-size: 34px;
  color: #b42a2a;
  margin-bottom: 20px;
  position: relative;
}

.about-content h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, #c49b36, #b42a2a);
  margin-top: 10px;
  border-radius: 2px;
}

.about-content p {
  font-size: 17px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 18px;
  text-align: justify;
}

@media (max-width: 768px) {
  .about-wrapper {
    flex-direction: column;
  }

  .about-content {
    padding: 30px 20px;
  }

  .about-content h2 {
    font-size: 28px;
  }
}


.main-footer {
  background: linear-gradient(135deg, #b42a2a, #4a2d0e); /* deep red to rich brown */
  color: #fff;
  padding: 20px 20px 10px; /* Reduced padding */
  font-family: 'Segoe UI', sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: auto;
  gap: 30px;
}

.footer-logo {
  flex: 1 1 200px;
}

.footer-logo img {
  width: 100px;
  margin-bottom: 10px;
}

.footer-logo p {
  font-size: 13px;
  color: #f1e0c7;
  margin-top: 0;
}

.footer-links,
.footer-socials {
  flex: 1 1 150px;
}

.footer-links h4,
.footer-socials h4 {
  font-size: 16px;
  margin-bottom: 8px;
  color: #f9e8c9;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 6px;
}

.footer-links ul li a {
  color: #f1e0c7;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: #c49b36; /* gold accent */
}

.social-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.social-icons a {
  color: #f1e0c7;
  font-size: 18px;
  transition: transform 0.3s, color 0.3s;
}

.social-icons a:hover {
  color: #c49b36;
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 10px;
  margin-top: 20px;
  font-size: 12px;
  color: #f1e0c7;
}











/* Contact Modal Styling */
.modal {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.3s ease-in-out;
}

.modal-dialog {
  background-color: #fff;
  margin: 10% auto;
  padding: 30px 20px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  text-align: center;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  color: #333;
}

.modal-buttons button {
  display: block;
  width: 100%;
  margin: 10px 0;
  padding: 12px;
  background-color: #0073e6;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  transition: background 0.3s ease;
}

.modal-buttons button:hover {
  background-color: #005bb5;
}

/* Optional: Smooth Fade */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}






