

/* Hero Section */
.who-we-are-hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(rgba(44, 62, 80, 0.65), rgba(52, 73, 94, 0.65)),
                url('../../images/whoweare.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 1200px;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: white !important;
}

.hero-tagline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Mission & Vision Section */
.mission-vision {
    padding: 100px 0;
    background-color: #ffffff;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.mission-card, .vision-card {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid transparent;
    text-align: center;
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(26, 188, 156, 0.2);
    border-color: #d5d5d5;
}

.mission-card h3, .vision-card h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.mission-card p, .vision-card p {
    color: #4a5568;
    line-height: 1.7;
    font-size: 1.1rem;
    text-align: left;
}

.card-icon {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 1.5rem;
}

/* Our Story Section */
.our-story {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.story-content {
    display: block;
    margin-top: 3rem;
    padding: 0 0;
}

.story-text {
    color: #4a5568;
    line-height: 1.8;
    font-size: 1.1rem;
    padding-right: 2rem;
}

.story-text p {
    margin-bottom: 1.5rem;
}

.timeline {
    position: relative;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, #3498db, #1abc9c);
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    padding-left: 2rem;
}

.timeline-dot {
    position: absolute;
    left: -2.9rem;
    width: 1rem;
    height: 1rem;
    background: #3498db;
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.2);
}

.timeline-content h4 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #4a5568;
    line-height: 1.6;
}

/* ===== Timeline v2 (Responsive, media + gallery) ===== */
.timeline-year-nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 0.5rem 0 2rem;
    justify-content: center;
}
.timeline-year-nav .year-chip {
    appearance: none;
    border: 1px solid #d9e2ec;
    background: #ffffff;
    color: #2c3e50;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.25s ease;
}
.timeline-year-nav .year-chip:hover,
.timeline-year-nav .year-chip.active {
    border-color: #3498db;
    color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
}

.timeline-v2 {
    position: relative;
    display: grid;
    gap: 1.25rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}
/* Remove desktop center line for cleaner layout */
.timeline-v2::before { display: none; }

/* Left progress rail */
.timeline-wrapper {
    position: relative;
}
.timeline-rail {
    position: absolute;
    left: calc(50% - 720px); /* aligns roughly left of 1200px container */
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.06), rgba(0,0,0,0.03));
}
.timeline-rail-progress {
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 0%;
    background: linear-gradient(to bottom, #3498db, #1abc9c);
    border-radius: 4px;
    transition: height 0.15s ease-out;
}

.era { display: contents; }
.era-card {
    background: transparent;
    border: none;
    padding: 0;
}
.era-card summary {
    list-style: none;
    cursor: pointer;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1rem;
    border-radius: 16px;
    border: 1px solid #e9eef3;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,.05);
    transition: all 0.3s ease;
}
.era-card summary::after {
    content: "\f078"; /* fa-chevron-down */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #9aa5b1;
    transition: transform .25s ease, color .25s ease;
}
.era-card summary:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(26, 188, 156, 0.2);
    border-color: #d5d5d5;
}

.era-card[open] summary {
    border-color: #c6d7f3;
    box-shadow: 0 0 0 4px rgba(52,152,219,.08);
}
.era-title { font-weight: 800; color: #2c3e50; font-size: 1.05rem; }
.era-card .era-tag { justify-self: end; color: #557db1; font-weight: 700; opacity: .95; }

.era-card[open] summary::after { transform: rotate(180deg); color: #3a6ea5; }

.era-body {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    padding: 1rem 0 2rem;
}
.era-marker {
    position: absolute;
    left: 50%;
    top: 0.6rem;
    transform: translate(-50%, 0);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #3498db;
    box-shadow: 0 0 0 6px rgba(52, 152, 219, 0.12);
    display: none; /* hide decorative blue marker */
}
.era-left, .era-right {
    background: #ffffff;
    border: 1px solid #e9eef3;
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.04);
}
.era-left ul { max-width: 72ch; }
.era-left .era-highlights li { margin-left: 1.1rem; margin-bottom: .5rem; }
.year-badge {
    display: inline-block;
    background: #2c3e50;
    color: #ffffff;
    padding: 0.25rem 0.6rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}
.era-tag {
    color: #3a6ea5;
    font-weight: 700;
    letter-spacing: 0.2px;
    margin: 0.25rem 0 1rem;
}
.era-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}
.era-gallery figure { margin: 0; }
.era-gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 14px;
    cursor: zoom-in;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.era-gallery img:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}
