/* iSRED Design System - Navy, Green & Orange Theme */

:root {
  /* iSRED Brand Colors from Logo */
  --background: 0 0% 100%;
  --foreground: 230 50% 20%;

  /* Custom iSRED Brand Tokens */
  --navy-primary: 230 50% 30%;
  --navy-dark: 230 50% 20%;
  --navy-light: 230 40% 45%;
  
  --green-primary: 120 60% 45%;
  --green-light: 120 50% 60%;
  --green-subtle: 120 30% 90%;
  
  --orange-primary: 35 100% 50%;
  --orange-light: 35 100% 60%;
  --orange-subtle: 35 100% 95%;

  --border: 230 20% 85%;
  --radius: 0.75rem;
}

/* General Body Styles */
body {
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    font-family: 'Inter', system-ui, sans-serif;
    margin: 0;
    line-height: 1.5;
}

.container {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Header and Navigation */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid hsla(var(--navy-primary), 0.1);
    box-shadow: 0 1px 3px 0 rgba(0,0,0,0.05);
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem; /* 80px */
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.logo img {
    height: 4rem; /* 64px */
    width: 4rem; /* 64px */
    object-fit: contain;
}

.logo h1 {
    font-size: 1.875rem; /* 30px */
    font-weight: 700;
    color: hsl(var(--navy-primary));
}

.nav-links-desktop {
    display: none; /* Hidden by default, shown on md screens */
}

.nav-link {
    font-size: 0.875rem; /* 14px */
    font-weight: 600;
    transition: color 0.2s;
    text-decoration: none;
    color: hsl(var(--navy-primary));
}

.nav-link:hover {
    color: hsl(var(--green-primary));
}

.nav-link.active {
    color: hsl(var(--green-primary));
}

.button-primary, .button-secondary, .button-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.button-primary {
    background-color: hsl(var(--green-primary));
    color: white;
}

.button-primary:hover {
    background-color: hsl(var(--green-light));
}

.button-secondary {
    background-color: hsl(var(--orange-primary));
    color: white;
}

.button-secondary:hover {
    background-color: hsl(var(--orange-light));
}

.button-outline {
  border-color: white;
  color: white;
  background-color: transparent;
}

.button-outline:hover {
  background-color: white;
  color: hsl(var(--navy-primary));
}

.button-outline-dark {
    border-color: hsl(var(--navy-primary));
    color: hsl(var(--navy-primary));
    background-color: transparent;
}

.button-outline-dark:hover {
    background-color: hsl(var(--navy-primary));
    color: white;
}

.button-primary svg, .button-secondary svg, .button-outline svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Mobile Menu */
.mobile-menu-button {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: hsl(var(--navy-primary));
    z-index: 100;
}

.mobile-menu-button svg {
    stroke: currentColor;
    width: 1.75rem; /* 28px */
    height: 1.75rem; /* 28px */
}

.mobile-menu-button .close-icon {
    display: none;
}

.nav-links-mobile {
    display: none;
    background-color: white;
    border-top: 1px solid hsla(var(--navy-primary), 0.1);
    padding: 0.5rem;
}

.nav-links-mobile.open {
    display: block;
}

.nav-links-mobile .nav-link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
}
.nav-links-mobile .nav-link:hover {
    background-color: hsl(var(--green-subtle));
}
.nav-links-mobile .nav-link.active {
    background-color: hsl(var(--green-subtle));
}
.nav-links-mobile .button-primary {
    width: calc(100% - 2rem);
    margin: 1rem;
}


/* Responsive Nav */
@media (min-width: 768px) {
    .nav-links-desktop {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
    .mobile-menu-button {
        display: none;
    }
    .nav-links-mobile {
        display: none !important;
    }
}

/* Hero Section */
.hero-section {
  padding-top: 5rem; /* 80px to offset fixed header */
  position: relative;
}

.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
  position: relative;
  min-width: 100%;
  height: 600px;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 42rem;
  color: white;
  padding: 0 2rem;
}

