/* CSS from navigation.css */
* {
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}
html,
body {
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  height: 88px;
  width: 100%;
  background-color: white;
  padding: 1rem 0;
  z-index: 1000;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo img {
  width: 120px;
  height: auto;
  max-height: 60px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a:hover,
.nav-links button:hover {
  color: #f5a623;
}

.nav-links a,
.nav-links button {
  font-size: 16px;
  font-weight: bold;
  color: black;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 15px;
  transition: color 0.3s ease-in-out;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger svg {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease-in-out;
}

.hamburger.open svg {
  transform: rotate(90deg);
}

/* Mobile & Tablet Responsive */
@media (max-width: 1024px) {
  .nav-links {
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.47);
    backdrop-filter: blur(11.2px);
    text-align: center;
    padding-top: 5rem;
    transition: right 0.3s ease-in-out;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a,
  .nav-links button {
    display: block;
    padding: 1rem;
    font-size: 1.2rem;
    color: white;
  }

  .hamburger {
    display: block;
  }

  .close-btn {
    position: absolute;
    top: 1.5rem; /* Same vertical spacing as nav links */
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    display: none;
    z-index: 1100; /* Make sure it's above other items */
  }

  .close-btn svg {
    width: 40px;
    height: 40px;
    stroke: white;
  }

  .nav-links.open .close-btn {
    display: block;
  }
}

section {
  padding: 100px 20px;
  margin-top: 88px;
}

#hero {
  background: #f0f0f0;
}

/* Hero Section CSS Begins */
.hero-section {
  width: 100vw; /* Full width */
  height: 100vh; /* Full height of viewport */
  background-image: url("./assets/hero-background.png"); /* Background image */
  background-size: cover; /* Cover the entire section */
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* No repeating */
  display: flex;
  color: white; /* Adjust text color */
  text-align: center;
  margin-top: 5rem;
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
  scroll-snap-align: start;
  position: relative;
  padding: 0;
}

/* Initially visible */
.hero-section.active {
  opacity: 1;
  transform: translateY(0);
}

/* Fade out and move up */
.hero-section.hidden {
  opacity: 0;
  transform: translateY(-50px);
}

/* Home page styling section */
.right-side-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100vh;
  background: rgba(150, 75, 50, 0.7); /* Semi-transparent brown */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  color: white;
}

.hero-logo {
  width: 100%;
  max-width: 500px; /* adjust as needed */
  height: auto;
  object-fit: contain;
}

.logo-section {
  text-align: center;
  margin-bottom: 20px;
}

.logo {
  width: 120px; /* Adjust logo size */
}

.text-content h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
}

.text-content p {
  font-size: 18px;
  line-height: 1.5;
}

/* Responsive mobile display */
@media (max-width: 768px) {
  .right-side-content {
    width: 100%;
    height: auto;
    padding: 20px;
  }

  .text-content h2 {
    font-size: 24px;
  }

  .text-content p {
    font-size: 16px;
  }
}
/* Hero Section Ends */
/* About Section Begins */
.about-section {
  width: 100vw; /* Full width */
  height: 100vh; /* Full height of viewport */
  background-image: url("/about-background.png"); /* Background image */
  background-size: cover; /* Cover the entire section */
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* No repeating */
  display: flex;
  color: white; /* Adjust text color */
  text-align: center;
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
  scroll-snap-align: start;
  position: relative;
  margin: 0;
  padding: 0;
}

/* Initially hidden */
.about-section.active {
  opacity: 1;
  transform: translateY(0);
}

/* Fade out and move up */
.about-section.hidden {
  opacity: 0;
  transform: translateY(-50px);
}

/* CSS for content and responsive view */
.about-container {
  position: absolute;
  right: 5%;
  top: 15%;
  width: 45%;
  max-width: 700px;
}

/* About Us Header */
.about-header {
  background: rgba(211, 85, 48, 0.9);
  color: white;
  padding: 10px 20px;
  font-size: 31px;
  font-weight: bold;
  border-radius: 5px 5px 0 0; /* Rounded only on top */
  text-align: left;
  width: 100%; /* Full width of container */
  display: block;
  box-sizing: border-box;
}

