/* ===================================
   Main Stylesheet
   =================================== */

/* Import Variables */
@import url('variables.css');

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Open+Sans:wght@300;400;600;700&display=swap');

/* ===================================
   Global Styles
   =================================== */

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

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

h1 { font-size: var(--fs-5xl); }
h2 { font-size: var(--fs-4xl); }
h3 { font-size: var(--fs-3xl); }
h4 { font-size: var(--fs-2xl); }
h5 { font-size: var(--fs-xl); }
h6 { font-size: var(--fs-lg); }

p {
  margin-bottom: var(--spacing-sm);
}

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

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

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

/* ===================================
   Utility Classes
   =================================== */

.section {
  padding: var(--spacing-xl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: var(--spacing-sm);
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  border-radius: var(--radius-lg);
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================
   Navigation
   =================================== */

.navbar {
  background: var(--background-color) !important;
  box-shadow: var(--shadow-sm);
  padding: var(--spacing-sm) 0;
  transition: all var(--transition-normal);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
  color: var(--text-color) !important;
  font-weight: 500;
  padding: var(--spacing-xs) var(--spacing-sm) !important;
  margin: 0 0.25rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  background: var(--primary-color);
  color: var(--text-white) !important;
}

/* Dropdown Menu Styles */
.dropdown-menu {
  border: none;
  box-shadow: var(--shadow-xl);
  border-radius: var(--radius-lg);
  padding: var(--spacing-sm);
  margin-top: var(--spacing-xs);
  min-width: 250px;
  max-height: 400px;
  overflow-y: auto;
}

.dropdown-item {
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: var(--radius-md);
  color: var(--text-color);
  transition: all var(--transition-fast);
  font-size: var(--fs-sm);
}

.dropdown-item:hover {
  background: var(--primary-light);
  color: var(--primary-color);
  transform: translateX(5px);
}

.dropdown-item:active {
  background: var(--primary-color);
  color: var(--text-white);
}

.nav-item.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-toggle::after {
  margin-left: 0.5em;
  vertical-align: 0.1em;
}

.navbar.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

/* ===================================
   Hero Section
   =================================== */

.hero-section {
  background: var(--background-gradient);
  color: var(--text-white);
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-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;
  opacity: 1;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  font-size: var(--fs-5xl);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  animation: fadeInUp 0.8s ease;
}

.hero-section p {
  font-size: var(--fs-xl);
  margin-bottom: var(--spacing-lg);
  animation: fadeInUp 1s ease;
}

.hero-section .btn {
  animation: fadeInUp 1.2s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===================================
   Buttons
   =================================== */

.btn {
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
  border: none;
  cursor: pointer;
  display: inline-block;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--text-white);
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background: var(--text-white);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: var(--fs-lg);
}

/* ===================================
   Service Cards
   =================================== */

.service-card {
  background: var(--background-color);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  height: 100%;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--background-gradient);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-sm);
}

.service-card h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.service-card p {
  color: var(--text-light);
  margin-bottom: var(--spacing-sm);
}

/* ===================================
   About Section
   =================================== */

