/* HOME PAGE MOBILE RESPONSIVE CSS */

/* Main Layout */
.home {
  align-items: center;
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow-x: hidden;
  position: relative;
}

/* Navigation Styles */
.nav-xl4bh6 {
  align-items: center;
  background-color: transparent;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  flex-shrink: 1;
  height: 51px;
  justify-content: flex-start;
  margin-right: 6.0px;
  margin-top: 44px;
  min-width: 1234px;
  position: relative;
  width: auto;
}

.logo-w7FhJl {
  flex-shrink: 1;
  position: relative;
  height: 51px;
  width: 218px;
}

.services-w7FhJl {
  background-color: transparent;
  flex-shrink: 1;
  font-weight: 300;
  height: auto;
  letter-spacing: 0.00px;
  line-height: 21px;
  margin-bottom: 2.0px;
  margin-left: 142px;
  min-width: 68px;
  position: relative;
  text-align: left;
  white-space: nowrap;
  width: auto;
}

.pricing-w7FhJl {
  background-color: transparent;
  flex-shrink: 1;
  font-weight: 300;
  height: auto;
  letter-spacing: 0.00px;
  line-height: 21px;
  margin-bottom: 2.0px;
  margin-left: 41px;
  min-width: 55px;
  position: relative;
  text-align: left;
  white-space: nowrap;
  width: auto;
}

.resources-w7FhJl {
  background-color: transparent;
  flex-shrink: 1;
  font-weight: 300;
  height: auto;
  letter-spacing: 0.00px;
  line-height: 21px;
  margin-bottom: 2.0px;
  margin-left: 42px;
  min-width: 84px;
  position: relative;
  text-align: left;
  white-space: nowrap;
  width: auto;
}

.button-w7FhJl {
  align-self: flex-start;
  background-color: transparent;
  background-image: url(../img/pricing-button-backgroundmask.png);
  background-size: 100% 100%;
  flex-shrink: 1;
  height: 50px;
  margin-left: 41px;
  overflow: hidden;
  position: relative;
  width: 357px;
}

.background-hi51Ea {
  width: 357px;
  height: 50px;
  left: 0px;
  position: absolute;
  top: 1px;
}

.shchedule-a-free-consultation-hi51Ea {
  background-color: transparent;
  font-weight: 600;
  height: auto;
  left: 32px;
  letter-spacing: 1.10px;
  line-height: 21px;
  position: absolute;
  text-align: left;
  top: 16px;
  white-space: nowrap;
  width: auto;
}

.login-button-w7FhJl {
  align-self: flex-start;
  background-color: transparent;
  background-image: url(../img/attorney-mail-button-backgroundmask-1@2x.png);
  background-size: 100% 100%;
  flex-shrink: 1;
  height: 50px;
  margin-left: 43px;
  overflow: hidden;
  position: relative;
  width: 143px;
}

.background-EGP2qT {
  width: 143px;
  height: 50px;
  left: 0px;
  position: absolute;
  top: 1px;
}

.login-EGP2qT {
  background-color: transparent;
  font-weight: 600;
  height: 29px;
  left: 37px;
  letter-spacing: 0.88px;
  line-height: 21px;
  position: absolute;
  text-align: center;
  top: 12px;
  width: 68px;
}

/* Dropdown styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  min-width: 160px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  z-index: 1000;
  padding: 8px 0;
  list-style: none;
}

.dropdown:hover .dropdown-content {
  display: flex;
}

.dropdown-item {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-item:hover {
  background-color: #f1f1f1;
}

/* Fixed nested dropdown CSS */
.nested-dropdown {
  position: relative;
}

.nested-dropdown > .dropdown-item {
  position: relative;
}

.nested-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  min-width: 200px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 2000;
  padding: 10px 0 !important;
  list-style: none;
  margin: 0;
  border: 1px solid #ddd;
}

.nested-dropdown-content li {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}

.nested-dropdown-item {
  color: black !important;
  padding: 10px 20px !important;
  text-decoration: none !important;
  display: block !important;
  white-space: nowrap !important;
  width: 100% !important;
  box-sizing: border-box !important;
  line-height: 1.5 !important;
}

.nested-dropdown-item:hover {
  background-color: #f1f1f1;
}

.nested-dropdown:hover .nested-dropdown-content {
  display: block;
}

