/* ============================================================
   ABOUT PAGE STYLES
   Professional Responsive — Mobile/Tablet/Desktop
   ============================================================ */


/* ============================================================
   1. STORY SECTION
   ============================================================ */
.about-story {
    background-color: var(--color-white);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

/* ============================================================
   STORY IMAGES — Collage with overlapping images
   ============================================================ */
.story-images {
    position: relative;
    padding-bottom: 60px;
    padding-right: 60px;
    min-height: 500px;
    width: 100%;
}

.story-img {
    border-radius: var(--radius-md);
    background-size: cover;
    background-position: center;
    background-color: var(--color-border);
    background-repeat: no-repeat;
    display: block;
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* Main large image */
.story-img-main {
    width: 100%;
    aspect-ratio: 4 / 5;
    min-height: 420px;
    box-shadow: var(--shadow-lg);
}

/* Small overlapping image */
.story-img-small {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    aspect-ratio: 1 / 1;
    min-height: 200px;
    border: 6px solid var(--color-white);
    box-shadow: var(--shadow-lg);
}

/* Badge (11+ Years of Excellence) */
.story-badge {
    position: absolute;
    top: 24px;
    left: -20px;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 18px 22px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.story-badge strong {
    font-family: var(--font-heading);
    font-size: 32px;
    line-height: 1;
}

.story-badge span {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Story content (right side) */
.story-content .section-label {
    text-align: left;
}

.story-content h2 {
    font-size: var(--fs-2xl);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.story-content p {
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.story-signature {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
    margin-top: var(--space-md);
}

.story-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--color-border);
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    border: 2px solid var(--color-primary);
}

.story-signature strong {
    display: block;
    font-size: var(--fs-sm);
    color: var(--color-dark);
    margin-bottom: 2px;
}

.story-signature span {
    font-size: var(--fs-xs);
    color: var(--color-gray);
}


/* ============================================================
   2. MISSION / VISION / VALUES
   ============================================================ */
.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.mvv-card {
    background-color: var(--color-white);
    padding: var(--space-lg) var(--space-md);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.mvv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.mvv-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.mvv-card:hover::before {
    transform: scaleX(1);
}

.mvv-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(184, 137, 43, 0.1);
    color: var(--color-primary);
    border-radius: 50%;
    margin: 0 auto var(--space-md);
    transition: all var(--transition-base);
}

.mvv-card:hover .mvv-icon {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.1) rotate(-5deg);
}

.mvv-icon svg {
    width: 28px;
    height: 28px;
}

.mvv-title {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    margin-bottom: var(--space-sm);
    color: var(--color-dark);
}

.mvv-card p {
    font-size: var(--fs-sm);
    line-height: 1.7;
}


/* ============================================================
   3. TEAM SECTION
   ============================================================ */
.team-section {
    background-color: var(--color-white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.team-card {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid var(--color-border);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.team-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 200px;
    background-size: cover;
    background-position: center;
    background-color: var(--color-border);
    filter: grayscale(30%);
    transition: filter var(--transition-base);
}

.team-card:hover .team-photo {
    filter: grayscale(0%);
}

.team-info {
    padding: var(--space-md);
    text-align: center;
}

.team-name {
    font-family: var(--font-heading);
    font-size: var(--fs-md);
    color: var(--color-dark);
    margin-bottom: 4px;
    line-height: 1.3;
}

.team-designation {
    display: block;
    font-size: var(--fs-xs);
    color: var(--color-primary);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding-top: var(--space-sm);
    border-top: 1px solid var(--color-border);
}

.team-social a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--color-light);
    color: var(--color-gray);
    transition: all var(--transition-base);
}

.team-social a:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

.team-social svg {
    width: 14px;
    height: 14px;
}


/* ============================================================
   4. WHY CHOOSE US
   ============================================================ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.why-card {
    background-color: var(--color-white);
    padding: var(--space-lg) var(--space-md);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    border-left: 3px solid transparent;
    position: relative;
}

.why-card:hover {
    border-left-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.why-number {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: var(--color-primary);
    opacity: 0.25;
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.why-title {
    font-family: var(--font-heading);
    font-size: var(--fs-md);
    margin-bottom: 8px;
    color: var(--color-dark);
    line-height: 1.3;
}

.why-text {
    font-size: var(--fs-sm);
    line-height: 1.7;
    color: var(--color-gray);
}


/* ============================================================
   5. STATS SECTION — PROFESSIONAL DESIGN
   ============================================================ */
.stats-section {
    position: relative;
    background: linear-gradient(135deg, #1B1B1B 0%, #2D2416 50%, #1B1B1B 100%);
    padding: 80px 0;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(184, 137, 43, 0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.stats-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(184, 137, 43, 0.1), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
}

.stat-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(184, 137, 43, 0.15);
    border-radius: 16px;
    padding: 32px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #B8892B, transparent);
    transition: transform 0.4s ease;
    transform-origin: center;
}

.stat-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0;
    border-left: 30px solid rgba(184, 137, 43, 0.08);
    border-top: 30px solid transparent;
    transition: all 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(184, 137, 43, 0.4);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(184, 137, 43, 0.15);
}

.stat-item:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 14px;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #D4A642 0%, #B8892B 50%, #D4A642 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 4px 20px rgba(184, 137, 43, 0.3));
    transition: filter 0.4s ease;
}

.stat-item:hover .stat-number {
    filter: drop-shadow(0 6px 30px rgba(184, 137, 43, 0.5));
}

.stat-label {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
    transition: color 0.4s ease;
}

.stat-item:hover .stat-label {
    color: rgba(255, 255, 255, 0.9);
}

.stat-item .stat-number::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: #B8892B;
    border-radius: 50%;
    margin: 0 auto 16px;
    box-shadow: 0 0 12px #B8892B;
    animation: statPulse 2s ease-in-out infinite;
}

@keyframes statPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(0.85); }
}


