/* =================================================================
   ABOUT PAGE - Professional & Symmetrical Design
   ================================================================= */

body.about-page {
    font-family: "Inter", "Poppins", sans-serif;
    background: #0b1120;
    color: rgba(226, 232, 240, 0.9);
    line-height: 1.6;
    font-size: 0.84rem;
}

body.about-page .section {
    padding: clamp(4rem, 8vw, 6rem) 0;
}

/* Елегантни разделители между секциите */
body.about-page .section + .section {
    position: relative;
}

body.about-page .container {
    width: min(100%, 1200px);
    margin: 0 auto;
    padding-inline: clamp(1.5rem, 5vw, 3rem);
}

body.about-page .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

body.about-page .section-title {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: clamp(1.45rem, 3.2vw, 2rem);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.about-page .section-subtitle {
    font-size: clamp(0.86rem, 1.7vw, 0.96rem);
    line-height: 1.62;
    color: rgba(203, 213, 225, 0.9);
    margin: 0 auto;
    max-width: 70ch;
}

/* =================================================================
   HERO SECTION
   ================================================================= */

body.about-page .hero-section {
    position: relative;
    min-height: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.9)),
        url("https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=1600&q=70")
            center/cover no-repeat;
    padding-top: 120px !important;
}

@media (min-width: 768px) {
    /* Един екран по височина: съдържанието се превърта, „Плъзнете надолу“ остава видимо в долната част */
    body.about-page .hero-section {
        min-height: 100vh !important;
        min-height: 100dvh !important;
        max-height: 100vh !important;
        max-height: 100dvh !important;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
    }

    body.about-page .hero-content {
        flex: 1 1 auto;
        min-height: 0 !important;
        display: block;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        align-self: stretch;
        /* резерв под съдържанието — като index/common, за да не се скрива под абсолютния индикатор */
        padding-bottom: calc(var(--hero-scroll-strip) + var(--hero-scroll-clearance)) !important;
    }

    /* Като index: фиксиран в долната част на hero, със същите отстъпи от common.css */
    body.about-page .hero-scroll-indicator {
        position: absolute !important;
        left: 50% !important;
        right: auto !important;
        bottom: calc(var(--hero-scroll-bottom-inset) + env(safe-area-inset-bottom, 0px)) !important;
        transform: translate(-50%, 0) !important;
        animation: heroScrollBounce 2.4s ease-in-out infinite;
        z-index: 10;
    }
}

body.about-page .hero-background {
    position: absolute;
    inset: 0;
    z-index: 1;
}

body.about-page .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(15, 23, 42, 0.85) 0%,
        rgba(30, 41, 59, 0.75) 50%,
        rgba(59, 130, 246, 0.2) 100%
    );
    z-index: 2;
}

body.about-page .hero-particles {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="particles" width="25" height="25" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="0.4" fill="rgba(255,255,255,0.08)"/><circle cx="20" cy="10" r="0.3" fill="rgba(59,130,246,0.15)"/><circle cx="10" cy="22" r="0.35" fill="rgba(139,92,246,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23particles)"/></svg>');
    animation: floatParticles 25s linear infinite;
    z-index: 3;
}

@keyframes floatParticles {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-8px) translateX(4px); }
    50% { transform: translateY(-4px) translateX(-2px); }
    75% { transform: translateY(-12px) translateX(2px); }
}

body.about-page .hero-content {
    position: relative;
    z-index: 4;
    width: 100%;
    padding: clamp(2rem, 5vw, 4rem) 0;
    min-height: 0;
    display: flex;
    align-items: center;
}

body.about-page .hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2.5rem, 6vw, 4rem);
    align-items: center;
    width: min(100%, 1200px);
    margin: 0 auto;
    padding-inline: clamp(1.5rem, 5vw, 3rem);
}

@media (min-width: 1024px) {
    body.about-page .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: clamp(3rem, 5vw, 5rem);
    }
}

body.about-page .hero-text {
    text-align: center;
    color: white;
    max-width: 560px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    body.about-page .hero-text {
        text-align: left;
        margin: 0;
    }
}

