/* About Hero Section */
.about-hero {
  min-height: 80vh; /* same */
  background: linear-gradient(135deg, var(--bg-dark) 0%, #2a2a2a 100%);
  display: flex;
  align-items: center;

  /* 🔽 CHANGE: extra gap remove */
  margin-top: 0;

  /* 🔽 CHANGE: top padding thoda add so content chipke nahi */
  padding: 2rem 5% 0;

  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,107,53,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.about-hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;

  /* 🔽 CHANGE: upar ka unnecessary space kam */
  padding: 3rem 0;
}

.about-hero-text h1 {
  font-size: 3.5rem;
  font-weight: bold;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.about-hero-text .highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-hero-text p {
  font-size: 1.2rem;
  color: #cccccc;
  margin-bottom: 2rem;
}

.about-hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.about-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-hero-graphic {
  width: 400px;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.about-hero-image {
  width: 100%;
  height: auto;
  max-width: 350px;
  border-radius: 50%;
  filter: drop-shadow(0 10px 30px rgba(0, 199, 200, 0.3));
  object-fit: cover;
}
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}
/* Our Values Section */
.our-values {
  padding: 5rem 5%;
  background: var(--bg-section);
  transition: background-color 0.3s ease;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.value-card {
  background: var(--bg-light);
  padding: 2.5rem 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary-color); /* Accent border */
}

[data-theme="dark"] .value-card {
  background: var(--bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--primary-color);
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--primary-color); /* Use primary color for icons */
}

.value-card h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.value-card p {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

/* Our Story & Approach Section */
.our-story {
  padding: 5rem 5%;
  background: var(--bg-light); /* default = light */
  transition: background-color 0.3s ease;
}

[data-theme="dark"] .our-story {
  background: var(--bg-dark); /* dark mode override */
}

[data-theme="dark"] .story-text p,
[data-theme="dark"] .story-features li {
  color: var(--text-light); /* white text in dark mode */
}


.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-text .section-header {
  text-align: left; /* Override center alignment for this header */
  margin-bottom: 2rem;
}

.story-text p {
  font-size: 1.1rem;
  color: #cccccc;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.story-features {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
}

.story-features li {
  color: #cccccc;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.story-features li i {
  color: var(--primary-color);
  margin-right: 0.8rem;
  font-size: 1.2rem;
}

.story-visual img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.our-story {
  padding: 60px 20px;
  background-color: #f9f9f9;
  transition: background 0.3s ease, color 0.3s ease;
}
.our-story.dark-mode {
  background-color: #111;
  color: white;
}

.section-header h2 {
  font-size: 32px;
  margin-bottom: 20px;
}
.section-header .highlight {
  color: #00bcd4;
}

.story-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}
.story-text {
  flex: 1 1 50%;
  animation: slideInLeft 1s ease forwards;
}
.story-visual {
  flex: 1 1 45%;
  position: relative;
  animation: slideInRight 1s ease forwards;
}

/* Background circle */
.circle-bg {
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: var(--bg-light);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.3;
  z-index: 1;
}
body.dark-mode .circle-bg {
  background: var(--text-dark)!important;
  opacity: 1 !important; /* Full visible */
}


/* Logo Wrapper */
.logo-wrapper {
  text-align: center;
  position: relative;
  z-index: 2;
  margin-bottom: 30px;
}

.logo:hover {
  transform: scale(1.05);
}
body.light-mode .light-logo {
  display: inline-block;
}
body.dark-mode .dark-logo {
  display: inline-block;
}
.logo-wrapper {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 0 auto; /* horizontally center the container if needed */
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-wrapper lottie-player {
  width: 100%;
  height: 100%;
}


/* Floating Icons Around Circle */
.icon {
  position: fixed;
  width: 55px;
  height: 55px;
  background: var(--text-dark);
  color: #00bcd4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 2;
  transition: transform 0.3s;
}

.icon:hover {
  transform: scale(1.1);
}

/* Icon positions on circle's edge */
.icon1 { top: 0%; left: 50%; transform: translate(-50%, -50%); }     /* Top */
.icon2 { top: 20%; left: 85%; transform: translate(-50%, -50%); }    /* Top Right */
.icon3 { top: 50%; left: 100%; transform: translate(-50%, -50%); }   /* Right */
.icon4 { top: 80%; left: 85%; transform: translate(-50%, -50%); }    /* Bottom Right */
.icon5 { top: 100%; left: 50%; transform: translate(-50%, -50%); }   /* Bottom */
.icon6 { top: 80%; left: 15%; transform: translate(-50%, -50%); }    /* Bottom Left */
.icon7 { top: 50%; left: 0%; transform: translate(-50%, -50%); }     /* Left */
.icon8 { top: 20%; left: 15%; transform: translate(-50%, -50%); }    /* Top Left */



/* Features List */
.story-features {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}
.story-features li {
  margin-bottom: 12px;
  font-size: 16px;
  display: flex;
  align-items: center;
}
.story-features i {
  margin-right: 10px;
  color: #00bcd4;
}


/* Mission & Vision Section */
.mission-vision {
  padding: 5rem 5%;
  background: var(--bg-section);
  transition: background-color 0.3s ease;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.mission-card {
  background: var(--bg-light);
  padding: 2.5rem 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--primary-color); /* Accent border on top */
}

[data-theme="dark"] .mission-card {
  background: var(--bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 4px solid var(--primary-color);
}

.mission-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.mission-card .card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.mission-card h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.mission-card p {
  color: var(--text-muted);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .about-hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-hero-visual {
    order: -1; /* Move image above text on smaller screens */
    margin-bottom: 2rem;
  }
  .about-hero-graphic {
    width: 300px;
    height: 300px;
  }
  .about-hero-image {
    max-width: 250px;
  }

  .story-content {
    grid-template-columns: 1fr;
  }
  .story-text .section-header {
    text-align: center; /* Center header on smaller screens */
  }
  .story-features {
    text-align: left; /* Keep features left-aligned */
  }
}

@media (max-width: 768px) {
  .about-hero-text h1 {
    font-size: 2.8rem;
  }
  .about-hero-text p {
    font-size: 1rem;
  }
  .about-hero-cta {
    justify-content: center;
  }
  .values-grid,
  .mission-vision-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .about-hero-text h1 {
    font-size: 2.2rem;
  }
  .about-hero-graphic {
    width: 250px;
    height: 250px;
  }
  .about-hero-image {
    max-width: 200px;
  }
  .value-card,
  .mission-card {
    padding: 1.5rem;
  }
}
[data-theme="dark"] .value-card {
  background: var(--bg-dark);
}
[data-theme="dark"] .value-card {
  background: var(--bg-dark);
}
.story-features li {
  color: var(--text-muted);
}
.story-text p {
  color: #cccccc;
}
.story-text p {
  color: var(--text-muted);
}
:root {
  --text-muted: #666666;
}

[data-theme="dark"] {
  --text-muted: #cccccc;
}



/* ===== Updated About Hero Section CSS ===== */
.about-hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #2a2a2a 100%);
  padding: 8rem 0 6rem;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="aboutGrid" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(0,151,178,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23aboutGrid)"/></svg>');
  opacity: 0.4;
}

.about-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-hero-text h1 {
  font-size: 3.5rem;
  font-weight: bold;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.about-hero-text .highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-hero-text p {
  font-size: 1.2rem;
  color: #cccccc;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.about-hero-cta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.about-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-hero-graphic {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 151, 178, 0.1);
  border-radius: 50%;
  border: 2px solid rgba(0, 151, 178, 0.3);
  animation: float 6s ease-in-out infinite;
}

.about-hero-image {
  width: 200px;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 151, 178, 0.3));
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 6rem 0 4rem;
  }
  .about-hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .about-hero-text h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .about-hero {
    padding: 5rem 0 3rem;
  }
  .about-hero-text h1 {
    font-size: 2rem;
  }
  .about-hero-graphic {
    width: 250px;
    height: 250px;
  }
  .about-hero-image {
    width: 150px;
  }
}




