/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-red: #f80a09;
  --color-black: #000000;
  --color-gray: #afaeae;
  --color-white: #ffffff;
}

body {
  font-family: "Arial", "Helvetica", sans-serif;
  line-height: 1.6;
  color: var(--color-black);
  background-color: #f9f9f9;
}

a {
  color: var(--color-red);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #c00807;
}

img {
  max-width: 100%;
  height: auto;
}

/* Adjust body padding for fixed header */
body {
  padding-top: 102px;
}

/* Top Bar */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999998;
  background: transparent;
}

.top-bar-container {
  max-width: 100%;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  position: relative;
}

.top-bar-left {
  background: var(--color-black);
  padding: 10px 40px;
  display: flex;
  align-items: center;
  gap: 30px;
  position: relative;
  clip-path: polygon(0 0, calc(100% - 50px) 0, 100% 100%, 0 100%);
}

.top-link {
  color: #fff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  text-transform: uppercase;
}

.top-link:hover {
  color: var(--color-red);
}

.top-bar-right {
  background: var(--color-black);
  padding: 10px 40px 10px 60px;
  display: flex;
  gap: 15px;
  align-items: center;
  margin-left: -50px;
}

.social-icon {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  font-size: 1.1rem;
}

.social-icon:hover {
  color: var(--color-red);
}

/* Header Navigation */
.main-header {
  position: fixed;
  top: 41px;
  left: 0;
  right: 0;
  background: linear-gradient(
    135deg,
    #c0c0c0 0%,
    #e8e8e8 25%,
    #ffffff 50%,
    #e8e8e8 75%,
    #c0c0c0 100%
  );
  z-index: 999997;
  padding: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: visible;
}

.header-container {
  max-width: 100%;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: stretch;
  position: relative;
  overflow: visible;
}

.header-logo {
  padding: 12px 40px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 3;
  overflow: visible;
}

.header-logo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 100%, 0 100%);
  z-index: -1;
}

.logo-img {
  height: 65px;
  width: auto;
}

.header-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 60px 12px 20px;
  margin-left: -40px;
  position: relative;
  z-index: 2;
  overflow: visible !important;
}

.header-nav::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, #d3d3d3 0%, #e8e8e8 50%, #f5f5f5 100%);
  clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 100%, 0 100%);
  z-index: -1;
}

.header-nav-menu {
  display: flex;
  list-style: none;
  gap: 35px;
  margin: 0;
  padding: 0;
}

.header-nav-menu > li {
  position: relative;
  display: flex;
  align-items: center;
}

.header-nav-link {
  color: var(--color-black);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
  text-transform: uppercase;
}

.header-nav-link:hover,
.header-nav-link.active {
  color: var(--color-red) !important;
}

.dropdown-arrow {
  font-size: 0.9rem;
}

.has-dropdown {
  position: static;
}

.has-dropdown .header-dropdown-menu {
  position: fixed;
  background: #fff !important;
  min-width: 220px !important;
  width: 220px !important;
  max-width: 220px !important;
  padding: 10px 0 !important;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
  list-style: none !important;
  z-index: 999999 !important;
  margin: 0 !important;
  white-space: nowrap;
  display: block !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

.header-dropdown-menu li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  display: block !important;
  overflow: visible !important;
}

.header-dropdown-menu a {
  display: block !important;
  padding: 10px 20px !important;
  color: var(--color-black) !important;
  text-decoration: none !important;
  transition: background 0.3s ease;
  font-size: 0.95rem !important;
  font-weight: 500;
  overflow: visible !important;
}

.header-dropdown-menu a:hover,
.header-dropdown-menu a.active {
  background: #f5f5f5 !important;
  color: var(--color-red) !important;
  overflow: visible !important;
}

/* More Dropdown - Responsive Navigation (controlled by JavaScript) */
.more-dropdown {
  display: none;
}

.desktop-only {
  display: flex;
}

.header-cta {
  padding: 10px 25px 10px 50px;
  display: flex;
  align-items: center;
  margin-left: -40px;
  position: relative;
  z-index: 1;
  overflow: visible;
}

.header-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-red);
  z-index: -1;
}

.header-cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.header-cta-label {
  color: #fff;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  line-height: 1.2;
}

.header-cta-phone {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-cta-phone::before {
  content: "☎";
  font-size: 1.2rem;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--color-black);
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-7px);
}

