/* styles.css */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
}

.navbar {
  background-color: #006baa;
  padding: 1em;
  color: white;
}

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

.main-nav a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
}

.hero-slider {
  position: relative;
  height: 80vh;
  overflow: hidden;
}

.slide {
  background-size: cover;
  background-position: center;
  height: 100%;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.caption {
  position: absolute;
  bottom: 60px;
  left: 50px;
  color: white;
  background: rgba(0,0,0,0.5);
  padding: 1em;
  border-radius: 5px;
}

.top-info-bar {
  background: #f7f7f7;
  color: #333;
  font-size: 14px;
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  border-bottom: 1px solid #ddd;
}

.top-left span,
.top-right span {
  margin-right: 15px;
}

.top-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.promo-text a {
  color: #d62828;
  text-decoration: underline;
}

.social-icons a {
  margin-left: 8px;
  color: #444;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
}

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

/* Responsive tweaks */
@media (max-width: 768px) {
  .top-info-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* Navigation basics */
.main-header {
  background: #fff;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 999;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo img {
  height: 50px;
}

.main-nav {
  position: relative;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 12px 8px;
  transition: color 0.3s;
}

.nav-links li:hover > a {
  color: #d62828;
}

/* Dropdown menu */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  display: none;
  min-width: 180px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  z-index: 9999;
}

.dropdown-menu li {
  border-bottom: 1px solid #eee;
}

.dropdown-menu li a {
  padding: 10px 15px;
  display: block;
  color: #333;
  white-space: nowrap;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* Mobile responsive menu */
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #fff;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
    color: #333;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    display: none;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }
}

/* Navigation basics */
.main-header {
  background: #fff;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 999;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo img {
  height: 50px;
}

.main-nav {
  position: relative;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 12px 8px;
  transition: color 0.3s;
}

.nav-links li:hover > a {
  color: #d62828;
}

/* Dropdown menu */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  display: none;
  min-width: 180px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  z-index: 9999;
}

.dropdown-menu li {
  border-bottom: 1px solid #eee;
}

.dropdown-menu li a {
  padding: 10px 15px;
  display: block;
  color: #333;
  white-space: nowrap;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* Mobile responsive menu */
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #fff;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
    color: #333;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    display: none;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }
}

.mobile-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #fff;
}

.hamburger {
  width: 30px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 22px;
}

.hamburger span {
  display: block;
  height: 3px;
  background: #333;
  transition: 0.3s;
  border-radius: 2px;
}

.mobile-menu {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: #006baa;
  display: flex;
  flex-direction: column;
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 999;
}

.mobile-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #fff;
}

.hamburger {
  width: 30px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 22px;
}

.hamburger span {
  display: block;
  height: 3px;
  background: #333;
  transition: 0.3s;
  border-radius: 2px;
}

.mobile-menu {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: #006baa;
  display: flex;
  flex-direction: column;
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 999;
}

.mobile-menu a {
  color: white;
  padding: 15px 20px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
}

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

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

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




/*Slider*/
.slider-container {
  position: relative;
  max-width: 100%;
  margin: auto;
  overflow: hidden;
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  position: relative;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
}

.caption {
  position: absolute;
  bottom: 20%;
  left: 5%;
  color: #fff;
  background: rgba(0,0,0,0.5);
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 1.2rem;
}

.navigation {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.navigation button {
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  padding: 10px;
  cursor: pointer;
  font-size: 2rem;
  transition: background 0.3s;
}

.navigation button:hover {
  background: rgba(0,0,0,0.8);
}

@media (max-width: 768px) {
  .caption {
    font-size: 1rem;
    bottom: 10%;
  }
}

body {
      font-family: 'Segoe UI', sans-serif;
      margin: 0;
      padding: 0;
      background: #f3f3f3;
    }

    .splide__slide img {
      width: 100%;
      border-radius: 10px;
    }

    .slider-wrapper {
      max-width: 800px;
      margin: 50px auto;
      padding: 0 20px;
    }
    
    /*about us*/
    #about-us {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

#about-us .team {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

#about-us .team-member {
  max-width: 200px;
}

#about-us .team-member img {
  width: 100%;
  border-radius: 50%;
}