.hero-content h1 {
  font-size: 2.5rem; /* Mobile-first size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.125rem; /* Mobile-first size */
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
  display: flex;
  flex-direction: column; /* Mobile-first stack */
  align-items: flex-start;
  gap: 1rem;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 10;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-button:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.carousel-button.prev { left: 1rem; }
.carousel-button.next { right: 1rem; }

/* Hero Responsive */
@media (min-width: 640px) {
    .hero-content {
        padding: 0 4rem;
    }
    .hero-content h1 {
        font-size: 3.25rem; 
    }
    .hero-buttons {
        flex-direction: row; /* Horizontal layout for buttons */
    }
}

@media (min-width: 1024px) {
    .hero-content h1 {
        font-size: 3.75rem;
    }
    .hero-content p {
        font-size: 1.25rem;
    }
}

/* --- Main Content Sections --- */

.card {
    background-color: white;
    border: 1px solid hsla(var(--green-primary), 0.2);
    box-shadow: 0 8px 32px hsla(230, 50%, 30%, 0.1);
    border-radius: var(--radius);
}

/* About Preview on Home */
.about-preview {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.about-preview .card {
  padding: 2rem;
  text-align: center;
  max-width: 56rem;
  margin: auto;
}
.about-preview h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: hsl(var(--navy-primary));
  margin-bottom: 1.5rem;
}
.about-preview p {
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.about-preview .muted-text {
  color: hsl(230, 30%, 40%);
}

/* Core Programs */
.core-programs {
  padding-top: 4rem;
  padding-bottom: 4rem;
  background-color: hsla(var(--green-subtle), 0.3);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: hsl(var(--navy-primary));
  margin-bottom: 1rem;
}
.section-header p {
  font-size: 1.25rem;
  color: hsl(230, 30%, 40%);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}
.program-card {
  background-color: white;
  border: 1px solid hsla(var(--green-primary), 0.2);
  padding: 1.5rem;
  text-align: center;
  border-radius: var(--radius);
  transition: all 0.3s;
}
.program-card:hover {
  border-color: hsl(var(--green-primary));
  box-shadow: 0 4px 20px hsla(230, 50%, 30%, 0.2);
}
.program-card h3 {
  font-size: 1.25rem; /* 20px */
  font-weight: 600;
  color: hsl(var(--navy-primary));
  margin-bottom: 0.75rem;
}

.program-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, hsl(120, 60%, 45%), hsl(120, 50%, 60%));
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
    transition: transform 0.3s;
}

.program-card:hover .program-icon {
    transform: scale(1.1);
}

.program-icon svg {
    width: 2rem;
    height: 2rem;
    color: white;
}
.program-card p {
  color: hsl(230, 30%, 40%);
}

@media (min-width: 768px) {
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .programs-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Testimonials */
.testimonials {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.testimonial-carousel-wrapper {
    overflow: hidden;
    position: relative;
}

.testimonials-carousel-track {
    --slides-to-show: 3; /* Default value */
    --gap: 1rem;
    display: flex;
    gap: var(--gap);
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    flex-shrink: 0;
    width: calc((100% / var(--slides-to-show)) - (var(--gap) * (var(--slides-to-show) - 1) / var(--slides-to-show)));
    box-sizing: border-box;
    background-color: white;
    border: 1px solid hsla(var(--orange-primary), 0.2);
    border-radius: var(--radius);
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.testimonial-carousel-buttons {
    text-align: center;
    margin-top: 2rem;
}

/* CTA Section */
.cta-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
  background: linear-gradient(135deg, hsl(230 50% 30%) 0%, hsl(230 40% 40%) 50%, hsl(120 60% 45%) 100%);
}
.cta-card {
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid hsla(var(--green-primary), 0.3);
  box-shadow: 0 12px 40px hsla(230, 50%, 30%, 0.15);
  padding: 3rem;
  text-align: center;
  border-radius: var(--radius);
}
.cta-card h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: hsl(var(--navy-primary));
  margin-bottom: 1rem;
}
.cta-card p {
  font-size: 1.25rem;
  color: hsl(230, 30%, 40%);
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}
@media (min-width: 640px) {
  .cta-buttons { flex-direction: row; }
}

/* Footer */
.main-footer {
    background-color: hsl(var(--navy-primary));
    color: white;
    margin-top: 4rem;
    padding-top: 3rem;
    padding-bottom: 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}
.main-footer h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: hsl(var(--orange-primary));
}
.main-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-footer ul li + li {
    margin-top: 0.5rem;
}

.footer-contact-links li a,
.footer-contact-links li span {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-contact-links svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}
.main-footer a {
    color: white;
    text-decoration: none;
    transition: color 0.2s;
}
.main-footer a:hover {
    color: hsl(var(--green-light));
}
.social-links {
    display: flex;
    gap: 1rem;
}
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background-color 0.2s, color 0.2s;
}
.social-links a:hover {
    background-color: hsl(var(--green-primary));
    color: white;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
}
.footer-bottom p {
    font-size: 0.875rem;
    margin: 0;
}
@media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- Page Specifics --- */

