section{
  padding: 0;
  margin: 0;
}
.calling{
  position: fixed;
  left: 50px;
  bottom: 105px;
  background-color: var(--third-color);
  color: white;
  border-radius: 50%;
  padding: 15px;
  cursor: pointer;
  transition:.5s;
}
.whatsApp{
  position: fixed;
  left: 50px;
  bottom: 50px;
  background-color: var(--third-color);
  color: white;
  border-radius: 50%;
  padding: 13px;
  font-size: 20px;
  cursor: pointer;
  transition:.5s;
}
.whatsApp:hover, .calling:hover{
  background-color: var(--primary-color);
}

#slider {
  position: relative;
  width: 100%;
  /* max-width: 1200px; */
  height: 500px;
  margin: auto;
  overflow: hidden;
}


#content {
  position: relative;
  width: 100%;
  height: 100%;
}

#content .sliderImage {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */

}

#textCard {
  position: absolute;
  top: 50%;
  right:25%;
  transform: translate(-150%, -50%); 
  background: rgba(0,0,0,0.5);
  color: white;
  padding: 20px;
  border-radius: 8px;
  min-width: 300px;
  opacity: 0;
  transition: all 0.8s ease-in-out;
}
@media (max-width:500px) {
  #textCard {
    right: 0%;
  }
  
}

#textCard.enter {
  transform: translate(0, -50%);
  opacity: 1;
}

#textCard.exit {
  transform: translate(-150%, -50%);
  opacity: 0;
}
#textCard div{
  display: flex;
}
#textCard div h1 { font-size: 30px; margin: 0; }
#textCard div img{width: 70px;}
#textCard h2 { font-size: 1.2rem; margin: 10px 0; }
#textCard p  { font-size: 1rem; margin-bottom: 15px; }
#textCard a {
  display: inline-block;
  padding: 10px 20px;
  border: none;
  background: var(--third-color);
  color: white;
  border-radius: 6px;
  cursor: pointer;
  transition: .3s;
}
#textCard button:hover {
  background-color: var(--primary-color);
}


.about{
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  width: 90%;
  margin: 80px auto;
}
.about div{
  width: 50%;
}
.about div h2{
  font-weight: 600;
  font-size: 35px;
  color: var(--primary-color);
}
.about div p{
  color: #626262;
  margin-top: 10px;
  line-height: 1.7;
}
.about div button{
  background-color: var(--third-color);
  padding: 10px 20px; 
  color: white;
  border: var(--third-color);
  border-radius: 7px;
  display: block;
  margin-top: 20px;
  transition: .3s;
  cursor: pointer;
}
.about div button:hover{
  background-color: var(--primary-color);
}
.about img{
  width: 50%;
  height: 300px;
  border-radius: 20px;
}
.about .popup {
  display: none; 
  position: fixed; 
  z-index: 1000; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgba(0,0,0,0.5); 

}
.about .popup-content {
  background-color: #fff;
  margin: 20px auto;
  padding: 50px 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 600px;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}
.about .popup-content h2{
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 20px;
}
.about .popup-content p{
  margin: 10px 0;
}
.about .close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 35px;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
}
.about .close:hover {
  color: red;
  transform: scale(1.3);
  transform-origin: center center;
}
@media (max-width:600px) {
  .about{
    flex-direction: column;
    gap: 30px 20px;
  }
  .about div,.about img{
    width: 100%;
  }
}
.ourGoals{
  margin: 80px auto;
  width: 100%;
  background-color: var(--primary-color);
  padding: 50px 0;
}
.ourGoals .container{
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: row-reverse;
  gap: 20px;
  width: 90%;
  margin: auto;
}
.ourGoals .container div{
  width: 50%;
}
.ourGoals .container div h2{
  font-weight: 600;
  font-size: 35px;
  color: var(--text-color);
}
.ourGoals .container div p{
  color: #d1d1d1;
  margin-top: 10px;
  line-height: 1.7;
}
.ourGoals .container div button{
  background-color: var(--third-color);
  padding: 10px 20px; 
  color: white;
  border: var(--third-color);
  border-radius: 7px;
  display: block;
  margin-top: 20px;
  transition: .3s;
  cursor: pointer;
  border: 1px solid var(--third-color);
}
.ourGoals .container div button:hover{
  background-color: var(--primary-color);
  border: 1px solid white;
}
.ourGoals .container img{
  width: 50%;
  height: 300px;
  border-radius: 20px;
}
.ourGoals .popup {
  display: none; 
  position: fixed; 
  z-index: 1000; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgba(0,0,0,0.5); 

}
.ourGoals .popup-content {
  background-color: #fff;
  margin: 20px auto;
  padding: 50px 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 600px;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}
.ourGoals .popup-content h2{
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 20px;
}
.ourGoals .popup-content p{
  margin: 10px 0;
}
.ourGoals .close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 35px;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
}
.ourGoals .close:hover {
  color: red;
  transform: scale(1.3);
  transform-origin: center center;
}
@media (max-width:600px) {
  .ourGoals .container{
    flex-direction: column;
    gap: 30px 20px;
  }
  .ourGoals .container div,.ourGoals .container img{
    width: 100%;
  }
}

.agencies {
  text-align: center;
}
.agencies h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #333;
}
.agencies p {
  margin-bottom: 30px;
  color: #666;
}
.agencies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.agency-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.agency-card:hover {
  transform: translateY(-5px);
}

.agency-card img {
  width: 120px;
  margin-bottom: 15px;
  margin: 10px auto ;
}

.agency-card h3 {
  margin-bottom: 10px;
  color: #0077cc;
  font-size: 25px;
}

.agency-card p {
  margin-bottom: 15px;
  color: #555;
}

.btn {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 6px;
  background: var(--primary-color);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition:  0.3s;
  width: fit-content;
  margin: 0 auto;
}

.btn:hover {
  background: var(--third-color);
}

.btn.whatsapp {
  background: var(--primary-color);
}

.btn.whatsapp:hover {
  background: var(--third-color);
}