body.about-page .hero-title {
    font-size: clamp(1.45rem, 4vw, 2.15rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

body.about-page .title-line {
    display: block;
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.about-page .title-line:last-child {
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.about-page .hero-subtitle {
    font-size: clamp(0.86rem, 1.8vw, 0.95rem);
    line-height: 1.55;
    color: rgba(226, 232, 240, 0.85);
    margin-bottom: clamp(1.5rem, 4vw, 2rem);
}

body.about-page .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: clamp(0.75rem, 2vw, 1rem);
    align-items: stretch;
}

@media (min-width: 480px) {
    body.about-page .hero-buttons {
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
}

@media (min-width: 1024px) {
    body.about-page .hero-buttons {
        justify-content: flex-start;
    }
}

body.about-page .hero-buttons .btn {
    padding: 0.875rem 1.5rem;
    font-size: clamp(0.875rem, 2vw, 0.95rem);
    font-weight: 600;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.about-page .hero-buttons .btn-primary {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    border: none;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
}

body.about-page .hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.4);
}

body.about-page .hero-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}

body.about-page .hero-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

/* Hero Card */
body.about-page .hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

body.about-page .hero-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.85) 100%);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 1.5rem;
    padding: clamp(2rem, 5vw, 3rem);
    text-align: center;
    color: rgba(226, 232, 240, 0.98);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    max-width: 400px;
    position: relative;
    overflow: hidden;
}

body.about-page .hero-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
    transition: left 0.6s ease;
}

body.about-page .hero-card:hover::before {
    left: 100%;
}

body.about-page .hero-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 80px rgba(59, 130, 246, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(96, 165, 250, 0.35);
}

body.about-page .card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #8b5cf6 100%);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto clamp(1.5rem, 3vw, 2rem);
    font-size: 2rem;
    color: white;
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.35);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.about-page .hero-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

body.about-page .hero-card h3 {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: rgba(226, 232, 240, 0.98);
}

body.about-page .hero-card p {
    color: rgba(203, 213, 225, 0.9);
    font-size: clamp(0.8rem, 1.6vw, 0.9rem);
    margin-bottom: 0;
}

body.about-page .card-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

body.about-page .stat {
    text-align: center;
}

body.about-page .stat-number {
    font-size: clamp(1.5rem, 3vw, 1.75rem);
    font-weight: 800;
    color: #60a5fa;
    display: block;
}

body.about-page .stat-label {
    font-size: clamp(0.8rem, 1.8vw, 0.9rem);
    color: rgba(203, 213, 225, 0.85);
    margin-top: 0.25rem;
}

/* Scroll Indicator — центриране и отстъпи от common.css */
body.about-page .hero-scroll-indicator {
    z-index: 10;
}

body.about-page .hero-scroll-indicator:hover {
    color: #fff;
}

/* =================================================================
   ABOUT SECTION
   ================================================================= */

body.about-page .about-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(155deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.8)),
        url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1600&q=70")
            center/cover no-repeat;
}

body.about-page .about-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(11, 17, 32, 0.7);
    z-index: 0;
}

body.about-page .about-section > .container {
    position: relative;
    z-index: 1;
}

body.about-page .about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: stretch;
}

@media (min-width: 1024px) {
    body.about-page .about-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

body.about-page .about-visual {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible;
}

body.about-page .about-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.78) 0%, rgba(30, 41, 59, 0.72) 100%);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 1rem;
    padding: 1.1rem 1.2rem;
    backdrop-filter: blur(10px);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

body.about-page .about-card:hover {
    transform: translateY(-2px);
    border-color: rgba(96, 165, 250, 0.34);
    box-shadow: 0 14px 32px -22px rgba(59, 130, 246, 0.5);
}

body.about-page .about-content-secondary {
    margin-top: 1rem;
}

body.about-page .about-text h3 {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 700;
    color: rgba(226, 232, 240, 0.98);
    margin-bottom: 1rem;
    margin-top: 2rem;
    position: relative;
    padding-left: 1rem;
}

body.about-page .about-text h3:first-child {
    margin-top: 0;
}

body.about-page .about-text h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 2px;
}