/* About Page */
.page-main {
    padding-top: 8rem;
    padding-bottom: 4rem;
}
.page-header {
    text-align: center;
    margin-bottom: 4rem;
}
.page-header h1 {
    font-size: 3.75rem;
    font-weight: 700;
    color: hsl(var(--navy-primary));
    margin-bottom: 1.5rem;
}
.page-header p {
    font-size: 1.25rem;
    color: hsl(230, 30%, 40%);
    max-width: 48rem;
    margin: auto;
}
.certification-banner {
    text-align: center;
    padding: 2rem 1rem;
    margin-bottom: 4rem;
}
.certification-banner p {
    font-weight: 700;
    line-height: 1.5; /* leading-loose */
    font-size: 2.25rem; /* text-3xl */
    letter-spacing: 0.025em; /* tracking-wide */
    color: hsl(24, 95%, 35%); /* ~text-amber-900 */
    text-shadow: 3px 5px 5px rgba(0,0,0,0.4);
}

@media (min-width: 640px) {
    .certification-banner p {
        font-size: 2.25rem; /* sm:text-4xl */
    }
}

@media (min-width: 1024px) {
    .certification-banner p {
        font-size: 3rem; /* lg:text-5xl */
        letter-spacing: 0.05em; /* lg:tracking-wider */
    }
}
.mission-card {
    padding: 2rem;
    text-align: center;
    margin-bottom: 4rem;
}
.mission-card h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: hsl(var(--navy-primary));
    margin-bottom: 1.5rem;
}
.mission-pillars {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}
.mission-pillars h3 {
    font-weight: 600;
    color: hsl(var(--navy-primary));
    margin-bottom: 0.5rem;
}

.pillar {
    text-align: center;
}

.pillar-icon {
    width: 3rem;
    height: 3rem;
    color: hsl(var(--orange-primary));
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0.75rem;
}
.mission-pillars p {
    font-size: 0.875rem;
    color: hsl(230, 30%, 40%);
}
.focus-areas-section {
    background-color: hsla(var(--green-subtle), 0.2);
    padding: 4rem 0;
    margin-bottom: 4rem;
}
.focus-areas-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}
.focus-card {
    padding: 1.5rem;
    transition: all 0.3s;
}
.focus-card:hover {
  border-color: hsl(var(--green-primary));
  box-shadow: 0 4px 20px hsla(230, 50%, 30%, 0.2);
}
.focus-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: hsl(var(--navy-primary));
    margin-bottom: 1rem;
}

.focus-card-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.focus-card-title svg {
    width: 1.5rem;
    height: 1.5rem;
    color: hsl(var(--green-primary));
    flex-shrink: 0;
}
.badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.badge {
    display: inline-block;
    background-color: hsl(var(--green-subtle));
    border: 1px solid hsla(var(--green-primary), 0.3);
    color: hsl(var(--navy-primary));
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
}
.location-card {
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}
.location-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(var(--navy-primary));
    margin-bottom: 1rem;
}
.location-card h4 {
    font-weight: 600;
    color: hsl(var(--green-primary));
}
.projects-card {
    background: linear-gradient(135deg, hsl(230 50% 30%) 0%, hsl(230 40% 40%) 50%, hsl(120 60% 45%) 100%);
    color: white;
    padding: 2rem;
}
.projects-card h3 {
    font-size: 1.875rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

.projects-card-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.projects-card-title svg {
    width: 2rem;
    height: 2rem;
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
}
.project-item {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
}
@media (min-width: 768px) {
    .mission-pillars { grid-template-columns: repeat(3, 1fr); }
    .focus-areas-grid { grid-template-columns: repeat(2, 1fr); }
    .location-card { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .projects-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Gallery Page */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    cursor: pointer;
    aspect-ratio: 1 / 1;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background-color: hsla(var(--navy-primary), 0);
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.gallery-item:hover .gallery-overlay {
    background-color: hsla(var(--navy-primary), 0.5);
    opacity: 1;
}

.gallery-overlay svg {
    color: white;
    width: 2.5rem;
    height: 2.5rem;
}
@media (min-width: 640px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1280px) {
    .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Image Modal */
.image-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.image-modal.active { display: flex; }
.modal-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 0.5rem;
}
.modal-close {
    position: absolute;
    top: 1rem;
    right: 2rem;
    color: white;
    background: none;
    border: none;
    font-size: 3rem;
    cursor: pointer;
}
.modal-close:hover { color: hsl(var(--orange-primary)); }

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 3rem;
}

.why-contact-us {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, hsl(230 50% 30%) 0%, hsl(230 40% 40%) 50%, hsl(120 60% 45%) 100%);
    color: white; /* Reverted to white text */
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Kept shadow for consistency */
}

.why-contact-us h3 {
    color: white; /* Reverted to white heading color */
    font-size: 1.875rem; /* Base font size for mobile */
    text-align: center; /* Ensure it's centered */
}

@media (min-width: 768px) {
    .why-contact-us h3 {
        font-size: 2rem; /* Tablet font size */
    }
}

@media (min-width: 1024px) {
    .why-contact-us h3 {
        font-size: 2.25rem; /* Desktop font size */
    }
}

.why-contact-us ul { 
    list-style: disc; 
    margin-top: 1rem; 
    padding-left: 1.5rem; 
}

.why-contact-us ul li {
    font-size: 1rem; /* Base font size for mobile */
}

@media (min-width: 768px) {
    .why-contact-us ul li {
        font-size: 1.125rem; /* Tablet font size */
    }
}

@media (min-width: 1024px) {
    .why-contact-us ul li {
        font-size: 1.25rem; /* Desktop font size */
    }
}

.why-contact-us ul li::marker {
    color: hsl(var(--orange-primary));
}

.transform-lives-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.5); /* Light semi-transparent background */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle border */
    border-radius: var(--radius);
    padding: 2rem;
    color: hsl(var(--navy-dark)); /* Dark text color */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.transform-lives-card h3 {
    color: hsl(var(--navy-primary));
}

