body {
  font-family: 'Poppins', Arial, sans-serif;
}

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  margin-bottom: 0;
  z-index: 100;
  transition: box-shadow 0.2s, background 0.2s;
  padding: 18px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  width: auto;
}
.logo img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}
.logo-text {
  font-weight: 700;
  font-size: 22px;
  color: #18181b;
  letter-spacing: 0.5px;
}

.container-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.main-nav .nav-list {
  display: flex;
  gap: 15px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav .nav-list li a {
  color: #18181b;
  font-weight: 500;
  font-size: 17px;
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.main-nav .nav-list li a::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: #10b981;
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.25s cubic-bezier(0.77, 0, 0.18, 1);
}
.main-nav .nav-list li a:hover::after,
.main-nav .nav-list li.current-menu-item a::after {
  transform: scaleX(1);
}
.main-nav .nav-list li a:hover,
.main-nav .nav-list li.current-menu-item a {
  color: #10b981;
}

.get-quote-btn {
  background: #10b981;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 32px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(16, 185, 129, 0.1);
}
.get-quote-btn:hover {
  background: #0ea36a;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.18);
}

.get-quote-btn.mobile {
  display: none;
}

.burger {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  z-index: 130;
}
.burger span {
  display: block;
  background: #18181b;
  border-radius: 2px;
  transition: all 0.2s;
}

@media (max-width: 1200px) {
  .container-header {
    gap: 12px;
  }
}
@media (max-width: 992px) {
  .main-nav .nav-list li a {
    font-size: 15px;
  }
  .logo {
    width: 32%;
  }
  .logo-text {
    font-size: 20px;
  }
  .get-quote-btn {
    padding: 8px 12px;
    font-size: 15px;
  }
}
@media (max-width: 768px) {
  .burger {
    display: flex;
    width: 40px;
    height: 40px;
  }
  .burger span {
    width: 20px;
    height: 2px;
  }
  .main-nav {
    display: none;
  }
  .get-quote-btn:not(.mobile) {
    display: none;
  }
  .logo {
    width: 100%;
  }
}
@media (max-width: 576px) {
  .container-header {
    gap: 4px;
    padding: 4px 0 0 0;
  }
  .logo-text {
    font-size: 16px;
  }
  .burger {
    width: 28px;
    height: 28px;
  }
  .burger span {
    width: 12px;
    height: 1.5px;
  }
}

.header--hidden {
  transform: translateY(-120%);
  transition: transform 0.35s cubic-bezier(0.77, 0, 0.18, 1);
  box-shadow: none;
}

.mobile-nav {
  opacity: 0;
  height: 0;
  top: -50px;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  background: #fff;
  transition: 0.2s ease-in-out;
}

.mobile-nav.active {
  opacity: 1;
  top: 0;
  height: 100vh;
  padding-top: 30px;

  pointer-events: auto;
}

.mobile-nav ul {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 0;
}

.mobile-nav ul li {
  width: 100%;
  text-align: center;
}
.mobile-nav ul li a {
  display: block;
  width: 100%;
  font-size: 1.3rem;
  font-weight: 600;
  color: #18181b;
  padding: 16px 0;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav ul li a:hover {
  background: #10b98111;
  color: #10b981;
}
.get-quote-btn.mobile {
  display: block;
  width: 100%;
  margin: 32px 0 0 0;
  padding: 16px 0;
  font-size: 1.1rem;
  border-radius: 8px;
  background: #10b981;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(16, 185, 129, 0.08);
  transition: background 0.18s;
}
.get-quote-btn.mobile:hover {
  background: #0ea36a;
}

.burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body.menu-open {
  overflow: hidden;
}

/* Quote Modal Styles */
.quote-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.quote-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.quote-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  max-width: 680px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
}

.quote-modal-overlay.active .quote-modal {
  transform: scale(1) translateY(0);
}

.quote-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px 16px;
  border-bottom: 1px solid #e5e7eb;
}

.quote-modal-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: #18181b;
  margin: 0;
}

.quote-modal-close {
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-modal-close:hover {
  background: #f3f4f6;
  color: #374151;
}

.quote-modal-body {
  padding: 20px;
  min-height: 400px;
}

.tidycal-embed {
  width: 100%;
  min-height: 400px;
}

/* Mobile styles for modal */
@media (max-width: 768px) {
  .quote-modal {
    width: 100%;
    max-width: none;
    margin: 0;
    border-radius: 0;
    height: 100vh;
    max-height: 100vh;
  }

  .quote-modal-header h2 {
    font-size: 20px;
  }

  .quote-modal-header,
  .quote-modal-body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .quote-modal-body {
    padding: 12px;
  }
}
