/* --- About Page Specific Styles --- */

/* Smooth scrolling for anchor links within about page */
html {
    scroll-behavior: smooth;
}

/* About Hero Section */
.about-hero {
    background: linear-gradient(180deg, #f6fbf1, #ffffff);
    text-align: center;
    padding: 70px 20px 50px;
    border-bottom: 1px solid var(--border-color);
}

.about-hero h1 {
    font-size: 36px;
    color: #111;
    margin-bottom: 10px;
}

.about-hero p {
    margin-top: 8px;
    color: var(--text-gray);
    font-size: 14px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* About Content */
.about-content {
    max-width: 900px;
    margin: 50px auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* About Card */
.about-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.04);
    transition: transform 0.3s, box-shadow 0.3s;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.about-card h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #111;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-card h2 i {
    color: var(--primary-green);
}

.about-card p,
.about-card li {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 10px;
}

.about-card ul {
    padding-left: 18px;
}

.about-card li {
    margin-bottom: 8px;
}



.value-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: 0.3s;
}

.value-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.value-card i {
    font-size: 36px;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.value-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.value-card p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Ensure the section itself is centered and has a constrained width */
.team-section {
    margin: 60px auto;
    /* Changed from "60px 0 40px" to center it */
    max-width: 900px;
    /* Matches your .about-content width for consistency */
    padding: 0 20px;
    /* Prevents touching edges on mobile */
}

/* Center the grid items if the row isn't full */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
    justify-content: center;
    /* Centers items along the main axis */
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.team-member {
    text-align: center;
}

.team-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 15px;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--primary-green);
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.team-member h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
}

.team-member p {
    font-size: 13px;
    color: var(--text-gray);
}

/* --- About Responsive Adjustments --- */
@media (max-width: 992px) {
    .values-grid, .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .about-hero { padding: 50px 20px 40px; }
    .about-content { padding: 0 20px; }
}

@media (max-width: 480px) {
    .about-hero h1 { font-size: 28px; }
    .about-hero p { font-size: 13px; }
    .about-card { padding: 20px; }
    .values-grid, .team-grid { grid-template-columns: 1fr; }
}

@media (max-width: 350px) {
    .about-hero h1 { font-size: 24px !important; }
    .about-card { padding: 15px !important; }
}