*{
    box-sizing: border-box;
}

.about{
    max-width: 90vw;
    /* max-height: 20vh; */
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    background-color: #f9b542;
    padding-top: 2rem;
    
}/*
.aboutcards-container-2,
.aboutcards-container-1 {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: row;
    /* justify-content: center; 
     align-items: center; 
    gap: 1rem; 
     padding: 10px; 
     background-color:red; 
     text-align: center; 
     margin-right: 10px; 
}
*/

.aboutcards-container-1 {
  display: flex;
  width: 100%;
  justify-content: space-between;
  /* align-items: flex-start; */
  gap: 2rem;
  flex-wrap: wrap;
  height: fit-content;
  padding: 2rem;
  background-color: #f9f9f9; /* Light background for contrast */
}

.about-card{
    /* width: 40%; */
    min-width: 30%;
    height: 30vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 5%;
    /* background-color: transparent; */
    text-align: center;
    /* margin-right: 10px; */
}
.dark{
    height: 100%;
    background-color:crimson;
}
.about-card {
  flex: 1; 
  text-align: center;
  padding: 1.5rem;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /*Subtle shadow for depth */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px); /* Slight lift on hover */
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
}

.about-card img.about-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
}

.about-card h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.about-card p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
}

@media screen and (min-width: 746px) and (max-width: 1460px) {
  .aboutcards-container-1 {
  display: flex;
  width: 100%;
  justify-content: space-between;
  /* align-items: flex-start; */
  gap: 2rem;
  flex-wrap: wrap;
  height: fit-content;
  padding: 2rem;
  background-color: #f9f9f9; /* Light background for contrast */
}

  .about-card {
    min-width: 45%;
    /* height: 100%; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 5%;
    /* background-color: transparent; */
    text-align: center;
    height: 100%;
    /* margin-right: 10px; */
  }
}

@media screen and (max-width: 786px)
 {
    .about-card{
        width: 50%;
        height: 100%;
        display: flex;
        flex-direction: column;
        box-shadow: none;
        padding: 10px;
        background-color: transparent;
        
    }
    .about{
        width: 100%;
        height: fit-content;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1rem 0;
     
    }
    .aboutcards-container-1{
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0;
        /* flex-direction: row-reverse; */
         
    }
    .about-card{
        min-width: 100%;
        
        
    }
    .aboutcards-container-2{
        width: 100%;
        height: 100%;
         flex-direction: row-reverse;
    }
   
 }

.about {
  background-color: var(--background-color);
}

.about-card {
  background-color: var(--white-color);
  box-shadow: 0 4px 6px var(--shadow-color);
}

.about-card h3 {
  color: var(--primary-color);
}

.about-card p {
  color: var(--muted-text-color);
}