.about-main {
  margin-top: 100px;
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
  min-height: 100vh;
}

.project-hero {
  text-align: center;
  padding: 60px 20px 60px;
  position: relative;
  overflow: hidden;
}

.project-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 300"><path d="M0,100 C300,300 700,0 1000,100 L1000,300 L0,300 Z" fill="%2327aae1" opacity="0.08"/></svg>') center/cover no-repeat;
  z-index: 0;
}

.project-hero h1 {
  font-size: 64px;
  font-weight: 800;
  background: linear-gradient(90deg, #262262 0%, #27aae1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 20px;
  position: relative;
  z-index: 1;
}

.project-hero .hero-subtitle {
  font-size: 20px;
  color: #555;
  max-width: 1500px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.hero-title h1 {
  font-size: 62px;
  font-weight: 800;
  background: linear-gradient(90deg, #262262 0%, #27aae1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.hero-title .tagline {
  font-size: 24px;
  color: #444;
  margin-top: 20px;
  font-weight: 500;
}

/* Introduction */
.intro-section {
  padding: 30px 20px;
  text-align: center;
  background: white;
}
.intro-section h2 {
  font-size: 48px;
  font-weight: 700;
  color: #262262;
  margin-bottom: 10px;
}
.intro-text {
  max-width: 1500px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.8;
  color: #555;
}

/* Why Choose Us */
.why-section h2,
.who-section h2,
.mv-section h2,
.trusted-section h2,
.testimonials-section h2 {
  text-align: center;
  font-size: 48px;
  font-weight: 700;
  color: #262262;
  margin-bottom: 35px;
  margin-top: 30px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 2000px;
  margin: 0 auto;
}
.why-item {
  text-align: center;
  padding: 80px 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
}

.why-item .icon {
  font-size: 60px;
    margin-bottom: 25px;
}
.why-item h4 {
  font-size: 22px;
  color: #262262;
  font-weight: 600;
}

/* Who We Are */
.who-section {
  padding: 100px 20px;
  background: #f9fcff;
  text-align: center;
}
.who-section p {
  max-width: 900px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.8;
  color: #555;
}

/* Mission & Vision – Left/Right with vertical line (no boxes) */
.mv-section {
  padding: 120px 20px;
  background: white;
}
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 6px 1fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}
.mv-col h3 {
  font-size: 32px;
  font-weight: 700;
  color: #262262;
  margin-bottom: 24px;
}
.mv-col p {
  font-size: 17px;
  line-height: 1.8;
  color: #555;
}
.mv-divider {
  background: linear-gradient(to bottom, #27aae1, #262262);
  width: 6px;
  border-radius: 3px;
  align-self: stretch;
}

/* Trusted by Brands & Testimonials – unchanged, already perfect */
.trusted-section {
  padding: 100px 20px;
  background: white;
  text-align: center;
}
.brands-grid {
  display: flex;
  justify-content: center;
  gap: 100px;
  flex-wrap: wrap;
}
.brands-grid img {
  height: 60px;
  opacity: 0.8;
  transition: 0.3s;
}
.brands-grid img:hover {
  opacity: 1;
  transform: scale(1.1);
}

.testimonials-section {
  padding: 100px 20px 140px;
  background: #f8f9fa;
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.testi-card {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 35px rgba(38, 34, 98, 0.1);
  border-top: 5px solid #27aae1;
  text-align: center;
}
.testi-card p {
  font-size: 16px;
  color: #666;
  font-style: italic;
  margin-bottom: 20px;
}
.testi-card strong {
  color: #262262;
  font-weight: 600;
}

/* Our Goals Section */
.goals-section {
  padding: 120px 20px;
  background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
  color: #333;
  text-align: center;
}

.goals-section h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 70px;
  color: #262262;
}

.goals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.goal-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 40px 25px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.goal-item:hover {
  transform: translateY(-10px);
}

.goal-icon {
  width: 70px;
  height: 70px;
  color: #262262;
  font-size: 32px;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.goal-item h4 {
  font-size: 24px;
  margin-bottom: 16px;
  color: #262262;
}

.goal-item p {
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.9;
}

@media (max-width: 1024px) {
  
  /* Adjust Title Sizes */
  .hero-title h1 {
    font-size: 50px;
  }
  
  .why-section h2,
  .who-section h2,
  .mv-section h2,
  .goals-section h2 {
    font-size: 40px;
    margin-bottom: 40px;
  }

  /* Why Choose Us - Switch to 2 columns */
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
  }

  /* Mission/Vision - Keep layout but reduce gap */
  .mv-grid {
    gap: 40px;
  }
  
  /* Reduce Section Padding globally */
  .intro-section, 
  .who-section, 
  .mv-section, 
  .goals-section,
  .why-section {
    padding: 60px 20px;
  }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  
  .about-main {
    margin-top: 80px; /* Adjust for smaller header height */
  }

  /* --- Hero Section --- */
  .hero-title {
    padding: 40px 20px;
  }
  
  .hero-title h1 {
    font-size: 36px;
    line-height: 1.2;
  }
  
  .hero-title .tagline {
    font-size: 18px;
    margin-top: 15px;
  }

  /* --- Introduction --- */
  .intro-section h2 {
    font-size: 32px;
    margin-bottom: 25px;
  }
  
  .intro-text {
    font-size: 16px;
    text-align: justify; /* Optional: makes long text look neater on mobile */
  }

  /* --- Why Choose Us (Stack to 1 column) --- */
  .why-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .why-item {
    padding: 30px 20px;
  }

  /* --- Mission & Vision (The Complex Transformation) --- */
  .mv-section {
    padding: 50px 20px;
  }

  .mv-grid {
    /* Change from side-by-side to stacked */
    grid-template-columns: 1fr; 
    gap: 30px;
    text-align: center;
  }

  /* Transform the vertical line into a horizontal separator */
  .mv-divider {
    width: 100%;       /* Full width */
    height: 4px;       /* Horizontal thickness */
    margin: 10px 0;    /* Add some breathing room */
  }
  
  .mv-col h3 {
    font-size: 26px;
  }

  /* --- Goals Section --- */
  .goals-section h2 {
    font-size: 32px;
    margin-bottom: 40px;
  }

  .goals-grid {
    grid-template-columns: 1fr; /* Force 1 column stack */
    gap: 30px;
  }

  .goal-item {
    padding: 30px 20px;
  }
  
  .goal-item h4 {
    font-size: 22px;
  }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  
  .hero-title h1 {
    font-size: 30px;
  }

  /* Adjust general headings */
  .why-section h2,
  .who-section h2,
  .mv-section h2,
  .intro-section h2,
  .goals-section h2 {
    font-size: 28px;
  }

  /* Reset justified text to left or center for very small screens if preferred */
  .intro-text, 
  .who-section p, 
  .mv-col p {
    font-size: 15px;
    text-align: center;
  }
}