#about-us .team-member h3 {
  margin-top: 15px;
  font-size: 1.2em;
}

#about-us .team-member p {
  color: #777;
}

/*gallery*/
#gallery {
  padding: 60px 20px;
  background-color: #fff;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}


/*Testimonial*/
#testimonials {
  padding: 60px 20px;
  background-color: #f1f1f1;
  text-align: center;
}

.testimonial {
  max-width: 600px;
  margin: 20px auto;
  font-style: italic;
}

.testimonial h4 {
  margin-top: 10px;
  color: #555;
}

#why-choose-us {
  padding: 60px 20px;
  background-color: #fff;
  text-align: center;
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.feature {
  max-width: 250px;
}

.feature i {
  font-size: 2em;
  color: #e67e22;
}

.feature h3 {
  margin-top: 15px;
  font-size: 1.2em;
}

.feature p {
  color: #777;
}

/*faq*/
#faq {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.accordion {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.accordion-item {
  border-bottom: 1px solid #ddd;
}

.accordion-button {
  background: none;
  border: none;
  outline: none;
  font-size: 1.1em;
  font-weight: bold;
  padding: 15px;
  width: 100%;
  text-align: left;
  transition: background 0.3s ease;
  cursor: pointer;
  position: relative;
}

.accordion-button::after {
  content: '+';
  position: absolute;
  right: 20px;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.accordion-button.active::after {
  transform: rotate(45deg);
}

.accordion-button:hover {
  background-color: #eee;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  background: #fff;
  transition: max-height 0.5s ease, padding 0.3s ease;
}

.accordion-content.open {
  padding: 15px;
  max-height: 500px;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/*footer*/
.footer-section {
  background-color: #0f0f0f;
  color: #ccc;
  padding: 60px 20px 30px;
}

.footer-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
}

.footer-box h4 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 1.2em;
  border-bottom: 2px solid crimson;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-box ul {
  list-style: none;
  padding: 0;
}

.footer-box ul li {
  margin-bottom: 10px;
}

.footer-box ul li a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-box ul li a:hover {
  color: crimson;
}

.footer-logo {
  width: 160px;
  margin-bottom: 15px;
}

.footer-form input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 4px;
  border: none;
}

.footer-form button {
  padding: 10px;
  width: 100%;
  background: crimson;
  color: #fff;
  border: none;
  border-radius: 4px;
  transition: background 0.3s;
}

.footer-form button:hover {
  background: darkred;
}

.footer-social a {
  color: #aaa;
  margin-right: 12px;
  font-size: 18px;
  transition: color 0.3s, transform 0.3s;
}

.footer-social a:hover {
  color: crimson;
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #222;
  margin-top: 40px;
  padding-top: 20px;
  font-size: 0.9em;
  color: #777;
}

/*whatsapp and call*/
/* Floating Buttons */
.floating-buttons .float-btn {
  position: fixed;
  bottom: 100px;
  right: 20px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  text-align: center;
  line-height: 50px;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.floating-buttons .callback {
  bottom: 160px;
  background: #007bff;
}

/*darkmode*/
/* Dark Mode CSS */
body.dark-mode {
  background-color: #111;
  color: #f0f0f0;
}

body.dark-mode .footer {
  background-color: #222;
}

.footer button {
  padding: 8px 12px;
  background: #444;
  color: #fff;
  border: none;
  cursor: pointer;
}

/*newfaq*/
.faq-section {
  padding: 40px 20px;
  background: #f4f4f4;
}
.faq-section h2 {
  text-align: center;
  margin-bottom: 20px;
}
#faqSearch {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  font-size: 16px;
}
.faq-filter {
  text-align: center;
  margin-bottom: 20px;
}
.faq-filter button {
  margin: 5px;
  padding: 8px 14px;
  border: none;
  background: #eee;
  cursor: pointer;
}
.faq-filter .active {
  background: #007bff;
  color: #fff;
}
.faq-item {
  background: #fff;
  margin-bottom: 10px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 1px 5px rgba(0,0,0,0.1);
}
.faq-question {
  padding: 15px;
  cursor: pointer;
  background: #f7f7f7;
  font-weight: bold;
}
.faq-answer {
  padding: 15px;
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
