/* --- CSS Custom Properties (Variables) --- */
:root {
  /* Aligned with Features page for consistency */
  --primary-color: #007bff; /* Bright Blue - For main actions, buttons, highlights */
  --secondary-color: #6c757d; /* Muted Gray - For secondary text, borders, subtle elements */
  --accent-color: #28a745; /* Green - For success, positive indicators */
  --tertiary-color: #ffc107; /* Yellow - For warnings, attention-grabbing elements */

  --background-light: #f8f9fa; /* Very light gray - General background */
  --background-alt: #ffffff; /* Pure white - For cards, distinct sections */
  --background-dark: #343a40; /* Dark gray/black - For footer, dark elements */

  --text-primary: #343a40; /* Dark text for readability on light backgrounds */
  --text-secondary: #495057; /* Slightly lighter text for paragraphs */
  --text-light: #ffffff; /* White text on dark backgrounds */

  --border-color: #e9ecef; /* Light border for subtle separation */

  --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); /* Small shadow */
  --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); /* Medium shadow */
  --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175); /* Large shadow for depth */

  --border-radius-sm: 0.25rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 1rem;

  --transition-speed: 0.3s; /* Standard transition duration */
  --transition-fast: 0.15s; /* Faster transitions */

  /* Typography */
  --font-heading: 'Share Tech', sans-serif;
  --font-body: 'Poppins', sans-serif;
}

/* --- Base & Reset --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
  height: 100%; /* Important for full-height mobile menu */
}

body {
  font-family: var(--font-body);
  background-color: var(--background-light);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden; /* Prevent horizontal scroll from animations */
  height: 100%; /* Important for full-height mobile menu */
}

a {
  color: inherit;
  transition: color var(--transition-speed) ease;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem; /* Consistent horizontal padding */
}

/* --- Header (Consistent with Features page) --- */
.header {
  padding: 0.75rem 0;
  background-color: var(--background-alt);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all var(--transition-speed) ease;
}

.header_content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 1rem;
  position: relative;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--primary-color);
  transition: transform var(--transition-speed) ease;
  z-index: 2;
}
.logo:hover,
.logo:focus-visible {
  transform: scale(1.02);
  color: color-mix(in srgb, var(--primary-color) 80%, black);
}

.logo_icon {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-md);
  margin-right: 0.6rem;
  transition: transform var(--transition-speed) ease;
}
.logo:hover .logo_icon {
  transform: rotate(5deg);
}

/* Hamburger Button (Mobile Only) */
.hamburger {
  display: none; /* Hidden by default, shown on mobile */
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 10001; /* VERY high z-index to always be clickable on top of menu */
  transition: transform var(--transition-fast) ease;
}

.hamburger_line {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-speed) ease;
  margin: 5px 0;
}

/* Hamburger active state (turns into X) */
.hamburger.is_active .hamburger_line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background-color: var(--text-light); /* White X on dark menu */
}
.hamburger.is_active .hamburger_line:nth-child(2) {
  opacity: 0;
}
.hamburger.is_active .hamburger_line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background-color: var(--text-light); /* White X on dark menu */
}


/* Navigation Menu (Desktop Default) */
.nav {
  display: flex; /* Always flex on desktop */
  flex-direction: row; /* Horizontal */
  align-items: center;
  gap: 1.8rem; /* Space between links */
  flex-grow: 1; /* Allows nav to take available space for centering */
  justify-content: center; /* Centers items within the grown space */
  transition: all var(--transition-speed) ease; /* For smooth mobile transition */
}

.nav_link {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.3rem 0.6rem;
  position: relative;
  transition: color var(--transition-fast) ease, transform var(--transition-fast) ease;
}

.nav_link.active {
    color: var(--primary-color);
    font-weight: 600;
}
.nav_link.active::after {
    width: 100%;
}

.nav_link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-fast) ease-out;
}

.nav_link:hover::after,
.nav_link:focus-visible::after {
  width: 100%;
}
.nav_link:hover,
.nav_link:focus-visible {
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Contact Button (in Header) */
.contact_button {
  font-size: 0.95rem;
  color: var(--text-light);
  background: linear-gradient(
    45deg,
    var(--primary-color) 0%,
    color-mix(in srgb, var(--primary-color) 80%, white) 100%
  );
  border: none;
  border-radius: 2rem;
  padding: 0.7rem 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  margin-left: 2rem; /* Push to the right */
  white-space: nowrap; /* Prevent button text from wrapping */
}

.contact_button:hover,
.contact_button:focus-visible {
  background: linear-gradient(
    45deg,
    color-mix(in srgb, var(--primary-color) 90%, black) 0%,
    var(--primary-color) 100%
  );
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-md);
  outline: none;
}
.contact_button:active {
  transform: translateY(0) scale(0.98);
  box-shadow: var(--shadow-sm);
}

