/* --- Custom Properties (Variables) --- */
:root {
    --primary-color: #007bff; /* A nice blue */
    --secondary-color: #6c757d; /* Muted gray */
    --accent-color: #28a745; /* Green for success/highlights */
    --text-color: #333;
    --light-text-color: #fff;
    --bg-color: #f8f9fa; /* Light background */
    --dark-bg-color: #2c3e50; /* Darker blue-gray */
    --light-gray: #f2f2f7;
    --dark-gray: #212529;
  
    --font-family: 'Inter', sans-serif;
    --border-radius: 8px;
    --transition-speed: 0.3s;
  }
  
  /* --- Base Styles --- */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  section {
    padding: 80px 0;
    text-align: center;
  }
  
  section.bg-light-gray {
    background-color: var(--light-gray);
  }
  
  section.bg-dark-gray {
    background-color: var(--dark-gray);
  }
  
  h1,
  h2,
  h3 {
    color: var(--dark-bg-color);
    margin-bottom: 20px;
  }
  
  h1 {
    font-size: 3em;
    font-weight: 700;
    line-height: 1.2;
  }
  
  h2 {
    font-size: 2.5em;
    font-weight: 600;
    margin-bottom: 40px;
  }
  
  h3 {
    font-size: 1.8em;
    font-weight: 600;
  }
  
  p {
    font-size: 1.1em;
    margin-bottom: 20px;
  }
  
  .section-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 60px;
    color: var(--secondary-color);
  }
  
  .section-cta {
    font-size: 1.3em;
    font-weight: 500;
    color: var(--primary-color);
    margin-top: 60px;
  }
  
  a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color var(--transition-speed) ease;
  }
  
  a:hover {
    color: var(--dark-bg-color);
  }
  
  ul {
    list-style: none;
  }
  
  /* --- Buttons --- */
  .btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: 1em;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    text-align: center;
    white-space: nowrap;
  }
  
  .btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    border: 2px solid var(--primary-color);
  }
  
  .btn-primary:hover {
    background-color: #0056b3; /* Darker blue */
    border-color: #0056b3;
    color: var(--light-text-color);
  }
  
  .btn-primary-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
  }
  
  .btn-primary-outline:hover {
    background-color: var(--primary-color);
    color: var(--light-text-color);
  }
  
  .btn-secondary-outline {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
  }
  
  .btn-secondary-outline:hover {
    background-color: var(--secondary-color);
    color: var(--light-text-color);
  }
  
  .btn-primary-large {
    padding: 15px 30px;
    font-size: 1.1em;
    background-color: var(--primary-color);
    color: var(--light-text-color);
    border: none;
    width: auto;
  }
  
  .btn-primary-large:hover {
    background-color: #0056b3;
  }
  
  /* --- Header/Navigation --- */
  .header {
    background-color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
  }
  
  .nav-menu ul {
    display: flex;
    gap: 30px;
    align-items: center;
  }
  
  .nav-menu ul li a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 1.05em;
  }
  
  .nav-menu ul li a:hover {
    color: var(--primary-color);
  }
  
  .nav-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
  }
  
  .nav-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: all var(--transition-speed) ease;
  }
  
  /* --- Hero Section --- */
  .hero-section {
    background: linear-gradient(
      to bottom right,
      rgba(255, 255, 255, 1) 0%,
      rgba(240, 248, 255, 1) 100%
    );
    padding: 100px 0;
    overflow: hidden; /* To handle image overflow */
  }
  
  .hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    text-align: left;
  }
  
  .hero-text {
    flex: 1;
  }
  
  .hero-text h1 {
    font-size: 3.5em;
    margin-bottom: 25px;
  }
  
  .hero-text p {
    font-size: 1.3em;
    color: var(--secondary-color);
    margin-bottom: 40px;
    max-width: 600px;
  }
  
  .hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }
  
  /* --- Problem Section --- */
  .problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
  }
  
  .problem-item {
    background-color: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  }
  
  .problem-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  }
  
  .problem-item i {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
  }
  
  .problem-item h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
  }
  
  .problem-item p {
    font-size: 1em;
    color: var(--secondary-color);
    margin-bottom: 0;
  }
  
  /* --- Features Section --- */
  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
  }
  
  .feature-item {
    background-color: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  }
  
  .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--light-text-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  
  .feature-item h3 {
    font-size: 1.6em;
    margin-bottom: 10px;
  }
  
  .feature-item p {
    font-size: 1em;
    color: var(--secondary-color);
    margin-bottom: 0;
  }
  
  /* --- How It Works Section --- */
  .how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
  }
  
  .step-item {
    background-color: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: left;
    position: relative;
    overflow: hidden;
  }
  
  .step-number {
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 3em;
    font-weight: 700;
    color: rgba(0, 123, 255, 0.1); /* Lighter primary color */
    z-index: 1;
  }
  
  .step-item h3 {
    position: relative;
    z-index: 2;
    margin-bottom: 15px;
    font-size: 1.7em;
    text-align: center;
  }
  
  .step-item p {
    position: relative;
    z-index: 2;
    font-size: 1em;
    color: var(--secondary-color);
    margin-bottom: 0;
    text-align: center;
  }
  
  /* --- Why Choose Us Section --- */
  .why-choose-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
  }
  
  .why-item {
    background-color: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  }
  
  .why-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  }
  
  .why-item i {
    font-size: 2.2em;
    color: var(--primary-color);
    margin-bottom: 15px;
  }
  
  .why-item h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
  }
  
  .why-item p {
    font-size: 1em;
    color: var(--secondary-color);
    margin-bottom: 0;
  }
  
  /* --- Testimonials Section --- */
  .testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
  }
  
  .testimonial-item {
    background-color: #fff;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
  }
  
  .quote-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 2.5em;
    color: var(--primary-color);
    opacity: 0.1;
  }
  
  .testimonial-item p {
    font-style: italic;
    font-size: 1.1em;
    margin-top: 20px;
    margin-bottom: 25px;
    line-height: 1.8;
    color: var(--dark-bg-color);
  }
  
  .testimonial-author h4 {
    font-weight: 600;
    margin-bottom: 5px;
  }
  
  .testimonial-author p {
    font-size: 0.9em;
    color: var(--secondary-color);
    margin-bottom: 0;
  }
  
  /* --- Call to Action / Contact Section --- */
  .cta-contact-section {
    background-color: var(--primary-color);
    color: var(--light-text-color);
  }
  
  .cta-contact-section h2,
  .cta-contact-section .section-description {
    color: var(--light-text-color);
  }
  
  .contact-form {
    background-color: #fff;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    margin: 60px auto 0;
    text-align: left;
  }
  
  .contact-form .form-group {
    margin-bottom: 20px;
  }
  
  .contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
  }
  
  .contact-form input[type='text'],
  .contact-form input[type='email'],
  .contact-form input[type='tel'],
  .contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-family);
    font-size: 1em;
    color: var(--text-color);
  }
  
  .contact-form input:focus,
  .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
  }
  
  .contact-form textarea {
    resize: vertical;
  }
  
  .contact-form button[type='submit'] {
    width: 100%;
  }
  
  /* --- Footer --- */
  .footer {
    padding: 60px 0 20px;
    color: rgb(0, 0, 0);
    font-size: 0.9em;
    text-align: center;
  }
  
  .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: left;
    margin-bottom: 40px;
  }
  
  .footer-col h3 {
    color: black;
    margin-bottom: 20px;
  }
  
  .footer-col p {
    margin-bottom: 10px;
    font-size: 0.95em;
  }
  
  .footer-col ul {
    padding: 0;
  }
  
  .footer-col ul li {
    margin-bottom: 10px;
  }
  
  .footer-col ul li a {
    color: black;
    transition: color var(--transition-speed) ease;
  }
  
  .footer-col ul li a:hover {
    color: blue;
  }
  
  .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .footer-links a {
    margin-left: 20px;
    color: black;
  }
  
  .footer-links a:hover {
    color: blue;
  }
  
  /* --- Responsive Design --- */
  @media (max-width: 992px) {
    h1 {
      font-size: 2.5em;
    }
    h2 {
      font-size: 2em;
    }
    .hero-content {
      flex-direction: column;
      text-align: center;
    }
    .hero-image {
      order: -1; /* Image above text on mobile */
      margin-bottom: 40px;
    }
    .hero-actions {
      justify-content: center;
    }
    .problem-grid,
    .features-grid,
    .how-it-works-grid,
    .why-choose-us-grid,
    .testimonial-grid {
      grid-template-columns: 1fr;
    }
    .testimonial-item {
      padding: 30px 20px;
    }
  }
  
  @media (max-width: 768px) {
    .nav-menu {
      display: none; /* Hide navigation on small screens by default */
      flex-direction: column;
      position: absolute;
      top: 70px; /* Adjust based on header height */
      left: 0;
      width: 100%;
      background-color: #fff;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
      padding: 20px 0;
      border-radius: var(--border-radius);
      overflow: hidden;
    }
  
    .nav-menu.active {
      display: flex;
    }
  
    .nav-menu ul {
      flex-direction: column;
      gap: 15px;
    }
  
    .nav-menu ul li {
      width: 100%;
      text-align: center;
    }
  
    .nav-menu ul li a {
      display: block;
      padding: 10px 0;
    }
  
    .nav-toggle {
      display: block; /* Show hamburger icon */
    }
  
    .nav-toggle.active .bar:nth-child(1) {
      transform: translateY(8px) rotate(45deg);
    }
    .nav-toggle.active .bar:nth-child(2) {
      opacity: 0;
    }
    .nav-toggle.active .bar:nth-child(3) {
      transform: translateY(-8px) rotate(-45deg);
    }
  
    section {
      padding: 60px 0;
    }
    h1 {
      font-size: 2.2em;
    }
    h2 {
      font-size: 1.8em;
      margin-bottom: 30px;
    }
    .section-description {
      margin-bottom: 40px;
      font-size: 1em;
    }
  
    .hero-actions {
      flex-direction: column;
      gap: 15px;
    }
  
    .btn {
      width: 100%; /* Make buttons full width */
    }
  
    .contact-form {
      padding: 30px 20px;
    }
  
    .footer-content {
      grid-template-columns: 1fr;
      text-align: center;
    }
    .footer-col {
      margin-bottom: 20px;
    }
    .footer-col ul {
      padding-left: 0;
    }
    .footer-col ul li {
      display: inline-block;
      margin: 0 10px;
    }
    .footer-bottom {
      flex-direction: column;
    }
    .footer-links {
      margin-top: 10px;
    }
    .footer-links a {
      margin: 0 10px;
    }
  }