/* about Banner */
.about-banner {
  background-color: var(--primary-color);
  color: var(--white);
  padding: var(--spacing-xxl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-banner h1 {
  position: relative;
  z-index: 1;
  font-size: 3rem;
}

.about-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-image: url('../public/images/about-banner-bg.jpg'); */
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: 0;
}

/* about Section */
.about-section {
  padding: var(--spacing-xxl) 0;
}

.flex-container {
  display: flex;
  width: 100%; /* or any specific width */
}

.social-icons {
    margin-top: 20px;
}
.social-icons a {
    display: inline-block;
    margin-right: 15px;
    font-size: 24px;
    color: #0056b3;
    text-decoration: none;
    transition: color 0.3s;
}
.social-icons a:hover {
    color: #003d7a;
}

.social-images {
    width: 30px;
    height: 30px;
}

.box {
  flex: 1; /* This makes both boxes take equal space */
  padding: 50px 50px;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
}


.about-content {
  margin-bottom: 30px;
}

.core-values b{
  font-size: x-large;
  color: #1480a1;
}

.about-section h2,
.online-about h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: var(--spacing-xl);
  position: relative;
  padding-bottom: var(--spacing-md);
}

.about-section h2::after,
.online-about h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: var(--primary-color);
}

/* about Grid */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.about-text {
  flex: 1;
  margin-top: 25px;
}

.about-text h2 {
  color: var(--primary-color);
  position: relative;
  padding-bottom: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.about-text h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  color: var(--text-color);
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.service-icon {
  width: 70px;
  height: 70px;
  margin-bottom: var(--spacing-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--secondary-color);
  border-radius: var(--border-radius-full);
  padding: var(--spacing-md);
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-top: var(--spacing-md);
  color: var(--primary-color);
}

/* Online about */
.online-about {
  padding: var(--spacing-xxl) 0;
  background-color: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  .about-banner h1 {
    font-size: 2.5rem;
  }

  .flex-container {
    display: block;
  }
}

@media (max-width: 576px) {
  .about-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-lg);
  }

  .service-card {
    padding: var(--spacing-lg);
  }

  .service-icon {
    width: 50px;
    height: 50px;
  }

  .flex-container {
    display: block;
  }
}
