/* Resolute Roofing - Main Stylesheet */
/* Built with inspiration from industrial design patterns */

/* CSS Variables for easy theming */
:root {
  /* Brand Colors */
  --primary-color: #be2126;
  --secondary-color: #262626;
  --background-light: #f8f8f8;
  --background-dark: #1a1a1a;
  --text-light: #ffffff;
  --text-dark: #262626;
  --text-gray: #555555;
  --text-light-gray: #888888;
  --accent-hover: #a01e22;
  --card-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  --card-shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.15);
  
  /* Typography */
  --font-primary: 'Roboto', Arial, sans-serif;
  --font-heading: 'Oswald', sans-serif;
  
  /* Spacing */
  --section-padding: 5em;
  --section-padding-mobile: 3em;
  --container-width: 1280px;
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #262626;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(190, 33, 38, 0.3);
  border-top-color: #be2126;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Hide loading screen when page is loaded */
body.loaded .loading-screen {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body {
  font-family: var(--font-primary);
  color: var(--text-dark);
  background-color: var(--background-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  max-width: 100vw;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

h1 {
  font-size: 4rem;
  letter-spacing: 2px;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-gray);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

/* Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

/* Section Styling */
.section {
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
  max-width: 100vw;
}

.section-dark {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.8);
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: var(--text-light);
}

/* Section Primary - Red background */
.section-primary {
  background-color: var(--primary-color);
  color: white;
  padding: 4rem 0;
}

.section-primary h2,
.section-primary h3 {
  color: white;
}

.section-primary p {
  color: rgba(255, 255, 255, 0.9);
}

/* Light section background */
.section-light {
  background-color: #f8f8f8;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  max-width: 100vw;
  background-color: rgba(38, 38, 38, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  left: 0;
  right: 0;
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  height: 50px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  background-color: var(--primary-color);
  color: var(--text-light) !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 4px;
  transition: var(--transition);
}

.nav-cta:hover {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color) !important;
}

.nav-cta:hover::after {
  width: 0;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
  position: relative;
  z-index: 1001;
  padding: 0.5rem;
  margin-right: 0;
  flex-shrink: 0;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  margin-top: 0;
  overflow: hidden;
  max-width: 100vw;
}

@media (max-width: 768px) {
  .hero {
    background-attachment: scroll;
  }
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-subtitle {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

/* Hero Inner Pages */
.hero-inner {
  min-height: 60vh;
  background-image: url('../images/roofing-work-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-texture {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.03) 2px,
      rgba(255, 255, 255, 0.03) 4px
    );
  z-index: 2;
}

.hero-inner .hero-content {
  text-align: left;
  color: white;
  max-width: 800px;
}

.hero-inner .hero-title {
  color: white;
  font-size: 4rem;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

.hero-inner .hero-subtitle {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .hero-inner .hero-title {
    font-size: 2.5rem;
  }
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 30px;
  background-color: var(--primary-color);
  color: var(--text-light);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  border: 2px solid var(--primary-color);
  border-radius: 4px;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  background-color: transparent;
  color: var(--primary-color);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.btn-light {
  background-color: var(--text-light);
  color: var(--text-dark);
  border-color: var(--text-light);
}

.btn-light:hover {
  background-color: transparent;
  color: var(--text-light);
}

/* Grid System */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Cards */
.card {
  background-color: var(--text-light);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-dark {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.card-dark p {
  color: rgba(255, 255, 255, 0.8);
}

/* Service Cards */
.service-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--text-light);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* Footer */
.footer {
  background-color: var(--secondary-color);
  color: var(--text-light);
  margin-top: 4rem;
}

.footer-main {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: white;
  font-weight: 600;
}

.footer-column p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.footer-logo {
  max-width: 200px;
  height: auto;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition-fast);
}

.footer-social a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-contact li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
  color: var(--primary-color);
  width: 20px;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 1.5rem 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: white;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-primary { color: var(--primary-color); }
.text-light { color: var(--text-light); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* Responsive Design */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: var(--section-padding-mobile);
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.2rem;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--secondary-color);
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .hero {
    min-height: 80vh;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 0.9rem;
  }
  
  .container {
    padding: 0 0.75rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}

/* Additional Mobile Overflow Fixes */
@media (max-width: 768px) {
  /* Prevent horizontal scroll */
  html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  
  /* Fix any absolute positioned elements */
  .section, .container, .navbar, .footer {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
  
  /* Ensure images don't overflow */
  img {
    max-width: 100% !important;
    height: auto;
  }
  
  /* Fix grid layouts that might overflow */
  .grid, .grid-2, .grid-3, .grid-4 {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* Ensure footer logo is properly sized */
  .footer-logo {
    max-width: 120px !important;
    width: auto !important;
    height: auto !important;
  }
  
  /* Fix any elements with fixed widths */
  [style*="width"] {
    max-width: 100% !important;
  }
  
  /* Ensure mobile menu toggle is visible */
  .mobile-menu-toggle {
    position: relative !important;
    right: 0 !important;
    z-index: 1002 !important;
  }
  
  /* Fix navbar container */
  .navbar-inner {
    width: 100% !important;
    max-width: 100% !important;
    padding: 1rem !important;
  }
  
  /* Fix hero content */
  .hero-content {
    max-width: 100% !important;
    padding: 0 1rem !important;
  }
  
  /* Fix card layouts */
  .card, .service-card, .testimonial-card {
    max-width: 100% !important;
  }
}

/* Special Effects and Enhancements */

/* Gradient text effect for headings */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-color) 0%, #ff4444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Parallax effect for hero section */
.hero {
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  right: -10%;
  bottom: -10%;
  background: inherit;
  background-attachment: fixed;
  transform: scale(1.1);
  z-index: -1;
}

/* Service card hover effects */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.service-card:hover::before {
  left: 100%;
}

/* Button ripple effect */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:active::after {
  width: 300px;
  height: 300px;
}

/* Text reveal animation */
.reveal-text {
  position: relative;
  overflow: hidden;
}

.reveal-text::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--background-dark);
  transform: translateX(-100%);
  animation: revealText 1.5s ease-out forwards;
}

@keyframes revealText {
  0% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Floating animation for icons */
.float-animation {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Pulse animation for CTAs */
.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(190, 33, 38, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(190, 33, 38, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(190, 33, 38, 0);
  }
}

/* Enhanced card styles */
.card {
  background-color: var(--text-light);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
}

/* Loading animation */
.loader {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Enhanced form styles */
.form-control {
  background-color: transparent;
  border: none;
  border-bottom: 2px solid #ddd;
  border-radius: 0;
  padding: 12px 0;
  transition: var(--transition);
}

.form-control:focus {
  border-bottom-color: var(--primary-color);
  background-color: rgba(190, 33, 38, 0.05);
}

/* Badge styles */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--primary-color);
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Improved navbar */
.navbar {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-color: rgba(26, 26, 26, 0.75);
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1000;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loading-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(190, 33, 38, 0.3);
  border-top: 3px solid #be2126;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Remove image hover effect for logos */
.no-hover img {
  transition: none !important;
}

.no-hover:hover img {
  transform: none !important;
}

/* Section dividers */
.section-divider {
  position: relative;
  margin: 2rem 0;
  text-align: center;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

/* Trust indicators improvements */
.trust-item {
  text-align: center;
  padding: 2rem 1rem;
  transition: var(--transition);
}

.trust-item:hover {
  transform: translateY(-5px);
}

.trust-item i {
  transition: var(--transition);
}

.trust-item:hover i {
  transform: scale(1.1);
  color: var(--accent-hover) !important;
}

/* Testimonial card improvements */
.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--card-shadow);
  position: relative;
  margin-top: 2rem;
  color: var(--text-dark);
}

.testimonial-card p {
  color: var(--text-dark);
  line-height: 1.6;
}

.testimonial-card .text-primary {
  color: var(--primary-color) !important;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary-color);
  font-family: Georgia, serif;
  line-height: 1;
}

/* Image hover effects */
.image-hover {
  position: relative;
  overflow: hidden;
}

.image-hover img {
  transition: transform 0.5s ease;
}

.image-hover:hover img {
  transform: scale(1.05);
}

.image-hover::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.7));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-hover:hover::after {
  opacity: 1;
}

/* Improved mobile menu */
@media (max-width: 768px) {
  .nav-menu.active {
    animation: slideDown 0.3s ease;
  }
  
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* Contact Page Styles */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.contact-info-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: var(--transition-fast);
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-hover));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
}

.contact-info-card h3 {
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.contact-primary {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

/* Contact Form Styles */
.contact-form-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-form-content {
  background: rgba(255, 255, 255, 0.05);
  padding: 3rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form-content h2 {
  color: white;
  margin-bottom: 1rem;
}

.contact-form-content p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.contact-form label {
  color: white;
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-color);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.contact-form select option {
  background: var(--secondary-color);
  color: white;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
}

/* Contact Form Sidebar */
.contact-form-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-card h3 {
  color: white;
  margin-bottom: 1rem;
}

.sidebar-card p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}

.benefits-list {
  list-style: none;
  padding: 0;
}

.benefits-list li {
  color: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.benefits-list i {
  color: #4caf50;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
  text-align: center;
}

.btn-secondary {
  background-color: white;
  color: var(--primary-color);
  padding: 15px 30px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-fast);
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.sidebar-card.testimonial-card {
  background: var(--primary-color);
  color: white;
}

.sidebar-card.testimonial-card .stars {
  color: #ffc107;
  margin-bottom: 1rem;
}

.sidebar-card.testimonial-card p {
  font-style: italic;
  margin-bottom: 0.5rem;
  color: white;
}

.sidebar-card.testimonial-card cite {
  font-size: 0.9rem;
  opacity: 0.8;
  color: rgba(255, 255, 255, 0.9);
}

/* Service Areas */
.service-areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-area {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--card-shadow);
}

.service-area h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-area ul {
  list-style: none;
  padding: 0;
}

.service-area li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.service-area li:last-child {
  border-bottom: none;
}

/* Financing Page Styles */
.finance-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3rem;
}

.finance-intro-content h3 {
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.finance-intro-content {
  color: var(--text-dark);
}

.finance-intro-content ul {
  color: var(--text-dark);
}

.finance-intro-content li {
  color: var(--text-dark);
}

.finance-intro-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--card-shadow);
}

.financing-partners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.partner-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2.5rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  transition: var(--transition-fast);
}

.partner-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}

