/* ========================================
   HEADER & FOOTER STYLES
   ======================================== */

/* ========================================
   HEADER STYLES
   ======================================== */

.site-header {
  background: white;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(10px);
}

/* Main Navigation */
.main-navigation {
  padding: 0;
  background: white;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  gap: 30px;
}

/* Logo Styles */
.site-logo {
  flex-shrink: 0;
}

.logo-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.site-logo img {
  max-height: 75px;
  width: auto;
}

/* Search Bar */
.header-search {
  flex: 1;
  max-width: 500px;
  position: relative;
}

.search-container {
  position: relative;
  display: flex;
  align-items: center;
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 50px;
  padding: 0 20px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.search-container:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
  background: white;
}

.search-icon {
  color: var(--text-light);
  font-size: 16px;
  margin-right: 10px;
  transition: color 0.3s ease;
}

.search-container:focus-within .search-icon {
  color: var(--primary-color);
}

.search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 15px 0;
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
}

.search-input::placeholder {
  color: var(--text-light);
  font-weight: 400;
}

.search-icon-btn {
  background: var(--primary-color);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 10px;
}

.search-icon-btn:hover {
  background: var(--secondary-color);
  transform: scale(1.05);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.action-btn {
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center; /* vertical center */
  justify-content: center; /* horizontal center */
  gap: 8px;
  border: 2px solid transparent;
  height: 50px; /* same height for all buttons */
  min-width: 140px; /* optional: same width for uniformity */
  box-sizing: border-box;   
}

.submit-btn {
  background: linear-gradient(
    135deg,#96bf50, #89c02d)!important;
  color: white;
  border-radius: 25px!important;
  font-size: 14px!important;
  height: 50px;
  
}

.submit-btn:hover {
  transform: translateY(-2px);
  color: white;
}

.phone-btn {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid #e9ecef;
 
}

.phone-btn:hover {
  background: #f8f9fa;
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  gap: 4px;
}

.toggle-bar {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active .toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .toggle-bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Menu Bar */
.menu-bar {
  background: linear-gradient(
    135deg,#96bf50,#89c02d);
  padding: 0;
  position: relative;
}

.menu-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="menu-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23menu-pattern)"/></svg>');
  opacity: 0.3;
}

.main-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 9999;
}

.main-menu li {
  position: relative;
}

.main-menu a {
  display: block;
  padding: 12px 18px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.main-menu a:hover,
.main-menu .current-menu-item a {
  background: rgba(255, 255, 255, 0.15);
  color: black;
}

.main-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: white;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.main-menu a:hover::after,
.main-menu .current-menu-item a::after {
  width: 80%;
}

/* Dropdown Menu */
.main-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 250px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  list-style: none;
  margin: 0;
  padding: 10px 0;
}

.main-menu li:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-menu .sub-menu a {
  color: var(--text-dark);
  padding: 12px 20px;
  font-size: 14px;
  text-transform: none;
  letter-spacing: normal;
  border-radius: 0;
}

.main-menu .sub-menu a:hover {
  background: #f8f9fa;
  color: var(--primary-color);
}

.main-menu .sub-menu a::after {
  display: none;
}



/* ========================================
   FOOTER STYLES
   ======================================== */

.site-footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: white;
  padding: 60px 0 20px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.05"/><circle cx="10" cy="10" r="0.5" fill="white" opacity="0.03"/><circle cx="40" cy="40" r="0.5" fill="white" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-pattern)"/></svg>');
  opacity: 0.5;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.footer-widget {
  position: relative;
}

.footer-widget h3 {
  color: white;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-widget h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(
    135deg,#89c02d,#96bf50);
  border-radius: 2px;
}

.footer-widget p {
  color: #b0b0b0;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 14px;
}

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

.footer-widget ul li {
  margin-bottom: 12px;
}

.footer-widget ul li a {
  color: #b0b0b0;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-widget ul li a:hover {
  color: #89c02d;
  transform: translateX(5px);
}

.footer-widget ul li i {
  color: #89c02d;
  font-size: 12px;
  width: 16px;
  text-align: center;
}

/* Social Icons */
.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: #b0b0b0;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 16px;
}

.social-icon:hover {
  background: #89c02d;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* Newsletter Section */
.footer-newsletter {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 30px;
  margin: 40px 0;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.newsletter-text h4 {
  color: white;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 8px 0;
}

.newsletter-text p {
  color: #b0b0b0;
  font-size: 14px;
  margin: 0;
}

.newsletter-form {
  flex-shrink: 0;
}

.newsletter-input-group {
  display: flex;
  background: white;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.newsletter-input-group input {
  flex: 1;
  border: none;
  padding: 15px 20px;
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
  background: transparent;
}

.newsletter-input-group input::placeholder {
  color: var(--text-light);
}

.newsletter-btn {
  background: linear-gradient(
    135deg,#96bf50,#89c02d);
  border: none;
  color: white;
  padding: 15px 25px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.newsletter-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  position: relative;
  z-index: 2;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright p {
  color: #b0b0b0;
  font-size: 14px;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #b0b0b0;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  position: relative;
}

.footer-links a:hover {
  color: #89c02d;
}

.footer-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #89c02d;
  transition: width 0.3s ease;
}

.footer-links a:hover::after {
  width: 100%;
}

/* ========================================
   MODAL STYLES
   ======================================== */

.modern-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modern-modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-container {
  background: white;
  border-radius: 20px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px 30px 20px;
  border-bottom: 1px solid #e9ecef;
}

.modal-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
}

.modal-title-section h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 5px 0;
}

.modal-subtitle {
  color: var(--text-light);
  font-size: 14px;
  margin: 0;
}

.modal-close {
  margin-left: auto;
  width: 40px;
  height: 40px;
  border: none;
  background: #f8f9fa;
  border-radius: 50%;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: #e9ecef;
  color: var(--text-dark);
}

.modal-body {
  padding: 30px;
}

/* Form Styles */
.form-progress {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.progress-bar {
  flex: 1;
  height: 4px;
  background: #e9ecef;
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  width: 33.33%;
  transition: width 0.3s ease;
}

.progress-text {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 600;
}

.modern-form {
  position: relative;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.step-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 25px;
  text-align: center;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  position: relative;
  margin-bottom: 20px;
}

.floating-label {
  position: relative;
}

.floating-label input,
.floating-label select,
.floating-label textarea {
  width: 100%;
  padding: 15px 45px 15px 15px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-dark);
  background: white;
  transition: all 0.3s ease;
  outline: none;
}

.floating-label input:focus,
.floating-label select:focus,
.floating-label textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.floating-label label {
  position: absolute;
  top: 15px;
  left: 15px;
  color: var(--text-light);
  font-size: 14px;
  transition: all 0.3s ease;
  pointer-events: none;
  background: white;
  padding: 0 5px;
}

.floating-label input:focus + label,
.floating-label input:not(:placeholder-shown) + label,
.floating-label select:focus + label,
.floating-label select:not([value=""]) + label,
.floating-label textarea:focus + label,
.floating-label textarea:not(:placeholder-shown) + label {
  top: -8px;
  left: 10px;
  font-size: 12px;
  color: var(--primary-color);
  font-weight: 600;
}

.input-icon,
.textarea-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 16px;
}

.textarea-icon {
  top: 20px;
  transform: none;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid #e9ecef;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: "✓";
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.privacy-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.privacy-link:hover {
  text-decoration: underline;
}

.form-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
}

.form-navigation .btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.prev-btn {
  background: #f8f9fa;
  color: var(--text-dark);
  border: 2px solid #e9ecef;
}

.prev-btn:hover {
  background: #e9ecef;
}

.next-btn,
.submit-btn {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.next-btn:hover,
.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.modal-footer {
  padding: 20px 30px 30px;
  border-top: 1px solid #e9ecef;
}

.trust-indicators {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 12px;
  font-weight: 600;
}

.trust-item i {
  color: var(--primary-color);
  font-size: 14px;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
  .nav-container {
    gap: 15px;
  }

  .header-search {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .main-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: none;
  }

  .main-menu.active {
    display: flex;
  }

  .main-menu a {
    color: var(--text-dark);
    border-bottom: 1px solid #f0f0f0;
  }

  .main-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: #f8f9fa;
    border-radius: 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .modal-container {
    margin: 10px;
    max-height: calc(100vh - 20px);
  }

  .modal-header {
    padding: 20px;
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .modal-body {
    padding: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .trust-indicators {
    gap: 20px;
  }

  .newsletter-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .newsletter-input-group {
    flex-direction: column;
    border-radius: 8px;
  }

  .newsletter-btn {
    border-radius: 0 0 8px 8px;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 10px 0;
  }

  .logo-text {
    font-size: 1.5rem;
  }

  .action-btn {
    padding: 10px 16px;
    font-size: 13px;
  }

  .modal-header {
    padding: 15px;
  }

  .modal-body {
    padding: 15px;
  }

  .form-navigation {
    flex-direction: column;
    gap: 15px;
  }

  .form-navigation .btn {
    width: 100%;
    justify-content: center;
  }
}