/* About Page Specific Styles */

/* Common Layout Helpers (for pages that don't use index.css) */
.container { max-width: 1400px; margin: 0 auto; }
.section-padding { padding: var(--section-padding) 5%; }
.accent-text { color: var(--primary); text-transform: uppercase; letter-spacing: 2px; font-size: 13px; margin-bottom: 15px; display: block; }
.text-center { text-align: center; }

/* =====================
   PAGE HEADER BANNER
   ===================== */
.page-header {
    height: clamp(300px, 50vh, 500px);
    width: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    /* Removed fixed attachment — broken on iOS */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 0;
    padding: 0 5%;
}

.page-header h1 {
    font-size: clamp(32px, 6vw, 60px);
    color: var(--white);
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.page-header p {
    color: rgba(255,255,255,0.85);
    font-size: clamp(14px, 2vw, 18px);
    letter-spacing: 2px;
    position: relative;
    z-index: 2;
}

/* =====================
   SECTION TITLE
   ===================== */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: clamp(26px, 3vw + 10px, 40px);
    margin-bottom: 15px;
}

.section-title p {
    color: #666;
    font-size: 15px;
    max-width: 600px;
    margin: 0 auto;
}

/* =====================
   STORY SECTION
   ===================== */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-text h2 {
    font-size: clamp(26px, 3vw, 45px);
    margin-bottom: 25px;
}

.story-text p {
    color: #666;
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.8;
}

.story-img {
    position: relative;
}

.story-img img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 5px;
}

/* =====================
   VISION & MISSION
   ===================== */
.vm-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

.vm-card {
    padding: 45px 35px;
    border-radius: 5px;
    text-align: center;
    background: rgba(26, 26, 26, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.vm-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.vm-card i {
    font-size: 38px;
    color: var(--primary);
    margin-bottom: 18px;
}

.vm-card h3 {
    color: var(--secondary);
    font-size: clamp(20px, 2vw, 24px);
    margin-bottom: 18px;
}

.vm-card p {
    color: #666;
    line-height: 1.8;
    font-size: 15px;
}

/* =====================
   CORE VALUES
   ===================== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 35px;
}

.value-item {
    text-align: center;
    padding: 28px 18px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.value-item:hover {
    background: rgba(176, 141, 87, 0.05);
}

.v-icon {
    width: 76px;
    height: 76px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    margin: 0 auto 18px;
    transition: transform 0.3s ease;
}

.value-item:hover .v-icon {
    transform: scale(1.1) rotate(10deg);
}

.value-item h4 {
    font-size: clamp(16px, 1.5vw, 18px);
    margin-bottom: 10px;
}

.value-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* =====================
   TEAM SECTION
   ===================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 45px;
}

.t-img {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    aspect-ratio: 3/4;
}

.t-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.t-social {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    padding: 14px 28px;
    background: rgba(255,255,255,0.95);
    border-radius: 30px;
    transition: bottom 0.4s ease;
    white-space: nowrap;
}

.t-social a {
    color: var(--secondary);
    font-size: 18px;
    transition: color 0.3s ease;
}

.t-social a:hover {
    color: var(--primary);
}

.team-card:hover .t-img img { transform: scale(1.08); }
.team-card:hover .t-social { bottom: 20px; }

.t-info {
    text-align: center;
    margin-top: 22px;
}

.t-info h4 {
    font-size: clamp(18px, 2vw, 22px);
    margin-bottom: 5px;
    color: var(--secondary);
}

.t-info p {
    color: var(--primary);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
}

/* =====================
   STATS BANNER
   ===================== */
.stats-banner {
    padding: 70px 5%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item h3 {
    font-size: clamp(36px, 4vw, 50px);
    color: var(--white);
    display: inline-block;
    line-height: 1;
}

.stat-item span {
    font-size: clamp(28px, 3vw, 40px);
    color: var(--white);
    font-family: var(--font-heading);
    line-height: 1;
}

.stat-item p {
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    margin-top: 8px;
}

/* =====================
   CTA BANNER (reused from index)
   ===================== */
.cta-banner { padding: 40px 5%; }
.cta-content {
    padding: 90px 5%;
    text-align: center;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}
.cta-text { position: relative; z-index: 2; color: var(--white); }
.cta-text h2 { font-size: clamp(26px, 4vw, 50px); color: var(--white); margin-bottom: 18px; }
.cta-text p { font-size: clamp(14px, 1.5vw, 18px); margin-bottom: 35px; color: rgba(255,255,255,0.8); }

/* Newsletter (footer) */
.newsletter-form {
    display: flex;
    margin-top: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 5px;
}
.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 14px;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form button {
    background: transparent;
    border: none;
    color: var(--primary);
    font-size: 18px;
    transition: color 0.3s ease;
    padding: 0 5px;
}
.newsletter-form button:hover { color: var(--white); }

/* =====================
   RESPONSIVE — 991px
   ===================== */
@media (max-width: 991px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .story-img img {
        height: 380px;
    }

    .vm-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .values-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .team-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* =====================
   RESPONSIVE — 768px
   ===================== */
@media (max-width: 768px) {
    .vm-grid {
        grid-template-columns: 1fr;
    }

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

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-content {
        padding: 60px 5%;
    }
}

/* =====================
   RESPONSIVE — 480px
   ===================== */
@media (max-width: 480px) {
    .vm-grid {
        grid-template-columns: 1fr;
    }

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

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .story-img img {
        height: 280px;
    }
}