.era-gallery figcaption {
    margin-top: 0.35rem;
    font-size: 0.85rem;
    color: #66788a;
}

/* CTA tile styled like an image card */
.gallery-cta {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #3498db, #1abc9c);
    color: #ffffff;
    text-decoration: none;
    border-radius: 14px;
    min-height: 0; /* align with grid */
    aspect-ratio: 4 / 3;
    font-weight: 800;
    letter-spacing: .2px;
    text-align: center;
    padding: 0 1rem;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.gallery-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(26,188,156,0.25);
    filter: saturate(1.05);
}

/* Lightbox overlay for gallery */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: grid;
    place-items: center;
    z-index: 9999;
    padding: 2rem;
    cursor: zoom-out;
}
.lightbox img {
    max-width: min(92vw, 1200px);
    max-height: 85vh;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

/* Focus states for accessibility */
.timeline-year-nav .year-chip:focus-visible,
.era-card summary:focus-visible {
    outline: 3px solid rgba(52,152,219,.35);
    outline-offset: 2px;
}

/* Desktop sticky nav for year chips */
@media (min-width: 769px) {
    .timeline-year-nav { position: sticky; top: calc(var(--header-height, 56px) + 12px); z-index: 3; padding-top: .5rem; }
}

/* Mobile layout for the new timeline */
@media (max-width: 768px) {
    .timeline-v2::before { display: none; }
    .timeline-year-nav { position: sticky; top: calc(var(--header-height, 56px) + 8px); z-index: 2; background: linear-gradient(to bottom, rgba(255,255,255,.95), rgba(255,255,255,0)); padding-top: .5rem; }
    .era-marker { display: none; }
    .era-card summary { grid-template-columns: auto 1fr; gap: .5rem; }
    .era-card .era-tag { display: block; grid-column: 1 / -1; justify-self: start; font-size: .95rem; opacity: .9; }
    .era-body { grid-template-columns: 1fr; }
    .era-gallery { grid-template-columns: repeat(2, 1fr); }
    .story-content { padding: 0 0; }
}

@media (max-width: 480px) {
    .timeline-year-nav { gap: 0.35rem; }
    .timeline-year-nav .year-chip { padding: 0.4rem 0.7rem; font-size: 0.85rem; }
    .era { width: 90%; min-width: 260px; }
}

/* Values Section */
.our-values {
    padding: 70px 0 250px 0px;
    background-color: #ffffff;
    width: 100%;
    box-sizing: border-box;
}

.our-values .container {
    max-width: 1600px;
    padding: 0 2rem;
    margin: 0 auto;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

/* Add media query for larger screens */
@media (min-width: 1200px) {
    .values-grid {
        /* Force 4 columns on large screens */
        grid-template-columns: repeat(auto-fit);
    }
}

.value-item {
    text-align: center;
    padding: 2.5rem;
    background: #f8f9fa;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.value-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(26, 188, 156, 0.2);
    border-color: #d5d5d5;
}

.value-item h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.value-item p {
    color: #4a5568;
    line-height: 1.7;
    font-size: 1.1rem;
}

.value-icon {
    font-size: 2.5rem;
    color: #1abc9c;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.value-item:hover .value-icon {
    transform: scale(1.1);
}

/* Our Approach Section - Wider container and adjusted grid */
.our-approach {
    padding: 100px 0;
    background-color: #f8f9fa;
    width: 100%;
    box-sizing: border-box;
}

/* Target the container specifically within this section */
.our-approach .container {
    /* Override the default max-width for wider content */
    max-width: 2000px; /* Increased max-width significantly */
    padding: 0 2rem; /* Maintain some edge padding */
    margin: 0 auto; /* Keep centered */
}

.approach-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr; 
    /* Increase the gap between the image and text columns */
    gap: 10rem; /* Increased from 3rem */
    margin-top: 3rem;
    align-items: center; /* Keep vertical alignment */
}

.approach-image {
    border-radius: 50px; 
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    /* Make the image area clamp to section height and scroll internally when tall */
    max-height: min(70vh, 900px);
    position: relative;
}

.approach-image img {
    width: 100%;
    height: auto;
    display: block; 
}

/* Scrollable image card variant for long/tall visuals */
.approach-image.scrollable {
    /* Create a dedicated scroll container with momentum scrolling */
    max-height: min(70vh, 900px);
    height: min(70vh, 900px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable both-edges;
    background: #ffffff;
}

.approach-image.scrollable img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Subtle gradient edges to hint scrollability */
.approach-image.scrollable::before,
.approach-image.scrollable::after {
    content: "";
    position: sticky;
    left: 0;
    right: 0;
    height: 18px;
    display: block;
    z-index: 1;
}
.approach-image.scrollable::before {
    top: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.08), rgba(0,0,0,0));
}
.approach-image.scrollable::after {
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.08), rgba(0,0,0,0));
}