body.about-page .about-text p {
    color: rgba(203, 213, 225, 0.9);
    line-height: 1.55;
    margin-bottom: 0.9rem;
    font-size: clamp(0.8rem, 1.6vw, 0.9rem);
}

body.about-page .about-card h3 {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 700;
    color: rgba(226, 232, 240, 0.98);
    margin-bottom: 0.75rem;
}

body.about-page .about-card p {
    color: rgba(203, 213, 225, 0.92);
    line-height: 1.55;
    margin-bottom: 0.65rem;
    font-size: clamp(0.8rem, 1.6vw, 0.9rem);
}

body.about-page .values-list {
    list-style: none;
    padding: 0;
    margin: 0.85rem 0 0;
}

body.about-page .values-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.5rem;
    padding: 0.7rem 0.85rem;
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid #3b82f6;
    border-radius: 0.75rem;
    transition: all 0.3s;
}

body.about-page .values-list li:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(2px);
}

body.about-page .values-list i {
    color: #60a5fa;
    font-size: 0.95rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

body.about-page .values-list strong {
    color: rgba(226, 232, 240, 0.98);
    font-weight: 600;
    display: block;
    margin-bottom: 0.1rem;
}

body.about-page .values-list li {
    color: rgba(203, 213, 225, 0.9);
    font-size: clamp(0.78rem, 1.5vw, 0.86rem);
}

body.about-page .values-list li:last-child {
    margin-bottom: 0;
}

/* Stats Grid */
body.about-page .stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    width: 100%;
    max-width: 100%;
}

@media (min-width: 640px) {
    body.about-page .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (min-width: 768px) {
    body.about-page .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        grid-auto-flow: row;
    }
}

@media (min-width: 1024px) {
    body.about-page .stats-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        align-items: stretch;
        justify-content: center;
    }

    body.about-page .stat-item {
        width: 100%;
        max-width: 100%;
    }
}

body.about-page .stat-item {
    text-align: center;
    padding: 1.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.15);
    transition: all 0.3s;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow: hidden;
}

body.about-page .stat-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.15);
    border-color: rgba(96, 165, 250, 0.3);
}

body.about-page .stat-item .stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
    transition: all 0.3s;
}

body.about-page .stat-item:hover .stat-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

body.about-page .stat-item .stat-number {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 800;
    color: #ffffff;
    display: block;
    line-height: 1.15;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.about-page .stat-item .stat-label {
    font-size: clamp(0.8rem, 1.8vw, 0.9rem);
    color: rgba(226, 232, 240, 0.9);
    margin: 0;
    font-weight: 500;
    line-height: 1.5;
}

/* =================================================================
   WHY US SECTION
   ================================================================= */

body.about-page .why-us-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.9), rgba(37, 99, 235, 0.7)),
        url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1600&q=70")
            center/cover no-repeat;
}

body.about-page .why-us-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(11, 17, 32, 0.7);
    z-index: 0;
}

body.about-page .why-us-section > .container {
    position: relative;
    z-index: 1;
}

body.about-page .features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    body.about-page .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    body.about-page .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

body.about-page .feature-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.7) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 1.25rem;
    padding: clamp(1.75rem, 4vw, 2.25rem);
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    color: rgba(226, 232, 240, 0.98);
}

body.about-page .feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
    transition: left 0.6s ease;
}

body.about-page .feature-card:hover::before {
    left: 100%;
}

body.about-page .feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.12);
    border-color: rgba(96, 165, 250, 0.35);
}

body.about-page .btn:focus-visible,
body.about-page .about-card:focus-within,
body.about-page .feature-card:focus-within {
    outline: 2px solid rgba(96, 165, 250, 0.9);
    outline-offset: 3px;
}

body.about-page .feature-card .feature-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #8b5cf6 100%);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto clamp(1.25rem, 3vw, 1.75rem);
    font-size: 1.75rem;
    color: white;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.about-page .feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 12px 48px rgba(59, 130, 246, 0.5);
}

body.about-page .feature-card h3 {
    color: rgba(226, 232, 240, 0.98);
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    font-weight: 700;
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
    line-height: 1.3;
}

body.about-page .feature-card p {
    color: rgba(203, 213, 225, 0.9);
    font-size: clamp(0.78rem, 1.6vw, 0.86rem);
    line-height: 1.65;
    margin: 0;
}

