/* Base Styles */
:root {
  --dark-blue: #0b1c30;
  --blue: #1d3557;
  --light-blue: #457b9d;
  --off-white: #f1faee;
  --gray: #a8dadc;
  --cta-orange: #ff7f00;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
  position: relative;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.modal-scroll {
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 10px;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;     /* Firefox */
}

.modal-scroll::-webkit-scrollbar {
  display: none;             /* Chrome, Safari, Opera */
}

/* Header Styles */
.site-header {
  background-color: var(--dark-blue);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
}

.main-nav ul {
  display: flex;
  list-style: none;
}

.main-nav ul li {
  margin-left: 2rem;
}

.main-nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.main-nav ul li a:hover {
  color: var(--gray);
}

.main-nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--gray);
  bottom: -5px;
  left: 0;
  transition: width 0.3s ease;
}

.main-nav ul li a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1050;
  overflow-y: auto;
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 2rem;
  width: 90%;
  max-width: 950px;
  border-radius: 10px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  max-height: 95vh;
  overflow-y: auto;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
  padding: 10px 10px;
  list-style: none;
  margin: 0;
}

.footer-links li {
  flex: 1 1 auto;
  max-width: calc(50% - 10px); /* 2 items per row with gap */
  text-align: center;
}

.footer-links a {
  display: inline-block;
  width: auto; /* changed from 100% to auto to prevent overflow */
  padding: 6px 8px;
  border-radius: 20px;
  background-color: #ffffff10;
  color: #fff;
  font-size: 13px;
  text-decoration: none;
  border: 1px solid #ffffff30;
  white-space: nowrap;
  text-align: center;
  overflow-x:hidden;
}

.footer-links a:hover {
  background-color: #ffffff22;
}
@media (min-width: 768px) {
  .footer-links li {
    max-width: none;
    flex: 0 0 auto;
  }
  
}
.footer-p{
  padding: 10px 20px;
  text-align: left;
}
.close-modal {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: #333;
}

.modal h2 {
  color: var(--dark-blue);
  margin-bottom: 1.5rem;
  text-align: center;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--gray);
}