/* Polished scrollbar styling */
.approach-image.scrollable::-webkit-scrollbar {
    width: 10px;
}
.approach-image.scrollable::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);
    border-radius: 12px;
}
.approach-image.scrollable::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3498db, #1abc9c);
    border-radius: 12px;
}
.approach-image.scrollable { /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: #3aa7e1 rgba(0,0,0,0.06);
}

/* Hover affordance */
.approach-image.scrollable:hover {
    box-shadow: 0 12px 28px rgba(26, 188, 156, 0.18);
}

.approach-text {
    padding: 1rem 0; /* Adjusted padding */
}

.approach-text h3 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.approach-text p {
    color: #4a5568;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.approach-list {
    list-style: none;
    padding: 0;
}

.approach-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 25px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.approach-list li:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(26, 188, 156, 0.2);
    border-color: #d5d5d5;
}

.list-icon {
    font-size: 1.8rem;
    color: #3498db;
    flex-shrink: 0;
}

.approach-list li:nth-child(even) .list-icon {
    color: #1abc9c;
}

.list-content h4 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.list-content p {
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

/* Team Section */
.our-team {
    padding: 100px 0;
    background-color: #ffffff;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.team-member {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.member-image {
    position: relative;
    overflow: hidden;
    height: 350px;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.member-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    background: rgba(44, 62, 80, 0.9);
    padding: 1rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    transition: bottom 0.3s ease;
}

.team-member:hover .member-social {
    bottom: 0;
}

.member-social a {
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.member-social a:hover {
    color: #3498db;
}

.member-info {
    padding: 2rem;
    text-align: center;
}

.member-info h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.member-title {
    color: #3498db;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 1rem;
}

.member-info p {
    color: #4a5568;
    line-height: 1.6;
    font-size: 1rem;
}

.team-cta {
    text-align: center;
    margin-top: 4rem;
}

.team-cta p {
    color: #4a5568;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Certifications Section */
.certifications {
    padding: 100px 0;
    background-color: #ffffff;
}

.credentials-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.credentials-intro {
    text-align: center;
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.credential-item {
    text-align: center;
    padding: 2.5rem;
    background: #f8f9fa;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 320px; /* ensure consistent, larger card size */
    height: 320px; /* match second-row size across all cards on desktop */
    border: 1px solid #e0e0e0;
}

.credential-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(26, 188, 156, 0.2);
    background: #f8f9fa;
    border-color: #d5d5d5;
}

.credential-item img {
    max-width: 120px;
    height: auto;
    margin-bottom: 1.5rem;
    filter: grayscale(100%);
    transition: all 0.3s ease;
    opacity: 0.8;
    transform: scale(1);
}

.credential-item img[alt="LEED Certification"],
.credential-item img[alt="Passive House"] {
    transform: scale(1.15);
}

.credential-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.credential-item:hover img[alt="LEED Certification"],
.credential-item:hover img[alt="Passive House"] {
    transform: scale(1.20);
}

.credential-item h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-top: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

/* Impact Section */
.our-impact {
    padding: 100px 0;
    background-color: #ffffff;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    padding: 0 2rem;
}

.stat-item {
    text-align: center;
    padding: 2.5rem;
    background: #f8f9fa;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: bold;
    color: #3498db;
    margin-bottom: 1rem;
    line-height: 1;
}

.stat-item h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.stat-item p {
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.testimonials-slider {
    margin-top: 3rem;
    padding: 0 2rem;
}

.testimonial-item {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.quote-icon {
    font-size: 2.5rem;
    color: #1abc9c;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.testimonial-item p {
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.testimonial-author img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #3498db;
}

.author-info h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.author-info span {
    color: #4a5568;
    font-size: 1rem;
}

.testimonial-indicators {
    text-align: center;
    margin-top: 2rem;
}

.testimonial-indicators .indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #bdc3c7;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.testimonial-indicators .indicator.active {
    background-color: #3498db;
}

/* Contact CTA Section */
.contact-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #3498db, #1abc9c);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    color: white;
}

.cta-content p {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .who-we-are-hero {
        min-height: 80vh;
        padding-top: 60px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.2rem;
    }
    
    .story-content {
        padding: 0 1rem;
    }
    
    .story-text {
        padding-right: 1rem;
    }
    
    .timeline {
        padding-left: 2rem;
    }
    
    .timeline-dot {
        left: -2.4rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .approach-content {
        grid-template-columns: 1fr;
        gap: 2.5rem; /* Adjust gap when stacked */
    }
    
    .approach-image {
        order: -1;
    }
    
    .approach-list li {
        flex-direction: column;
        text-align: center;
    }
    
    .list-icon {
        margin-bottom: 1rem;
    }
    
    .member-image {
        height: 300px;
    }
    
    .credentials-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .credential-item {
        padding: 1.5rem;
        min-height: 200px;
        height: auto; /* allow flexible height on small screens */
    }
    
    .credential-item img {
        max-width: 100px;
    }
    
    .credential-item h4 {
        font-size: 1.1rem;
    }
    
    .impact-stats {
        padding: 0 1rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .testimonial-item {
        padding: 2rem;
    }

    .mission-card, .vision-card,
    .value-item, .credential-item,
    .stat-item, .testimonial-item {
        border-radius: 40px;
    }

    .values-grid {
        /* Ensure it reverts to 1 or 2 columns */
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {


    .mission-card, .vision-card,
    .value-item, .credential-item,
    .stat-item, .testimonial-item {
        border-radius: 30px;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

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

    .values-grid {
        /* Ensure it stacks to 1 column */
        grid-template-columns: 1fr;
    }
}

/* Section Intro Styles */
.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}




/* Styling for the new subtitle */
.section-subtitle {
    font-size: 1.3rem;
    color: #4a5568;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.separator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1.5rem 0;
}

.separator span {
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #1abc9c, #3498db);
    border-radius: 2px;
}

/* Style for the description paragraph under section headings */
.section-description {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.8;
    margin-top: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.primary-btn {
    background: #2c3e50;
    color: white;
    border-color: #2c3e50;
}

.primary-btn:hover {
    background: #34495e;
    border-color: #34495e;
    transform: translateY(-2px);
    color: white;
}

.secondary-btn {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.secondary-btn:hover {
    background: white;
    color: #2c3e50;
    transform: translateY(-2px);
}



/* Responsive adjustments for the approach section */
@media (max-width: 992px) { 
    .approach-content {
        grid-template-columns: 1fr 1fr; 
        gap: 3rem;
    }
    .our-approach .container {
        max-width: 1400px;
    }
}

@media (max-width: 768px) {
    .approach-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .approach-image {
        order: -1;
        max-height: 400px;
    }
    .our-approach .container {
        max-width: 1200px;
    }
}
