/* about.css - Single4U About Page Styles */
/* ====== CSS Variables ====== */
:root {
  /* Brand Colors */
  --primary: #E91E63;
  --primary-dark: #C2185B;
  --primary-light: #F8BBD0;
  --secondary: #1565C0;
  --secondary-dark: #0D47A1;
  --accent: #43A047;
  --accent-dark: #2E7D32;

  /* Neutral Colors */
  --text-primary: #212121;
  --text-secondary: #757575;
  --text-light: #FFFFFF;
  --bg-light: #FFFFFF;
  --bg-light-secondary: #F5F5F5;
  --bg-dark: #212121;
  --border-light: #E0E0E0;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
  --gradient-dark: linear-gradient(135deg, var(--bg-dark) 0%, #37474F 100%);

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.18);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50%;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-xxl: 3rem;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ====== Base Styles & Reset ====== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  /*box-sizing: border-box;*/
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

/* ====== Typography ====== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--primary);
  position: relative;
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-xl);
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--secondary);
}

p {
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
}

blockquote {
  background: var(--bg-light-secondary);
  border-left: 4px solid var(--primary);
  padding: var(--space-lg);
  margin: var(--space-xl) 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  position: relative;
}

blockquote::before {
  content: '"';
  position: absolute;
  top: var(--space-xs);
  left: var(--space-sm);
  font-size: 3rem;
  color: var(--primary-light);
  opacity: 0.3;
  line-height: 1;
}

cite {
  display: block;
  margin-top: var(--space-sm);
  font-style: normal;
  font-weight: 600;
  color: var(--primary);
}

/* ====== Layout & Containers ====== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);

}

/* ====== Header & Navigation ====== */
header {
  background-color: var(--bg-light);
  box-shadow: var(--shadow-sm);
  padding: var(--space-md) 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

nav a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
}

nav a:hover {
  color: var(--primary);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-normal);
}

nav a:hover::after {
  width: 100%;
}

/* ====== Main Content Sections ====== */
main {
  padding: var(--space-xl) 0;
}

section {
  padding: var(--space-xl) 0;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

#hero {
  text-align: center;
  padding: var(--space-xxl) 0;
  background: var(--bg-light-secondary);
  border-radius: var(--radius-lg);
}

#hero h1 {
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

#hero p {
  font-size: 1.5rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Our Story Section */
#our-story {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
}

/* Mission Section */
#our-mission {
  background: var(--bg-light-secondary);
}

#our-mission>p {
  font-size: 1.2rem;
  margin-bottom: var(--space-xl);
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

article {
  background: var(--bg-light);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

article:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

article h3 {
  color: var(--primary);
  margin-bottom: var(--space-md);
}

/* How We're Different Section */
#how-were-different {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
}

#how-were-different>p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-xl);
  font-size: 1.2rem;
}

#how-were-different>div {
  background: var(--bg-light-secondary);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
  transition: var(--transition-normal);
}

#how-were-different>div:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
}

#how-were-different h3 {
  color: var(--secondary);
  margin-bottom: var(--space-sm);
}

/* Team Section */
#our-team {
  background: var(--bg-light-secondary);
  text-align: center;
  border-radius: var(--radius-lg);
  padding: 60px;
}

#our-team>p {
  max-width: 800px;
  margin: 0 auto var(--space-xl);
}

.team-container {
  max-width: 1500px;
  margin-left: -630px;
  margin-right: auto;
  padding: 0 20px;
}

.team-member {
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: 5px;
  transition: var(--transition-normal);
  position: relative;
}

.team-member:hover::before {
  transform: scaleY(1);
}

.team-member:first-of-type {
  margin-top: 69px;
}

.team-member:nth-of-type(2) {
  flex-direction: row-reverse;
}

.team-member:nth-of-type(2)::before {
  left: auto;
  right: 0;
}

.info {
  flex: 1;
  min-width: 400px;
  background: var(--bg-light);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  text-align: left;
}

.info:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}


.info h3 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: var(--space-xs);
}

.info p:first-of-type {
  color: var(--secondary);
  font-weight: 500;
  margin-bottom: var(--space-md);
}

.info .position {
  color: var(--secondary);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 20px;
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(var(--secondary-rgb, 108, 117, 125), 0.3);
}


.photo {
  flex: 0 0 300px;
  padding: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.photo img {
  width: 300px;
  height: 300px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: solid #fff;
}

.photo img:hover {
  transform: scale(1.05);
}

.volunteer-section-standalone {
  max-width: 300px;
  margin: var(--space-lg) 0 0 auto;
  padding: var(--space-md);
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--primary);
  position: relative;
}

.volunteer-section-standalone p {
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
  color: var(--text-primary);
  font-style: italic;
}

.team-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-xl);
  gap: var(--space-lg);
}

.team-header h2 {
  flex: 0 0 auto;
  margin-bottom: 0;
  white-space: nowrap;
}

.team-intro-section {
  max-width: 300px;
  padding: var(--space-md);
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--primary);
  position: relative;
}

.team-intro-section p {
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
  color: var(--text-primary);
  font-style: italic;
}

.volunteer-section p {
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0;
  color: var(--text-primary);
  font-style: italic;
}

/* Milestones Section */
#milestones {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
}

#milestones ul {
  list-style: none;
  max-width: 800px;
  margin: 0 auto;
}

#milestones li {
  padding: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-md);
  background: var(--bg-light-secondary);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  position: relative;
}

#milestones li::before {
  content: '✓';
  position: absolute;
  left: -30px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: var(--accent);
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

#milestones strong {
  color: var(--primary);
}

/* Join Community Section */
#join-community {
  text-align: center;
  background: var(--gradient-dark);
  color: var(--text-light);
  padding: var(--space-xxl) 0;
  border-radius: var(--radius-lg);
}

#join-community h2 {
  color: var(--text-light);
}

#join-community h2::after {
  left: 50%;
  transform: translateX(-50%);
}

#join-community p {
  max-width: 800px;
  margin: 0 auto var(--space-lg);
  font-size: 1.1rem;
}

#join-community a {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  background: var(--gradient-primary);
  color: var(--text-light);
  text-decoration: none;
  border-radius: var(--radius-lg);
  font-weight: 600;
  margin: var(--space-sm);
  transition: var(--transition-normal);
  box-shadow: var(--shadow-md);
}

#join-community a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}


/* ====== Responsive Design ====== */
@media (max-width: 768px) {
  :root {
    --space-md: 0.75rem;
    --space-lg: 1.25rem;
    --space-xl: 1.75rem;
    --space-xxl: 2.5rem;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
  }

  #milestones li::before {
    left: -25px;
  }

  footer>div {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (min-width: 769px) {

  #our-mission,
  #how-were-different {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-lg);
    border-radius: var(--radius-lg);
  }

  #our-team {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
  }
}

/* ====== Footer ====== */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-section h3,
.footer-section h4 {
  color: var(--text-light);
  margin-bottom: var(--space-md);
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: var(--space-sm);
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-section a:hover {
  color: var(--text-light);
}

.footer-section a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-normal);
}

.footer-section a:hover::after {
  width: 100%;
}

.footer-section a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-normal);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-md);
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}