/* --- General Section Styling --- */
section {
  padding: 5rem 0;
  background-color: var(--background-light);
}
section.section-alt {
  background-color: var(--background-alt);
}
section h2 {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3.5rem;
  position: relative;
  line-height: 1.2;
}
section h2 span {
    color: var(--primary-color); /* Highlight specific words in headings */
}
section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 1rem auto 0;
    border-radius: 2px;
}
.card {
    background-color: var(--background-alt);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}
.card-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    transition: transform var(--transition-fast) ease, color var(--transition-fast) ease;
}
.card:hover .card-icon {
    transform: rotate(5deg) scale(1.05);
    color: color-mix(in srgb, var(--primary-color) 80%, black);
}

/* CTA Buttons Global Style (Consistent with Features page) */
.cta-button, .cta-button-secondary {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 2rem;
  padding: 0.9rem 1.8rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;
}
.cta-button {
  color: var(--text-light);
  background-color: var(--accent-color);
  box-shadow: var(--shadow-md);
}
.cta-button:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: var(--shadow-lg);
  background-color: color-mix(in srgb, var(--accent-color) 90%, black);
}
.cta-button-secondary {
    color: var(--accent-color); /* Matches accent color */
    background-color: transparent;
    border: 2px solid var(--accent-color);
    box-shadow: none;
}
.cta-button-secondary:hover {
    background-color: var(--accent-color);
    color: var(--text-light);
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
}

/* --- About Hero Section --- */
.about-hero-section {
  padding: 6rem 1.5rem;
  min-height: 80vh; /* Make it take up most of the viewport */
  display: flex;
  align-items: center;
  background-color: var(--background-light); /* Ensure a solid background */
}

.about-hero-section .container {
  display: flex;
  align-items: center;
  gap: 4rem; /* Increased gap for visual separation */
  flex-wrap: wrap; /* Allows wrapping on smaller screens */
  justify-content: center; /* Center items when wrapped */
}

.about-content {
  flex: 1; /* Allows content to take available space */
  min-width: 300px; /* Prevents content from becoming too narrow */
  background: var(--background-alt); /* Solid background for content card */
  padding: 3.5rem; /* Generous padding */
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-speed) ease;
}
.about-content:hover {
    box-shadow: var(--shadow-lg);
}

.about-content h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  line-height: 1.2;
}

.about-content .lead-paragraph {
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  font-weight: 500;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.about-cta {
    margin-top: 2rem;
    display: flex; /* Make buttons flex */
    gap: 1rem; /* Space between buttons */
    flex-wrap: wrap;
    justify-content: flex-start; /* Align left */
}

.about-image-wrapper {
  flex: 0.8; /* Image takes slightly less space than content */
  min-width: 300px;
  text-align: center;
}

.about-image {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s ease-out, box-shadow 0.4s ease-out;
}

.about-image:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* --- Mission/Vision Section --- */
.mission-vision-section {
  padding: 5rem 0;
  background-color: var(--background-light); /* Use light background for this section */
}
.mission-vision-section .container {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
}
.mission-card, .vision-card {
    flex: 1;
    min-width: 300px; /* Ensure they don't get too small */
    padding: 2.5rem;
    /* Card styles from general .card apply here */
}
.mission-card h2, .vision-card h2 {
    font-size: 2rem; /* Override general section h2 */
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-align: center;
}
.mission-card h2::after, .vision-card h2::after {
    display: none; /* Remove underline for card headings */
}
.mission-card p, .vision-card p {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* --- Our Story Section --- */
.our-story-section {
    padding: 5rem 0;
    background-color: var(--background-alt);
}
.our-story-section .container {
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    justify-content: center;
}
.story-content {
    flex: 1;
    min-width: 300px;
    padding-right: 1.5rem; /* Space from image */
}
.story-content h2 {
    text-align: left; /* Align heading left for this section */
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}
.story-content h2::after {
    margin-left: 0; /* Align underline left */
}
.story-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}
.story-image-wrapper {
    flex: 0.8;
    min-width: 300px;
    text-align: center;
}
.story-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.story-image:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}
.story-stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 3rem;
    gap: 1.5rem;
    flex-wrap: wrap;
    background-color: var(--background-light);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}
