/* Base Styles */
:root {
  --primary-color: #2c6bac;
  --primary-dark: #1c5085;
  --secondary-color: #f8a51b;
  --secondary-dark: #e08e0b;
  --text-color: #333333;
  --text-light: #666666;
  --background-light: #f9f9f9;
  --background-white: #ffffff;
  --border-color: #e0e0e0;
  --success-color: #4caf50;
  --error-color: #f44336;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-white);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
  color: var(--primary-color);
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  margin: 15px auto 0;
}

#form-anchor,
#form-anchor-rac {
  padding-top: 140px;
  margin-top: -140px;
  position: absolute;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-tertiary {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: white;
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  font-weight: 700;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
  text-shadow: none;
}

.btn-tertiary {
  background-color: var(--secondary-color);
  color: white;
  border: 2px solid var(--secondary-color);
}

.btn-tertiary:hover {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
  color: white;
}

/* Header */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 24px;
  width: 25px;
  position: relative;
}

.mobile-menu-toggle .bar {
  display: block;
  width: 25px;
  height: 4px;
  margin: 3px 0;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
  border-radius: 1px;
}

.mobile-menu-toggle.active .bar:nth-child(1) {
  transform: translateY(-50%) rotate(45deg);
  position: absolute;
  top: 50%;
  margin: 0;
  height: 3px;
}

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

.mobile-menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-50%) rotate(-45deg);
  position: absolute;
  top: 50%;
  margin: 0;
  height: 3px;
}

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

nav {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo h1 {
  font-size: 2rem;
  margin-bottom: 0;
  color: var(--primary-color);
}

.logo span {
  color: var(--secondary-color);
}

.tagline {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  height: 100%;
}

nav a {
  color: var(--text-color);
  font-weight: 600;
}

nav a:hover {
  color: var(--primary-color);
}

nav .btn-primary {
  color: white;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('media/home-header.jpg') no-repeat center center/cover;
  color: white;
  padding: 150px 0;
  text-align: center;
}

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

.hero h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: white;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-direction: row;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-image img {
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

/* Services Section */
.services {
  background-color: var(--background-light);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 20px 0;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-icon {
  width: 120px;
  height: 120px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1em auto 1.5em;
  overflow: hidden;
  border: 4px solid var(--primary-color);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-icon img {
  transform: scale(1.1);
}

.service-card h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
  padding: 0 1em;
}

.service-card p {
  margin-bottom: 1.5em;
  padding: 0 1em;
}

/* How It Works Section */
.steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

.step-number {
  background-color: var(--primary-color);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  flex-shrink: 0;
}

.step h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

.step p {
  margin-bottom: 0;
}

/* Apply For TTW Section */
.apply-for-ttw {
  background-color: var(--background-light);
}

.form-container {
  display: flex;
  margin-top: 40px;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  padding: 3.125rem;
}

/* Left side - Content */
.form-content {
  position: relative;
  margin-right: 2rem;
  min-width: 44%;
}

@media (min-width: 992px) {
  #apply-for-ttw .form-content {
    position: sticky;
    top: 8rem;
    align-self: flex-start;
    z-index: 2;
  }
}

.form-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.form-icon-wrapper {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

.form-icon-wrapper i.fas {
  font-size: 2rem;
}

.form-content h3 {
  margin: 0;
  color: var(--primary-color);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  flex: 1;
}

.form-content h3 span.smaller {
  font-size: 1.38rem;
}

.form-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 35px;
  color: var(--text-color);
}

/* Right side - Form */
.form-action {
  position: relative;
  border: 1px solid #000;
  border-radius: 1rem;
  padding: 2rem 2rem 3rem 2rem;
  text-align: center;
}

.form-button-list {
  margin-bottom: 3rem;
}

.form-button-list ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  align-content: flex-start;
}

.form-button-list li a {
  width: 100%;
}

.form-button-list .primary-button {
  width: 100%;
  margin-bottom: 1rem;
}

.form-button-list .primary-button a {
  font-weight: bold;
  font-size: 1.5rem;
  padding: 12px 16px;
}

.form-button-list .primary-button a i.fas {
  display: inline-block;
  margin-top: 0;
  vertical-align: middle;
}

.form-button-list .secondary-button {
  width: calc(50% - 0.3rem);
}

.form-button-list .secondary-button a {
  letter-spacing: -0.2px;
  padding: 12px 16px;
}

@media (max-width: 950px) {
  .form-action {
    margin-top: 3rem;
  }

  .form-container {
    flex-direction: column;
  }
}

.form-req-note {
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  padding: .75em;
  width: 100%;
}

.form-req-note p {
  font-size: .8em;
  color: #000000;
  margin: 0;
}

@media (max-width: 768px) {
  .form-container,
  .form-action {
    padding: 1.125rem 1.125rem 3rem 1.125rem;
  }

  .form-content {
    margin-right: 0;
  }

  .form-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .apply-for-ttw .container {
    width: 100%;
  }

  .form-button-list .secondary-button {
    width: 100%;
    margin-bottom: 1rem;
  }
}

/* Benefits Section */
.benefits {
  background-color: var(--primary-color);
  color: white;
}

.benefits .section-title {
  color: white;
}

.benefits .section-title::after {
  background-color: white;
}

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

.benefit-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: var(--transition);
}