.about-section {
  background: var(--background-light);
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.highlight-item {
  display: flex;
  align-items: start;
  gap: var(--spacing-sm);
}

.highlight-item i {
  color: var(--primary-color);
  font-size: var(--fs-2xl);
  flex-shrink: 0;
}

/* ===================================
   Testimonials
   =================================== */

.testimonial-item {
  background: var(--background-color);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto var(--spacing-sm);
  object-fit: cover;
}

.testimonial-quote {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: var(--spacing-sm);
}

.testimonial-name {
  font-weight: 600;
  color: var(--primary-color);
}

/* ===================================
   Contact Section
   =================================== */

.contact-form {
  background: var(--background-light);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-control {
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(58, 124, 165, 0.25);
}

.alert {
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-sm);
}

.alert-success {
  background: rgba(143, 214, 148, 0.15);
  color: var(--success-color);
  border: 1px solid rgba(143, 214, 148, 0.3);
}

.alert-danger {
  background: rgba(230, 122, 115, 0.15);
  color: var(--error-color);
  border: 1px solid rgba(230, 122, 115, 0.3);
}

/* ===================================
   Footer
   =================================== */

.footer {
  background: var(--background-dark);
  color: var(--text-white);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer h5 {
  color: var(--text-white);
  margin-bottom: var(--spacing-md);
}

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

.footer a:hover {
  color: var(--text-white);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.social-links {
  display: flex;
  gap: var(--spacing-sm);
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: var(--spacing-md);
  margin-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* ===================================
   CTA Section
   =================================== */

.cta-section {
  background: var(--background-gradient);
  color: var(--text-white);
  padding: var(--spacing-xl) 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--text-white);
  margin-bottom: var(--spacing-md);
}

/* ===================================
   Mission/Vision/Values Cards
   =================================== */

.value-card {
  text-align: center;
  padding: var(--spacing-lg);
  background: var(--background-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
  height: 100%;
}

.value-card:hover {
  transform: translateY(-5px);
}

.value-card i {
  font-size: var(--fs-4xl);
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 768px) {
  h1 { font-size: var(--fs-4xl); }
  h2 { font-size: var(--fs-3xl); }
  h3 { font-size: var(--fs-2xl); }

  .hero-section {
    padding: 60px 0;
  }

  .section {
    padding: var(--spacing-md) 0;
  }

  .navbar-nav .nav-link {
    margin: 0.25rem 0;
  }

  .service-card {
    margin-bottom: var(--spacing-md);
  }
}

@media (max-width: 576px) {
  h1 { font-size: var(--fs-3xl); }
  h2 { font-size: var(--fs-2xl); }

  .btn {
    padding: 0.5rem 1.5rem;
  }
}

/* ===================================
   Loading Animation
   =================================== */

.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--text-white);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===================================
   Smooth Scroll
   =================================== */

html {
  scroll-behavior: smooth;
}

/* ===================================
   Service Detail Page
   =================================== */

.service-detail-hero {
  padding: var(--spacing-xl) 0;
  background: var(--background-light);
}

.service-detail-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-bottom: var(--spacing-lg);
}

.service-detail-content {
  padding: var(--spacing-md) 0;
}

.service-detail-content h2 {
  color: var(--primary-color);
  margin-top: var(--spacing-lg);
}

.breadcrumb {
  background: transparent;
  padding: var(--spacing-sm) 0;
}

.breadcrumb-item.active {
  color: var(--text-light);
}

/* ===================================
   Modern Design Enhancements
   =================================== */

/* Stats/Feature Boxes */
.stats-box {
  background: var(--background-gradient);
  color: var(--text-white);
  padding: var(--spacing-lg);
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-normal);
}

.stats-box:hover {
  transform: scale(1.05);
}

.stats-number {
  font-size: var(--fs-5xl);
  font-weight: 700;
  display: block;
  margin-bottom: var(--spacing-xs);
}

.stats-label {
  font-size: var(--fs-lg);
  opacity: 0.9;
}

/* Icon Boxes */
.icon-box {
  width: 70px;
  height: 70px;
  background: var(--primary-light);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  transition: all var(--transition-normal);
}

.icon-box i {
  font-size: var(--fs-3xl);
  color: var(--primary-color);
}

.service-card:hover .icon-box,
.value-card:hover .icon-box {
  background: var(--primary-color);
  transform: rotate(5deg);
}

.service-card:hover .icon-box i,
.value-card:hover .icon-box i {
  color: var(--text-white);
}

/* Badge Styles */
.badge-modern {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--primary-light);
  color: var(--primary-color);
  border-radius: var(--radius-lg);
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}

/* Team Cards */
.team-card {
  background: var(--background-color);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: 1px solid var(--border-color);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto var(--spacing-md);
  border: 4px solid var(--primary-light);
  transition: all var(--transition-normal);
}

.team-card:hover .team-avatar {
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.team-name {
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: var(--spacing-xs);
}

.team-role {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: var(--spacing-sm);
}

/* Process Steps */
.process-step {
  position: relative;
  padding: var(--spacing-lg);
  background: var(--background-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--border-color);
  transition: all var(--transition-normal);
}

.process-step:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: var(--background-gradient);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xl);
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

/* Timeline */
.timeline-item {
  position: relative;
  padding-left: 40px;
  padding-bottom: var(--spacing-lg);
  border-left: 2px solid var(--border-color);
}

.timeline-item:last-child {
  border-left: none;
}

.timeline-dot {
  position: absolute;
  left: -8px;
  top: 0;
  width: 16px;
  height: 16px;
  background: var(--primary-color);
  border-radius: 50%;
  border: 3px solid var(--background-color);
  box-shadow: 0 0 0 2px var(--primary-color);
}

