/* Global Styles */
body {
  margin: 0;
  padding: 0;
  font-family: "Source Sans Pro", sans-serif;
  background-color: #fff;
}

h1,
h2,
h3 {
  font-family: "Source Sans Pro", sans-serif;
  font-family: "Cinzel", serif;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  /* background-color: #f2f2f2; */
  background: linear-gradient(to bottom, #f0f0f0, #d9d9d9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  height: 70px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 80%;
}

ul {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
}

ul li {
  margin: 0 15px;
}

ul li a {
  text-decoration: none;
  color: #333;
  font-size: 1rem;
  text-transform: uppercase;
}

ul li a:hover {
  text-decoration: underline;
}

.logo img {
  height: 60px;
}

.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  min-width: 30px;
  min-height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.hamburger-menu span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #000;
  transition: all 0.3s ease;
}

/* Navigation styles for mobile view */
#mobile-nav {
  display: none;
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  text-align: center;
  transition: all 0.3s ease;
}

#mobile-nav ul {
  list-style: none;
  padding: 20px 0;
}

#mobile-nav ul li {
  margin: 10px 0;
}

#mobile-nav ul li a {
  text-decoration: none;
  color: white;
  font-size: 1.5rem;
  text-transform: uppercase;
  display: block;
}

/* Hamburger Animation */
.hamburger-menu.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

.hamburger-menu.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

#mobile-nav.active {
  display: block;
}

.hero {
  background-image: url("../images/about_img.png");
  background-size: cover;
  background-position: center;
  height: 360px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 70px;
}

.hero-text h1 {
  color: white;
  font-size: 48px;
}

/* Our Journey Section */
.our-journey {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 20px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.our-journey h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #333;
}

.our-journey p {
  line-height: 1.8;
  font-size: 18px;
  color: #333;
  margin: 0 auto;
}

/* Process Stages */
.process-stages {
  background-image: url("/asset/images/footer_bg.jpeg");
  text-align: center;
  padding: 20px 20px;
  color: #fff;
}

.process-stages h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.stages {
  display: flex;
  justify-content: space-around;
}

.stage img {
  width: 340px;
  height: 340px;
}

.stage p {
  margin-top: 10px;
  max-width: 340px;
  text-align: center;
}

/* Why Choose Us */
.why-choose {
  text-align: center;
  padding: 50px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.why-choose h2 {
  font-size: 32px;
  margin-bottom: 30px;
  color: #333;
  position: relative;
}

.why-choose h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  background-color: #ccc;
  margin: 10px auto;
}

/* Ensure the list stacks vertically */
.why-choose ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.why-choose li {
  margin-bottom: 40px; /* Space between each list item */
  font-size: 18px;
  color: #555;
  line-height: 1.8;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.why-choose li strong {
  color: #0b6dbd; /* Accent color */
  display: block;
  font-size: 20px;
  margin-bottom: 8px;
}

.why-choose .call-to-action {
  margin-top: 50px;
}

.why-choose .cta-button {
  background-color: #6f4d2f;
  color: #fff;
  padding: 15px 30px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.why-choose .cta-button:hover {
  background-color: #5b3d24;
}

.licensed-by {
  text-align: center;
  padding: 50px 20px;
}

.licensed-by h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.licensed-by img {
  max-width: 200px;
  height: auto;
  margin: 0 20px;
  display: inline-block;
}

/* Contact Section */
.contact-section {
  /* background-color: #7e645a; */
  background: linear-gradient(to bottom, #f0f0f0, #d9d9d9);
  color: #333;
  text-align: center;
  padding: 10px 10px;
}

.contact-section a {
  display: inline-block;
  margin: 20px 0;
  padding: 10px 20px;
  background-color: #fff;
  color: #333;
  text-decoration: none;
}

.contact-button {
  background-color: white;
  color: #7e645a;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  margin: 20px 0;
}

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

footer {
  background-image: url("/asset/images/footer_bg.jpeg");
  color: #fff;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-content p {
  margin: 0;
}

.social-icons a {
  margin-left: 10px;
  color: #fff;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #1da1f2;
}

/* Contact Us Section */
.cont {
  height: 100%;
  display: flex;
  align-items: center;
  background-color: #f8f8f8;
  justify-content: center;
  padding: 20px;
  margin: 50px 0;
}

/* Contact Us Section */
.contact-us {
  max-width: 600px;
  width: 100%;
  text-align: center;
  padding: 40px;
}

.contact-form {
  margin-bottom: 20px;
}

/* Form Inputs and Button */
.contact-form input,
textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}

input::placeholder,
textarea::placeholder {
  font-size: 16px;
}

.contact-us h2 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #5c4033; /* Matches the heading color in the image */
}

.divider {
  width: 80px;
  margin: 10px auto 20px;
  border: 1px solid #5c4033;
}

.contact-us h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.contact-us p {
  margin-bottom: 10px;
  font-size: 16px;
  color: #555;
  text-align: center;
}

.contact-us a {
  color: #0073e6;
  display: block;
  margin-bottom: 20px;
  text-decoration: none;
}

.contact-form input,
textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}

.contact-form textarea {
  resize: none;
}

.contact-form button {
  background-color: #5c4033;
  color: white;
  border: none;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  width: 50%;
  transition: background-color 0.3s;
  text-align: center;
  padding: 15px;
}

.contact-form button:hover {
  background-color: #4b3329;
}

/* Videos Section */
.journey-videos {
  max-width: 1200px;
  margin: 40px auto;
  text-align: center;
  padding: 20px 20px;
}

.journey-videos h2 {
  font-size: 32px;
  color: #333;
  margin-bottom: 20px;
}

/* Additional styling for responsive video grid and modal */
.videos-container {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-top: 20px;
  padding: 0 20px;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* fills the space without stretching */
}

.video-wrapper video:hover {
  transform: scale(1.05);
}

/* Modal Styling */
.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.video-modal video {
  max-width: 80%;
  max-height: 80%;
  border-radius: 8px;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .nav-left,
  .nav-right {
    display: none;
  }

  .logo img {
    height: 40px;
    margin-top: 5px;
  }

  .hamburger-menu {
    display: flex;
    flex-direction: column;
  }

  .navbar ul {
    flex-direction: column;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .navbar.open .nav-left,
  .navbar.open .nav-right {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #7e645a;
    padding: 10px 0;
    text-align: center;
  }

  ul li {
    margin: 10px 0;
  }

  .why-choose h2 {
    font-size: 28px;
  }
  .why-choose li {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .stages {
    flex-direction: column;
  }
  .licensed-by img {
    margin: 10px 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-us {
    padding: 30px;
  }

  .contact-us h2 {
    font-size: 28px;
  }

  .contact-us h3 {
    font-size: 22px;
  }

  .contact-form button {
    width: 100%;
  }
}