/* How It Works Modal */
.modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.modal-step {
  text-align: center;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modal-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.step-number {
  background-color: var(--blue);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: bold;
  margin: 0 auto 1rem;
}

/* Rates Modal */
.rates-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.rates-section {
  background-color: #f8f9fa;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.rates-section h3 {
  color: var(--blue);
  margin-bottom: 1rem;
}

.rates-list {
  list-style: none;
  margin: 1rem 0;
}

.rates-list li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.rates-list li:before {
  content: "•";
  color: var(--blue);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.rates-disclaimer {
  background-color: #e9f5f9;
  padding: 1rem;
  border-left: 4px solid var(--blue);
  margin-top: 1rem;
}

/* Contact Modal */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-method i {
  font-size: 2rem;
  color: var(--blue);
}

.contact-hours {
  font-size: 0.875rem;
  color: #666;
}

.contact-form h3 {
  margin-bottom: 1.5rem;
  color: var(--blue);
}

.contact-submit-btn {
  background-color: var(--cta-orange);
  color: white;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-size: 1.125rem;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  border: none;
  cursor: pointer;
}

.contact-submit-btn:hover {
  background-color: #e67200;
}

/* Updated CTA Button */
.cta-button {
  background-color: var(--cta-orange);
  color: white;
  font-weight: bold;
  font-size: 1.125rem;
  padding: 1rem 2rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: pulse-shadow 2s infinite;
}

.cta-button:hover {
  background-color: #e67200;
  transform: translateY(-2px);
}

.cta-button-alt {
  background-color: var(--cta-orange);
  color: white;
  font-weight: bold;
  font-size: 1.125rem;
  padding: 1rem 2rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 20px;
  gap: 0.5rem;
  animation: pulse-shadow 2s infinite;
}

.cta-button-alt:hover {
  background-color: #e67200;
  transform: translateY(-2px);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

.highlight {
  color: var(--gray);
}

/* Buttons */
button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

/* Hero Section */
.hero {
  position: relative;
  background-color: var(--dark-blue);
  color: white;
  padding: 5rem 0;
  padding-top: 8rem;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://images.unsplash.com/photo-1563013544-824ae1b704d3?auto=format&fit=crop&w=1920&q=80');

  background-size: cover;
  background-position: center;
  opacity: 2;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(11, 28, 48, 0.9), rgba(29, 53, 87, 0.8));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.hero-text {
  max-width: 600px;
}

.limited-offer {
  display: inline-block;
  background-color: var(--blue);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.subheading {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.benefits {
  list-style: none;
  margin-bottom: 2rem;
}

.benefits li {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.benefits i {
  color: var(--gray);
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.no-impact, .no-obligation {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-top: 0.5rem;
}

/* Form Styles */
.form-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.form-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: #03cd00;
  color: white;
  padding: 0.25rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: bold;
  white-space: nowrap;
  z-index: 1;
}

.form-container {
  background-color: white;
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--dark-blue);
}

.form-step h2 {
  font-size: 1.5rem;
  text-align: left;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: bold;
  font-size: 1rem;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.form-input, .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray);
  border-radius: 0.375rem;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29, 53, 87, 0.2);
}

.form-button {
  width: 100%;
  background-color: var(--dark-blue);
  color: white;
  font-weight: bold;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  font-size: 1.125rem;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.form-button:hover {
  background-color: var(--blue);
}

.form-button-alt {
  width: 100%;
  background-color: var(--light-blue);
  color: white;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.form-button-alt:hover {
  background-color: #f1f1f1;
}

.button-group {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1rem;
}

.security-note {
  font-size: 0.75rem;
  color: #666;
  text-align: center;
  margin-top: 1rem;
}

.security-note i {
  color: var(--blue);
  margin-right: 0.25rem;
}

/* Why Choose Us Section */
.why-choose-us {
  padding: 5rem 0;
  background-color: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature {
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  background-color: var(--off-white);
  color: var(--dark-blue);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.5rem;
}

/* Benefits Section */
.benefits-section {
  padding: 5rem 0;
  background-color: #f7f9fc;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background-color: white;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.icon-container {
  background-color: var(--off-white);
  color: var(--dark-blue);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.5rem;
}

/* Testimonials */
.testimonials {
  padding: 5rem 0;
  background-color: var(--dark-blue);
  color: white;
}

.testimonials h2 {
  color: white;
}

.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial {
  flex: 0 0 100%;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
}

.stars {
  color: gold;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.testimonial p {
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.customer {
  opacity: 0.8;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial-nav-button {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.testimonial-nav-button:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

/* FAQ Section */
.faq {
  padding: 5rem 0;
  background-color: #f7f9fc;
}

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

.accordion-item {
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.accordion-header {
  padding: 1.25rem;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  background-color: white;
}

.accordion-header::after {
  content: '+';
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
}

.accordion-content {
  padding: 0 1.25rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-header::after {
  content: '-';
}

.accordion-item.active .accordion-content {
  padding: 0 1.25rem 1.25rem;
  max-height: 1000px;
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background-color: var(--dark-blue);
  color: white;
  text-align: center;
}

.cta-section h2 {
  color: white;
}

.cta-section p {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.25rem;
}

.cta-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.cta-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
}

.cta-badge i {
  color: var(--gray);
}

/* Footer */
footer {
  background-color: var(--blue);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col h3 {
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  width: 50px;
  height: 2px;
  background-color: var(--gray);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: white;
}

.trust-badges {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  opacity: 0.8;
}

.footer-disclaimer {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.6;
}

/* Animation */
@keyframes pulse-shadow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(11, 28, 48, 0.7);
  }
  50% {
    box-shadow: 0 0 20px 5px rgba(11, 28, 48, 0.5);
  }
}

/* Media Queries */
@media (min-width: 768px) {
  h1 {
    font-size: 3.5rem;
  }
  
  .hero-content {
    flex-direction: row;
    align-items: center;
  }
  
  .hero-text {
    flex: 1;
  }
  
  .form-wrapper {
    flex: 1;
  }
}

@media (max-width: 767px) {
  h1 {
    font-size: 2rem;
  }
  .modal h2{
    font-size:1.4rem!important;
  }
  
  .form-button{
    font-size:1rem;
  }
  .hero {
    padding: 3rem 0;
  }
  
  .cta-button, .cta-button-alt {
    width: 100%;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-badges {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--dark-blue);
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease;
    z-index: 1010;
    padding: 5rem 2rem 2rem;
  }

  .main-nav.active {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
  }

  .main-nav ul li {
    margin: 0 0 1.5rem 0;
  }

  .mobile-menu-btn {
    display: block;
    z-index: 1020;
  }

  .mobile-menu-btn.active i:before {
    content: "\f00d";
  }

  .hero {
    padding-top: 6rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .modal-content {
    margin: 10% auto;
    width: 95%;
    padding: 1.5rem;
  }

  .cta-button, .cta-button-alt, .contact-submit-btn {
    padding: 0.75rem 1rem;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.25rem;
  }

  .modal-step {
    padding: 1rem;
  }

  .contact-method {
    flex-direction: column;
    text-align: center;
  }
}