/* Gradient Text */
.gradient-text {
  background: var(--background-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--text-white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 999;
  box-shadow: var(--shadow-lg);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-hover);
  transform: translateY(-5px);
}

/* Portfolio/Gallery Grid */
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.portfolio-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(37, 99, 235, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
  color: var(--text-white);
  padding: var(--spacing-md);
  text-align: center;
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

/* FAQ Accordion Enhancement */
.faq-item {
  background: var(--background-color);
  border-radius: var(--radius-lg);
  margin-bottom: var(--spacing-sm);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: var(--spacing-md);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--text-color);
  transition: all var(--transition-fast);
}

.faq-question:hover {
  background: var(--background-light);
  color: var(--primary-color);
}

.faq-answer {
  padding: 0 var(--spacing-md) var(--spacing-md);
  color: var(--text-light);
  line-height: 1.8;
}

/* Pricing Cards */
.pricing-card {
  background: var(--background-color);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  text-align: center;
  border: 2px solid var(--border-color);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.pricing-card.featured {
  border-color: var(--primary-color);
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.pricing-price {
  font-size: var(--fs-5xl);
  font-weight: 700;
  color: var(--primary-color);
  margin: var(--spacing-md) 0;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: var(--spacing-md) 0;
}

.pricing-features li {
  padding: var(--spacing-xs) 0;
  color: var(--text-light);
}

.pricing-features li i {
  color: var(--accent-color);
  margin-right: var(--spacing-xs);
}

/* ===================================
   Dark Mode Specific Adjustments
   =================================== */

@media (prefers-color-scheme: dark) {
  /* Dropdown Menu Dark Mode */
  .dropdown-menu {
    background-color: var(--background-light);
    border: 1px solid var(--border-color);
  }

  .dropdown-item {
    color: var(--text-color);
  }

  .dropdown-item:hover {
    background: var(--primary-light);
    color: var(--primary-color);
  }

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

  /* Form Controls Dark Mode */
  .form-control,
  .form-select,
  textarea.form-control {
    background-color: var(--background-light);
    color: var(--text-color);
    border-color: var(--border-color);
  }

  .form-control:focus,
  .form-select:focus,
  textarea.form-control:focus {
    background-color: var(--background-lighter);
    color: var(--text-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(96, 165, 250, 0.25);
  }

  .form-control::placeholder {
    color: var(--text-lighter);
  }

  /* Alert Dark Mode */
  .alert-success {
    background: rgba(126, 214, 168, 0.15);
    color: var(--success-color);
    border-color: rgba(126, 214, 168, 0.3);
  }

  .alert-danger {
    background: rgba(232, 133, 123, 0.15);
    color: var(--error-color);
    border-color: rgba(232, 133, 123, 0.3);
  }

  .alert-info {
    background: rgba(109, 190, 234, 0.15);
    color: var(--primary-color);
    border-color: rgba(109, 190, 234, 0.3);
  }

  .alert-warning {
    background: rgba(244, 162, 97, 0.15);
    color: var(--warning-color);
    border-color: rgba(244, 162, 97, 0.3);
  }

  /* Navbar Toggler Dark Mode */
  .navbar-toggler {
    border-color: var(--border-color);
  }

  .navbar-toggler-icon {
    filter: invert(1);
  }

  /* Breadcrumb Dark Mode */
  .breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-lighter);
  }

  /* Footer Dark Mode (already dark, keep it darker) */
  .footer {
    background: var(--background-dark);
  }

  /* Table Dark Mode (if used) */
  table {
    color: var(--text-color);
  }

  .table {
    --bs-table-bg: var(--background-color);
    --bs-table-color: var(--text-color);
    --bs-table-border-color: var(--border-color);
    --bs-table-striped-bg: var(--background-light);
    --bs-table-hover-bg: var(--background-lighter);
  }

  /* Modal Dark Mode (if used) */
  .modal-content {
    background-color: var(--background-color);
    border-color: var(--border-color);
  }

  .modal-header,
  .modal-footer {
    border-color: var(--border-color);
  }

  /* Hero Section Images - reduce brightness slightly */
  .hero-section img,
  .service-card img,
  .service-detail-image,
  .portfolio-item img {
    opacity: 0.9;
  }

  /* Ensure proper contrast for navbar links on dark bg */
  .navbar {
    background: var(--background-color) !important;
  }

  /* Timeline adjustments */
  .timeline-dot {
    border-color: var(--background-color);
  }

  /* Process steps */
  .process-step {
    background: var(--background-light);
  }

  /* Pricing cards */
  .pricing-card {
    background: var(--background-light);
  }

  .pricing-card.featured {
    background: var(--background-lighter);
  }

  /* FAQ items */
  .faq-item {
    background: var(--background-light);
  }

  .faq-question:hover {
    background: var(--background-lighter);
  }

  /* Team cards */
  .team-card {
    background: var(--background-light);
  }

  /* Stats boxes - keep gradient vibrant */
  .stats-box {
    background: var(--background-gradient);
  }

  /* Loading spinner */
  .loading {
    border-color: rgba(241, 245, 249, 0.3);
    border-top-color: var(--text-color);
  }

  /* Lead form section */
  .lead-form-section {
    background: linear-gradient(135deg, var(--background-lighter) 0%, var(--background-light) 100%) !important;
  }
}

/* ===================================
   Hero Slider Styles
   =================================== */

.hero-slider-section {
  position: relative;
  overflow: hidden;
}

.hero-slide {
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
  color: var(--text-white);
}

.min-vh-70 {
  min-height: 70vh;
}

.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-fade .carousel-item.active {
  opacity: 1;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 5px;
}

.carousel-control-prev,
.carousel-control-next {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: all var(--transition-normal);
}

.hero-slider-section:hover .carousel-control-prev,
.hero-slider-section:hover .carousel-control-next {
  opacity: 1;
}

.carousel-control-prev {
  left: 20px;
}

.carousel-control-next {
  right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Hero Stats Grid */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  transition: all var(--transition-normal);
}

.stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

/* Animation Classes */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slide-up {
  animation: slideUp 0.8s ease-out forwards;
  opacity: 0;
}

.animate-fade-in {
  animation: fadeInUp 1s ease-out forwards;
  opacity: 0;
}

/* ===================================
   Lead Capture Form Styles
   =================================== */

.lead-form-section {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--background-light) 100%);
  position: relative;
}