/* Content Box */
.about-content {
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 20px 25px;
  border-radius: 0 0 5px 5px; /* Rounded only on bottom */
  font-size: 20px;
  line-height: 1.8;
  letter-spacing: 0.5px;
  text-align: left;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .about-container {
    width: 50%;
    right: 5%;
    top: 15%;
  }
}

@media screen and (max-width: 768px) {
  .about-container {
    width: 70%;
    right: 15%;
    top: 25%;
  }

  .about-header {
    font-size: 20px;
    padding: 8px 16px;
  }

  .about-content {
    font-size: 14px;
    padding: 12px 16px;
  }
}

@media screen and (max-width: 480px) {
  .about-container {
    width: 80%;
    right: 10%;
    top: 15%;
    text-align: center;
  }

  .about-header {
    font-size: 18px;
    padding: 6px 14px;
  }

  .about-content {
    font-size: 13px;
    padding: 10px 14px;
  }
}
/* About Section Ends */
/* Our Services Section Begin */
.services-section {
  width: 100vw; /* Full width */
  height: 100vh; /* Full height of viewport */
  background-image: url("/services-background.png"); /* Background image */
  background-size: cover; /* Cover the entire section */
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* No repeating */
  display: flex;
  color: white; /* Adjust text color */
  text-align: center;
  transform: 0.8s ease-in-out;
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
  scroll-snap-align: start;
  position: relative;
  margin: 0;
  padding: 0;
}

/* Initially visible */
.services-section.active {
  opacity: 1;
  transform: translateY(0);
}

/* Fade out and move up */
.services-section.hidden {
  opacity: 0;
  transform: translateY(-50px);
}

/* Responsive design */
/* CSS for content and responsive view */
.services-container {
  position: absolute;
  left: 5%; /* Moved to the left */
  top: 8%;
  width: 45%;
  max-width: 700px;
}

/* Services Header */
.services-header {
  background: rgba(211, 85, 48, 0.9);
  color: white;
  padding: 10px 20px;
  font-size: 31px;
  font-weight: bold;
  border-radius: 5px 5px 0 0; /* Rounded only on top */
  text-align: left;
  width: 100%; /* Full width of container */
  display: block;
  box-sizing: border-box;
}

/* Content Box */
.services-content {
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 20px 25px;
  border-radius: 0 0 5px 5px; /* Rounded only on bottom */
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.5px;
  text-align: left;
}

.services-content h2 {
  text-decoration: underline;
  font-weight: bold;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .services-container {
    width: 50%;
    left: 5%; /* Moved to the left */
    top: 10%;
  }
}

@media screen and (max-width: 768px) {
  .services-container {
    width: 70%;
    left: 15%; /* Adjusted for responsiveness */
    top: 25%;
  }

  .services-header {
    font-size: 20px;
    padding: 8px 16px;
  }

  .services-content {
    font-size: 14px;
    padding: 12px 16px;
  }
}

@media screen and (max-width: 480px) {
  .services-container {
    width: 80%;
    left: 10%; /* Adjusted for smaller screens */
    top: 10%;
    text-align: center;
  }

  .services-header {
    font-size: 18px;
    padding: 6px 14px;
  }

  .services-content {
    font-size: 13px;
    padding: 10px 14px;
  }
}
/* Our Services Section End */
/* Testimonials Section Begin */
.testimonial-section {
  width: 100vw;
  height: 100vh;
  background-image: url("/testimonial-background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 50px;
  color: white;
  text-align: center;
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
  scroll-snap-align: start;
  position: relative;
  margin: 0;
}

.testimonial-heading {
  background-color: #be5a41;
  padding: 10px 20px;
  font-weight: bold;
  font-size: 2rem;
  color: white;
  border-radius: 5px;
  text-align: center;
  width: fit-content;
  margin: 20px auto 10px;
}

.testimonial-swiper {
  width: 90%;
  max-width: 1200px;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

/* Testimonial slider wrapper */
.testimonial-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

/* Each testimonial card */
.testimonial-card {
  background: rgba(255, 255, 255, 0.2);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);
  text-align: center;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease-in-out;
  min-width: 100%;
  box-sizing: border-box;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-card img {
  width: 80%;
  max-width: 700px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 20px;
  border: 4px solid rgba(255, 255, 255, 0.5);
}

.quote {
  font-style: italic;
  font-weight: 600;
  color: white;
  font-size: 2rem;
}

/* Navigation buttons */
.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(190, 90, 65, 0.9);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 10px 16px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
}

.testimonial-nav.prev {
  left: 20px;
}

.testimonial-nav.next {
  right: 20px;
}

/* Swiper Buttons - If needed */
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 40px;
  color: #ffffff;
}

