﻿
  
  /* ----- Hero Section ----- */
  .hero {
    position: relative;
    /* text-align: center; */
    min-height: 60vh;
    padding-top: var(--header-height);
    background: url('../../static/image/hero_background.jpg') no-repeat center/cover;
    color: #fff;
    margin-top: 153px;
  }

  /* Add overlay to darken the background */
  .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust the last value (0.5) for darkness level */
  }

  /* Make text more visible by ensuring it's above the overlay */
  .hero h1, 
  .hero h2,
  .hero-text,
  .sliding-text,
  .sliding-text h2 {
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Add text shadow for better readability */
    /* font-size: 70px; */
  }
  .hero h1 {
    margin-bottom: 1rem;
    font-size: 2rem;
  }
  .hero h2 {
    margin: 0.5rem 0;
    font-weight: normal;
    font-size: 5rem;
  }
  .company-intro{
    h2{
      max-width: 900px;
      margin: 3rem auto;
      padding: 2rem;
      font-size: 1.5rem;
      font-weight: bold;
      color: #0f1c94;
    }
  }

  .company-intro p {
    width: 700px;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #444;
  }

  .services {
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .services p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #444;
  }

  .services ul {
    list-style-type: disc;
    margin-left: 20px;
    color: darkblue;
  }
  @media (max-width: 480px) {
    .hero {
      min-height: 50vh;
      padding: 2rem 1rem;
      margin-top: 223px;
      text-align: center;
    }
  }
  /* ----- Responsive Styles ----- */
  @media (max-width: 768px) and (min-width: 480px){

      /* Add overlay to darken the background */
  .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust the last value (0.5) for darkness level */
  }

    .hero {
      min-height: 50vh;
      padding-top: 2rem 1rem;
      margin-top: 95px;
      text-align: center;
    }
    .hero h1 {
      font-size: 1.5rem;
    }
  }

  #company-intro, #services {
    padding: 20px;
    margin: 20px;
}




  /* Update the company-intro section styles */
  #company-intro {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 2rem 4rem;
    text-align: justify;
  }

  #company-intro p {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    color: #444;
  }

  #company-intro h2 {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 3;
    transition: background 0.3s ease;
  }

  .arrow:hover {
    background: rgba(0, 0, 0, 0.8);
  }

  .prev-arrow {
    left: 20px;
  }

  .next-arrow {
    right: 20px;
  }

  /* Ensure the hero has relative positioning */
  /* .hero {
    position: relative;
  } */
  
  .sliding-text {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
  }

  .sliding-text h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    line-height: 1.4;
  }

  /* Main content */
  .content-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
  }

  /* Responsive grid */
  .grid-container {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  /* Navigation arrows */
  .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
  }

  /* Responsive adjustments */
  @media (max-width: 768px) {
    .hero {
      min-height: 50vh;
      padding-top: var(--header-height-mobile);
    }

    .sliding-text {
      padding: 20px;
    }

    .arrow {
      width: 30px;
      height: 30px;
    }

    .content-section {
      padding: 40px 20px;
    }
  }
  
  