.transform-lives-card p {
    text-align: center;
    margin-bottom: 2rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.contact-info .card,
.contact-form .card {
    padding: 2rem;
}
.contact-info h3,
.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(var(--navy-primary));
    margin-bottom: 1.5rem;
}
.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.info-item h4 {
    font-weight: 600;
    color: hsl(var(--navy-primary));
    margin-bottom: 0.25rem;
}
.info-item p {
    color: hsl(230, 30%, 40%);
}

.info-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, hsl(120, 60%, 45%), hsl(120, 50%, 60%));
}

.info-icon.accent {
    background: linear-gradient(135deg, hsl(35, 100%, 50%), hsl(35, 100%, 60%));
}

.info-icon.primary {
    background: linear-gradient(135deg, hsl(230, 50%, 30%), hsl(230, 40%, 45%));
}

.info-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}
.form-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
}
@media (min-width: 768px) {
    .form-grid { grid-template-columns: repeat(2, 1fr); }
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: hsl(var(--green-primary));
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
.w-full {
    width: 100%;
}


/* --- About Page Overhaul Styles --- */

/* Add consistent spacing between cards */
.card {
    margin-bottom: 4rem;
}

.about-us-card {
    padding: 2rem 3rem;
}

.prose p {
    font-size: 1.125rem;
    line-height: 1.75;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.vision-box {
    background-color: hsla(var(--green-subtle), 0.5);
    margin: 3rem -3rem; /* Pull to edges */
    padding: 2rem 3rem;
    border-radius: 0.5rem;
}

.vision-box h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: hsl(var(--navy-primary));
    text-align: center;
    margin-bottom: 1.5rem;
}

.vision-box .vision-text {
    text-align: center;
    font-size: 1.25rem;
    font-style: italic;
    color: hsl(var(--green-primary));
}

.mission-card {
    padding: 2rem;
}

.mission-card .mission-description {
    font-size: 1.125rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.sdg-card {
    padding: 2rem;
}

.sdg-card .section-header h2 {
    font-size: 1.875rem;
    margin-bottom: 0;
}

.sdg-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 56rem;
    margin: auto;
}

@media (min-width: 640px) {
    .sdg-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .sdg-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.sdg-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.sdg-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: hsl(var(--green-primary));
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.sdg-item h4 {
    font-weight: 600;
    color: hsl(var(--navy-primary));
}

.sdg-item p {
    font-size: 0.875rem;
}

.focus-areas-section {
    margin-bottom: 4rem;
}

.location-card .space-y-3 > div:not(:last-child) {
    margin-bottom: 1.5rem;
}

.text-green-primary {
    color: hsl(var(--green-primary));
}

.leading-relaxed {
    line-height: 1.75;
}

.projects-card .section-header {
    margin-bottom: 1rem;
}

.text-center {
    text-align: center;
}

.muted-text {
  color: hsl(230, 30%, 40%);
}

/* Testimonial New Styles */
.testimonials .section-header {
    margin-bottom: 3rem;
}
.testimonial-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2.5rem;
    height: 100%;
    box-sizing: border-box;
}
.testimonial-card svg {
    width: 2.5rem;
    height: 2.5rem;
    color: hsl(var(--orange-light));
    flex-shrink: 0;
}
.testimonial-card .quote {
    font-size: 1.125rem;
    font-style: italic;
    color: hsl(230, 20%, 35%);
    flex-grow: 1;
}
.author {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.avatar {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    background-color: hsl(var(--green-primary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.author .name {
    font-weight: 700;
    color: hsl(var(--navy-primary));
}
.author .role {
    font-size: 0.875rem;
    color: hsl(230, 30%, 40%);
}
@media (max-width: 1023px) {
    .testimonial-card {
        padding: 2rem;
        margin: 0 0.75rem;
    }
}
@media (max-width: 767px) {
    .testimonial-card {
        margin: 0 0.5rem;
    }
}