.swiper-button-next,
.swiper-button-prev {
  color: #000;
  font-size: 24px;
}

.swiper-pagination-bullet {
  background: white;
}

/* Tablet View */
@media (max-width: 1024px) {
  .testimonial-heading {
    font-size: 1.8rem;
    padding: 8px 16px;
  }

  .testimonial-swiper {
    width: 95%;
  }

  .testimonial-card {
    padding: 25px;
  }

  .testimonial-card img {
    width: 90%;
    max-width: 500px;
  }

  .quote {
    font-size: 1.8rem;
  }

  .testimonial-nav {
    font-size: 1.5rem;
    padding: 8px 14px;
  }
}

/* Mobile View */
@media (max-width: 768px) {
  .testimonial-section {
    height: auto;
    padding: 5vh 5vw;
    min-height: 100vh;
  }

  .testimonial-heading {
    font-size: 1.4rem;
    margin-top: 20px;
    padding: 6px 12px;
  }

  .testimonial-swiper {
    width: 100%;
    padding: 10px;
  }

  .testimonial-card {
    padding: 15px;
  }

  .testimonial-card img {
    width: 80%;
    max-width: 350px;
  }

  .quote {
    font-size: 1.4rem;
  }

  .testimonial-nav {
    font-size: 1.2rem;
    padding: 6px 12px;
  }
}
/* Testimonials Section End */
/* Youtube Section Begin */
.youtube-section {
  width: 100vw; /* Full width */
  height: 100vh; /* Ensures full height but reduces excess spacing */
  background-image: url("/youtube-background.jpg"); /* Background image */
  background-size: cover; /* Cover the entire section */
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* No repeating */
  display: flex;
  flex-direction: column; /* Stack elements vertically */
  align-items: center; /* Center items horizontally */
  justify-content: flex-start; /* Aligns content towards the top */
  color: white; /* Adjust text color */
  text-align: center;
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
  scroll-snap-align: start;
  position: relative;
  padding: 20px 20px; /* Reduce padding */
  padding-top: 80px; /* Adjust as needed */
  min-height: 100vh; /* Ensures full height but reduces excess spacing */
  margin: 0px;
}

/* Initially hidden */
.youtube-section.active {
  opacity: 1;
  transform: translateY(0);
}

/* Fade out and move up */
.youtube-section.hidden {
  opacity: 0;
  transform: translateY(-50px);
}

.section-heading {
  background-color: #be5a41;
  padding: 10px 20px;
  text-align: center;
  font-weight: bold; /* Make text bold */
  font-size: 2rem; /* Adjust size */
  margin-bottom: 30px; /* Space below heading */
  margin-top: 0; /* Reduce space from the top */
  color: white; /* Ensure visibility */
  border-radius: 5px 5px 5px 5px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns */
  gap: 140px; /* Space between videos */
  max-width: 1400px;
  width: 100%;
  padding: 20px;
}

/* 🎯 Video Styling */
.video-grid iframe {
  width: 640px; /* Slightly wider */
  height: auto; /* Auto height for correct aspect ratio */
  aspect-ratio: 16 / 9; /* Ensures perfect proportions */
  max-width: 100%;
  border-radius: 10px; /* Rounded corners */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); /* Subtle shadow */
}

.video-grid iframe:hover {
  transform: scale(1.1); /* Slight zoom effect */
}