.benefit-card:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.benefit-card i {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.benefit-card h3 {
  color: white;
  margin-bottom: 15px;
}

.benefit-card p {
  margin-bottom: 0;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  background-color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h3 {
  margin-bottom: 0;
  font-size: 1.1rem;
}

.faq-toggle {
  color: var(--primary-color);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active .faq-answer {
  padding: 20px;
  max-height: 1000px;
}

.faq-item.active .faq-toggle i {
  transform: rotate(45deg);
}

/* Testimonials Section */
.testimonials {
  background-color: var(--background-light);
}

.testimonial-slider {
  display: flex;
  flex-direction: column;
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  min-height: 250px; /* Increased minimum height */
  transition: height 0.5s ease; /* Smoother transition */
}

.testimonial {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: opacity 0.5s ease, transform 0.5s ease;
  opacity: 0;
  transform: translateX(50px);
  position: absolute; /* Keep absolute positioning */
  width: 100%;
  top: 0;
  left: 0;
  display: none;
}

/* Ensure the active testimonial is properly displayed */
.testimonial.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
  z-index: 1; /* Ensure it's on top */
}

.testimonial-content {
  position: relative;
  padding: 1em 1.5em;
  font-size: 115%;
}

.testimonial-content::before,
.testimonial-content::after {
  content: '"';
  font-size: 3rem;
  color: var(--primary-color);
  opacity: 0.3;
  position: absolute;
  top: 0;
  left: 0;
}

.testimonial-content::after {
  content: '"';
  left: auto;
  right: 0;
}

.testimonial-author {
  margin-top: 20px;
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem; /* Added 1rem to move controls down */
  gap: 20px;
  position: relative; /* Added to ensure it stays below the testimonials */
  z-index: 5; /* Added to ensure it stays on top of any overflow */
}

.prev-btn, .next-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  font-size: 28px;
  font-weight: bold;
  line-height: 0;
  padding-bottom: 4px;
}



.prev-btn:hover, .next-btn:hover {
  background-color: var(--primary-dark);
  transform: scale(1.1);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}



.slider-dots {
  display: flex;
  gap: 15px;
  align-items: center;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}

.dot i {
  font-size: 12px;
  color: #999;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--primary-color);
}

/* Contact Section */
.contact {
  background-color: var(--light-bg);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05) 0%, rgba(var(--secondary-rgb), 0.05) 100%);
  z-index: 0;
}

.contact .container {
  position: relative;
  z-index: 1;
}

.cta-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  margin-top: 40px;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Left side - Content */
.cta-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-content: stretch;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
}

.cta-info {
  padding: 3.125rem;
  position: relative;
  background-color: #c4c4c433;
}

.cta-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.cta-icon-wrapper {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

.cta-icon-wrapper i.fas {
  font-size: 2rem;
}

.cta-content h3 {
  margin: 0;
  color: var(--primary-color);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.3;
  flex: 1;
}

.cta-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 35px;
  color: var(--text-color);
}

.cta-benefits {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-left: 10px;
}

.cta-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  transition: transform 0.2s ease;
}

.cta-benefit-item:hover {
  transform: translateX(5px);
}

.cta-benefit-item i {
  color: var(--primary-color);
  font-size: 1.2rem;
  padding-top: 3px;
}