/* ============================================================
   6. RESPONSIVE — TABLET LANDSCAPE (992px)
   ============================================================ */
@media (max-width: 992px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .story-images {
        max-width: 500px;
        width: 100%;
        margin: 0 auto;
        padding-bottom: 55px;
        padding-right: 55px;
        min-height: 450px;
    }

    .story-img-main {
        width: 100%;
        aspect-ratio: 4 / 5;
        min-height: 380px;
        display: block;
    }

    .story-img-small {
        width: 60%;
        aspect-ratio: 1 / 1;
        min-height: 190px;
        display: block;
    }

    .mvv-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-section {
        padding: 60px 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .stat-item {
        padding: 28px 16px;
    }

    .stat-number {
        font-size: clamp(40px, 8vw, 56px);
    }
}


/* ============================================================
   7. RESPONSIVE — TABLET PORTRAIT (768px)
   ============================================================ */
@media (max-width: 768px) {
    .story-images {
        padding-bottom: 45px;
        padding-right: 45px;
        min-height: 400px;
    }

    .story-img-main {
        min-height: 340px;
    }

    .story-img-small {
        min-height: 160px;
        border-width: 5px;
    }

    .story-badge {
        left: 12px;
        top: 16px;
        padding: 14px 18px;
    }

    .story-badge strong {
        font-size: 26px;
    }

    .story-badge span {
        font-size: 11px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   8. RESPONSIVE — MOBILE (576px)
   ============================================================ */
@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    /* ⚡ Story images — full width, no cut off on mobile */
    .story-images {
        max-width: 100%;
        width: 100%;
        padding-bottom: 40px;
        padding-right: 40px;
        min-height: 340px;
    }

    .story-img-main {
        width: 100%;
        aspect-ratio: 4 / 5;
        min-height: 300px;
        display: block;
    }

    .story-img-small {
        width: 55%;
        aspect-ratio: 1 / 1;
        min-height: 130px;
        display: block;
        border-width: 4px;
    }

    .story-badge {
        left: 0;
        top: 12px;
        padding: 12px 14px;
        gap: 8px;
    }

    .story-badge strong {
        font-size: 22px;
    }

    .story-badge span {
        font-size: 10px;
        letter-spacing: 0.03em;
    }

    /* Stats mobile */
    .stats-section {
        padding: 50px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .stat-item {
        padding: 24px 16px;
    }

    .stat-number {
        font-size: 44px;
    }

    .stat-label {
        font-size: 11px;
    }

    /* Story content */
    .story-content h2 {
        font-size: 24px;
    }

    .story-signature {
        gap: 12px;
    }

    .story-avatar {
        width: 48px;
        height: 48px;
    }
}


/* ============================================================
   9. RESPONSIVE — VERY SMALL MOBILE (400px)
   ============================================================ */
@media (max-width: 400px) {
    .story-images {
        padding-bottom: 35px;
        padding-right: 35px;
        min-height: 300px;
    }

    .story-img-main {
        min-height: 270px;
    }

    .story-img-small {
        width: 55%;
        min-height: 110px;
        border-width: 3px;
    }

    .story-badge {
        padding: 10px 12px;
        gap: 6px;
    }

    .story-badge strong {
        font-size: 18px;
    }

    .story-badge span {
        font-size: 9px;
    }

    .story-content h2 {
        font-size: 22px;
    }
}


/* ============================================================
   10. FALLBACK — Browsers without aspect-ratio support
   ============================================================ */
@supports not (aspect-ratio: 1 / 1) {
    .story-img-main {
        height: 500px;
    }

    .story-img-small {
        height: 250px;
    }

    .team-photo {
        height: 250px;
    }

    @media (max-width: 992px) {
        .story-img-main { height: 450px; }
        .story-img-small { height: 220px; }
    }

    @media (max-width: 576px) {
        .story-img-main { height: 350px; }
        .story-img-small { height: 160px; }
        .team-photo { height: 220px; }
    }
}