/* Page Hero Section */
.page-hero {
  background: linear-gradient(
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.5)
    ),
    url('./about.jpg') no-repeat center center;
  background-size: cover;
  color: white;
  text-align: center;
  margin-top: 70px;
  height: calc(100vh - 70px);

  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.page-hero .page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.page-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: white;
  z-index: 100;
}

.page-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Company Overview Section */
.company-overview {
  padding: 80px 0;
}

.overview-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.overview-text {
  flex: 1;
}

.overview-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.8;
}

.overview-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.overview-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Our Strengths Section */
.our-strengths {
  background-color: var(--light);
  padding: 80px 0;
}

.strengths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.strength-card {
  background-color: white;
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.strength-card:hover {
  transform: translateY(-5px);
}

.strength-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.strength-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* Mission & Vision Section */
.mission-vision {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, #003a7a 100%);
  color: white;
}

.mv-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.mission,
.vision {
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  text-align: center;
}

.mission h3,
.vision h3 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.mission p,
.vision p {
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Our Values Section */
.our-values {
  padding: 80px 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.value-item {
  background-color: white;
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.value-item:hover {
  transform: translateY(-5px);
}

.value-item i {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 15px;
}

.value-item h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--primary);
}

/* Global Presence Section */
.global-presence {
  background-color: var(--light);
  padding: 80px 0;
}

.presence-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap; /* ensures stacking on smaller screens */
}

.presence-map {
  flex: 1;
  position: relative;
  min-height: 250px; /* ensures always visible */
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.map-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 250px; 

  background-size: cover;
  background-position: center;
}

.india-location,
.singapore-location {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.india-location {
  left: 40%;
  top: 50%;
}

.singapore-location {
  left: 70%;
  top: 65%;
}

.india-location i,
.singapore-location i {
  color: var(--secondary);
  font-size: 1.8rem;
  margin-bottom: 5px;
}

.india-location span,
.singapore-location span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
}

.presence-info {
  flex: 1;
}

.location-card {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.location-card h3 {
  color: var(--primary);
  margin-bottom: 10px;
}

/* Responsive Styles for About Page */
@media (max-width: 992px) {
  .overview-content,
  .presence-content {
    flex-direction: column;
  }

  .presence-map {
    width: 100%;
    min-height: 280px; /* taller on tablet */
  }

  .mv-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 120px 0 60px;
    height: auto;
  }

  .page-hero h1 {
    font-size: 2.2rem;
  }

  .strengths-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .presence-map {
    min-height: 200px; /* ensure visible on mobiles */
  }

  .india-location i,
  .singapore-location i {
    font-size: 2rem; /* bigger for tap */
  }
}