.benefit-title {
  display: block;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--heading-color);
  margin-bottom: 5px;
}

.benefit-desc {
  display: block;
  font-size: 0.95rem;
  color: var(--text-color);
  opacity: 0.9;
}

/* Right side - Action */
.cta-action {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a5fa2 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-action::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMCAwIEwxMDAgMTAwIE0xMDAgMCBMMCAxMDAiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS13aWR0aD0iMC41IiBzdHJva2Utb3BhY2l0eT0iMC4xIiBmaWxsPSJub25lIi8+PC9zdmc+');
  opacity: 0.2;
}

.cta-action-inner {
  position: relative;
  z-index: 1;
  padding: 75px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
}

.cta-action-inner .btn-secondary {
  display: none;
}

.cta-action h4 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.cta-action h4::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--secondary-color);
  border-radius: 3px;
}

.phone-number-display {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.phone-icon-wrapper {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
}

.phone-icon-wrapper i {
  font-size: 1.5rem;
  color: white;
}

@keyframes pulse {
  0% {
      box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
  }
  70% {
      box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
  }
  100% {
      box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.phone-link {
  color: white;
  font-size: 2rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  letter-spacing: 1px;
}

.phone-link:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

p.call-hours {
  margin-bottom: 30px;
  font-size: 0.9rem;
  opacity: 0.8;
  font-style: italic;
  color: #fff;
}

.btn-large {
  padding: 15px 40px;
  font-size: 1.2rem;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 50px;
  background-color: var(--secondary-color);
  border: none;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  background-color: #f39c12;
}

.btn-large:active {
  transform: translateY(1px);
}

.location-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 0.9rem;
  opacity: 0.9;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

.location-info i {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--secondary-color);
}

.location-info address {
  font-style: normal;
  line-height: 1.5;
}

.form-checkbox label {
  margin-bottom: 0;
  font-weight: normal;
}

/* Footer */
footer {
  background-color: #1a1a1a;
  color: white;
  padding: 80px 0 30px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  margin-bottom: 50px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .footer-content {
      flex-direction: row;
      justify-content: space-between;
  }
}

.footer-column {
  flex: 1;
  min-width: 200px;
  margin-bottom: 30px;
}

.footer-logo h2 {
  color: white;
  margin-bottom: 10px;
}

.footer-logo span {
  color: var(--secondary-color);
}

.footer-column h3 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-column a:hover {
  color: var(--secondary-color);
}



.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  padding-bottom: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-legal a:hover {
  color: var(--secondary-color);
}

.legal-disclaimers {
  max-width: 1000px;
  margin: 0 auto 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.legal-disclaimers p {
  margin-bottom: 10px;
}

.legal-disclaimers a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  transition: var(--transition);
}

.legal-disclaimers a:hover {
  color: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero h2 {
      font-size: 2.8rem;
  }
  
  .about-content,
  .contact-container {
      grid-template-columns: 1fr;
  }
  
  .about-image {
      order: -1;
  }

  .contact .container {
    width: 100%;
  }
  
  .cta-container {
      grid-template-columns: 1fr;
  }

  .cta-info {
    height: auto;
    background-color: #fff;
  }
  
  .cta-action {
      padding: 30px;
  }
  
  .cta-header {
      flex-direction: column;
      text-align: center;
  }
  
  .cta-content h3 {
      font-size: 1.5rem;
  }

  .cta-action-inner .btn-secondary {
    display: flex;
  }
}

/* Mobile styles */
@media (max-width: 768px) {
  header .container {
      position: relative;
  }
  
  .mobile-menu-toggle {
      display: block;
      position: absolute;
      right: 15px;
      top: 50%;
      transform: translateY(-50%);
  }
  
  nav {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background-color: white;
      box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
      padding: 0;
      display: none;
      width: 100%;
      z-index: 1000;
      height: auto;
      padding-bottom: 20px;
  }
  
  nav.active {
      display: block;
      max-height: 90vh; /* Limit height but ensure it's tall enough */
      overflow-y: auto; /* Allow scrolling if too many items */
  }
  
  nav ul {
      flex-direction: column;
      padding: 3px 0;
      margin: 0;
      width: 100%;
  }
  
  nav ul li {
      width: 100%;
      text-align: center;
      padding: 3px 0;
      background-color: white;
  }
  
  nav ul {
  display: flex;
  align-items: center;
  gap: 0px;
  margin: 0;
  list-style: none;
}

/* Additional nav styles */
nav ul li {
  width: 100%;
  text-align: center;
}

nav ul li a {
  display: block;
  padding: 10px 0;
}

/* Hero section styles */
  .hero {
      padding: 100px 0;
  }
  
  .hero h2 {
      font-size: 2.2rem;
  }
  
  .cta-buttons {
      flex-direction: column;
      gap: 15px;
  }
  
  .section-title {
      font-size: 2rem;
  }
  
  .footer-bottom {
      flex-direction: column;
      gap: 15px;
      text-align: center;
  }
  
  .cta-header {
      flex-direction: column;
      text-align: center;
      align-items: center;
  }
  
  .cta-content h3 {
      text-align: center;
      font-size: 1.5rem;
  }
  
  .cta-content p {
      text-align: center;
      font-size: 1rem;
  }
  
  .cta-benefit-item {
      align-items: center;
  }
  
  .cta-action-inner {
      padding: 30px;
  }
  
  .phone-number-display {
      justify-content: center;
  }
  
  .phone-link {
      font-size: 1.6rem;
      word-break: keep-all;
      white-space: nowrap;
  }
}

@media (max-width: 576px) {
  .step {
      flex-direction: column;
  }
  
  .footer-legal {
      flex-direction: column;
      gap: 10px;
  }
  
  .cta-action {
      padding: 25px 15px;
  }
  
  .cta-header {
      margin-bottom: 15px;
  }
  
  .cta-icon-wrapper {
      width: 50px;
      height: 50px;
      font-size: 1.2rem;
  }
  
  .cta-content h3 {
      font-size: 1.3rem;
      margin-top: 10px;
  }
  
  .cta-content p {
      font-size: 0.95rem;
      margin-bottom: 20px;
  }
  
  .cta-benefits {
      padding: 0;
  }
  
  .cta-benefit-item {
      flex-direction: column;
      text-align: center;
      gap: 5px;
      margin-bottom: 15px;
  }
  
  .benefit-title {
      font-size: 1rem;
  }
  
  .benefit-desc {
      font-size: 0.85rem;
  }
  
  .cta-action h4 {
      font-size: 1.3rem;
      margin-bottom: 25px;
  }
  
  .btn-large {
      padding: 12px 30px;
      font-size: 1rem;
      margin-bottom: 20px;
  }
  
  .phone-number-display {
      flex-direction: column;
      gap: 10px;
      margin-bottom: 10px;
  }
  
  .phone-icon-wrapper {
      width: 40px;
      height: 40px;
  }
  
  .phone-link {
      font-size: 1.3rem;
  }
  
  .call-hours {
      font-size: 0.8rem;
      margin-bottom: 20px;
  }
  
  .location-info {
      font-size: 0.8rem;
      margin-top: 10px;
  }
}

i.fas {
  line-height: 1;
}

i.fas svg {
  width: 1em;
  fill: #ffffff;
  transform: inherit;
}

i.fas.fa-plus svg,
i.fas.fa-check-circle svg {
  fill: #000000;
}

i.fas.fa-phone,
i.fas.fa-phone-alt {
  margin-top: 4px;
}

/* Request a Call Form */
.cta-container.cta-request-call .form-action {
  margin: 3.125rem;
}

.hs-form-target-rac {
  text-align: left;
}

.hs-form-target-rac .hs_phone,
.hs-form-target-rac .hs_zip {
  display: inline-flex;
}

.hs-form-target-rac .hs_phone {
  width: 55%;
  margin-right: 1rem;
}

.hs-form-target-rac .hs_zip {
  width: calc(45% - 1rem);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  align-items: flex-start;
}

@media (max-width: 1200px) {
  .cta-action-inner {
    padding: 50px 40px;
  }

  .cta-info {
    padding: 2.125rem;
  }

  .cta-container.cta-request-call .form-action {
    margin: 1.125rem;
    padding: 1.125rem 1.125rem 3rem 1.125rem;
  }

  .hs-form-target-rac .hs_phone {
    width: 100%;
    margin-right: 0;
  }
  
  .hs-form-target-rac .hs_zip {
    width: 100%;
    display: block;
  }
}

@media (max-width: 768px) {
  .cta-action-inner a.btn-primary,
  .cta-action-inner a.btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

.form-hours {
  font-size: .95rem;
  margin-bottom: 0;
}

.cta-container {
  border: solid 1px #e7e7e7;
}


/* HUBSPOT FORM STYLES */              
.wrap-form {
  border: solid 1px #384e59;
  border-radius: 1.25em;
  padding: 2em;
}

@media (min-width:767px) {
  .wrap-form {
    padding: 0 2em;
  }
}

.wrap-form.form-submitted {
  padding: 4em 1em;
}

.form__inner {
  margin: 0 auto;
  padding: 0;
}

.form-title span {
  display: block;
  margin-bottom: .5rem;
  font-size: 2rem;
  color: #1e62a4;
}

@media (min-width: 767px) {
  .wrap-form {
    margin-bottom: 2em;
  }
}

  h2.form-title {
  font-size: 1.15em;
  margin-top: 0;
  color: #384e59;
  text-align: center;
}

@media (min-width: 767px) {
  h2.form-title {
    font-size: 1.3em;
  }

  .form__inner {
    margin-bottom: 1.5em;
  }
}

.wrap-form .intro-paragraph {
  color: #384e59;
  font-size: 95%;
}

.eligible-text,
.not-eligible-text {
  font-weight: bold;
  margin: 2rem 0 0 0;
}

.hs-form-field input,
.hs-form-field label:not(.hs-error-msg),
.hs-form-field textarea,
.hs-form-field input {
  font-size: 18px;
}

.hs-form-field + .hs-form-field,
.hs_submit {
  margin-top: 20px;
}

  .hs_submit input[type=submit] {
  min-width: 160px;
  display: inline-flex;
  align-items: center;
  padding: 10px 26px;
  min-height: 50px;
  justify-content: center;
  text-align: center;
  border-radius: 34px;
  transition: color .3s ease, background .3s ease;
  font-weight: 700;
  line-height: 28px;
  font-size: 16px;
  border: 0;
  cursor: pointer;
  outline: 0;
  background-color: var(--secondary-color);
  color: #fff;
}

.hs-form-field,
.hs_submit,
.hs-form-field .input {
  margin-top: 1rem;
}

.hs-fieldtype-text .hs-input,
.hs-fieldtype-text .hs-textarea,
.hs-dateinput .hs-input,
.hs-fieldtype-textarea .hs-input,
.hs-fieldtype-phonenumber .hs-input {
  height: 60px;
  width: 100%;
  /* width: calc(100% - 40px) */
  background-color: #fff;
  border: 2px solid #d5d7df;
  padding: 0 20px;
  color: #3c4c54;
  font-weight: 400;
  transition: .3s ease;
  border-radius: 5px;
}

legend.hs-field-desc {
  color: #828282;
}

.hs-phone {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
          flex-direction: column;
  -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-align-content: flex-start;
          align-content: flex-start;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
          justify-content: flex-start;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
          align-items: flex-start;
}

.hs-phone div.input {
  width: 100%;
}

.hs-phone legend.hs-field-desc {
  -webkit-box-ordinal-group: 3;
  -webkit-order: 2;
          order: 2;
  text-align: center;
  font-size: 0.8em;
}

.hs-phone .hs-error-msgs {
  -webkit-box-ordinal-group: 4;
  -webkit-order: 3;
          order: 3;
}

.hs-fieldtype-textarea .hs-input {
  height: 14em;
  margin-top: 0.5em;
  padding-top: 1em;
}

.hs_submit {
  text-align: center;
}

.hbspt-form .submitted-message {
  text-align: center;
}

.form-submitted p.intro-paragraph {
  display: none;
}

.form-submitted p {
  font-size: 1.3em;
  margin-bottom: 1em;
}

.hs-fieldtype-radio ul {
  margin: 0;
}

.hs-fieldtype-radio ul,
.hs-fieldtype-booleancheckbox ul {
  list-style: none;
  padding-left: 0;
}

li.hs-form-radio {
  display: inline-block;
  width: calc(50% - .5rem);
  margin-bottom: 0.5rem;
}

li.hs-form-radio:nth-child(odd) {
  margin-right: 1rem;
}

.hs-fieldtype-radio input[type="radio"] {
  opacity: 0;
  position: fixed;
  width: 0;
}

.hs-fieldtype-radio ul label.hs-form-radio-display {
  display: inline-block;
  width: 100%;
  background-color: #fff;
  padding: 10px 20px;
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: bold;
  border: 2px solid var(--primary-color);
  border-radius: 50px;
}

.hs-fieldtype-radio ul label.hs-form-radio-display:hover {
  background-color: var(--primary-dark);
  color: #fff;
  cursor: pointer;
}

.hs-fieldtype-radio label.hs-form-radio-display.selected {
  background-color: var(--primary-color);
  border-color: var(--primary-dark);
  color: #fff;
}

.hs-fieldtype-radio label.hs-form-radio-display.focused {
  border: 2px dashed var(--primary-dark);
}

.hs-fieldtype-radio label.hs-form-radio-display.focused.selected {
  background-color: var(--primary-color);
  border: 2px dashed var(--primary-dark);
}

/* Select box */
.hs-fieldtype-select select {
  /* reset */
  margin: 1em 0 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;

  /* styling */
  background-color: white;
  border: 2px solid #d5d7df;
  border-radius: 4px;
  display: inline-block;
  font: inherit;
  color: #3c4c54;
  line-height: 1.5em;
  padding: 0.5em 3.5em 0.5em 1em;
  background-image:
    linear-gradient(45deg, transparent 50%, gray 50%),
    linear-gradient(135deg, gray 50%, transparent 50%),
    linear-gradient(to right, #ccc, #ccc);
  background-position:
    calc(100% - 20px) calc(1em + 2px),
    calc(100% - 15px) calc(1em + 2px),
    calc(100% - 2.5em) 0.5em;
  background-size:
    5px 5px,
    5px 5px,
    1px 1.5em;
  background-repeat: no-repeat;
}

.hs-fieldtype-select select:focus {
  background-image:
    linear-gradient(45deg, green 50%, transparent 50%),
    linear-gradient(135deg, transparent 50%, green 50%),
    linear-gradient(to right, #ccc, #ccc);
  background-position:
    calc(100% - 15px) 1em,
    calc(100% - 20px) 1em,
    calc(100% - 2.5em) 0.5em;
  background-size:
    5px 5px,
    5px 5px,
    1px 1.5em;
  background-repeat: no-repeat;
  border-color: #005a7e;
  outline: 0;
}

.hs-fieldtype-select select:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #000;
}

.hs_submit .hs-button:hover {
  background: #3b3f40;
  color: #fff
}

.hs_submit .hs-button:focus {
  box-shadow: 0 0 3pt 2pt #3b99fc
}

/* 2 column */
@media (min-width: 767px) {
  .hs-firstname,
  .hs-lastname {
    display: inline-block;
    width: calc(50% - 5px);
  }

  .hs-firstname {
    margin-right: 10px;
  }
}

.hs-error-msgs {
  color: #bc4848;
  order: 3;
}

.homepage-hero__call-info {
  color: #fff;
  text-align: center;
  padding: 1em;
  background: #384e59;
}

@media (min-width: 1024px) {
  .homepage-hero__call-info {
    padding: 1% 20%;
  }
}

.hs-form-booleancheckbox {
  list-style: none;
  padding-left: 0;
  padding-left: 3em;
  font-size: .9em;
  line-height: 1.4;
}

.hs-form-booleancheckbox:not(.hs-error-msg) label {
  font-size: 1rem;
}

.hs-form-field input[type=checkbox] {
  -webkit-appearance: none;
  -moz-appearance: none;
        appearance: none;
  background-color: #fff;
  margin: .75em -1em 0 -1.8em;
  font: inherit;
  color: currentColor;
  width: 1.15em;
  height: 1.15em;
  border: 0.15em solid currentColor;
  border-radius: 0.15em;
  display: grid;
  place-content: center;
  float: left;
}

.hs-form-field input[type=checkbox]::before {
  content: "";
  width: 0.65em;
  height: 0.65em;
  -webkit-clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
          clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
  -webkit-transform: scale(0);
          transform: scale(0);
  -webkit-transform-origin: bottom left;
          transform-origin: bottom left;
  -webkit-transition: 120ms -webkit-transform ease-in-out;
  transition: 120ms -webkit-transform ease-in-out;
  transition: 120ms transform ease-in-out;
  transition: 120ms transform ease-in-out, 120ms -webkit-transform ease-in-out;
  box-shadow: inset 1em 1em var(--form-control-color);
  background-color: #000000;
  /* Windows High Contrast Mode */
  background-color: CanvasText;
}

.hs-form-field input[type=checkbox]:checked::before {
  -webkit-transform: scale(1);
          transform: scale(1);
}

.hs-form-field input[type=checkbox]:focus {
  outline: max(1px, 0em) solid currentColor;
}

.hs-form-field input[type=checkbox]:disabled {
  --form-control-color: var(--form-control-disabled);
  color: var(--form-control-disabled);
  cursor: not-allowed;
}

.hs-form-field .hs-form-checkbox {
  padding-left: 3em;
  padding-bottom: .5em;
}

.hs-form-field.hs_firstname > label,
.hs-form-field.hs_lastname > label,
.hs-form-field.hs_email > label,
.hs-form-field.hs_phone > label,
.hs-form-field.hs_zip > label {
  height: auto;
  visibility: visible;
  display: inline-block;
  background: #fff;
  font-size: 0.9em;
  position: relative;
  top: 30px;
  left: 14px;
  padding: 0 0.5em;
}

.hs-form-field.hs_firstname,
.hs-form-field.hs_lastname,
.hs-form-field.hs_email,
.hs-form-field.hs_phone,
.hs-form-field.hs_zip {
  position: relative;
  text-align: left;
  margin-top: 0;
}

.hs-error-msgs label {
  background: transparent;
}

.not-eligible-text a,
.hs_marketing_texts__by_checking_this_box_you_authorize_and_consent_to_allow_allsuo__llc__and_or_its_af a {
  text-decoration: underline;
}

.hs_marketing_texts__by_checking_this_box_you_authorize_and_consent_to_allow_allsuo__llc__and_or_its_af .input label {
  font-size: 1em;
  line-height: 1.2em;
}

.hs-error-msgs {
  color: #ad1a1a;
  font-size: 100%;
  list-style: none;
  width: 100%;
  font-weight: bold;
  position: relative;
  text-align: center;
  padding-left: 0;
  font-size: .85em;
}

.hs-error-msgs.api-error {
  color: #ad1a1a;
  font-size: 100%;
  list-style: none;
  width: 100%;
  font-weight: bold;
  position: relative;
  text-align: center;
  padding-left: 0;
  padding: 1em 0;
  font-size: 1em;
}

.input label.error {
  position: absolute;
  left: 0;
  bottom: -1.45em;
  color: #ad1a1a;
  font-size: 100%;
  list-style: none;
  width: 100%;
  font-weight: bold;
  text-align: center;
  padding-top: .4em;
  font-size: .85em;
}

.hs-error-msgs.api-error a {
  text-decoration: underline;
}

.hs-error-msg {
  background: #fff;
  position: static;
}

.wrap-form.form-submitted .form-title {
  margin-bottom: 1.5em;
}

@media (min-width: 1200px) {
  .wrap-form.form-submitted .submitted-message {
    max-width: 80%;
    margin: 0 auto;
  }
}

.hs_submit span .loader {
  display: none;
}

span.button-submitting,
span.button-next-submit {
  position: relative;
  display: inline-block;
}

.button-submitting input,
.button-next-submit input {
  opacity: 0;
}

span.button-submitting:after {
  content: "Submitting";
  /*margin-top: 1em;*/
  text-align: center;
  min-width: 160px;
  min-height: 50px;
  width: -webkit-calc(100% + 2em);
  width: calc(100% + 2em);
  height: -webkit-calc(100% + 0.2em);
  height: calc(100% + 0.2em);
  background: #ddd;
  border-radius: 34px;
  line-height: 3.1;
  top: -3px;
  font-weight: bold;
  font-size: 16px;
  border: 3px solid #bebebe;
  position: absolute;
  left: -1em;
  padding-left: 1em;
}

.hs_submit span.button-submitting .loader,
.button-submitting .loader,
.button-next-submit .loader {
  display: block;
  position: absolute;
  z-index: 4;
  top: 0.173em;
  left: -0.38em;
}

.alsp-api-fail {
  min-height: 30vw;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}