/*
 * modern-home.css
 * Modern styling for the redesigned homepage
 */

/* Base Styles and Variables */
:root {
  --primary-color: #4361ee;
  --primary-light: #4895ef;
  --primary-dark: #3a0ca3;
  --secondary-color: #f72585;
  --accent-color: #4cc9f0;
  --dark-bg: #0a0a29;
  --light-bg: #f8f9fa;
  --text-light: #ffffff;
  --text-dark: #2b2d42;
  --text-muted: #64748b;
  --card-bg: #ffffff;
  --card-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --transition-speed: 0.3s;
}

/* Animation Keyframes */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

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

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Additional animation for floating effect */
.floating {
  animation: floating 6s ease-in-out infinite;
}

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

/* #particles-js styles moved to hero-base.css */

/* Hero Section with Particles */
.hero-modern {
  position: relative;
  padding: 120px 0 80px;
  background-color: rgba(10, 10, 41, 0.95);
  background-size: cover;
  background-position: center;
  color: var(--text-light, #ffffff);
  overflow: hidden;
  min-height: 100vh;
}

/* .hero-modern::before styles moved to hero-base.css */

/* Empty .hero-modern.particles-active ruleset removed */

/* .hero-particles styles moved to hero-base.css */

/* Make sure container doesn't block mouse events */
.hero-modern .container {
  display: block; /* Ensure children stack vertically by default */
  /* Flex properties (flex-direction, align-items, gap) removed */
  /* Spacing will be handled by margins on children or padding on container if needed */
  /* position and z-index moved to hero-base.css */
}

.hero-main-row {
  margin-bottom: 2rem; /* Space below this row, replacing container's gap */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%; /* Take full width of the container */
  /* pointer-events moved to hero-base.css */
}

.hero-image {
  position: relative;
  z-index: 2;
  flex-shrink: 0; /* Prevent image container from shrinking */
  pointer-events: none; /* Children (like canvas if interactive) would need auto */
  /* Ensure the container itself doesn't cause overflow if image is large */
  display: flex; /* To help center the #logo-container if needed */
  justify-content: center;
  align-items: center;
}

/* Ensure text content doesn't interfere with particle interaction */
.hero-content {
  text-align: left; /* Default for larger screens */
  /* position, z-index, and pointer-events moved to hero-base.css */
  flex: 1;
  min-width: 300px;
  max-width: 650px;
}

/* pointer-events re-enabling moved to hero-base.css */

/* Allow interaction with hero image if needed */
.hero-image {
  position: relative;
  z-index: 2;
  pointer-events: none; /* Allow events to pass through to particles */
  flex: 1;
  min-width: 300px;
  max-width: 550px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Shape divider should not interfere */
.shape-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 2;
  pointer-events: none; /* Allow events to pass through to particles */
  transform: rotate(180deg);
}

/* Common Section Styles */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.section-header.left-aligned {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-dark);
  position: relative;
  display: inline-block;
}

.section-header .section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-header.left-aligned .section-title::after {
  left: 0;
  transform: none;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Modern Buttons */
.btn-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  min-width: 180px;
}

.btn-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  z-index: -1;
  transform: scale(0);
  transition: 0.5s;
  border-radius: 50px;
}

.btn-modern:hover::before {
  transform: scale(1);
}

.btn-modern.primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 6px 15px rgba(67, 97, 238, 0.3);
}

.btn-modern.primary:hover {
  box-shadow: 0 8px 25px rgba(67, 97, 238, 0.4);
  transform: translateY(-3px);
}

.btn-modern.secondary {
  background: var(--gradient-secondary);
  color: white;
  box-shadow: 0 6px 15px rgba(247, 37, 133, 0.3);
}

.btn-modern.secondary:hover {
  box-shadow: 0 8px 25px rgba(247, 37, 133, 0.4);
  transform: translateY(-3px);
}

