/* General Styles */
:root {
  --primary-color: #f7941d;
  --secondary-color: #2d5d86;
  --dark-blue: #1e3a5f;
  --light-gray: #f5f5f5;
  --text-color: #333;
}

body {
  font-family: "Bai Jamjuree", Arial;
  line-height: 1.6;
  padding-top: 110px;
}

/* Header Styles */
header {
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Top Bar Styles */
.top-bar {
  background-color: #0039a4;
  border-bottom: 1px solid #0039a4;
}

.top-bar div p {
    margin-bottom: 0px;
}

/* Social Links */
.social-link {
  color: #666;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 14px;
}

.social-link:hover {
  color: #f7941d;
}

/* e-Brochure Button */
.btn-ebrochure {
  display: inline-flex;
  align-items: center;
  background-color: #2c3e50;
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-ebrochure:hover {
  background-color: #1a2530;
  color: white;
}

.btn-ebrochure .fa-download {
  font-size: 12px;
}

/* Language Dropdown */
.language-dropdown .btn-language {
  background-color: white;
  border: 1px solid #ddd;
  color: #333;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
}

.language-dropdown .btn-language:hover,
.language-dropdown .btn-language:focus {
  background-color: #f1f1f1;
  border-color: #ccc;
}

.language-dropdown .dropdown-menu {
  min-width: 5rem;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  font-size: 14px;
}

.language-dropdown .dropdown-item {
  padding: 0.5rem 1rem;
}

.language-dropdown .dropdown-item:hover {
    background-color: #f7941d;
}

.language-dropdown .dropdown-menu.dropdown-menu-end.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 576px) {
  .btn-ebrochure {
      padding: 4px 8px;
      font-size: 12px;
  }

  .language-dropdown .btn-language {
      padding: 4px 8px;
      font-size: 12px;
  }
}

/* .navbar {
  padding: 10px 0;
}

.navbar-brand img {
  height: 60px;
}

.nav-link {
  color: #333;
  font-weight: 500;
  padding: 10px 15px !important;
  transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-color);
}

.navbar-nav .nav-link {
  font-weight: 500;
  padding: 1rem 0.8rem;
  font-size: 0.9rem;
}

.navbar-nav .nav-link.active {
  color: var(--primary-color);
}

.navbar-brand img {
  max-height: 60px;
}

.search-btn {
  color: #333;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.search-btn:hover {
  color: var(--primary-color);
}

@media (max-width: 992px) {
  body {
      padding-top: 80px;
  }

  .navbar-brand img {
      height: 40px;
  }
} */

/* Main Navigation */
.nav-mx {
  margin-left: auto !important;
  margin-right: 3.5rem;
}

.navbar-nav .nav-link {
  color: #333;
  font-weight: 600;
  padding: 0.5rem 1rem;
  font-size: 14px;
  position: relative;
  text-transform: uppercase;
}

.navbar-nav .nav-item.active .nav-link,
.navbar-nav .nav-link:hover {
  color: #f7941d;
}

/* Dropdown Toggle Icon */
.dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
  transition: transform 0.3s ease;
}

.dropdown-toggle:hover::after,
.dropdown.show .dropdown-toggle::after {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
  border: none;
  border-radius: 0;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  padding: 0;
  margin-top: 0;
  min-width: 220px;
}

.dropdown-item {
  padding: 10px 20px;
  font-size: 13px;
  color: #333;
  border-bottom: 1px solid #f1f1f1;
  transition: all 0.3s ease;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: #f7941d;
  color: white;
}

