.about-us{
    max-width: 1440px;
    padding: 0 auto;
    margin: 0  auto;
    display: flex;

}
.about-container{
    flex: 1;
    padding: 1rem;
    font-size: 1rem;
    line-height: 1.6;
    top: 2rem;
}


 .about-image{
    width: 45%;
    height: 18rem;

    margin-right: 4rem;
    margin-bottom: 1rem;
   
 }
 .about-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
     border-bottom-right-radius: 100px;
    border-top-left-radius: 100px;
    border-top-right-radius: 16px;
    border-bottom-left-radius: 16px;
 }


.lined-heading {
    display: flex;
    align-items: center; /* Vertically centers the line with text */
    gap: 15px;           /* Space between line and text */
    
    font-size: var(--h2-small);     /* Adjust size as needed */
    font-weight: 700;    /* Bold font */
    color: var(--primary);
    margin-bottom: 0.9rem;
    line-height: 1;
}

/* The Red Line */
.lined-heading::before {
    content: "";
    display: block;
    width: 40px;         /* Length of the line */
    height: 4px;         /* Thickness of the line */
    background-color: var(--text);
    border-radius: 10px; /* Rounded edges on the line */
    flex-shrink: 0;      /* Prevents line from shrinking on small screens */
}

.about-container p{
    text-align: justify;
    font-size: var(--p1);
    max-width:  38rem;
    color: var(--primary);
}

/* What we offer Sections */
.services{
    padding: 24px;
    margin:0 auto;
    max-width: 1440px;
    background-color: var(--primary);
}
.services .lined-heading{
    color: var(--white);
    justify-content: center;
}
.services-container{
    display: flex;
    background:var(--white);
    padding: 1rem;
    border-radius: 16px;
    margin: 0 2rem;
   
}
.services-container .service-head{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.3;
    ;
}
.service-head img{
   width: 1.5rem;
   height: 1.4rem;
}
.service-head h3{
    font-size: var(--h3);
}
 .service-card{
    flex: 1;
    padding: 1rem;
   border-right: 2px solid #18263814;
}
.end{
    border-right: none;
}
.service-card p{
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    color: var(--primary);
    font-size: var(--p1);
    line-height: 1.6;
    text-align: justify;
}

.details{
    color: var(--text);
    font-size: var(--p2);
    line-height: 1.4;
    text-align: justify;
    bottom: 0;

}
/* acction section */
  /* Section wrapper */
    .cta-section {
      max-width: 1440px;
      margin: 0 auto;
      padding: 24px 64px;
    }

    /* Main container */
    .cta-card {
      background: var(--primary);
      border-radius: 16px;
      padding: 28px;
      display: grid;
      grid-template-columns: 1fr 1.2fr;
      gap: 72px;
      align-items: center;
    }

    /* Text side */
    .cta-content {
      display: flex;
      flex-direction: column;
      gap: 28px;
    }

    .cta-title {
      font-size: var(--h2);
      font-weight: 700;
      line-height: 1.2;
      color: var(--white);
    }

    .cta-description {
      font-size: var(--p1);
      line-height: 1.5;
      color: rgba(255, 255, 255, 0.9);
      max-width: 520px;
    }

    .cta-actions {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
    }

    

    .btn-primary {
      background: var(--accent);
      color: var(--white);
      box-shadow: 0 8px 20px rgba(255, 0, 0, 0.25);
    }

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

    .btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
    }

    /* Image side */
    .cta-image {
      width: 100%;
      height: 100%;
      border-radius: 16px;
      overflow: hidden;
    }

    .cta-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    /* Responsive */
    @media (max-width: 992px) {
      .cta-card {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column-reverse;
        gap: 48px;
      }

      .cta-image {
        height: 320px;
      }
    }

    @media (max-width: 640px) {
      .cta-section {
        padding: 64px 24px;
      }

      .cta-title {
        font-size: 32px;
      }

      .cta-description {
        font-size: 18px;
      }
    }

@media (max-width: 992px){
    .about-us{
        flex-direction: column;
        margin: 0;
    


    }
    .about-container{
        height: auto;
        padding: 1rem;
        margin: 0;
    }
    .about-container p{
        width: auto;
        font-size: var(--p2);
        text-align: left;
    }
    .about-image{
        display: none;
    }
    .services-container{
        flex-direction: column;
    }
    .service-card{
        border-right: none;
        border-bottom: 2px solid #18263814;
        margin-bottom: 1rem;
    }
   
    
}
@media (max-width: 756px){
   

    .testimonial{
        flex-direction: column;
       flex-direction: column-reverse;
       height: auto;
         align-items: center;
         width: auto;
       
    }
    .testimonial img{
     
        margin-bottom: 1rem;
        
    }
    .testimonial p{
        text-align: center;
        word-break:normal;
        text-align: justify;
    }
    .lined-heading{
      font-size: var(--h3);
    }

    
}
