/* 1. Root Variables - Manage colors and sizes in one place */
:root {
  --primary-orange: #ff5722;
  --primary-gradient: linear-gradient(90deg, #ff5722, #ff784e);
  --bg-light: #f5f7fa;
  --shadow-soft: 0 8px 25px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.12);
}


/* 2. Hero Section - Optimized */
.about-hero {
  position: relative;
  width: 100%;
  min-height: 100dvh; /* Dynamic viewport for 2026 mobile bars */
  background: url('../Images/General/about-hero.webp') center/cover no-repeat;

  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
    background: rgba(0, 0, 0, 0.8); /* dark black with low opacity */
  z-index: 1;
}

.hero-content {
  z-index: 2;
  max-width: 850px;
  width: 100%;
}

.hero-content h1 {
  /* Scales perfectly from 2.5rem on mobile to 4rem on desktop */
  font-size: clamp(2.5rem, 8vw, 4rem);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1rem;
  line-height: 1.1;
  animation: fadeInUp 1s ease-out;
}

.hero-content p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  max-width: 700px;
  margin-inline: auto;
  animation: fadeInUp 1.5s ease-out;
}



/* 4. Mission & Vision - Optimized Wrapper */
.about-mission {
  padding: clamp(3rem, 10vw, 5rem) 1.5rem;
  background: var(--bg-light);
  text-align: center;
}

.mission-vision-wrapper {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap; /* Handles mobile stacking automatically */
}

.mission, .vision {
  background: #fff;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  /* flex-basis: 400px allows it to shrink on mobile */
  flex: 1 1 400px; 
  max-width: 500px;
}

.mission:hover, .vision:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.mission-vision-wrapper h3 {
  font-size: 1.3rem;
  color: var(--primary-orange);
  margin-bottom: 1rem;
}

.mission-vision-wrapper p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* 5. Buttons and Animations */
.btn-primary {
  background-color: var(--primary-orange);
  color: #fff;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: 0.3s;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Small specific adjustment for mobile only */
@media (max-width: 600px) {
  .mission, .vision {
    flex: 1 1 100%; /* Take full width on small phones */
    padding: 1.5rem;
  }
}




/* Values Section */
.about-values {
  padding: 0rem 0rem;
  background: #f5f7fa;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  text-align: center;
}



/* Values Row */
.values-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

/* Value Card */
.value-card {
  background: #fff;
  border-radius: 15px;
  padding: 1.8rem 1.2rem;
  width: 230px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.value-card img {
  width: 55px;
  height: auto;
  margin-bottom: 1rem;
}

.value-card h3 {
  font-size: 1.05rem;
  color: #111;
  margin-bottom: 0.4rem;
}

.value-card p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.4;
}

/* Responsive — Same as Team Section */
@media (max-width: 1024px) {
  .value-card {
    width: 180px;
  }
}

@media (max-width: 768px) {
  .values-grid {
    gap: 20px;
  }

  .value-card {
    width: 45%; /* 2 per row */
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .value-card {
    width: 90%; /* 1 per row */
    padding: 1.2rem;
  }
}


/* CTA Section */
.about-cta {
  padding: 60px 20px;
  text-align: center;
  background: #ff5722;
  color: #fff;
}



.about-cta p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.about-cta .btn-primary {
  background: #fff;
  color: #ff5722;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: bold;
}

.about-cta .btn-primary:hover {
  background: #f0f0f0;
  color: #e64a19;
  transform: translateY(-3px);
}

/* Certifications Section */
.certifications {
  padding: 0px 0px;
  background: #f5f7fa;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  text-align: center;
}



/* Certificates Grid */
.cert-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Individual Certificate */
.cert-item {
  background: #fff;
  border-radius: 15px;
  padding: 1.5rem 1rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  width: 230px;
  text-align: center;
  position: relative;
  border: 2px solid #eee;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* Logo on top */
.cert-logo img {
  width: 80px;
  height: auto;
  margin-bottom: 1rem;
}

/* Certificate text */
.cert-content strong {
  display: block;
  font-size: 1.05rem;
  color: #111;
  margin-bottom: 0.3rem;
}

.cert-content span {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.4;
}

/* Official seal at bottom */
.cert-seal {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 35px;
  height: 35px;
}

.cert-seal img {
  width: 100%;
  height: auto;
  opacity: 0.85;
}

/* Responsive */
@media (max-width: 768px) {
  .cert-item {
    width: 180px;
  }
}

@media (max-width: 480px) {
  .cert-item {
    width: 150px;
    padding: 1rem;
  }
}

/* Mobile styles */
@media (max-width: 768px) {
  .top-contact-right {
    display: none; /* Hide top contact bar on mobile */
  }
}

/* Team Section */
.team-section {
  padding: 5rem 2rem;
  background: #f5f7fa;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  text-align: center;
}



/* Each row flex container */
.team-row {
  display: flex;
  justify-content: center; /* center all items */
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap; /* ensures responsiveness */
}

/* CEO top row extra spacing */
.top-row {
  margin-bottom: 3rem;
}

/* Individual Team Member Card */
.team-member {
  background: #fff;
  border-radius: 15px;
  padding: 1.5rem 1rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  width: 230px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.team-member img {
  width: 100%;
  max-width: 150px;
  height: auto;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.team-member h4 {
  font-size: 1.05rem;
  color: #111;
  margin-bottom: 0.3rem;
}

.team-member p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
  .team-member {
    width: 180px;
  }
}

@media (max-width: 480px) {
  .team-member {
    width: 150px;
    padding: 1rem;
  }
}

@media (max-width: 1024px) {
  .team-member {
    width: 180px;
  }
}

@media (max-width: 768px) {
  .team-row {
    gap: 20px;
  }
  .team-member {
    width: 45%; /* 2 per row */
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .team-member {
    width: 90%; /* 1 per row on mobile */
  }
}








/* ============================
   MEDIA QUERIES FOR MOBILE
============================ */
@media screen and (max-width: 1024px) {
    .about-hero {
        padding: 100px 15px 50px;
    }

    .about-hero .hero-content h1 {
        font-size: 1.8rem;
    }

    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .about-hero {
        padding: 90px 10px 40px;
    }

    .about-hero .hero-content h1 {
        font-size: 1.6rem;
    }

    .about-hero .hero-content p {
        font-size: 0.95rem;
    }

    .team-row {
        gap: 10px;
    }

    .team-member {
        flex: 1 1 150px;
    }

    .cert-item span {
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 480px) {
    .about-hero {
        padding: 80px 10px 30px;
    }

    .about-hero .hero-content h1 {
        font-size: 1.4rem;
    }

    .about-hero .hero-content p {
        font-size: 0.85rem;
    }

    .team-member {
        flex: 1 1 120px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .badges-grid {
        grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    }
}



/* GLOBAL RESPONSIVE H2 (MOBILE + DESKTOP) */
.about-mission h2,
.about-values h2,
.certifications h2,
.team-section h2,
.badges-heading h2,
.section-heading {

  font-size: clamp(1.5rem, 4.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 2rem;

  background: linear-gradient(90deg, #ff5722, #ff784e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;

  display: inline-block;
  text-align: center;
}