.red {
  color: #c00000;
}

.black {
  color: #000000;
}

/* Hero Section */
.hero-xl4bh6 {
  width: 100%;
  max-width: 1200px;
  margin: 60px 0;
  padding: 0 20px;
  text-align: center;
}

.hero-title {
  font-size: 46px;
  line-height: 1.2;
  margin-bottom: 30px;
  color: var(--black);
  font-family: var(--font-family-lora);
}

.hero-image-container {
  position: relative;
  background-image: url('../img/home-group-15-backgroundmask.png');
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 40px;
}

.hero-content {
  max-width: 500px;
  text-align: left;
  background: rgba(0, 0, 0, 0.7);
  padding: 30px;
  border-radius: 8px;
}

.hero-subtitle {
  color: var(--white);
  font-family: var(--font-family-space_grotesk);
  font-style: normal;
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 30px;
}

/* Button Styles - Force red buttons */
.hero-button,
.cta-button,
.sales-button {
  background: #c00000 !important;
  background-color: #c00000 !important;
  color: #ffffff !important;
  padding: 15px 30px;
  border-radius: 6px;
  text-decoration: none !important;
  font-weight: 600;
  letter-spacing: 1px;
  display: inline-block;
  transition: transform 0.3s;
  border: none !important;
  box-shadow: none !important;
}

.hero-button:hover,
.cta-button:hover,
.sales-button:hover {
  transform: translateY(-2px);
  background: #c00000 !important;
  background-color: #c00000 !important;
  color: #ffffff !important;
}

.hero-button:visited,
.cta-button:visited,
.sales-button:visited {
  background: #c00000 !important;
  background-color: #c00000 !important;
  color: #ffffff !important;
}

.hero-button:active,
.cta-button:active,
.sales-button:active {
  background: #c00000 !important;
  background-color: #c00000 !important;
  color: #ffffff !important;
}

/* Section Styles */
.section {
  width: 100%;
  max-width: 1200px;
  margin: 80px 0;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  font-size: 40px;
  margin-bottom: 100px;
  color: var(--black);
  font-family: var(--font-family-lora);
}

.section-subtitle {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
  color: var(--black);
  font-family: var(--font-family-lora);
}

.section-content {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto 60px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
}

.section-image {
  text-align: center;
  margin: 40px 0;
}

.section-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin: 60px 0;
}

.feature-card {
  background: var(--romance);
  border: 2px solid var(--mountain-mist);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-icon {
  width: 60px;
  height: 4px;
  background: var(--quick-silver);
  margin: 0 auto 20px;
  border-radius: 2px;
}

.feature-title {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--guardsman-red);
  font-family: var(--font-family-lora);
}

.feature-description {
  color: var(--black);
  line-height: 1.5;
}

