:root {
    /* Default theme */
    --primary-color: #8c7a5b;
    --secondary-color: #f2d091;
    --accent-color: #9e2a2b;
    --text-color: #4a4a4a;
    --bg-color: #ffffff;
    --muted-bg: #e5dcc3;
  }
  
  /* Galaxy theme */
  .theme-galaxy {
    --primary-color: #1a237e;
    --secondary-color: #7986cb;
    --accent-color: #ff4081;
    --text-color: #ffffff;
    --bg-color: #000000;
    --muted-bg: #303f9f;
  }
  
  /* Forest theme */
  .theme-forest {
    --primary-color: #2e7d32;
    --secondary-color: #81c784;
    --accent-color: #ff6e40;
    --text-color: #212121;
    --bg-color: #f1f8e9;
    --muted-bg: #c8e6c9;
  }
  
  /* Ocean theme */
  .theme-ocean {
    --primary-color: #0277bd;
    --secondary-color: #4fc3f7;
    --accent-color: #ff8a65;
    --text-color: #ffffff;
    --bg-color: #e1f5fe;
    --muted-bg: #b3e5fc;
  }
  
  /* Sunset theme */
  .theme-sunset {
    --primary-color: #e64a19;
    --secondary-color: #ffab91;
    --accent-color: #ffd54f;
    --text-color: #212121;
    --bg-color: #fff3e0;
    --muted-bg: #ffe0b2;
  }
  /* Update the hero button styles */
.hero .btn-accent {
  background-color: #ffffff;
  color: var(--primary-color);
  border: 2px solid #ffffff;
  font-weight: 600;
  padding: 15px 30px;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.hero .btn-accent:hover {
  background-color: transparent;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.hero .btn-accent:active {
  transform: translateY(1px);
}
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: "Arial", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  /* Header Styles */
  .header {
    background-color: var(--bg-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
  }
  
  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .logo span {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
  }
  
  .nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
  }
  
  .nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  .nav a:hover {
    color: var(--accent-color);
  }
  /* Form Message Styling */
.form-message {
  margin-top: 15px;
  padding: 12px;
  font-size: 14px;
  text-align: center;
  border-radius: 5px;
  font-weight: bold;
  width: 100%;
  max-width: 500px; /* Prevents stretching */
  margin-left: auto;
  margin-right: auto;
  display: none;
}

.form-message.success {
  background-color: #28a745;
  color: white;
  border: 1px solid #218838;
}

.form-message.error {
  background-color: #dc3545;
  color: white;
  border: 1px solid #c82333;
}

  /* Loading Button Style */
#submitButton {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px; /* Ensures proper spacing */
  min-width: 150px; /* Prevents button resizing */
}

.loading-spinner {
  display: none;
  font-size: 16px;
}

  /* Button Styles */
  .btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
  }
  
  .btn:hover {
    transform: translateY(-2px);
  }
  
  .btn-primary {
    background-color: var(--accent-color);
    color: var(--bg-color);
  }
  
  .btn-primary:hover {
    background-color: #8c2425;
  }
  
  .btn-accent {
    background-color: var(--secondary-color);
    color: var(--primary-color);
  }
  
  .btn-accent:hover {
    background-color: #e9c27d;
  }
  
  .btn-lg {
    padding: 12px 24px;
    font-size: 1.1rem;
  }
  
  /* Hero Section */
  .hero {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: var(--bg-color);
    padding: 80px 0;
  }
  
  .hero .container {
    display: flex;
    align-items: center;
    gap: 40px;
  }
  
  .hero-content {
    flex: 1;
  }
  
  .hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
  }
  
  .hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
  }
  
  .hero-image {
    flex: 1;
  }
  
  .hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  /* Services Section */
  .services {
    padding: 80px 0;
    background-color: var(--bg-color);
  }
  
  .services h2,
  .benefits h2,
  .testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary-color);
  }
  
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }
  
  .service-card {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--muted-bg);
    transition: transform 0.3s ease;
  }
  
  .service-card:hover {
    transform: translateY(-10px);
  }
  
  .service-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
  }
  
  .service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
  
  /* Benefits Section */
  .benefits {
    padding: 80px 0;
    background-color: var(--muted-bg);
  }
  
  .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }
  
  .benefit-item {
    display: flex;
    align-items: flex-start;
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--muted-bg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  }
  
  .benefit-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-right: 20px;
    margin-top: 5px;
  }
  
  .benefit-content {
    flex: 1;
  }
  
  .benefit-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
  }
  
  .benefit-content p {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.5;
  }
  
  /* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background-color: var(--bg-color);
}

.testimonial-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

.testimonial-carousel {
  position: relative;
  overflow: hidden;
  height: 400px;
}

.testimonial-slide {
  position: absolute;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  visibility: hidden;
}

.testimonial-slide.active {
  opacity: 1;
  visibility: visible;
}

.testimonial-card {
  background-color: var(--bg-color);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--muted-bg);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.testimonial-logo {
  text-align: center;
  margin-bottom: 20px;
}

.company-logo {
  max-height: 80px;
  max-width: 80px; /* Ensures a circular boundary */
  width: auto;
  height: auto;
  border-radius: 50%;
  object-fit: contain; /* Ensures the whole logo fits inside the circle */
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.testimonial-card:hover .company-logo {
  filter: grayscale(0%);
}