.partner-logo {
  height: 80px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo img {
  max-height: 100%;
  max-width: 200px;
  height: auto;
}

.partner-card h3 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.partner-card p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}

.partner-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
  text-align: left;
}

.partner-card li {
  color: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.partner-card li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4caf50;
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.process-step {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 8px;
  box-shadow: var(--card-shadow);
  position: relative;
  transition: var(--transition-fast);
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.process-step h3 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.process-step p {
  color: var(--text-gray);
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  background: white;
  margin-bottom: 1rem;
  border-radius: 8px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  margin: 0;
  background: white;
  color: var(--secondary-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-fast);
  font-size: 1.1rem;
}

.faq-question:hover {
  background: #f8f8f8;
}

.faq-question:after {
  content: "+";
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: var(--transition-fast);
}

.faq-item.active .faq-question:after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
  color: var(--text-gray);
  line-height: 1.6;
}

/* Button Variations */
.btn-large {
  padding: 18px 40px;
  font-size: 1.1rem;
}

.btn-white {
  background-color: white;
  color: var(--primary-color);
  padding: 15px 30px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-fast);
  text-decoration: none;
  display: inline-block;
}

.btn-white:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: white;
  padding: 15px 30px;
  border: 2px solid white;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-fast);
  text-decoration: none;
  display: inline-block;
}