.stat-item {
    text-align: center;
    flex: 1;
    min-width: 120px; /* Ensure stats don't become too small */
}
.stat-item h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}
.stat-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* --- Values Section --- */
.values-section {
    padding: 5rem 0;
    background-color: var(--background-light);
}
.values-section .container {
    text-align: center;
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}
.value-item {
    /* Uses general .card styles */
    padding: 2rem;
}
.value-item h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}
.value-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}
.value-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* --- Team Section --- */
.team-section {
    padding: 5rem 0;
    background-color: var(--background-alt);
    text-align: center;
}
.team-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3rem;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}
.team-member {
    background-color: var(--background-light);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}
.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}
.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 3px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    transition: border-color 0.3s ease;
}
.team-member:hover .member-photo {
    border-color: var(--accent-color);
}
.team-member h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}
.team-member p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}
.team-cta {
    margin-top: 3rem;
    text-align: center;
}


/* --- CTA Section (Consistent with Features page) --- */
.cta-section {
    padding: 5rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, color-mix(in srgb, var(--primary-color) 70%, black) 100%);
    color: var(--text-light);
}
.cta-section h2 {
    color: var(--text-light);
}
.cta-section h2::after {
    background-color: var(--text-light);
}
.cta-section p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.cta_buttons_wrapper {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}


/* --- Footer Styles --- */
.site_footer {
    background-color: var(--background-dark);
    color: var(--text-light);
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
}


/* --- General Animations (Fade In & Scroll Reveal) --- */
.scroll_reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll_reveal.is_visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
  /* Header adjustments for mobile */
  .header_content {
    justify-content: space-between;
    flex-wrap: nowrap;
    padding: 0.75rem 1.5rem;
  }

  .hamburger {
    display: block;
    z-index: 10001;
  }

  .nav {
    position: fixed;
    top: 0;
    /* CHANGE 1: Set a fixed width less than 100% */
    width: 75%; /* You can adjust this to 60%, 300px, etc. */
    right: 0; /* Changed from 'left: 0' to 'right: 0' to slide from the right */
    height: 100vh; /* Keep full viewport height for side slide */
    background-color: color-mix(in srgb, var(--primary-color) 90%, black);
    backdrop-filter: blur(12px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem 1.5rem;
    /* CHANGE 2: Transform to slide out to the right when inactive */
    transform: translateX(100%);
    opacity: 0; /* Keep opacity for smooth fade */
    visibility: hidden; /* Hide completely when inactive */
    z-index: 10000;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-speed) ease-out, opacity var(--transition-speed) ease-out, visibility var(--transition-speed) ease-out;
    overflow-y: auto;
  }

  .nav.active {
    /* CHANGE 3: Transform to slide into view (no translateX) */
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  /* Overlay for dimmed background effect */
  body.no_scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
  }

  body.no_scroll::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
    z-index: 9999; /* Below the nav but above other content */
    transition: opacity var(--transition-speed) ease-out;
    opacity: 1;
    pointer-events: auto; /* Allow overlay to capture clicks */
  }

  /* Remove overlay when not scrolling or menu is closed */
  body:not(.no_scroll)::before {
    opacity: 0;
    pointer-events: none; /* Don't block clicks when hidden */
  }


  .nav_link {
    font-size: 1.5rem;
    color: var(--text-light);
    padding: 1rem 0;
    /* CHANGE 4: Adjust width of individual links inside the narrower menu */
    width: 90%; /* Make links stretch almost full width of the 75% menu */
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0;
  }
  .nav_link:last-of-type {
      border-bottom: none;
  }
  .nav_link:hover {
      background-color: rgba(255, 255, 255, 0.1);
      color: var(--tertiary-color);
  }
  .nav_link.active {
      color: var(--tertiary-color);
  }
  .nav_link::after {
      background-color: var(--tertiary-color);
      bottom: -1px;
  }

  .contact_button {
    display: block;
    margin-top: 2rem;
    margin-left: 0;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    /* CHANGE 5: Adjust max-width for the button within the narrower menu */
    min-width: unset; /* Remove previous min-width */
    width: 90%; /* Make button also take up most of the menu width */
    max-width: 250px; /* Optional: cap its max width if the menu is very wide */
    color: var(--text-light);
    background: linear-gradient(
        45deg,
        var(--accent-color) 0%,
        color-mix(in srgb, var(--accent-color) 80%, black) 100%
    );
    box-shadow: var(--shadow-md);
  }
  .contact_button:hover {
    background: linear-gradient(
        45deg,
        color-mix(in srgb, var(--accent-color) 90%, black) 0%,
        var(--accent-color) 100%
    );
  }
  .contact_button:active {
      transform: translateY(0) scale(0.98);
      box-shadow: var(--shadow-sm);
  }

  /* About page specific adjustments */
  .about-hero-section {
      padding: 4rem 1.5rem;
  }
  .about-hero-section .container {
      flex-direction: column;
      text-align: center;
      gap: 3rem;
  }
  .about-content {
      padding: 2.5rem;
  }
  .about-content h1 {
      font-size: 2.4rem;
  }
  .about-content .lead-paragraph,
  .about-content p {
      font-size: 1rem;
  }
  .about-cta {
      justify-content: center;
  }
  .about-image-wrapper {
      order: -1; /* Move image above content on mobile */
      margin-bottom: 1.5rem;
  }
  .about-image {
      max-width: 400px; /* Limit size for mobile */
      margin: 0 auto; /* Center it */
  }

  .mission-vision-section .container {
      flex-direction: column;
  }
  .mission-card, .vision-card {
      min-width: unset;
      width: 100%;
  }
  .mission-card h2, .vision-card h2 {
      font-size: 1.8rem;
  }

  .our-story-section .container {
      flex-direction: column;
      text-align: center;
  }
  .story-content {
      padding-right: 0;
  }
  .story-content h2 {
      text-align: center;
      font-size: 2.2rem;
  }
  .story-content h2::after {
      margin: 1rem auto 0; /* Center underline */
  }
  .story-image-wrapper {
      order: -1; /* Image above text for story */
      margin-bottom: 2rem;
  }
  .story-image {
      max-width: 400px;
      margin: 0 auto;
  }
  .story-stats {
      flex-direction: column;
      gap: 1rem;
  }
  .stat-item {
      width: 100%;
  }
  .stat-item h3 {
      font-size: 2rem;
  }
  .stat-item p {
      font-size: 0.9rem;
  }

  .values-grid {
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Allow 2 columns if space */
  }
  .values-section h2 { font-size: 2.2rem; }

  .team-intro { font-size: 1rem; }
  .team-grid {
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* More flexible grid for smaller screens */
  }
  .team-member h3 { font-size: 1.2rem; }
  .team-member p { font-size: 0.85rem; }
  .member-photo { width: 100px; height: 100px; }

  .cta-section p { font-size: 1.05rem; }
  .cta_buttons_wrapper {
      flex-direction: column;
      gap: 1rem;
      align-items: center;
  }
  .cta-button, .cta-button-secondary {
      width: 90%;
      max-width: 300px;
      margin: 0;
  }
}