.testimonial-content {
  position: relative;
}

.quote-icon {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 20px;
  opacity: 0.3;
}

.testimonial-card blockquote {
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-color);
  margin-bottom: 30px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}

.author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  color: var(--primary-color);
  margin: 0;
}

.author-title {
  font-size: 0.9rem;
  color: var(--text-color);
  opacity: 0.8;
  margin: 0;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.carousel-control {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-control:hover {
  background-color: var(--primary-color);
  color: var(--bg-color);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--muted-bg);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .testimonial-card {
    padding: 20px;
  }

  .testimonial-carousel {
    height: 500px;
  }

  .testimonial-card blockquote {
    font-size: 1rem;
  }
}


  
  /* Contact Section */
  .contact {
    padding: 80px 0;
    background-color: var(--muted-bg);
  }
  
  .contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary-color);
  }
  
  .contact-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
  }
  
  .contact-info,
  .contact-form {
    flex: 1;
  }
  
  .contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
  }
  
  .contact-info p {
    margin-bottom: 20px;
  }
  
  .contact-info ul {
    list-style: none;
  }
  
  .contact-info ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
  }
  
  .contact-info ul li i {
    margin-right: 10px;
    color: var(--secondary-color);
  }
  
  .contact-form {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--muted-bg);
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
  }
  
  .form-group input,
  .form-group textarea {
      width: 100%;
      padding: 10px;
      border: 1px solid var(--muted-bg);
      border-radius: 5px;
      font-size: 1rem;
      transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }
  
  .form-group input:focus,
  .form-group textarea:focus {
      border-color: var(--primary-color);
      box-shadow: 0 0 5px rgba(140, 122, 91, 0.3);
      outline: none;
  }
  /* Button Hover & Active Effects */
.btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.btn:active {
  transform: translateY(1px);
  opacity: 1;
}
  /* Footer Styles */
  .footer {
    background-color: var(--primary-color);
    color: var(--bg-color);
    padding: 60px 0 20px;
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
  }
  
  .footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
  }
  
  .footer-column ul {
    list-style: none;
  }
  
  .footer-column ul li {
    margin-bottom: 10px;
  }
  
  .footer-column a {
    color: var(--bg-color);
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer-column a:hover {
    color: var(--secondary-color);
  }
  
  .social-icons {
    display: flex;
    gap: 15px;
  }
  
  .social-icons a {
    color: var(--bg-color);
    font-size: 1.5rem;
    transition: color 0.3s ease;
  }
  
  .social-icons a:hover {
    color: var(--secondary-color);
  }
  
  .footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  /* Header Styles */
.header {
  background-color: var(--bg-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: var(--accent-color);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--text-color);
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px) {
  .header .container {
    padding: 15px 20px;
  }

  .menu-toggle {
    display: flex;
    z-index: 100;
  }

  .nav-container {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--bg-color);
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    align-items: center;
  }

  .nav-container.active {
    display: flex;
  }

  .nav ul {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
  }

  .header-actions {
    flex-direction: column;
    gap: 15px;
  }

  .language-selector {
    margin: 0;
  }
}


  /* Responsive Design */
  @media (max-width: 768px) {
    .header .container {
      flex-direction: column;
      height: auto;
      padding: 20px;
    }
  
    .nav ul {
      flex-direction: column;
      align-items: center;
      margin-top: 20px;
    }
  
    .hero .container {
      flex-direction: column;
    }
  
    .hero-image {
      order: -1;
    }
  
    .services-grid,
    .benefits-grid {
      grid-template-columns: 1fr;
    }
  
    .contact-content {
      flex-direction: column;
    }
  
    .contact-form {
      margin-top: 40px;
    }
  
    .benefit-item {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  
    .benefit-item i {
      margin-right: 0;
      margin-bottom: 15px;
    }
  }
  
  /* Language Selector Styles */
  .language-selector {
    margin-left: 20px;
  }
  
  #languageSelect {
    padding: 5px 10px;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    background-color: var(--bg-color);
    color: var(--primary-color);
    font-size: 14px;
    cursor: pointer;
  }
  
  #languageSelect:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(140, 122, 91, 0.3);
  }
  
  /* Theme Selector Styles */
  .theme-selector {
    margin-left: 20px;
  }
  
  #themeSelect {
    padding: 5px 10px;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    background-color: var(--bg-color);
    color: var(--primary-color);
    font-size: 14px;
    cursor: pointer;
  }
  
  #themeSelect:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.3);
  }
  
  /* RTL Support */
  html[dir="rtl"] {
    direction: rtl;
    text-align: right;
  }
  
  html[dir="rtl"] .nav ul {
    flex-direction: row-reverse;
  }
  
  html[dir="rtl"] .hero .container {
    flex-direction: row-reverse;
  }
  
  html[dir="rtl"] .benefit-item i {
    margin-right: 0;
    margin-left: 20px;
  }
  
  html[dir="rtl"] .contact-content {
    flex-direction: row-reverse;
  }
  
  html[dir="rtl"] .footer-grid {
    direction: rtl;
  }
  
  html[dir="rtl"] .language-selector {
    margin-left: 0;
    margin-right: 20px;
  }
  
  /* How It Works Section */
.how-it-works {
  padding: 100px 0;
  background-color: var(--bg-color);
  position: relative;
}

.how-it-works h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-color);
  margin-bottom: 60px;
  opacity: 0.8;
}

.process-timeline {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  padding: 40px 0;
}

/* Timeline line */
.process-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background-color: var(--primary-color);
  opacity: 0.2;
}

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

.process-step:last-child {
  margin-bottom: 0;
}

/* Alternate steps left and right */
.process-step:nth-child(odd) {
  flex-direction: row;
}

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

.step-icon {
  width: 80px;
  height: 80px;
  background-color: var(--bg-color);
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.step-icon i {
  font-size: 2rem;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.step-number {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  background-color: var(--accent-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
}

.step-content {
  flex: 1;
  padding: 0 40px;
  max-width: 400px;
}

.process-step:nth-child(odd) .step-content {
  text-align: left;
}

.process-step:nth-child(even) .step-content {
  text-align: right;
}

.step-content h3 {
  color: var(--primary-color);
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.step-content p {
  color: var(--text-color);
  line-height: 1.6;
}

/* Hover effects */
.process-step:hover .step-icon {
  background-color: var(--primary-color);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(46, 125, 50, 0.2);
}

.process-step:hover .step-icon i {
  color: var(--bg-color);
}

/* CTA Section */
.process-cta {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background-color: var(--muted-bg);
  border-radius: 10px;
}

.process-cta p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .process-timeline::before {
    left: 40px;
  }

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

  .step-content {
    padding-left: 20px;
    text-align: left !important;
  }

  .step-icon {
    width: 60px;
    height: 60px;
  }

  .step-icon i {
    font-size: 1.5rem;
  }

  .step-number {
    width: 25px;
    height: 25px;
    font-size: 0.8rem;
  }

  .step-content h3 {
    font-size: 1.2rem;
  }

  .step-content p {
    font-size: 0.95rem;
  }
}

