/* about.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

:root {
  --color-navy: #1a2a6c;
  --color-emerald: #2ecc71;
  --color-gold: #f1c40f;
  --color-light: #f9f9f9;
  --color-dark: #333;
  --font-primary: 'Poppins', sans-serif;
}

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

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  font-size: 16px;
  color: var(--color-dark);
  background-color: var(--color-light);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-navy);
}

nav ul {
  display: flex;
  gap: 1.5rem;
}

nav a {
  font-weight: 400;
  color: var(--color-dark);
  transition: color 0.3s;
}

nav a:hover {
  color: var(--color-emerald);
}


/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-navy);
}

nav ul {
  display: flex;
  gap: 1.5rem;
}

nav a {
  font-weight: 400;
  color: var(--color-dark);
  transition: color 0.3s;
}

nav a:hover {
  color: var(--color-emerald);
}

/* About Hero */
.about-hero {
  text-align: center;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-emerald) 100%);
  color: #fff;
  padding: 4rem 1rem;
}

.about-hero h1 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.about-hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.about-hero img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Sections */
section {
  padding: 3rem 2rem;
}

.history, .mission {
  background-color: #fff;
  max-width: 800px;
  margin: 0 auto 2rem;
  text-align: center;
}

.history h2, .mission h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 1rem;
  position: relative;
}

.history h2::after, .mission h2::after {
  content: '';
  width: 4rem;
  height: 4px;
  background-color: var(--color-emerald);
  display: block;
  margin: 0.5rem auto 1.5rem;
}

.history p, .mission p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.history ul {
  text-align: left;
  display: inline-block;
}

.history ul li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
  font-size: 1rem;
}

.history ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-emerald);
}

/* Core Values */
.core-values {
  background-color: var(--color-light);
  max-width: 1000px;
  margin: 0 auto 2rem;
  text-align: center;
  padding: 2rem 1rem;
}
.core-values h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 2rem;
  position: relative;
}
.core-values h2::after {
  content: '';
  width: 4rem;
  height: 4px;
  background-color: var(--color-emerald);
  display: block;
  margin: 0.5rem auto 2rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  perspective: 1000px;
}

.value-item {
  position: relative;
  width: 100%;
  height: 200px;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}
.value-item:hover {
  transform: rotateY(180deg);
}

.value-item .value-front,
.value-item .value-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.value-item .value-front {
  background-color: #fff;
  flex-direction: column;
}
.value-item .value-front h3 {
  font-size: 1.3rem;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
}
.value-item .value-front p {
  font-size: 1rem;
}

.value-item .value-back {
  background-color: #fff;
  color: #000000;
  transform: rotateY(180deg);
  font-size: 2.5rem;
}

/* Icon Example - use data-icon attribute */
.value-item .value-back::before {
  content: attr(data-icon);
  font-family: 'FontAwesome'; /* Ensure FontAwesome is loaded */
}

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* Team Section */
.about-team {
  background-color: #fff;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 2rem;
}

.about-team h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 1rem;
  position: relative;
}

.about-team h2::after {
  content: '';
  width: 4rem;
  height: 4px;
  background-color: var(--color-emerald);
  display: block;
  margin: 0.5rem auto 1.5rem;
}

.about-team p {
  font-size: 1rem;
  margin-bottom: 2rem;
}

/* Footer */
footer {
  background-color: var(--color-navy);
  color: #fff;
  padding: 2rem 2rem 1rem;
}

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

.footer-column h3 {
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li a {
  color: #fff;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: var(--color-emerald);
}

.bottom-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.bottom-footer .legal-links li {
  display: inline;
  margin-left: 1rem;
}

.bottom-footer a:hover {
  color: var(--color-emerald);
}

.value-item.flipped {
  transform: rotateY(180deg);
}

@media (max-width: 600px) {
  .signup-hero h1 { font-size: 2.5rem; }
  .signup-form-section { padding: 2rem 1rem; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .bottom-footer { flex-direction: column; gap: 1rem; }
}

/* Responsive */
@media (max-width: 768px) {
  .values-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .bottom-footer {
    flex-direction: column;
    gap: 1rem;
  }
}