/* Navigation */
.navbar {
  background-color: var(--color-black);
  padding: 1.2rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Navigation transition */
header {
  transition: all 0.3s ease !important;
}

/* Scrolled Navigation Styles */
header.scrolled {
  background-color: #230c0c !important;
}

header.scrolled #logo {
  height: 2.5rem !important; /* 40px */
}

header.scrolled .text-primary-black,
header.scrolled a,
header.scrolled a span {
  color: white !important;
}

header.scrolled svg {
  stroke: white !important;
}

header.scrolled a:hover,
header.scrolled a:hover span {
  color: #f80a09 !important;
}

header.scrolled a:hover svg {
  stroke: #f80a09 !important;
}

header.scrolled .group-hover\:block,
header.scrolled ul[class*="group-hover"] {
  background-color: #230c0c !important;
  border-color: #230c0c !important;
}

header.scrolled .bg-white {
  background-color: #230c0c !important;
}

header.scrolled button span {
  background-color: white !important;
}

/* Navigation polygon transition */
header svg polygon {
  transition: fill 0.3s ease !important;
  fill: white !important;
}

header.scrolled svg polygon {
  fill: #230c0c !important;
}

/* Navigation clean styling */
header {
  position: relative;
  z-index: 50;
}

/* Add padding to body to compensate for fixed header */
body {
  padding-top: 0;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  color: var(--color-white);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.5rem;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  color: var(--color-white);
  padding: 0.75rem 1.25rem;
  display: block;
  transition: all 0.3s;
  font-weight: 500;
  font-size: 1rem;
}

.nav-menu a:hover {
  background-color: var(--color-red);
  border-radius: 4px;
}

/* Dropdown Menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--color-black);
  min-width: 220px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  list-style: none;
  padding: 0.5rem 0;
  border-top: 3px solid var(--color-black);
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  padding: 0.85rem 1.5rem;
  border-radius: 0;
}

.dropdown-menu a:hover {
  background-color: var(--color-red);
}

/* Mobile Navigation Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 28px;
  height: 3px;
  background-color: var(--color-white);
  margin: 4px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Main Content */
main {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: var(--color-white);
  box-shadow: none;
}

/* Override Tailwind and force fixed backgrounds with high specificity */
main section.relative,
section.relative {
  padding: 5rem 3rem !important;
  min-height: auto !important;
  position: relative !important;
  background-size: cover !important;
  background-position: center center !important;
  background-attachment: fixed !important;
  background-repeat: no-repeat !important;
}

/* Specific override for sections with background images */
section[style*="background-image"] {
  background-size: cover !important;
  background-position: center center !important;
  background-attachment: fixed !important;
  background-repeat: no-repeat !important;
  min-height: auto !important;
}

/* Override Tailwind bg-cover and bg-center classes */
.bg-cover {
  background-size: cover !important;
  background-attachment: fixed !important;
}

.bg-center {
  background-position: center center !important;
}

/* Section overlay for better text readability */
section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  z-index: 1;
}

section > * {
  position: relative;
  z-index: 2;
}

/* Ensure hero section doesn't cover dropdowns */
main section.relative {
  z-index: 1 !important;
}

main section.relative > * {
  z-index: 1 !important;
}

/* Hero text elements - ensure white color */
.hero-text,
.hero-badges p {
  color: #ffffff !important;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Fixed background sections - specific styling */
.bg-fixed-section {
  background-size: cover !important;
  background-position: center center !important;
  background-attachment: fixed !important;
  background-repeat: no-repeat !important;
  min-height: 100vh;
  position: relative;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-black);
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  margin: 1.5rem 0 1rem;
  color: var(--color-black);
  font-weight: 700;
  line-height: 1.3;
}

h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--color-black);
  font-weight: 600;
}

p {
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #000000;
}

ul {
  margin: 1rem 0 1rem 2rem;
}