/* Testimonial Section */
.testimonial-section {
  background: var(--cararra);
  padding: 80px 20px;
  margin: 80px 0;
  width: min(1440px, 100vw);
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.testimonial-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.testimonial-slider-wrapper {
  position: relative;
}

.testimonial-slide {
  display: none;
  animation: fadeEffect 1.5s;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.testimonial-slide.active {
  display: block;
  opacity: 1;
}

@keyframes fadeEffect {
  from {opacity: 0.7}
  to {opacity: 1}
}

.testimonial-text {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-style: italic;
  font-weight: 300;
}

.testimonial-author {
  font-weight: 600;
  color: var(--black);
  margin-bottom: 20px;
}

.testimonial-logo {
  max-width: 200px;
  height: auto;
  margin: 20px auto 0;
  display: block;
}

.testimonial-dots {
  text-align: center;
  margin-top: 15px;
}

.dot {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.dot.active,
.dot:hover {
  background-color: #c00000;
}

/* Process Steps */
.process-container {
  margin: 80px 0;
}

.process-step {
  display: flex;
  align-items: center;
  margin-bottom: 80px;
  gap: 60px;
}

.process-step:nth-child(even) {
  flex-direction: row-reverse;
}

.process-number {
  font-size: 64px;
  color: var(--guardsman-red);
  font-family: var(--font-family-lora);
  font-weight: 400;
  min-width: 100px;
}

.process-content {
  flex: 1;
}

.process-title {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--black);
  font-family: var(--font-family-lora);
}

.process-description {
  color: var(--black);
  line-height: 1.6;
  font-size: 16px;
}

.process-image {
  flex: 1;
  background-size: cover;
  background-position: center;
  height: 300px;
  border-radius: 8px;
}

.process-image-1 {
  background-image: url('../img/home-01.png');
}

.process-image-2 {
  background-image: url('../img/home-02.png');
}

.process-image-3 {
  background-image: url('../img/home-03.png');
}

.process-image-4 {
  background-image: url('../img/home-04.png');
}

/* Benefits Grid */
.benefits-section {
  background: var(--cararra);
  padding: 80px 20px;
  margin: 80px 0;
  color: var(--black);
  width: min(1440px, 100vw);
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.benefits-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.benefit-icon {
  color: var(--guardsman-red);
  font-size: 20px;
  margin-top: 5px;
}

.benefit-content h4 {
  margin: 0 0 10px 0;
  font-size: 18px;
  font-weight: 600;
}

.benefit-content p {
  margin: 0;
  line-height: 1.5;
}

/* CTA Section */
.cta-section {
  background: var(--black);
  color: var(--white);
  padding: 80px 20px;
  text-align: center;
  margin: 0 0 0 0;
  width: min(1440px, 100vw);
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

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

.cta-title {
  font-size: 48px;
  margin-bottom: 20px;
  font-family: var(--font-family-lora);
}

.cta-subtitle {
  color: var(--white);
  font-family: var(--font-family-space_grotesk);
  font-size: var(--font-size-m);
  font-size: 16px;
  margin-bottom: 40px;
  line-height: 1.5;
}

.cta-button {
  background: #c00000 !important;
  background-color: #c00000 !important;
  color: #ffffff !important;
  padding: 18px 40px !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  font-size: 16px !important;
  display: inline-block !important;
  border: none !important;
}

/* Footer */
.footer-cpgUV9 {
  background-color: transparent;
  flex-shrink: 1;
  height: 300px;
  margin-left: 4.0px;
  margin-top: 0px;
  position: relative;
  width: 1442px;
}

.rectangle-EykfLx {
  background-color: transparent;
  height: 300px;
  left: 1px;
  position: absolute;
  top: 0px;
  width: 1440px;
}

.copyright-EykfLx {
  background-color: transparent;
  font-weight: 300;
  height: auto;
  left: 599px;
  letter-spacing: 0.00px;
  line-height: 23px;
  position: absolute;
  text-align: center;
  top: 250px;
  white-space: nowrap;
  width: auto;
}

.line-EykfLx {
  background-color: transparent;
  height: 47px;
  left: -0px;
  position: absolute;
  top: 202px;
  width: 1443px;
}

.links-EykfLx {
  background-color: transparent;
  font-weight: 400;
  height: auto;
  left: 297px;
  letter-spacing: 0.00px;
  line-height: 33px;
  position: absolute;
  text-align: left;
  top: 133px;
  white-space: nowrap;
  width: auto;
}

.socials-EykfLx {
  background-color: transparent;
  font-weight: 400;
  height: auto;
  left: 1174px;
  letter-spacing: 0.00px;
  line-height: 28px;
  position: absolute;
  text-align: center;
  top: 55px;
  width: 148px;
}

.logo-EykfLx {
  left: 101px;
  position: absolute;
  top: 50px;
  height: 51px;
  width: 218px;
}

/* Mobile Navigation */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10001;
  background: white;
  border: 2px solid var(--guardsman-red);
  border-radius: 4px;
  cursor: pointer;
  padding: 8px;
  width: 45px;
  height: 45px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.hamburger {
  display: block;
  position: relative;
  width: 25px;
  height: 3px;
  background-color: var(--guardsman-red);
  transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 25px;
  height: 3px;
  background-color: var(--guardsman-red);
  transition: all 0.3s ease;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

.mobile-nav-toggle.active .hamburger {
  background-color: transparent;
}

.mobile-nav-toggle.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.mobile-nav-toggle.active .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  background: white;
  z-index: 9999;
  transition: right 0.35s ease;
  overflow-y: auto;
  box-shadow: -2px 0 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9998;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-header {
  padding: 20px;
  border-bottom: 1px solid var(--iron);
  text-align: center;
}

.mobile-menu-logo {
  height: 40px;
  width: auto;
}

.mobile-menu-content {
  flex: 1;
  padding: 20px;
}

.mobile-menu-item {
  display: block;
  padding: 15px 0;
  color: var(--black);
  text-decoration: none;
  font-size: 16px;
  border-bottom: 1px solid var(--iron);
}

.mobile-submenu-toggle {
  display: block;
  padding: 15px 0;
  color: var(--black);
  font-family: var(--font-family-space_grotesk);
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid var(--iron);
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
}

.mobile-submenu-toggle::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 15px;
  font-size: 20px;
  transition: transform 0.3s ease;
}

.mobile-submenu-toggle.active::after {
  transform: rotate(45deg);
}

.mobile-submenu-toggle:hover {
  color: var(--guardsman-red);
}

.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: var(--romance);
  margin: 0 -20px;
  padding: 0 20px;
}

.mobile-submenu.active {
  max-height: 500px;
  padding: 10px 20px;
}

.mobile-submenu-item {
  display: block;
  padding: 10px 0;
  padding-left: 20px;
  color: var(--black);
  text-decoration: none;
  font-family: var(--font-family-space_grotesk);
  font-size: 14px;
  font-weight: 300;
  border-bottom: 1px solid var(--celeste);
  transition: color 0.3s ease;
}

.mobile-submenu-item:hover {
  color: var(--guardsman-red);
}

.mobile-menu-buttons {
  padding: 20px;
  border-top: 1px solid var(--iron);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-menu-button {
  display: block;
  padding: 12px 20px;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.mobile-menu-button.primary {
  background-color: var(--guardsman-red);
  color: var(--white);
}

.mobile-menu-button.secondary {
  background-color: var(--white);
  color: var(--guardsman-red);
  border: 2px solid var(--guardsman-red);
}

/* Utility Classes */
.hide-mobile {
  display: block;
}

.show-mobile {
  display: none;
}

.valign-text-middle {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* MOBILE RESPONSIVE STYLES */
@media screen and (max-width: 768px) {
  .hide-mobile {
      display: none !important;
  }
  
  .show-mobile {
      display: flex !important;
  }
  
  .mobile-nav-toggle {
      display: flex;
      margin-left: auto;
  }

  .nav-xl4bh6 {
      display: none;
  }

  .hero-title {
      font-size: 32px;
      line-height: 1.2;
  }

  .hero-image-container {
      padding: 30px 20px;
      text-align: center;
  }

  .hero-content {
      max-width: 100%;
      text-align: center;
  }

  .hero-subtitle {
      font-size: 18px;
  }

  .section-title {
      font-size: 32px;
  }

  .section-subtitle {
      font-size: 24px;
  }

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

  .process-step {
      flex-direction: column !important;
      text-align: center;
      gap: 30px;
      margin-bottom: 60px;
  }

  .process-number {
      font-size: 48px;
  }

  .process-title {
      font-size: 24px;
  }

  .process-image {
      width: 100%;
      height: 200px;
  }

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

  .cta-title {
      font-size: 32px;
  }

  .testimonial-section,
  .benefits-section,
  .cta-section {
      padding-left: 15px;
      padding-right: 15px;
  }

  /* Footer Mobile */
  .footer-cpgUV9 {
      width: 100%;
      height: auto;
      margin-left: 0;
      margin-top: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 40px 20px;
      background-color: var(--cararra);
  }

  .rectangle-EykfLx,
  .line-EykfLx {
      display: none;
  }

  .logo-EykfLx,
  .socials-EykfLx,
  .links-EykfLx,
  .copyright-EykfLx {
      position: static;
      width: 100%;
      height: auto;
      left: auto;
      top: auto;
      text-align: center;
      margin-bottom: 30px;
  }
  
  .logo-EykfLx {
      max-width: 180px;
  }
  
  .links-EykfLx {
      max-width: none;
      white-space: normal;
      line-height: 2;
      font-size: 0;
  }
  
  .links-EykfLx a {
      display: block;
      padding: 5px 0;
      font-size: 18px;
  }
  
  .copyright-EykfLx {
      margin-bottom: 0;
  }
}

@media screen and (max-width: 480px) {
  .hero-title {
      font-size: 28px;
  }

  .section-title {
      font-size: 28px;
  }

  .section-subtitle {
      font-size: 20px;
  }

  .cta-title {
      font-size: 28px;
  }

  .process-number {
      font-size: 36px;
  }
}