.btn-outline:hover {
  background-color: white;
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Button variations for different backgrounds */
.section-primary .btn-white {
  background-color: white;
  color: var(--primary-color);
}

.section-primary .btn-white:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.section-primary .btn-outline {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.section-primary .btn-outline:hover {
  background-color: white;
  color: var(--primary-color);
}

/* Google Reviews Styles */
.google-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
  padding: 1rem 2rem;
  background: white;
  border-radius: 50px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.rating-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rating-info .rating-number {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

.rating-info .stars {
  color: #fbbc04;
}

.rating-info .review-count {
  color: var(--text-gray);
  font-size: 1rem;
}

/* Primary button variations */
.btn-primary {
  background-color: var(--primary-color);
  color: white;
  padding: 15px 30px;
  border: 2px solid var(--primary-color);
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-fast);
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--primary-color);
  transform: translateY(-2px);
}

.btn-outline-primary {
  background-color: transparent;
  color: var(--primary-color);
  padding: 15px 30px;
  border: 2px solid var(--primary-color);
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-fast);
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

/* CTA Box */
.cta-box {
  max-width: 800px;
  margin: 0 auto;
}

.cta-box h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-box p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* Form Validation Styles */
.error-message {
  color: #ff5252;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: block;
}

input.error,
select.error,
textarea.error {
  border-color: #ff5252 !important;
}

.alert {
  padding: 1rem;
  border-radius: 4px;
  margin: 1rem 0;
}

.alert-success {
  background-color: #4caf50;
  color: white;
}

/* Responsive Adjustments */
@media (max-width: 968px) {
  .contact-form-wrapper {
    grid-template-columns: 1fr;
  }
  
  .finance-intro {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
  }
  
  .financing-partners {
    grid-template-columns: 1fr;
  }
  
  .service-areas-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form-content {
    padding: 2rem;
  }
  
  .sidebar-card {
    padding: 1.5rem;
  }
  
  .footer-logo {
    max-width: 150px;
  }
}

@media (max-width: 480px) {
  .footer-logo {
    max-width: 120px;
  }
}