/* Default: show all videos */
.youtube-video {
  display: block;
}

/* ✅ Responsive Adjustments */
@media (max-width: 1200px) {
  .video-grid iframe {
    width: 560px;
  }
}

@media (max-width: 900px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .video-grid iframe {
    width: 480px;
  }
}

@media (max-width: 600px) {
  .youtube-section {
    padding-top: 40px;
  }

  .section-heading {
    font-size: 1rem;
    margin-bottom: 10px; /* Reduce space below */
  }

  .video-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }

  .video-grid iframe {
    width: 100%;
    max-height: 120px;
    aspect-ratio: 16 / 9; /* Ensures the full thumbnail is always visible */
  }
}

@media (max-width: 768px) {
  .youtube-video:nth-child(n + 5) {
    display: none;
  }
}

/* Youtube Section End */
/* Contact Us Section Begin */
.contact-section {
  width: 100vw; /* Full width */
  height: 100vh; /* Full height of viewport */
  background-image: url("/contact-background.png"); /* Background image */
  background-size: cover; /* Cover the entire section */
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* No repeating */
  display: flex;
  color: white; /* Adjust text color */
  text-align: center;
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
  scroll-snap-align: start;
  position: relative;
  margin: 0;
  padding: 0;
}

/* Initially visible */
.contact-section.active {
  opacity: 1;
  transform: translateY(0);
}

/* Fade out and move up */
.contact-section.hidden {
  opacity: 0;
  transform: translateY(-50px);
}

/* Styling for main content */
/* Contact Us Page Styling */
.contact-container {
  position: absolute;
  right: 5%;
  top: 15%;
  width: 45%;
  max-width: 700px;
  margin: 0;
  padding: 0;
}

/* .contact-container h1,
.contact-container h2,
.contact-container p {
  margin: 0;
  padding: 0;
} */

/* Contact Us Header */
.contact-header {
  background: rgba(211, 85, 48, 0.9);
  color: white;
  padding: 10px 20px;
  font-size: 31px;
  font-weight: bold;
  border-radius: 5px 5px 0 0;
  text-align: left;
  width: 100%;
  display: block;
  box-sizing: border-box;
  margin-bottom: 0px;
}

/* Contact Us Content Box */
.contact-content {
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 20px 25px;
  border-radius: 0 0 5px 5px;
  font-size: 20px;
  line-height: 1.8;
  letter-spacing: 0.5px;
  text-align: left;
}

.email-link {
  text-decoration: underline;
  color: rgb(222, 145, 119);
}

/* Social Media Icons */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 10px;
}

.social-icon {
  width: 80px;
  height: 80px;
  transition: transform 0.3s ease-in-out;
}

.social-icon:hover {
  transform: scale(1.2);
}

/* Responsive Design - Tablet */
@media screen and (max-width: 1024px) {
  .contact-container {
    width: 70%;
    left: 15%;
    top: 25%;
  }
}

/* Responsive Design - Mobile */
@media screen and (max-width: 768px) {
  .contact-container {
    width: 70%;
    left: 15%;
    top: 20%;
  }

  .contact-header {
    font-size: 20px;
    padding: 8px 16px;
  }

  .contact-content {
    font-size: 14px;
    padding: 12px 16px;
  }

  .social-icon {
    width: 70px;
    height: 70px;
  }
}

@media screen and (max-width: 480px) {
  .contact-container {
    width: 80%;
    left: 10%;
    top: 20%;
    text-align: center;
  }

  .contact-header {
    font-size: 18px;
    padding: 6px 14px;
  }

  .contact-content {
    font-size: 13px;
    padding: 10px 14px;
  }

  .social-icon {
    width: 70px;
    height: 70px; /* corrected 770 to 70 */
  }
}
/* Contact Us Section End */

/* Fade effect */
/* Fade effect - unified */
.fade-section {
  opacity: 0;
  transition: opacity 1s ease-out;
  will-change: opacity;
}

.fade-section.active {
  opacity: 1;
}

/* Wrapper to prevent extra scrollbars */
.fade-wrapper {
  overflow: hidden;
}
