@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

.wrapper{
    font-family: 'poppins',sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: linear-gradient(to bottom, #eee 90%, white);
    padding: 4rem;
}
.wrapper h1{
    font-size: 3em;
    color: #2d6a4f;
    margin: 10px;
}
.wrapper p{
  text-align: center;
  color:#2d6a4f;
  size: 20px;
}
.content-box{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 1000px;
    margin-top: 30px;
}
.cards{
    min-height: 220px;
    width: 320px;
    padding: 30px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: #fff;
    margin: 10px 4px;
    box-shadow: 0px 15px 30px rgba(0,0,0,0.2);
    color: #000;
}
.cards i{
    margin: 20px;
    color: #14a800;
}
.cards h2{
    margin-bottom: 12px;
    color: #14a800;
    font-weight: 400;
    text-align: center;
}
.cards p{
    color: #6c757d;
    text-align: center;
}
.cards:hover i,
.cards:hover p{
    color: #fff;
}
.cards:hover h2{
  color: white;
    font-weight: 600;
}
.cards:nth-child(1):hover{
  background: linear-gradient(
    45deg,
    rgba(34, 139, 34, 0.7) 0%,    
    rgba(107, 142, 35, 0.7) 100%    
  ),
                                    url('finance.jpg');
                                    background-size: cover;
}
.cards:nth-child(2):hover{
  background: linear-gradient(
    45deg,
    rgba(34, 139, 34, 0.7) 0%,    
    rgba(107, 142, 35, 0.7) 100%    
  ),
    url('link.jpg');
    background-size: cover;
}
.cards:nth-child(3):hover{
  background: linear-gradient(
    45deg,
    rgba(34, 139, 34, 0.7) 0%,    
    rgba(107, 142, 35, 0.7) 100%    
  ),
    url('consult.jpg');
    background-size: cover;
}
.cards:nth-child(4):hover{
  background: linear-gradient(
    45deg,
    rgba(34, 139, 34, 0.7) 0%,    
    rgba(107, 142, 35, 0.7) 100%    
  ),
  url('image.khaleejtimes.jpg');
  background-size: cover;
}
.cards:nth-child(5):hover{
  background: linear-gradient(
    45deg,
    rgba(34, 139, 34, 0.7) 0%,    
    rgba(107, 142, 35, 0.7) 100%    
  ),
  url('legal.jpeg');
  background-size: cover;
}
.cards:nth-child(6):hover{
  background: linear-gradient(
    45deg,
    rgba(34, 139, 34, 0.7) 0%,    
    rgba(107, 142, 35, 0.7) 100%    
  ),
    url('market.jpg');
    background-size: cover;
}
@media screen and (max-width:1050px){
    .wrapper{
        padding: 25px;
    }
    .wrapper h1{
        font-size: 2.5em;
        font-weight: 600;
    }
    .content-box{
        width: 800px;
        padding: 0 30px;
        margin: 30px 0;
    }
    .card{
        min-width: 300px;
        margin: 10px auto;
    }
}
@media screen and (max-width:790px){
  .content-box{
    width: 400px;
    margin: 30px 0;
    padding: 0;
    justify-content: center;
}
.cards{
  width: 80%;
}
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
body{
    font-family: Poppins;
    font-family: Arial, sans-serif;
    background-color: #f8f8f8;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: #000000;
}
svg{
    width: 25px;
}
header{
  margin: auto;
  display: grid;
  grid-template-columns: 50px 1fr 50px;
  grid-template-rows: 50px;
  align-items: center;
  position: relative;
  z-index: 100;
  justify-content: end;
}
header .logo{
  font-weight: bold;
}
header #menu{
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  justify-items: end;
  gap: 10px;
  font-weight: 500;

}


.center-box {
  height: 93%;
  display: inline-block;
  width: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('backgr2.jpg');
  background-size: cover;
  background-repeat: no-repeat;
}

.fade-in {
  margin: 15% 3% 3% 3%;
  font-size: 2rem;
  color: #ffffff;
  animation: fadeIn 2s ease-in;
}
.fade-in p{
  animation: fadeIn 2.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.buttons{
  margin: 0 3% 0 3%;
  animation: fadeIn 1s linear;
}

.buttons .btn {
  display: inline-block;
  padding: 12px 25px;
  margin: 10px 10px;
  background-color: #3498db;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.buttons .btn-secondary {
  background-color: #2ecc71;
}

.buttons .btn:hover {
  background-color: #2980b9;
}

.buttons .btn-secondary:hover {
  background-color: #27ae60;
}

.slider-container {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  overflow: hidden;
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
  background: linear-gradient(to bottom, white 90%, #e6f4ea);
}

.testimonial-container {
  max-width: 1200px;
  width: 100%;
}

.testimonial-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #2d6a4f;
}

.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.testimonial-card {
  background: #fff;
  border-top: 5px solid #40916c;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  flex: 1 1 45%;
  max-width: 500px;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-text {
  font-size: 1.1rem;
  color: #2f3e46;
  margin-bottom: 20px;
}

.testimonial-user {
  display: flex;
  align-items: center;
}

.testimonial-user img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #52b788;
  margin-right: 15px;
}

.user-info p {
  margin: 0;
}

.user-name {
  font-weight: bold;
  color: #1b4332;
}

.user-role {
  font-size: 0.9rem;
  color: #6c757d;
}

@media (max-width: 768px) {
  .testimonial-card {
    flex: 1 1 100%;
  }
}

.slideshow-section {
  background: #e6f4ea;
  padding: 80px 0;
  text-align: center;
}


.slideshow-title {
  font-size: 2.5rem;
  color: #2d6a4f;
  margin-bottom: 40px;
}

.slideshow-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

.slideshow-container {
  position: relative;
  width: auto;
  max-width: 60%;
  max-height: 80vh; /* Slideshow won’t exceed this */
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 10px;
}

.slide img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 12px;
  background: #f5f5f5;
}

.slide-caption {
  margin-top: 12px;
  font-size: 1rem;
  color: #2d6a4f;
  text-align: center;
}


.preview {
  width: 120px;
  height: 50vh;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.preview:hover {
  opacity: 1;
}

.preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
  border-radius: 12px;
}