/* =================================================================
   TEAM SECTION
   ================================================================= */

body.about-page .team-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.8)),
        url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1600&q=70")
            center/cover no-repeat;
}

body.about-page .team-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(11, 17, 32, 0.7);
    z-index: 0;
}

body.about-page .team-section > .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

body.about-page .team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
    max-width: 300px;
    margin: 0 auto;
    justify-items: center;
    width: 100%;
}

@media (min-width: 640px) {
    body.about-page .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    body.about-page .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Един профил: стабилно центриране на всички размери */
body.about-page .team-grid {
    grid-template-columns: 1fr !important;
    justify-content: center !important;
    justify-items: center !important;
}

body.about-page .team-member {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.7) 0%, rgba(30, 41, 59, 0.6) 100%);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    width: min(100%, 300px);
    margin: 0 auto;
    justify-self: center;
}

body.about-page .team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.2);
    border-color: rgba(96, 165, 250, 0.35);
}

body.about-page .member-photo {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.8));
    margin: 0 auto;
}

body.about-page .member-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s;
}

/* Специфичен стил само за me.png - запълва целия контейнер на снимката */
body.about-page .member-photo-full {
    height: 220px;
}

body.about-page .member-photo-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


body.about-page .team-member:hover .member-photo img {
    transform: scale(1.1);
}

body.about-page .member-overlay {
    position: absolute;
    inset: 0;
    background: rgba(59, 130, 246, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

body.about-page .team-member:hover .member-overlay {
    opacity: 1;
}

body.about-page .social-links {
    display: flex;
    gap: 1rem;
}

body.about-page .social-links a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

body.about-page .social-links a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

body.about-page .member-info {
    padding: 1rem 0.9rem;
    text-align: center;
    margin: 0 auto;
}

body.about-page .member-info h3 {
    font-size: clamp(0.82rem, 1.45vw, 0.9rem);
    font-weight: 700;
    color: rgba(226, 232, 240, 0.98);
    margin-bottom: 0.5rem;
}

body.about-page .member-info .member-role {
    color: #60a5fa;
    font-weight: 600;
    font-size: clamp(0.68rem, 1.2vw, 0.74rem);
    margin-bottom: 0.45rem;
    display: block;
}

body.about-page .member-info .member-description {
    color: rgba(203, 213, 225, 0.9);
    font-size: clamp(0.66rem, 1.1vw, 0.72rem);
    line-height: 1.45;
    margin: 0;
}

/* =================================================================
   RESPONSIVE ADJUSTMENTS
   ================================================================= */

@media (max-width: 640px) {
    body.about-page .about-content {
        gap: 2rem;
    }

    body.about-page .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    body.about-page .stat-item {
        padding: 1.25rem 1rem;
    }

    body.about-page .team-grid {
        gap: 1.5rem;
    }

    body.about-page .member-photo {
        height: 240px;
    }

    body.about-page .member-photo-full {
        height: 240px;
    }

}

@media (max-width: 480px) {
    body.about-page .hero-card {
        padding: 1.5rem;
    }

    body.about-page .card-icon {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
    }

    body.about-page .stats-grid {
        grid-template-columns: 1fr;
    }
}

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

body.about-page .animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

body.about-page .animate-on-scroll.fade-in-up {
    animation-delay: 0.1s;
}

body.about-page .animate-on-scroll.fade-in-left {
    animation-delay: 0.2s;
}

body.about-page .animate-on-scroll.fade-in-right {
    animation-delay: 0.3s;
}

body.about-page .animate-on-scroll.stagger-1 {
    animation-delay: 0.1s;
}

body.about-page .animate-on-scroll.stagger-2 {
    animation-delay: 0.2s;
}

body.about-page .animate-on-scroll.stagger-3 {
    animation-delay: 0.3s;
}

body.about-page .animate-on-scroll.stagger-4 {
    animation-delay: 0.4s;
}

body.about-page .animate-on-scroll.stagger-5 {
    animation-delay: 0.5s;
}

body.about-page .animate-on-scroll.stagger-6 {
    animation-delay: 0.6s;
}
