/* Blue highlight */
.highlight-blue {
  color: blue;
  font-weight: bold;
}

/* General Styles */
body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ebd8ce;
  color: #000;
  font-weight: 500;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(35, 17, 0, 0.1);
  color: white;
  transition: background-color 0.3s ease;
  padding: 10px 20px;
}

header:hover {
  background-color: rgba(35, 17, 0, 1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 90%;
  margin: 0 auto;
}

.company-logo img {
  height: 50px;
  width: auto;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.language-selector select {
  padding: 5px;
  font-size: 16px;
  flex-shrink: 0;
}

.hamburger-menu {
  font-size: 24px;
  cursor: pointer;
  flex-shrink: 0;
  display: block;
}

/* Responsive Adjustments for Mobile */
@media (max-width: 768px) {
  header {
    background-color: rgba(35, 17, 0, 1);
    padding: 3px; /* Reduce padding for mobile */
  }
  .slideshow {
      padding-top: 35px;
  }
  .company-logo img {
    height: 40px; /* Smaller logo for mobile */
  }

  .language-selector select {
    font-size: 14px; /* Smaller font size for mobile */
    padding: 3px; /* Reduce padding for mobile */
  }

  .hamburger-menu {
    font-size: 20px; /* Smaller icon for mobile */
  }

  .header-right {
    gap: 10px; /* Reduce gap between elements for mobile */
  }
}

@media (max-width: 480px) {
     header {
    background-color: rgba(35, 17, 0, 1);
    padding: 3px; /* Reduce padding for mobile */
  }
  
  .slideshow {
      padding-top: 35px;
  }
  
  .company-logo img {
    height: 30px; /* Even smaller logo for very small screens */
  }

  .language-selector select {
    font-size: 12px; /* Smaller font size for very small screens */
  }

  .hamburger-menu {
    font-size: 18px; /* Smaller icon for very small screens */
  }

  .header-right {
    gap: 5px; /* Minimal gap for very small screens */
  }
}


/* Slideshow */
.slideshow {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  margin-top: 0px; /* Adjust based on header height */
}

.slides {
  display: flex;
  width: 100%; /* Container width is 100% of the slideshow */
  transition: transform 0.5s ease-in-out; /* Smooth transition */
}

.slide {
  width: 100%; /* Each slide takes 100% of the container width */
  flex-shrink: 0; /* Prevent slides from shrinking */
  display: none; /* Hide all slides by default */
}


.slide.active {
  display: block; /* Show the active slide */
}

/* Hide mobile slides on desktop
@media (min-width: 900px) {
  .slide.mobile {
    display: none !important;
  }
}

Hide desktop slides on mobile
@media (max-width: 768px) {
    .slideshow {
      padding-top: 35px;
  }
  .slide.desktop {
    display: none !important;
  }
}*/

/* Navigation Buttons */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* Dot Indicators */
.dot-indicators {
  text-align: center;
  padding: 10px;
}

.dot {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #333;
}

/* Image Row */
.image-row {
  background: radial-gradient(circle, #D2B48C, #654321); /* Light brown to dark brown gradient */
  padding: 20px; /* Add padding for spacing */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional: Add shadow for depth */
  margin: 20px auto; /* Center the container and add margin */
  max-width: 1200px; /* Optional: Limit the maximum width */
  display: flex;
  justify-content: space-around;
}

.image-item {
  text-align: center;
  transition: transform 0.3s ease;
}

.image-item:hover {
  transform: scale(1.05);
}

.image-item img {
  width: 100%;
  max-width: 300px;
  height: auto;
}

/* Description Styles */
.image-item p {
  color: #fff;
  margin: 10px 0; /* Add spacing */
}

.image-item button {
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #351700;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.image-item button:hover {
  background-color: #555;
}

/* Section Heading */
.section-heading {
  text-align: justify;
  padding-left: 10px;
  padding-right: 10px;
  margin: 20px 0;
}

.section-heading h1 {
  font-size: 36px;
  margin-bottom: 15px;
}

.section-heading h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.section-heading p {
  font-size: 18px;
  color: #666;
}

/* Video Row */
.video-row {
  display: flex;
  justify-content: space-around;
  padding: 20px;
}

.video-item {
  width: 30%;
  text-align: center;
  transition: transform 0.3s ease;
}

.video-item:hover {
  transform: scale(1.05);
}

.video-item iframe {
  width: 75%;
  padding:10px;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Footer Layout */
.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 20px;
  background-color: #351700;
  color: white;
}

footer a {
  color: white !important;
  font-weight: bold;
  text-decoration: none;
}

footer a:hover {
  color: #f0f0f0 !important;
}

.footer-links, .footer-social {
  flex: 1;
  min-width: 200px;
  margin-bottom: 20px;
}

.footer-social {
  text-align: left;
}

.social-icons {
  display: flex;
  margin-right: 10px;
  margin-bottom: 10px;
  margin-top: 10px;
}

.footer-social .social-icons {
  display: flex;
  margin-right: 10px;
  flex-wrap: wrap;
}

.footer-social .social-icons a {
  display: inline-block;
}

.footer-social .social-icons img {
  width: 48px;
  height: 48px;
  transition: transform 0.3s ease;
}

.footer-social .social-icons img:hover {
  transform: scale(1.1);
}

.footer-copyright {
  text-align: center;
  width: 100%;
  border-top: 1px solid #fff;
  background-color: #351700;
  color: white;
}

/* Chatbot Styles */
.chatbot-bubble {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #333;
  color: white;
  padding: 15px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.chatbot-container {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 300px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: none;
  z-index: 1000;
}

.chatbot-header {
  background-color: #333;
  color: white;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-body {
  display: flex;
  flex-direction: column;
  height: 300px;
}

.chatbot-messages {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  background-color: #f9f9f9;
}

.chatbot-input {
  display: flex;
  border-top: 1px solid #ccc;
}

.chatbot-input input {
  flex: 1;
  padding: 10px;
  border: none;
  outline: none;
}

.chatbot-input button {
  padding: 10px;
  background-color: #333;
  color: white;
  border: none;
  cursor: pointer;
}

.chatbot-input button:hover {
  background-color: #555;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fff;
  padding: 20px;
  width: 400px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  position: relative;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
}

/* Modal Trigger Button */
.modal-trigger {
  position: fixed;
  top: 350px;
  left: 20px;
  padding: 10px 20px;
  background-color: #333;
  color: white;
  border: none;
  cursor: pointer;
  z-index: 1001;
  animation: blink 1s infinite;
  display: block; /* Ensure it's visible by default */
}

/*Adjustments for mobile devices */
@media (max-width: 768px) {
  .modal-trigger {
    position: fixed;
     top: 230px; /*Adjust position for mobile */
    left: 10px;  /*Adjust position for mobile */
    padding: 8px 16px; /* Adjust padding for mobile */
    font-size: 14px; /* Adjust font size for mobile */
    display: block; /* Ensure it's visible on mobile */
  }
}

@media (max-width: 480px) {
  .modal-trigger {
    position: fixed;
    top: 220px; /* Further adjust position for very small screens */
    left: 5px; /* Further adjust position for very small screens */
    padding: 6px 12px; /* Further adjust padding for very small screens */
    font-size: 12px; /* Further adjust font size for very small screens */
    display: block; /* Ensure it's visible on very small screens */
  }
}

.modal-trigger:hover {
  background-color: #555;
  animation: none;
}

/* Blinking Animation */
@keyframes blink {
  0% { background-color: #333; }
  50% { background-color: #ff0000; }
  100% { background-color: #333; }
}

/* Hamburger Menu Overlay */
.menu-overlay {
  height: 100%;
  width: 0;
  position: fixed;
  top: 0;
  right: 0;
  background-color: rgba(255, 145, 164, 0.95);
  overflow-x: hidden;
  transition: width 0.5s ease;
  z-index: 1000;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

/* Expanded State for Menu Overlay */
.menu-overlay.expanded {
  width: 280px; /* Expanded width */
}

/* Media Queries for Mobile Devices */
@media (max-width: 768px) {
  .menu-overlay.expanded {
    width: 230px; /* Smaller expanded width for mobile */
  }
}

/* Triangle/Caret for Menu Headings */
.menu-head::after {
  content: "▼"; /* Downward-pointing triangle */
  font-size: 15px; /* Adjust size as needed */
  margin-left:10px; /* Space between text and triangle */
  transition: transform 0.3s ease; /* Smooth rotation */
  display: inline-block; /* Ensure the caret is displayed */
  flex-shrink: 0; /* Prevent the caret from shrinking */
}

/* Rotate Triangle/Caret When Submenu is Open */
.menu-head.active::after {
  transform: rotate(180deg); /* Rotate to point upwards */
}

/* Align Caret with Text */
.menu-head {
  display: flex; /* Use flexbox for alignment */
  align-items: center; /* Vertically center the caret */
  justify-content: space-between; /* Space between text and caret */
  padding: 10px 0; /* Add padding for better spacing */
}

/* Ensure Carets are Visible on Mobile/Tablet */
@media (max-width: 768px) {
  .menu-head::after {
    font-size: 10px; /* Smaller caret for mobile */
    margin-left: 30px; /* Adjust spacing for mobile */
    display: inline-block; /* Ensure the caret is displayed */
  }
}

/* Submenu Styles */
.sub-menu {
  display: none; /* Hidden by default */
  padding-left: 20px; /* Indent submenu items */
  margin-top: 10px; /* Space between heading and submenu */
  animation: fadeIn 0.3s ease; /* Fade-in animation */
}

/* Fade-in Animation for Submenu */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu-content {
  padding: 80px 30px 30px 30px;
  text-align: left;
  width: 300px; /* Default width for desktop */
}

.close-btn {
  font-size: 30px;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 20px;
  color: #000;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #333;
}

/* Menu Sections */
.menu-section {
  margin-bottom: 25px;
}

.menu-head {
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 2px dotted rgba(0, 0, 0, 0.3);
  color: #000;
  transition: all 0.3s ease;
}

.menu-head:hover {
  color: #333;
  border-bottom-color: rgba(0, 0, 0, 0.5);
}

.menu-head .arrow {
  font-size: 16px;
  transition: transform 0.3s ease;
  color: #000;
}

.menu-head.active .arrow {
  transform: rotate(180deg);
}

.sub-menu {
  display: none;
  padding-left: 20px;
  margin-top: 10px;
  animation: fadeIn 0.3s ease;
}

.sub-menu a {
  color: #000;
  text-decoration: none;
  display: block;
  margin: 12px 0;
  font-size: 16px;
  padding: 8px 12px;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.sub-menu a:hover {
  color: #333;
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateX(5px);
}



/* Animation for submenu fade-in */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .menu-content {
    padding: 60px 20px 20px 20px;
  }

  .menu-head {
    font-size: 18px;
  }

  .sub-menu a {
    font-size: 14px;
  }

  .image-row {
    flex-direction: column;
    align-items: center;
  }

  .image-item {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
  }

  .video-row {
    flex-direction: column;
    align-items: center;
  }

  .video-item {
    width: 100%;
    margin-bottom: 20px;
  }

  .section-heading h1 {
    font-size: 28px;
  }

  .section-heading h2 {
    font-size: 24px;
  }

  .section-heading p {
    font-size: 16px;
  }
}