html {
  scroll-behavior: smooth;
}
s body {
  margin: 0;
  font-family: "Times New Roman", Times, serif;
  background-color: #fff;
}

header {
  background-color: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 0 20px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
  margin-right: 10px;
}

.logo h1 {
  font-size: 22px;
  font-weight: bold;
  color: #444444;
}

.logo span {
  font-size: 22px;
  font-weight: bold;
  color: #248d4c;
}

nav {
  display: flex;
  gap: 40px;
}

nav a {
  text-decoration: none;
  color: #444;
  font-weight: 600;
  font-size: 18px;
  transition: color 0.3s;
  font-family: "Times New Roman", Times, serif;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
  transition: border-color 1s ease;
}

nav a:hover {
  border-color: #f6c500;
}

.cta-button {
  background-color: #f6c500;
  color: #fff;
  padding: 8px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  transition: background 0.3s;
  white-space: nowrap;
}

.cta-button:hover {
  background-color: #e5b400;
}

/* Hamburger Menu Styles */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 25px;
  height: 20px;
  justify-content: space-between;
  z-index: 1101;
}

.hamburger div {
  height: 3px;
  background-color: #444;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1100;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
  display: flex;
  opacity: 1;
}

/* Mobile Nav Content */
.mobile-nav {
  background: #fff;
  border-radius: 12px;
  width: 80%;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  padding: 30px 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.mobile-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  color: #444;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  text-align: center;
  transition: color 0.25s;
}

.mobile-nav a:last-child {
  border-bottom: none;
  margin-top: 15px;
}

.mobile-nav a:hover {
  color: #000;
}

.mobile-nav .cta-button {
  background-color: #f6c500;
  padding: 12px 0;
  font-size: 18px;
  border-radius: 8px;
  margin-top: 20px;
  color: #fff;
  text-align: center;
}

.mobile-nav .cta-button:hover {
  background-color: #e5b400;
}

/* Show hamburger and hide nav on small screens */
@media (max-width: 768px) {
  nav,
  .cta-button.desktop {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* Hamburger active animation */
.hamburger.active div:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active div:nth-child(2) {
  opacity: 0;
}

.hamburger.active div:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Fullscreen Carousel Section */
.carousel-full {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.swiper,
.swiper-wrapper,
.swiper-slide {
  height: 100%;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.swiper-button-next,
.swiper-button-prev {
  color: white;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
  z-index: 10;
}

:root {
  --swiper-navigation-size: 18px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .carousel-full {
    height: 30vh;
  }

  .carousel-full .swiper-slide img {
    object-fit: fill;
    height: 100%;
    width: 100%;
  }

  :root {
    --swiper-navigation-size: 14px; /* Smaller arrow icon */
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: none; /* Optional: hide arrows on mobile for cleaner UI */
    width: 10px !important;
    height: 10px !important;
  }
}

/**/

.carousel-cards {
  padding: 40px 20px;
  background-color: #f9f9f9;
}

.card-swiper {
  padding-bottom: 30px;
}

.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-caption {
  padding: 12px;
  font-size: 1rem;
  font-weight: 500;
  background: #fff;
}

/* Adjust for smaller screens */
@media (max-width: 768px) {
  .card img {
    height: 160px;
  }
}

/**/

/* .horizontal-scroll-gallery {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding: 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.horizontal-scroll-gallery img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  scroll-snap-align: start;
} */

/*About Section*/
.about-section {
  padding: 60px 20px;
  background-color: #ffffff;
}

.about-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.about-text {
  max-width: 600px;
  text-align: left;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #2c3e50;
}

.about-text p {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 15px;
}

@media (min-width: 768px) {
  .about-container {
    flex-direction: row;
    justify-content: space-between;
  }

  .about-text {
    padding-left: 30px;
  }
}

/*Gallery*/

.gallery {
  font-size: 18px;
  text-align: center;
  /* text-decoration: underline; */
}

.gallery h1 {
  color: #444;
}

.gallery span {
  font-size: 37px;
  color: #248d4c;
}

.horizontal-scroll {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 12px;
  padding: 1rem;
}

.horizontal-scroll img {
  width: 35%;
  height: 50%;
  object-fit: cover;
  scroll-snap-align: start;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .horizontal-scroll img {
    width: 70%;
    height: 70%;
    object-fit: cover;
    scroll-snap-align: start;
    flex-shrink: 0;
  }
}

@media (max-width: 768px) {
  .gallery {
    font-size: 10px;
    text-align: center;
    /* text-decoration: underline #248d4c; */
  }

  .gallery h1 {
    color: #444;
  }

  .gallery span {
    font-size: 27px;
    color: #248d4c;
  }
}

/*Project section*/
.projects-section {
  padding: 50px 20px;
  background: #f7f7f7;
  text-align: center;
}

.projects-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #333;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .project-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 cards per row */
  }
}

.project-card img {
  width: 100%;
  height: 220px; /* Increased from 180px */
  object-fit: cover;
  display: block;
}

.project-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
}

.project-info {
  padding: 16px;
  text-align: left;
}

.project-info h3 {
  margin: 0 0 8px;
  color: #222;
  font-size: 1.1rem;
}

.project-info p {
  margin: 4px 0;
  color: #666;
  font-size: 0.9rem;
}

.project-info i {
  color: #e74c3c;
  margin-right: 5px;
}

/*Units Section*/

.units-section {
  padding: 60px 20px;
  background-color: #fff;
  text-align: center;
}

.units-section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #333;
}

.units-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .units-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.unit-card {
  background: #f9f9f9;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.unit-card:hover {
  transform: translateY(-4px);
}

.unit-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.unit-info {
  padding: 20px;
  text-align: left;
}

.unit-info h3 {
  font-size: 1.2rem;
  color: #222;
  margin-bottom: 8px;
}

.unit-info p {
  margin: 4px 0;
  font-size: 0.9rem;
  color: #666;
}

/*Brochure*/

.brochure-button {
  margin: 30px 0;
  text-align: center;
}

.btn-download {
  display: inline-block;
  padding: 12px 24px;
  background-color: #cfd5db;
  color: #0e0202c3;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.btn-download:hover {
  background-color: #248d4c;
  color: #fff;
}

/*Video Section*/

/* vedio sections */

#live-video {
  background: linear-gradient(to bottom, rgb(235, 229, 229));
  padding: 50px 15px;
}

#live-video h2 {
  color: #444444;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

#live-video iframe,
#live-video video {
  border: 5px solid #ffffff;
  border-radius: 12px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive 16:9 Video Wrapper */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border: 6px solid #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.video-wrapper video,
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Optional: extra polish on smaller devices */
@media (max-width: 576px) {
  #live-video h2 {
    font-size: 1.4rem;
  }

  .video-wrapper {
    border-width: 4px;
    border-radius: 12px;
  }
}

/*Contact Us Section*/

.contact-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #333;
}

.contact-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1000px;
  margin: auto;
  background: white;
  padding: 30px 20px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 500px;
  margin: auto;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
}

.contact-form button {
  padding: 12px;
  background-color: #2c3e50;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background-color: #1abc9c;
}

.contact-info {
  text-align: center;
  font-size: 0.95rem;
  color: #555;
}

.contact-info h3 {
  margin-bottom: 10px;
  color: #222;
}

.contact-info p {
  margin: 8px 0;
}

.contact-info i {
  margin-right: 8px;
  color: #e74c3c;
}

@media (max-width: 480px) {
  .contact-form input,
  .contact-form textarea {
    padding: 2px;
    font-size: 1.2rem;
  }
}