.btn-modern.outline {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.btn-modern.outline:hover {
  background: white;
  color: var(--color-primary);
  border-color: white;
  transform: translateY(-3px);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-light, #ffffff);
  pointer-events: none;
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  color: var(--text-light, #ffffff);
  pointer-events: none;
}

.hero-description strong {
  color: var(--color-secondary);
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 3rem; /* Add space below the buttons */
}

.hero-shape {
  position: absolute;
  width: 450px;
  height: 450px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  opacity: 0.15;
  filter: blur(50px);
  animation: pulse 8s infinite ease-in-out;
}

.hero-image img {
  max-width: 100%;
  position: relative;
  z-index: 1;
  animation: float 6s infinite ease-in-out;
}

.shape-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 120px;
}

.shape-divider .shape-fill {
  fill: var(--light-bg);
}

/* Add styles for spans in hero section */
.hero-title span, .hero-description span {
  color: var(--secondary-color, #00E5A0);
  font-weight: 700;
  background-color: rgba(10, 10, 41, 0.85);
  padding: 0.2em 0.4em;
  border-radius: 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Features Section */
.features-section {
  padding: 6rem 0;
  background: var(--light-bg, var(--background-color-alt, #f8f9fa));
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--card-bg);
  color: var(--text-color);
  border-radius: var(--border-radius-md);
  padding: 2.5rem;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-primary, linear-gradient(135deg, var(--primary-color, #4361ee) 0%, var(--secondary-color, #f72585) 100%));
  transition: height 0.3s ease;
  z-index: -1;
}

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

.feature-card:hover::before {
  height: 8px;
}

.feature-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(var(--primary-color-rgb, 67, 97, 238), 0.1), rgba(var(--secondary-color-rgb, 247, 37, 133), 0.1));
  margin-bottom: 1.5rem;
}

.feature-icon i {
  font-size: 2rem;
  color: var(--primary-color);
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--heading-color);
}

.feature-card p {
  color: var(--text-muted, var(--color-text-light, #6c757d));
  line-height: 1.6;
}

/* For dark theme specifically */
html[data-theme="dark"] .feature-card {
  background: #1a1a2e;
  color: #e5e7eb;
}

html[data-theme="dark"] .feature-card h3 {
  color: #9b59b6;
}

html[data-theme="dark"] .feature-card p {
  color: #9ca3af;
}

/* Services Section */
.services-modern {
  padding: 7rem 0;
  position: relative;
  background: var(--background-color, white);
  overflow: hidden;
}

.services-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%234361ee' fill-opacity='0.03' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 20px 20px; /* Ensure pattern maintains aspect ratio */
  opacity: 0.5;
  z-index: 0;
}

.services-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-card {
  background: var(--card-bg, white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--card-shadow);
  padding: 2.5rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--border-radius-md);
  padding: 2px;
  background: var(--gradient-primary);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: none;
}

.service-card:hover::after {
  opacity: 1;
}

.service-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 20px;
  margin-bottom: 1.5rem;
}

.service-icon i {
  font-size: 2.5rem;
  color: white;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.service-link i {
  margin-left: 8px;
  font-size: 0.875rem;
  transition: transform 0.3s ease;
}

.service-link:hover {
  color: var(--primary-dark);
}

.service-link:hover i {
  transform: translateX(5px);
}

.services-action {
  text-align: center;
  margin-top: 2rem;
}

/* NEW Styles for Horizontal Process Steps */
.implementation-process-section {
  padding: 5rem 0;
  background-color: var(--color-bg-alt, #f8f9fa);
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.process-step-card {
  background-color: var(--color-bg, #ffffff);
  border-radius: var(--border-radius-md, 12px);
  padding: 2rem;
  box-shadow: var(--card-shadow, 0 10px 25px rgba(0, 0, 0, 0.08));
  border: 1px solid var(--color-border, #e9ecef);
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.process-step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.step-card-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(67, 97, 238, 0.3);
}

.step-card-content {
  margin-top: 1.5rem; /* Space below number */
}

.step-card-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-heading, #212529);
}

.step-card-content p {
  font-size: 0.95rem;
  color: var(--color-text-light, #6c757d);
  line-height: 1.6;
}

/* About Section */
.about-modern {
  padding: 7rem 0;
  background: white;
}

.about-wrapper {
  display: flex;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.about-image {
  flex: 1;
  min-width: 300px;
  max-width: 550px;
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--card-shadow);
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 10px 25px rgba(67, 97, 238, 0.3);
}

.experience-badge .years {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.experience-badge .text {
  font-size: 0.875rem;
  text-align: center;
  line-height: 1.2;
}

.about-content {
  flex: 1;
  min-width: 300px;
}

.about-description p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item {
  flex: 1;
  min-width: 120px;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Testimonials Section */
.testimonials-modern {
  padding: 7rem 0;
  background: var(--light-bg);
  position: relative;
}

.testimonial-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: white;
  border-radius: var(--border-radius-md);
  padding: 2.5rem;
  box-shadow: var(--card-shadow);
  position: relative;
}

.quote-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  color: var(--primary-color);
  opacity: 0.2;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 60px; /* Assuming this was the content of the original line 780 */
  height: 60px;
  border-radius: 50%;
  margin-right: 1rem;
  object-fit: cover;
}

.author-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--color-heading);
}

.author-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Homepage Hero Domain Actions */
.hero-domain-actions {
  width: 100%; /* Ensure it takes full width in the column flow */
  margin-top: 30px; /* Space above this section */
  padding-top: 20px;
  border-top: 1px solid var(--border-color-subtle);
  text-align: center; /* Center the title and button grid */
}

.domain-actions-title {
  font-size: 1.2rem; /* Adjusted size */
  color: var(--text-light);
  margin-bottom: 20px;
  font-weight: 500; /* Adjusted weight */
}

.domain-buttons-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px; /* Spacing between buttons */
}

/* Ensure all hero action buttons are clickable */
.hero-actions a.btn-modern,
.hero-domain-actions a.btn-modern {
  pointer-events: auto !important;
}

.domain-buttons-grid .btn-modern.outline {
  padding: 6px 12px; /* Smaller padding for more buttons */
  font-size: 0.85rem; /* Smaller font size */
  /* Inherits border, color, hover from .btn-modern.outline */
  /* Add specific styles if needed to differentiate from main CTAs */
  border-color: rgba(255, 255, 255, 0.5); /* Lighter border for secondary group */
  color: rgba(255, 255, 255, 0.8); /* Lighter text for secondary group */
}

.domain-buttons-grid .btn-modern.outline:hover {
  border-color: rgba(255, 255, 255, 0.9);
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive adjustments for the hero section's main content row */
@media (max-width: 991.98px) {
  .hero-main-row {
    flex-direction: column;
    justify-content: center; /* Center items when stacked */
    text-align: center; /* Center .hero-content and .hero-image blocks */
  }

  .hero-content {
    max-width: 100%; /* Allow content to take full width */
    margin-bottom: 2.5rem; /* Space between stacked content and image */
    text-align: center; /* Center the text within hero-content */
  }

  .hero-image {
    margin-left: 0; /* Reset any specific margins if previously set for side-by-side */
    /* The #logo-container within hero-image should center due to hero-image's flex properties */
  }
}

/* Add any additional specific styles for the modern homepage here */
/* Duplicated block removed */

/* CTA Section */
.cta-modern {
  padding: 5rem 0;
  background: var(--dark-bg);
  position: relative;
  overflow: hidden;
}

.cta-bg-shape {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: var(--primary-color);
  opacity: 0.1;
  border-radius: 50%;
  filter: blur(100px);
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1.5rem;
}

.cta-content p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

/* Contact Section */
.contact-modern {
  padding: 7rem 0;
  background: white;
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-top: 3rem;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(67, 97, 238, 0.1);
  border-radius: 50%;
  margin-right: 1.5rem;
  flex-shrink: 0;
  /* Ensure perfect circle */
  aspect-ratio: 1;
  min-width: 50px;
  min-height: 50px;
}

.contact-icon i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.contact-detail h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.contact-detail p {
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-form-wrapper {
  flex: 1;
  min-width: 300px;
}

.contact-form {
  background: white;
  border-radius: var(--border-radius-md);
  padding: 2.5rem;
  box-shadow: var(--card-shadow);
}

.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.form-group {
  flex: 1;
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

/* Google Form Styles */
.google-form-container {
  background: white;
  border-radius: var(--border-radius-md);
  padding: 0;
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.google-form-container iframe {
  width: 100%;
  height: 856px;
  border: none;
  border-radius: var(--border-radius-md);
}

/* Responsive adjustments for Google Form */
@media (max-width: 768px) {
  .google-form-container iframe {
    height: 720px;
  }
  
  .contact-wrapper {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .google-form-container {
    margin: 0 -1rem;
    border-radius: 0;
  }
  
  .google-form-container iframe {
    height: 600px;
    border-radius: 0;
  }
}

/* Responsive Design */
@media (max-width: 991px) {
  .hero-modern {
    padding: 100px 0 60px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-modern .container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-image {
    margin-top: 2rem;
  }
  
  .section-header.left-aligned {
    text-align: center;
  }
  
  .section-header.left-aligned .section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .process-timeline {
    padding: 0;
    max-width: none;
    margin: 2rem 0 0 30px;
  }

  .process-timeline::before {
    left: 0;
    transform: none;
  }
  
  .process-step {
    width: 100%;
    float: none !important;
    clear: both;
    left: 0 !important;
    padding-left: 80px;
    padding-right: 20px;
    text-align: left;
    margin-bottom: 2.5rem;
  }
  
  .step-number {
    left: 0;
    top: 0;
    transform: none;
    width: 60px;
    height: 60px;
  }
  
  .step-content {
    width: 100%;
    margin-top: 0;
    margin-left: 0;
  }
  
  .step-content::before {
    left: -8px !important;
    right: auto !important;
    top: 22px;
    border-left: none !important;
    border-top: none !important;
    border-right: 1px solid #eee !important;
    border-bottom: 1px solid #eee !important;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
  }
  
  .btn-modern {
    min-width: 160px;
    padding: 0.8rem 1.5rem;
  }
  
  .form-row {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .process-step {
    margin-bottom: 3rem;
  }
}

/* Footer styles */
footer {
  background-color: var(--dark-bg);
  color: rgba(255, 255, 255, 0.8);
  padding: 5rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

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

.footer-logo a {
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-section {
  flex: 1;
  min-width: 150px;
}

.footer-section h3 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section ul a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-section ul a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.footer-contact h3 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-contact h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
}

.footer-contact p {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: all 0.3s ease;
  text-decoration: none;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Service Card Link - Makes entire card clickable */
.service-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s ease;
}

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

.service-card-link:hover .service-card {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card-link:hover .service-card::after {
  opacity: 1;
}

.service-card-link:hover .service-link i {
  transform: translateX(5px);
}

/* Update service card to work with link wrapper */
.service-card {
  background: white;
  border-radius: var(--border-radius-md);
  box-shadow: var(--card-shadow);
  padding: 2.5rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: none; /* Remove hover transform as it's now on the parent link */
}

/* .hero-particles canvas styles moved to hero-base.css */

/* ==========================================================================
   Service Detail Section (Modern)
   ========================================================================== */

.service-detail-modern {
  padding: 6rem 0;
  background-color: var(--color-bg-alt, #f8f9fa);
  border-bottom: 1px solid var(--color-border, #e9ecef);
}

.service-detail-modern:last-of-type {
  border-bottom: none;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.service-main-content {
  background-color: var(--color-bg, #ffffff);
  padding: 3rem;
  border-radius: var(--border-radius-lg, 20px);
  box-shadow: var(--card-shadow, 0 10px 25px rgba(0, 0, 0, 0.08));
  border: 1px solid var(--color-border, #e9ecef);
}

.service-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border, #e9ecef);
}

.service-header-icon-wrapper {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--border-radius-md, 12px);
  color: white;
}

.service-header-icon-wrapper i {
  font-size: 2.5rem;
}

.service-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-heading, #2b2d42);
  margin: 0;
}

.service-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text, #495057);
}

.service-sidebar .key-benefits-card,
.service-sidebar .service-cta-card {
  background-color: var(--color-bg, #ffffff);
  padding: 2rem;
  border-radius: var(--border-radius-lg, 20px);
  box-shadow: var(--card-shadow, 0 10px 25px rgba(0, 0, 0, 0.08));
  border: 1px solid var(--color-border, #e9ecef);
  margin-bottom: 2rem;
}

.service-sidebar h3,
.service-sidebar h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-heading, #2b2d42);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border, #e9ecef);
}

.key-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.key-benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--color-text-light, #6c757d);
}

.benefit-icon {
  color: var(--color-success, #28a745);
  margin-top: 5px;
}

.service-cta-card p {
  color: var(--color-text-light, #6c757d);
  margin-bottom: 1.5rem;
}

.btn-consultation {
  width: 100%;
  text-align: center;
}

/* Responsive adjustments for service detail */
@media (max-width: 992px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .service-main-content {
    padding: 2rem;
  }
  .service-header {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .service-title {
    font-size: 2rem;
  }
}