.lead-form-card {
  background: var(--background-color);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--border-color);
}

.form-header i {
  display: block;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: var(--spacing-md) 0;
}

.benefits-list li {
  padding: var(--spacing-xs) 0;
  font-size: var(--fs-lg);
  display: flex;
  align-items: start;
}

.benefits-list i {
  flex-shrink: 0;
  margin-top: 3px;
}

.trust-badge {
  text-align: center;
}

.trust-badge i {
  display: block;
  margin: 0 auto;
}

/* Form Enhancements */
.form-label {
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.form-control,
.form-select {
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: var(--fs-base);
  transition: all var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(58, 124, 165, 0.15);
  outline: none;
}

.form-check-input {
  width: 1.2rem;
  height: 1.2rem;
  border: 2px solid var(--border-color);
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.form-check-label {
  margin-left: 0.5rem;
  color: var(--text-light);
}

/* ===================================
   Responsive Enhancements
   =================================== */

@media (max-width: 992px) {
  .hero-slide {
    min-height: 60vh;
  }

  .min-vh-70 {
    min-height: 60vh;
  }

  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .stat-card {
    padding: 1rem;
  }

  .stat-card h2 {
    font-size: var(--fs-3xl);
  }
}

@media (max-width: 768px) {
  .hero-slide {
    min-height: 50vh;
    padding: var(--spacing-lg) 0;
  }

  .min-vh-70 {
    min-height: 50vh;
  }

  .hero-content h1 {
    font-size: var(--fs-3xl) !important;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 40px;
    height: 40px;
  }

  .carousel-control-prev {
    left: 10px;
  }

  .carousel-control-next {
    right: 10px;
  }

  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-list li {
    font-size: var(--fs-base);
  }

  .trust-badges .d-flex {
    justify-content: center;
  }

  .lead-form-card {
    padding: var(--spacing-md);
  }
}

@media (max-width: 576px) {
  .hero-slide {
    min-height: 70vh;
  }

  .hero-content h1 {
    font-size: var(--fs-2xl) !important;
  }

  .hero-content .lead {
    font-size: var(--fs-base);
  }

  .hero-stats-grid {
    grid-template-columns: 1fr;
  }
}