li {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

/* Button Styles */
.btn {
  display: inline-block;
  background-color: var(--color-red);
  color: var(--color-white);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  transition: all 0.3s;
  border: 2px solid var(--color-red);
  cursor: pointer;
  font-size: 1.1rem;
  margin-top: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(248, 10, 9, 0.3);
}

.btn:hover {
  background-color: var(--color-white);
  color: var(--color-red);
  border-color: var(--color-red);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(248, 10, 9, 0.4);
}

/* Hero Sections */
.hero,
.about-hero,
.contact-hero,
.services-hero,
.service-detail {
  text-align: center;
  padding: 6rem 3rem;
  background: linear-gradient(
    135deg,
    var(--color-black) 0%,
    var(--color-red) 100%
  );
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.hero::before,
.about-hero::before,
.contact-hero::before,
.services-hero::before,
.service-detail::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 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,106.7C1248,96,1344,96,1392,96L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>')
    no-repeat bottom;
  background-size: cover;
  opacity: 0.3;
}

.hero > *,
.about-hero > *,
.contact-hero > *,
.services-hero > *,
.service-detail > * {
  position: relative;
  z-index: 1;
}

.hero h1,
.about-hero h1,
.contact-hero h1,
.services-hero h1,
.service-detail h1 {
  color: var(--color-white);
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero h2 {
  color: var(--color-white);
  font-size: 2.25rem;
  margin: 1rem 0;
  font-weight: 600;
}

.hero p,
.about-hero p,
.contact-hero p,
.services-hero p,
.service-detail p {
  font-size: 1.4rem;
  margin: 1.5rem 0;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.badge {
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  border: 2px solid var(--color-white);
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Stats Section */
.intro {
  background-color: #f9f9f9;
  padding: 6rem 3rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
  text-align: center;
}

.stat-item {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.stat-item:hover {
  transform: translateY(-10px);
}

.stat-item h3 {
  color: var(--color-red);
  font-size: 4rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.stat-item p {
  color: var(--color-gray);
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Process Section */
.process-section {
  background: linear-gradient(to bottom, #f9f9f9 0%, var(--color-white) 100%);
  padding: 6rem 3rem;
}

.process-section h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.process-section > h3:first-child {
  text-align: center;
  color: var(--color-red);
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  max-width: 1600px;
  margin: 4rem auto 0;
}

.step {
  background-color: var(--color-white);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border-left: 5px solid var(--color-red);
  transition: all 0.3s;
  position: relative;
}

.step:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.step-number {
  color: var(--color-red);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  opacity: 0.9;
}

.step h3 {
  color: var(--color-black);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.step p {
  color: #000000;
  line-height: 1.7;
  font-size: 1.05rem;
}

/* Services Grid */
.services-preview {
  padding: 6rem 3rem;
  background-color: var(--color-white);
}

.services-preview > h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.services-preview > h3:first-child {
  text-align: center;
  color: var(--color-red);
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.services-tabs {
  text-align: center;
  margin: 3rem 0;
}

.services-tabs h3 {
  color: var(--color-red);
  font-size: 1.8rem;
  font-weight: 600;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.service-card {
  background-color: var(--color-white);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.3s;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--color-red) 0%,
    var(--color-black) 100%
  );
  transform: scaleX(0);
  transition: transform 0.3s;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--color-red);
}

.service-card h2,
.service-card h3 {
  margin-top: 0;
  font-size: 1.6rem;
  color: var(--color-black);
  margin-bottom: 1rem;
}

.service-card p {
  color: #000000;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.service-card .btn {
  font-size: 0.95rem;
  padding: 0.75rem 2rem;
}

/* Service Content Section */
.service-content {
  background-color: var(--color-white);
  padding: 4rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
  min-height: auto;
  height: auto;
  flex: none;
  overflow: visible;
}

.service-content h2 {
  color: var(--color-black);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

.service-content h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--color-red);
  margin: 1rem auto;
}

.service-content ul {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.service-content li {
  background: #f9f9f9;
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--color-red);
  transition: all 0.3s ease;
  position: relative;
}

.service-content li:hover {
  background: #f0f0f0;
  transform: translateX(5px);
}

.service-content li::before {
  content: "✓";
  color: var(--color-red);
  font-weight: bold;
  font-size: 1.2rem;
  margin-right: 0.75rem;
}

.service-content p {
  color: #333;
  line-height: 1.7;
  margin: 1.5rem 0;
  font-size: 1.1rem;
  text-align: center;
}

.service-content .btn {
  display: block;
  text-align: center;
  margin: 3rem auto 0;
  max-width: 300px;
}

/* Why Choose Section */
.why-choose {
  background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
  padding: 6rem 3rem;
}

.why-choose h2 {
  text-align: center;
  margin-bottom: 4rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.feature {
  background-color: var(--color-white);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.feature:hover {
  transform: translateY(-8px);
  border-color: var(--color-red);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature h3 {
  color: var(--color-red);
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.feature p {
  color: #000000;
  line-height: 1.7;
}

/* Financing Section */
.financing-section {
  background: linear-gradient(
    135deg,
    var(--color-red) 0%,
    var(--color-black) 100%
  );
  color: var(--color-white);
  padding: 6rem 3rem;
  position: relative;
  overflow: hidden;
}

.financing-section::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 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,106.7C1248,96,1344,96,1392,96L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>')
    no-repeat bottom;
  background-size: cover;
}

.financing-section > * {
  position: relative;
  z-index: 1;
}

.financing-section h2 {
  color: var(--color-white);
  text-align: center;
  margin-bottom: 2rem;
}

.financing-content {
  max-width: 900px;
  margin: 0 auto;
}

.financing-content ul {
  list-style: none;
  margin: 3rem 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.financing-content ul li {
  padding: 1.5rem;
  padding-left: 3rem;
  position: relative;
  font-size: 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font-weight: 600;
}

.financing-content ul li:before {
  content: "✓";
  color: var(--color-white);
  font-weight: bold;
  font-size: 1.5rem;
  position: absolute;
  left: 1rem;
}

.financing-content p {
  font-size: 1.15rem;
  line-height: 1.9;
  margin: 2rem 0;
  text-align: center;
}

/* CTA Section */
.cta {
  text-align: center;
  padding: 6rem 3rem;
  background: linear-gradient(to bottom, #f9f9f9 0%, var(--color-white) 100%);
}

.cta h2 {
  color: var(--color-black);
  margin-bottom: 1rem;
}

.cta h3 {
  color: var(--color-red);
  margin-bottom: 2rem;
  font-size: 2rem;
}

.cta p {
  font-size: 1.15rem;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: #000000;
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.cta-feature {
  background-color: var(--color-white);
  padding: 2rem 3rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border: 3px solid var(--color-red);
  font-size: 1.1rem;
  transition: all 0.3s;
}

.cta-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.cta-feature strong {
  color: var(--color-red);
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

/* Contact Form */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin-top: 1.25rem;
  font-weight: 600;
  color: var(--color-black);
  font-size: 1.05rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 1rem;
  margin-top: 0.5rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
  font-family: "Arial", sans-serif;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(248, 10, 9, 0.1);
}

.contact-form button {
  margin-top: 2rem;
  align-self: flex-start;
}

/* Footer */
footer {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 4rem 3rem 2rem;
  margin-top: 0;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

.footer-section ul {
  list-style: none;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: var(--color-gray);
  transition: color 0.3s;
  font-size: 1.05rem;
}

.footer-section a:hover {
  color: var(--color-red);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--color-red);
  color: var(--color-gray);
}

/* Custom shapes and angles - Sharp diagonal edges with red accent */
.angle-cut-right {
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0% 100%);
  position: relative;
}

.angle-cut-right::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: linear-gradient(135deg, #f80a09 0%, #c00807 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%, 0% 100%);
  z-index: 1;
}

/* Angle cut without red accent */
.angle-cut-right-no-accent {
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0% 100%);
  position: relative;
}

/* Angle cut with white accent */
.angle-cut-right-white {
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0% 100%);
  position: relative;
}

.angle-cut-right-white::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%, 0% 100%);
  z-index: 1;
}

/* Angle cut right with steeper angle */
.angle-cut-right-steep {
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
  position: relative;
}

.angle-cut-right-steep::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: linear-gradient(135deg, #f80a09 0%, #c00807 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%, 0% 100%);
  z-index: 1;
}

.angle-cut-left {
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0% 100%);
  position: relative;
}

.angle-cut-left::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: linear-gradient(135deg, #f80a09 0%, #c00807 100%);
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 1;
}
.angle-box {
  position: relative;
}
.angle-box::before,
.angle-box::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 100%;
  background: inherit;
  top: 0;
}
.angle-box::before {
  left: -15px;
  transform: skewX(-10deg);
}
.angle-box::after {
  right: -15px;
  transform: skewX(-10deg);
}

/* Page Load Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Apply animations to elements */
.hero-heading {
  animation: fadeInLeft 1s ease-out 0.2s both;
}

.hero-subheading {
  animation: fadeInLeft 1s ease-out 0.4s both;
}

.hero-text {
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-badges {
  animation: fadeInUp 1s ease-out 0.8s both;
}

.hero-cta {
  animation: fadeInUp 1s ease-out 1s both;
}

.hero-form {
  animation: fadeInRight 1s ease-out 0.5s both;
}

.section-content {
  animation: fadeInUp 1s ease-out 0.3s both;
}

/* Enhanced Scroll reveal animations */
@keyframes scrollReveal {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes rotateIn {
  from {
    opacity: 0;
    transform: rotate(-10deg) scale(0.9);
  }
  to {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(60px) scale(0.95);
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stagger delays with enhanced timing */
.scroll-reveal.visible:nth-child(1) {
  transition-delay: 0.15s;
}
.scroll-reveal.visible:nth-child(2) {
  transition-delay: 0.25s;
}
.scroll-reveal.visible:nth-child(3) {
  transition-delay: 0.35s;
}
.scroll-reveal.visible:nth-child(4) {
  transition-delay: 0.45s;
}
.scroll-reveal.visible:nth-child(5) {
  transition-delay: 0.55s;
}
.scroll-reveal.visible:nth-child(6) {
  transition-delay: 0.65s;
}
.scroll-reveal.visible:nth-child(7) {
  transition-delay: 0.75s;
}
.scroll-reveal.visible:nth-child(8) {
  transition-delay: 0.85s;
}

/* Hover effects for scroll-reveal elements */
.scroll-reveal.visible:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

/* Section content scroll animations */
.section-content {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation: none !important;
}

.section-content.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Slide animations for stat items */
.slide-left {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-right {
  opacity: 0;
  transform: translateX(80px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale animation for CTA elements */
.scale-in {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Parallax effect for sections */
.parallax-section {
  transition: transform 0.5s ease-out;
}

/* Counter animation */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.counter {
  animation: countUp 0.6s ease-out;
}

/* Enhanced hover effects for service cards */
.service-card {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 25px 50px rgba(220, 38, 38, 0.2);
}

/* Badge animations */
.badge-stat {
  transition: all 0.3s ease;
}

.badge-stat:hover {
  transform: scale(1.1) rotate(5deg);
}

/* Payment Carousel Styles */
.payment-carousel-container {
  position: relative;
  z-index: 10;
}

.payment-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.payment-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  animation: fadeIn 0.6s ease-in-out;
}

.payment-slide.active {
  display: block;
  opacity: 1;
}

/* Adjust carousel content for narrower column */
.payment-slide .bg-white {
  padding: 1.5rem;
}

.payment-slide h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.payment-slide p {
  font-size: 0.95rem;
}

.payment-slide svg {
  width: 3rem;
  height: 3rem;
}

.payment-slide .text-4xl {
  font-size: 1.75rem;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.carousel-btn {
  background: var(--color-red);
  color: white;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(248, 10, 9, 0.3);
}

.carousel-btn:hover {
  background: #c00807;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(248, 10, 9, 0.4);
}

.carousel-btn:active {
  transform: scale(0.95);
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot:hover {
  background: #9ca3af;
  transform: scale(1.2);
}

.carousel-dot.active {
  background: var(--color-red);
  width: 32px;
  border-radius: 6px;
}

/* Carousel slide animations */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.payment-slide.slide-in-right {
  animation: slideInRight 0.6s ease-out;
}

.payment-slide.slide-in-left {
  animation: slideInLeft 0.6s ease-out;
}

/* Hero Red Polygon */
.hero-red-polygon {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 30%;
  height: 100px;
  z-index: 6;
  pointer-events: none;
}

.hero-red-polygon svg {
  width: 100%;
  height: 100%;
}

/* Responsive adjustments for the polygon */
@media (max-width: 768px) {
  .hero-red-polygon {
    width: 40%;
  }
  
  /* Hide More dropdown on mobile - mobile menu handles all navigation */
  .more-dropdown {
    display: none !important;
  }
  
  /* Show all desktop-only items on mobile menu */
  .desktop-only {
    display: flex !important;
  }
}

/* Full Viewport Sections for Desktop */
@media (min-width: 768px) {
  /* Prevent horizontal scroll */
  body {
    overflow-x: hidden;
  }

  /* Hero section - fit to viewport and flow naturally */
  main > section.relative.h-screen {
    height: auto !important;
    min-height: calc(100vh - 102px);
    margin-top: 0;
    padding-top: 0;
    overflow: visible;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* Hero content should fit and scale */
  main > section.relative.h-screen > .relative.z-10 {
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  /* Align tagline and CTA boxes to same baseline */
  main > section.relative.h-screen .hero-subheading {
    margin-bottom: 0 !important;
  }

  main > section.relative.h-screen .hero-badges {
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
  }

  main > section.relative.h-screen .hero-cta {
    margin-top: 0 !important;
  }

  /* Scale hero content for smaller desktop viewports */
  @media (max-height: 850px) {
    main > section.relative.h-screen {
      min-height: auto !important;
    }

    main > section.relative.h-screen .hero-heading img {
      max-width: 250px;
    }

    main > section.relative.h-screen .hero-subheading h1 {
      font-size: 2.5rem !important;
    }

    main > section.relative.h-screen .hero-cta h3 {
      font-size: 2rem !important;
    }

    main > section.relative.h-screen .hero-form {
      padding: 1.5rem !important;
    }

    main > section.relative.h-screen .hero-form h3 {
      font-size: 1.5rem !important;
      margin-bottom: 0.75rem !important;
    }

    main > section.relative.h-screen .grid {
      gap: 1.5rem;
    }

    main > section.relative.h-screen .space-y-6 {
      gap: 0.75rem;
    }

    main > section.relative.h-screen .space-y-8 {
      gap: 1rem;
    }

    main > section.relative.h-screen .mt-12 {
      margin-top: 1.5rem !important;
    }

    main > section.relative.h-screen .mt-16 {
      margin-top: 1rem !important;
    }

    main > section.relative.h-screen .w-24.h-24 {
      width: 80px !important;
      height: 80px !important;
    }

    main > section.relative.h-screen .py-16 {
      padding-top: 1rem !important;
      padding-bottom: 1rem !important;
    }
  }

  /* Further scaling for very short viewports */
  @media (max-height: 750px) {
    main > section.relative.h-screen .hero-heading img {
      max-width: 180px;
    }

    main > section.relative.h-screen .hero-subheading h1 {
      font-size: 1.75rem !important;
      padding: 0.5rem 0.75rem !important;
      margin-top: 0.5rem !important;
    }

    main > section.relative.h-screen .hero-cta h3 {
      font-size: 1.25rem !important;
      margin-bottom: 0.5rem !important;
    }

    main > section.relative.h-screen .hero-cta p {
      font-size: 0.7rem !important;
    }

    main > section.relative.h-screen .hero-badges {
      gap: 0.5rem;
      margin-top: 0.75rem !important;
    }

    main > section.relative.h-screen .hero-badges .w-20 {
      width: 55px !important;
      height: 55px !important;
    }

    main > section.relative.h-screen .hero-badges .w-10 {
      width: 1.5rem !important;
      height: 1.5rem !important;
    }

    main > section.relative.h-screen .hero-badges p {
      font-size: 0.6rem !important;
    }

    main > section.relative.h-screen .hero-form {
      padding: 0.75rem !important;
    }

    main > section.relative.h-screen .hero-form h3 {
      font-size: 1rem !important;
      margin-bottom: 0.5rem !important;
    }

    main > section.relative.h-screen .hero-form .space-y-5 {
      gap: 0.4rem;
    }

    main > section.relative.h-screen .hero-form input,
    main > section.relative.h-screen .hero-form select,
    main > section.relative.h-screen .hero-form textarea {
      padding: 0.4rem 0.6rem !important;
      font-size: 0.875rem !important;
    }

    main > section.relative.h-screen .hero-form textarea {
      min-height: 60px !important;
    }

    main > section.relative.h-screen .w-24.h-24 {
      width: 55px !important;
      height: 55px !important;
    }

    main > section.relative.h-screen .w-12 {
      width: 2.25rem !important;
      height: 2.25rem !important;
    }

    main > section.relative.h-screen .mt-12 {
      margin-top: 0.75rem !important;
    }

    main > section.relative.h-screen .mt-16 {
      margin-top: 0.5rem !important;
    }

    main > section.relative.h-screen > .relative.z-10 {
      padding-top: 0.25rem !important;
      padding-bottom: 0.25rem !important;
    }

    main > section.relative.h-screen .grid {
      gap: 1rem !important;
    }
  }

  /* Ultra compact scaling for extremely short viewports */
  @media (max-height: 650px) {
    main > section.relative.h-screen .hero-heading img {
      max-width: 150px;
    }

    main > section.relative.h-screen .hero-subheading h1 {
      font-size: 1.5rem !important;
      padding: 0.4rem 0.6rem !important;
      margin-top: 0.25rem !important;
    }

    main > section.relative.h-screen .hero-cta h3 {
      font-size: 1.1rem !important;
      margin-bottom: 0.25rem !important;
    }

    main > section.relative.h-screen .hero-cta p {
      font-size: 0.65rem !important;
      line-height: 1.3 !important;
    }

    main > section.relative.h-screen .hero-badges {
      gap: 0.4rem;
      margin-top: 0.5rem !important;
    }

    main > section.relative.h-screen .hero-badges .w-20 {
      width: 45px !important;
      height: 45px !important;
    }

    main > section.relative.h-screen .hero-badges .w-10 {
      width: 1.25rem !important;
      height: 1.25rem !important;
    }

    main > section.relative.h-screen .hero-badges p {
      font-size: 0.55rem !important;
    }

    main > section.relative.h-screen .hero-form {
      padding: 0.5rem !important;
    }

    main > section.relative.h-screen .hero-form h3 {
      font-size: 0.9rem !important;
      margin-bottom: 0.4rem !important;
    }

    main > section.relative.h-screen .hero-form .space-y-5 {
      gap: 0.3rem;
    }

    main > section.relative.h-screen .hero-form input,
    main > section.relative.h-screen .hero-form select,
    main > section.relative.h-screen .hero-form textarea {
      padding: 0.3rem 0.5rem !important;
      font-size: 0.8rem !important;
    }

    main > section.relative.h-screen .hero-form textarea {
      min-height: 50px !important;
    }

    main > section.relative.h-screen .hero-form button {
      padding: 0.5rem 1rem !important;
      font-size: 0.875rem !important;
    }

    main > section.relative.h-screen .w-24.h-24 {
      width: 45px !important;
      height: 45px !important;
    }

    main > section.relative.h-screen .w-12 {
      width: 2rem !important;
      height: 2rem !important;
    }

    main > section.relative.h-screen .mt-12 {
      margin-top: 0.5rem !important;
    }

    main > section.relative.h-screen .mt-16 {
      margin-top: 0.25rem !important;
    }

    main > section.relative.h-screen > .relative.z-10 {
      padding-top: 0.25rem !important;
      padding-bottom: 0.25rem !important;
    }

    main > section.relative.h-screen .grid {
      gap: 0.75rem !important;
    }

    main > section.relative.h-screen .space-y-6 {
      gap: 0.5rem !important;
    }

    main > section.relative.h-screen .space-y-8 {
      gap: 0.5rem !important;
    }
  }

  /* Make all major sections full viewport height and width */
  main > section {
    min-height: calc(100vh - 102px);
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  /* Hero section specific adjustments - account for fixed header */
  main > section:first-child {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  /* Ensure content containers fit properly */
  main > section > div {
    width: 100%;
    max-width: 100%;
  }

  /* Keep max-width for content but allow full viewport */
  main > section .max-w-7xl,
  main > section .max-w-4xl {
    width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  /* Ensure background images cover full section */
  main > section.bg-cover {
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
  }

  /* Allow sections to scroll smoothly */
  html {
    scroll-behavior: smooth;
  }

  /* Responsive adjustments for narrower desktop screens */
  @media (min-width: 768px) and (max-width: 1024px) {
    main > section.relative.h-screen .hero-heading img {
      max-width: 220px;
    }

    main > section.relative.h-screen .hero-subheading h1 {
      font-size: 2rem !important;
      padding: 1rem !important;
    }

    main > section.relative.h-screen .hero-cta h3 {
      font-size: 1.75rem !important;
    }

    main > section.relative.h-screen .hero-form {
      padding: 1.25rem !important;
    }

    main > section.relative.h-screen .hero-form h3 {
      font-size: 1.25rem !important;
    }

    main > section.relative.h-screen .grid {
      gap: 1.5rem;
    }

    main > section.relative.h-screen .hero-badges .w-20 {
      width: 70px;
      height: 70px;
    }

    main > section.relative.h-screen .w-24.h-24 {
      width: 70px !important;
      height: 70px !important;
    }
  }
}
