/* --- CSS VARIABLES & RESET (Inherited from Main Site) --- */
:root {
  --brand-orange: #FF5E4D;
  --brand-purple: #8B45FA;
  --brand-gradient: linear-gradient(135deg, #FF5E4D 0%, #8B45FA 100%);

  --primary: #8B45FA;
  --secondary: #2B2D42;
  --text-dark: #1A1A1A;
  --text-gray: #555555;
  --bg-light: #F9FAFB;
  --white: #FFFFFF;

  --shadow: 0 10px 30px rgba(139, 69, 250, 0.15);
  --radius: 12px;
  --container-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--white);
  padding-top: 80px;
  /* Push content down for fixed header */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
  color: var(--secondary);
  line-height: 1.2;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* --- UTILITY CLASSES --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--brand-gradient);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(255, 94, 77, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(139, 69, 250, 0.4);
}

.btn-outline {
  border: 2px solid var(--brand-purple);
  color: var(--brand-purple);
  background: transparent;
}

.btn-outline:hover {
  background: var(--brand-purple);
  color: var(--white);
}

.section-padding {
  padding: 100px 0;
}

.text-center {
  text-align: center;
}

.text-gradient {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- HEADER --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  z-index: 1000;
  transition: 0.3s ease;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(10px);
  height: 80px;
}

header.scrolled {
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid #f0f0f0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.header-logo img {
  height: 50px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  color: var(--secondary);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--brand-purple);
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--secondary);
}

/* --- STORYTELLING SECTION --- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.story-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.story-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--brand-purple);
}

.story-content p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  color: var(--text-gray);
}

.story-image-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.story-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.story-image-wrapper:hover img {
  transform: scale(1.03);
}

/* --- MISSION SECTION --- */
.mission-banner {
  background: linear-gradient(135deg, #1a0038 0%, #5c2ab2 100%);
  padding: 50px 20px;
  /* Reduced height (was 80px) */
  color: var(--white);
  border-radius: 20px;
  text-align: center;
  margin: 60px auto;
  max-width: 1200px;
  /* Container width */
  box-shadow: 0 20px 40px rgba(139, 69, 250, 0.2);
}

.mission-banner h2 {
  color: var(--white);
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.mission-banner p {
  font-size: 1.2rem;
  opacity: 0.95;
  max-width: 800px;
  margin: 0 auto;
  font-weight: 400;
}

/* --- TEAM SECTION --- */
.bg-gray {
  background-color: var(--bg-light);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  gap: 30px;
  align-items: flex-start;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
  border: 1px solid transparent;
}

.team-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 69, 250, 0.2);
  box-shadow: var(--shadow);
}

.team-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 4px solid var(--bg-light);
}

.team-info h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.team-role {
  color: var(--brand-purple);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 15px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.team-bio {
  color: var(--text-gray);
  font-size: 0.95rem;
}

.linkedin-link {
  display: inline-block;
  margin-top: 15px;
  color: var(--secondary);
  font-size: 1.2rem;
  transition: 0.3s;
}

.linkedin-link:hover {
  color: #0077b5;
}

/* --- FOOTER --- */
footer {
  background: var(--white);
  color: var(--secondary);
  padding: 80px 0 30px;
  border-top: 1px solid #eee;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo-img {
  height: 40px;
  margin-bottom: 15px;
}

.footer-col h4 {
  color: var(--text-dark);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col a {
  color: var(--text-gray);
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--brand-purple);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  transition: 0.3s;
}

.social-icons a:hover {
  background: var(--brand-gradient);
  color: var(--white);
}

.copyright {
  border-top: 1px solid #eee;
  padding-top: 30px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-gray);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .story-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .story-content h1 {
    font-size: 2.5rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    display: none;
    border-bottom: 1px solid #eee;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}