@media (max-width: 768px) {
    section { padding: 3rem 0; }
    section h2 { font-size: 1.9rem; margin-bottom: 2rem; }
    section h2::after { width: 50px; }

    .about-content h1 { font-size: 2rem; }
    .about-content .lead-paragraph { font-size: 1.05rem; }
    .about-content p { font-size: 0.95rem; }
    .about-image { max-width: 280px; }

    .mission-card h2, .vision-card h2 { font-size: 1.6rem; }
    .mission-card p, .vision-card p { font-size: 0.95rem; }

    .our-story-section h2 { font-size: 1.9rem; }
    .story-content p { font-size: 0.95rem; }

    .values-grid {
        grid-template-columns: 1fr; /* Force single column on smaller screens */
    }
    .value-item h3 { font-size: 1.3rem; }
    .value-item p { font-size: 0.9rem; }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1.5rem;
    }
    .team-member h3 { font-size: 1.1rem; }
    .team-member p { font-size: 0.85rem; }
    .member-photo { width: 90px; height: 90px; }
}

@media (max-width: 480px) {
    .header_content { padding: 0.5rem 1rem; }
    .logo { font-size: 1.6rem; }
    .logo_icon { width: 35px; height: 35px; }

    /* For very small screens, make the menu slightly wider if 75% is too narrow */
    .nav {
        width: 85%; /* Adjusted for very small screens */
    }

    .about-hero-section { padding: 3rem 0.5rem; }
    .about-content { padding: 2rem; }
    .about-content h1 { font-size: 1.8rem; }
    .about-content .lead-paragraph { font-size: 1rem; }

    section { padding: 2.5rem 0; }
    section h2 { font-size: 1.7rem; margin-bottom: 1.8rem; }

    .cta-button, .cta-button-secondary {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
        width: 100%;
    }

    .story-stats {
        padding: 1rem;
    }
    .stat-item h3 { font-size: 1.8rem; }
    .stat-item p { font-size: 0.85rem; }

    .team-grid {
        grid-template-columns: 1fr; /* Stack members on smallest screens */
    }
    .team-member { max-width: 250px; margin: 0 auto; } /* Center single column */
} 