/* ============================================================
   about.css
   Course Bazaar — About Us (middle content only)
   Mobile-first, CSS Grid + Flexbox, no frameworks
   ============================================================ */

/* ------------------------------------------------------------
   1. CSS VARIABLES
   ------------------------------------------------------------ */
:root {
  --pink: #FF0088;
  --pink-light: #FF4D8D;
  --orange: #FF5C00;
  --yellow: #FFD600;
  --navy: #0C0853;
  --green: #12B76A;
  --blue: #2563EB;
  --purple: #7C4DFF;
  --text-gray: #6B7280;
  --light-gray: #F5F6FA;
  --border-gray: #E7E7EF;
  --white: #FFFFFF;

  --font-main: 'Poppins', sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 4px 14px rgba(20, 20, 50, 0.06);
  --shadow-md: 0 12px 34px rgba(20, 20, 60, 0.10);
  --shadow-lg: 0 20px 45px rgba(20, 20, 60, 0.15);

  --transition: 0.25s ease;
}

/* ------------------------------------------------------------
   2. RESET & BASE
   ------------------------------------------------------------ */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-main);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4, h5 { font-weight: 700; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ------------------------------------------------------------
   3. UTILITY CLASSES
   ------------------------------------------------------------ */
.text-gradient {
  background: linear-gradient(90deg, var(--pink), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-label {
  display: inline-block;
  color: var(--pink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-header.centered {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 40px;
}
.section-header.centered h2 { font-size: 30px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  font-family: var(--font-main);
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-yellow {
  background: var(--yellow);
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(255, 214, 0, 0.35);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}

/* ------------------------------------------------------------
   4. ABOUT HERO SECTION
   ------------------------------------------------------------ */
.about-hero {
  background: var(--light-gray);
  padding: 24px 0 60px;
  margin-top: 100px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-gray);
  margin-bottom: 26px;
}
.breadcrumb a { color: var(--pink); font-weight: 500; }
.breadcrumb i { font-size: 9px; color: #C6C6D6; }
.breadcrumb span { color: var(--navy); font-weight: 600; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

.hero-title {
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.hero-underline {
  display: block;
  width: 46px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  margin: 14px 0 18px;
}

.hero-desc {
  font-size: 15px;
  color: var(--text-gray);
  max-width: 480px;
  margin-bottom: 26px;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 22px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
}
.feature-item i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #FFE3F1;
  color: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  margin-top: -25px;
}
/* Decorative clipped corner accents, matching reference design */
.hero-image::before,
.hero-image::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  z-index: 2;
}
.hero-image::before {
  top: 0; left: 0;
  background: var(--pink-light);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.hero-image::after {
  bottom: 0; right: 0;
  background: var(--purple);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

/* ------------------------------------------------------------
   5. STATS BAR
   ------------------------------------------------------------ */
.stats-bar {
  background: linear-gradient(90deg, #7C2CE0 0%, var(--pink) 55%, var(--orange) 100%);
  padding: 30px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 16px;
}
.stat-item {
  display: flex;
  align-items: center;
  justify-content:start;
  gap: 12px;
  color: var(--white);
}
.stat-item i {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.stat-text { display: flex; flex-direction: column; line-height: 1.3; }
.stat-num { font-size: 22px; font-weight: 800; }
.stat-label { font-size: 12px; font-weight: 500; opacity: 0.92; }

/* ------------------------------------------------------------
   6. OUR STORY
   ------------------------------------------------------------ */
.our-story { padding: 60px 0; }
.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
.story-image img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  height: 280px;
  object-fit: cover;
  width: 100%;
}
.story-content h2 { font-size: 26px; margin-bottom: 16px; }
.story-content p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 14px;
}
.story-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 22px;
}
.story-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
}
.story-feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.icon-orange { background: #FFE9DC; color: var(--orange); }
.icon-blue   { background: #E1EBFF; color: var(--blue); }
.icon-pink   { background: #FFE3F1; color: var(--pink); }
.icon-purple { background: #ECE5FC; color: var(--purple); }

/* ------------------------------------------------------------
   7. OUR VALUES
   ------------------------------------------------------------ */
.our-values { padding: 60px 0; background: var(--light-gray); }
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.value-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 18px;
}
.icon-purple-soft { background: #ECE5FC; color: var(--purple); }
.icon-orange-soft { background: #FFE9DC; color: var(--orange); }
.icon-green-soft  { background: #E1F9EE; color: var(--green); }
.icon-pink-soft   { background: #FFE3F1; color: var(--pink); }
.icon-navy-soft   { background: #E1EBFF; color: var(--navy); }
.icon-yellow-soft { background: #FFF6D9; color: #E0A800; }

.value-card h3 { font-size: 16px; margin-bottom: 10px; }
.value-card p  { font-size: 13px; color: var(--text-gray); line-height: 1.6; }

/* ------------------------------------------------------------
   8. LEADERSHIP + RECRUITMENT PARTNERS
   ------------------------------------------------------------ */
.leadership { padding: 60px 0; }
.leadership-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 16px;
}
.team-card img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.team-info h4 { font-size: 15.5px; margin-bottom: 2px; }
.team-role {
  display: block;
  color: var(--pink);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}
.team-info p {
  font-size: 12.5px;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 12px;
}
.team-social { display: flex; gap: 8px; }
.team-social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--light-gray);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: background var(--transition), color var(--transition);
}
.team-social a:hover { background: var(--pink); color: var(--white); }

.partners-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.partners-card h3 { font-size: 18px; margin-bottom: 20px; }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.partner-logo {
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-sm);
  padding: 16px 10px;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  color: #444;
  transition: box-shadow var(--transition), transform var(--transition);
}
.partner-logo:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

/* ------------------------------------------------------------
   9. TESTIMONIALS SLIDER
   ------------------------------------------------------------ */
.testimonials { padding: 60px 0; background: var(--light-gray); text-align: center; }
.testimonials h2 { font-size: 26px; margin-bottom: 34px; }

.testimonial-slider {
  display: flex;
  align-items: center;
  gap: 10px;
}
.testimonial-viewport { flex: 1; overflow: hidden; }
.testimonial-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonial-card {
  flex: 0 0 100%;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  text-align: left;
}
.quote-icon { color: var(--pink); font-size: 22px; opacity: 0.25; margin-bottom: 10px; }
.testimonial-card p {
  font-size: 14px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 20px;
}
.testimonial-person { display: flex; align-items: center; gap: 12px; }
.testimonial-person img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-person h5 { font-size: 14px; margin-bottom: 2px; }
.testimonial-person span { font-size: 12px; color: var(--text-gray); }
.stars { color: #FFC531; font-size: 11px; margin-top: 4px; }

.slider-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-gray);
  background: var(--white);
  color: var(--navy);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition);
}
.slider-arrow:hover { background: var(--pink); color: var(--white); border-color: var(--pink); }

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.slider-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #DADAE6;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: width var(--transition), background var(--transition);
}
.slider-dots .dot.active {
  background: var(--pink);
  width: 22px;
  border-radius: 6px;
}

/* ------------------------------------------------------------
   10. CTA BANNER
   ------------------------------------------------------------ */
.about-cta {
  background: linear-gradient(100deg, #3B1E9E 0%, #6B2FBF 55%, #D6249F 100%);
  border-radius: var(--radius-lg);
  max-width: 1160px;
  margin: 50px auto;
  padding: 34px 28px;
}
.cta-content {
  max-width: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}
.cta-left { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--yellow);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cta-text h3 { color: var(--white); font-size: 19px; margin-bottom: 6px; }
.cta-text p { color: rgba(255, 255, 255, 0.85); font-size: 13px; }
.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.cta-buttons .btn { width: 100%; justify-content: center; }

/* ------------------------------------------------------------
   11. RESPONSIVE — MOBILE FIRST (breakpoints scale up)
   ------------------------------------------------------------ */

/* 375px and up — minor breathing room */
@media (min-width: 375px) {
  .hero-title { font-size: 36px; }
}

/* 480px and up */
@media (min-width: 480px) {
  .container { padding: 0 24px; }
  .hero-features { grid-template-columns: repeat(2, 1fr); }
  .cta-buttons { flex-direction: row; width: auto; }
  .cta-buttons .btn { width: auto; }
}

/* 576px and up */
@media (min-width: 576px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-image img { height: 320px; }
  .story-image img { height: 320px; }
}

/* 768px and up */
@media (min-width: 768px) {
  .hero-title { font-size: 42px; }
  .story-grid { grid-template-columns: 1fr 1fr; }
  .story-features { grid-template-columns: repeat(2, 1fr); }
  .cta-content { flex-direction: row; justify-content: space-between; text-align: left; }
  .cta-left { flex-direction: row; text-align: left; }
  .about-cta { padding: 40px 44px; }
}

/* 992px and up */
@media (min-width: 992px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
  .hero-image img { height: 380px; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .leadership-grid { grid-template-columns: 1.4fr 1fr; align-items: start; }
  .partners-grid { grid-template-columns: repeat(4, 1fr); }
  .testimonial-card { padding: 34px 30px; }
}

/* 1200px and up */
@media (min-width: 1200px) {
  .stats-grid { grid-template-columns: repeat(6, 1fr); }
  .hero-title { font-size: 46px; }
  .hero-image img { height: 420px; }
  .story-image img { height: 380px; }
  .about-cta { padding: 44px 56px; }
}

/* 1600px and up — wide desktop refinement */
@media (min-width: 1600px) {
  .container { max-width: 1320px; }
  .about-cta { max-width: 1280px; }
}