/* Dropdown Animation */
.dropdown .dropdown-menu {
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.dropdown.show .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown Indicator for Mobile */
.dropdown-indicator {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  display: none;
}

/* Search Icon */
.search-icon {
  color: #333;
  cursor: pointer;
  font-size: 18px;
  transition: color 0.3s ease;
}

.search-icon:hover {
  color: #f7941d;
}

.search-btn {
  color: #333;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.search-btn:hover {
  color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
  /* Mobile Menu Styles */
  .navbar-collapse {
      background-color: white;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      z-index: 1000;
      box-shadow: 0 5px 10px rgba(0,0,0,0.1);
      padding: 10px 0;
      max-height: 80vh;
      overflow-y: auto;
  }

  .navbar-nav .nav-link {
      padding: 12px 20px;
      border-bottom: 1px solid #f1f1f1;
  }

  .navbar-nav .nav-item:last-child .nav-link {
      border-bottom: none;
  }

  /* Mobile Dropdown */
  .dropdown-toggle::after {
      display: none;
  }

  .dropdown-indicator {
      display: block;
  }

  .dropdown .dropdown-menu {
      position: static;
      box-shadow: none;
      opacity: 1;
      visibility: visible;
      transform: none;
      transition: none;
      display: none;
      padding-left: 15px;
  }

  .dropdown.show .dropdown-menu {
      display: block;
  }

  .dropdown-item {
      padding: 10px 20px;
  }

  /* Search Icon */
  .search-icon {
      position: absolute;
      right: 70px;
      top: 15px;
  }
}

/* Mega Menu Option (Alternative) */
.mega-menu {
  position: static !important;
}

.mega-menu .dropdown-menu {
  width: 100%;
  left: 0;
  right: 0;
  padding: 20px;
}

.mega-menu-content {
  display: flex;
  flex-wrap: wrap;
}

.mega-menu-column {
  flex: 0 0 25%;
  max-width: 25%;
  padding: 0 15px;
}

.mega-menu-title {
  font-weight: 600;
  color: #f7941d;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid #eee;
}

.mega-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-menu-list li {
  margin-bottom: 8px;
}

.mega-menu-list a {
  color: #333;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.mega-menu-list a:hover {
  color: #f7941d;
}

@media (max-width: 991.98px) {
  .mega-menu-content {
      flex-direction: column;
  }

  .mega-menu-column {
      flex: 0 0 100%;
      max-width: 100%;
      padding: 0;
      margin-bottom: 15px;
  }
}

/* Footer Styles */
.site-footer {
  background-color: #2c3e50;
  color: #fff;
  padding-top: 50px;
}

.footer-logo-wrapper {
  margin-bottom: 25px;
}

.footer-logo {
  height: auto;
  max-width: 200px;
}

.footer-section {
  margin-bottom: 30px;
}

.footer-heading {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: #f7941d;
}

/* Contact List */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-list li {
  display: flex;
  margin-bottom: 15px;
  align-items: flex-start;
}

.footer-contact-list li i {
  color: #f7941d;
  margin-right: 15px;
  min-width: 16px;
  margin-top: 4px;
}

.footer-contact-list li span {
  color: #ccc;
  line-height: 1.5;
}

/* Sitemap Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li a {
  color: #ccc;
  text-decoration: none;
  transition: all 0.3s;
  display: flex;
  align-items: center;
}

.footer-links li a i {
  color: #f7941d;
  margin-right: 10px;
  font-size: 12px;
}

.footer-links li a:hover {
  color: #f7941d;
  padding-left: 5px;
}

/* Social Icons */
.footer-social {
  display: flex;
  gap: 10px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  transition: all 0.3s;
}

.social-icon:hover {
  background-color: #f7941d;
  color: #fff;
  transform: translateY(-3px);
}

/* Copyright */
.footer-copyright {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 15px 0;
  margin-top: 30px;
  text-align: center;
}

.footer-copyright p {
  color: #aaa;
  margin: 0;
  font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .footer-section {
      margin-bottom: 20px;
  }

  .footer-social {
      margin-top: 20px;
      justify-content: center;
  }
}

@media (max-width: 768px) {
  .site-footer {
      padding-top: 30px;
  }

  .footer-logo-wrapper {
      text-align: center;
      margin-bottom: 20px;
  }

  .footer-heading {
      text-align: center;
  }

  .footer-heading::after {
      left: 50%;
      transform: translateX(-50%);
  }

  .footer-contact-list li {
      justify-content: center;
  }

  .footer-links {
      text-align: center;
  }

  .footer-links li a {
      justify-content: center;
  }
}

/* Hero Banner */
.hero-banner {
  height: 400px;
  overflow: hidden;
  position: relative;
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-banner .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.banner-content {
  position: absolute;
  bottom: 50px;
  color: white;
}

.banner-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.breadcrumb-item a {
  color: white;
  text-decoration: none;
}

.breadcrumb-item.active {
  color: var(--primary-color);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: white;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  /* .hero-banner {
      height: 300px;
  } */

  .banner-content h1 {
      font-size: 2rem;
  }
}

@media (max-width: 768px) {

  /* .hero-banner {
      height: 250px;
  } */

  .banner-content h1 {
      font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  /* .hero-banner {
      height: 200px;
  } */

  .banner-content h1 {
      font-size: 1.5rem;
  }
}

.search-header-box {
    color: #333;
    cursor: pointer;
    font-size: 18px;
    transition: color 0.3s ease;
    position: relative;
}

.search-header-box:hover {
    color: #f7941d;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: end;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-container {
    width: 80%;
    max-width: 800px;
}

.search-form-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-group {
    position: relative;
    width: 100%;
}

#search-input {
    width: 100%;
    height: 60px;
    background-color: black;
    border: none;
    border-bottom: 2px solid #fff;
    color: #fff;
    font-size: 24px;
    padding: 10px 50px 10px 5px;
    outline: none;
}

#search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-submit {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s;
}

.search-submit:hover {
    color: #f7941d;
}

.search-close {
    margin-left: 20px;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s;
}

.search-close:hover {
    color: #f7941d;
}

/* Animation */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-overlay.active .search-container {
    animation: fadeInDown 0.4s forwards;
}

/* Responsive Styles */
@media (max-width: 768px) {
    #search-input {
        font-size: 18px;
        height: 50px;
    }
}