/* ===== ABOUT PAGE SPACING FIX (OVERRIDE ONLY) ===== */

/* Header ke niche ka extra gap remove */
.about-hero {
  margin-top: 5% !important;
  padding-top: 0 !important;
}

/* Header bottom white line remove */
header {
  border-bottom: none !important;
}

/* Agar header ke baad koi line aa rahi ho */
header::after {
  display: none !important;
}

/* Body aur section ke beech ka gap remove */
body {
  margin: 0;
  padding: 0;
}

/* About hero ko header ke niche tight fit */
.about-hero {
  min-height: calc(80vh - 80px); /* header height adjust */
}



/* ================= ABOUT HERO MOBILE LOGO FIX ================= */

@media (max-width: 768px) {

  /* About hero top spacing stable */
  .about-hero {
    padding-top: 6rem !important;
    margin-top: 0 !important;
  }

  /* Floating animation ko mobile me soften */
  .about-hero-graphic {
    animation: none !important;
    transform: translateY(0) !important;
  }

  /* Logo shadow cut hone se bachao */
  .about-hero-visual {
    padding-top: 1.5rem;
  }

  .about-hero-image {
    filter: drop-shadow(0 6px 18px rgba(0, 199, 200, 0.35));
  }
}

/* Extra small devices */
@media (max-width: 480px) {

  .about-hero {
    padding-top: 5rem !important;
  }

  .about-hero-graphic {
    margin-top: 0.5rem;
  }
}
/* ============================================================ */