/* ===========================
   HAKKIMIZDA PAGE - LIGHT THEME
   =========================== */

/* Page Hero */
.page-hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1f3d 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(182, 39, 39, 0.1) 0%, transparent 60%);
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(5%, 5%); }
}

.page-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    position: relative;
}

.page-hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
}

/* About Content */
.about-content {
    padding: 100px 0 80px;
    background: #f8f9fa;
}

.about-content .container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

.about-text {
    max-width: 700px;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(182, 39, 39, 0.08);
    border: 1px solid rgba(182, 39, 39, 0.2);
    border-radius: 40px;
    padding: 8px 20px;
    margin-bottom: 24px;
}

.about-badge span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.5px;
}

.about-text h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.3;
    margin-bottom: 28px;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4a4a5a;
    margin-bottom: 20px;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid #e8e8ee;
    border-radius: 16px;
    padding: 24px 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.highlight-item:hover {
    background: #fff;
    border-color: rgba(182, 39, 39, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(182, 39, 39, 0.1);
}

.highlight-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(182, 39, 39, 0.1);
    color: var(--color-primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.highlight-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.highlight-text strong {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a2e;
}

.highlight-text span {
    font-size: 0.85rem;
    color: #6b7280;
}

/* Team Section */
.team {
    padding: 100px 0;
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.section-header p {
    font-size: 1.05rem;
    color: #6b7280;
}

/* Org Chart */
.org-chart {
    max-width: 1200px;
    margin: 0 auto;
}

/* Partners Level */
.org-level-partners {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.org-card-partner {
    background: linear-gradient(135deg, #fff 0%, #fef7f7 100%);
    border: 2px solid rgba(182, 39, 39, 0.2);
    border-radius: 20px;
    padding: 32px 36px;
    text-align: center;
    position: relative;
    min-width: 240px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.org-card-partner:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(182, 39, 39, 0.12);
    border-color: rgba(182, 39, 39, 0.4);
}

.org-card-partner .org-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, #d44444 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
    color: #fff;
}

.org-card-partner h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.org-card-partner p {
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 12px;
}

.partner-badge {
    display: inline-block;
    background: rgba(182, 39, 39, 0.1);
    color: var(--color-primary);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Connector Line */
.org-connector {
    width: 2px;
    height: 48px;
    background: linear-gradient(180deg, var(--color-primary) 0%, rgba(182, 39, 39, 0.2) 100%);
    margin: 0 auto;
    position: relative;
}

/* Partners same height */
.org-level-partners {
    align-items: stretch;
}

/* Departments Grid */
.org-level-departments {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.org-department-centered {
    grid-column: 2 / 3;
}

.org-department {
    background: #f8f9fa;
    border: 1px solid #e8e8ee;
    border-radius: 16px;
    padding: 28px 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.org-department::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.org-department:hover {
    background: #fff;
    border-color: rgba(182, 39, 39, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.org-department:hover::before {
    opacity: 1;
}

.org-dept-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e8e8ee;
}

.org-dept-header i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(182, 39, 39, 0.1);
    color: var(--color-primary);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.org-dept-header h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.3;
}

.org-members {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.org-member {
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.org-member:hover {
    background: rgba(182, 39, 39, 0.05);
}

.member-name {
    font-size: 0.9rem;
    color: #4a4a5a;
    font-weight: 400;
}

.org-member-role {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary, #0478a4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 12px 2px;
    margin-top: 4px;
    opacity: 0.8;
}

.org-member-role:first-child {
    margin-top: 0;
}

/* Contributors */
.contributors {
    margin-top: 60px;
    padding: 40px;
    background: #f8f9fa;
    border: 1px solid #e8e8ee;
    border-radius: 20px;
    text-align: center;
}

.contributors h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contributors h3 i {
    color: var(--color-primary);
}

.contributors-list {
    font-size: 0.9rem;
    line-height: 2;
    color: #6b7280;
    max-width: 900px;
    margin: 0 auto;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
    .about-content .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-text {
        max-width: 100%;
    }

    .about-highlights {
        grid-template-columns: repeat(4, 1fr);
    }

    .org-level-partners {
        gap: 20px;
    }

    .org-card-partner {
        min-width: 200px;
        padding: 24px 20px;
    }

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

    .org-department-centered {
        grid-column: 1 / -1;
        max-width: 50%;
        justify-self: center;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 130px 0 60px;
    }

    .about-content {
        padding: 60px 0 50px;
    }

    .about-highlights {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .highlight-item {
        padding: 16px 14px;
        gap: 12px;
    }

    .highlight-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .highlight-text strong {
        font-size: 1.1rem;
    }

    .team {
        padding: 60px 0;
    }

    .org-level-partners {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .org-card-partner {
        min-width: auto;
        width: 100%;
        max-width: 320px;
    }

    .org-level-departments {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .org-department-centered {
        grid-column: auto;
        max-width: 100%;
        justify-self: stretch;
    }

    .contributors {
        padding: 24px 20px;
        margin-top: 40px;
    }

    .contributors-list {
        font-size: 0.85rem;
        line-height: 1.9;
    }
}

@media (max-width: 420px) {
    .page-hero {
        padding: 120px 0 50px;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

    .about-content {
        padding: 40px 0;
    }

    .about-text h2 {
        font-size: 1.4rem;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .highlight-item {
        padding: 16px;
    }

    .org-card-partner {
        padding: 20px 16px;
    }

    .org-card-partner .org-avatar {
        width: 52px;
        height: 52px;
        font-size: 1.2rem;
    }

    .org-card-partner h3 {
        font-size: 1.05rem;
    }

    .org-department {
        padding: 20px 16px;
    }

    .org-dept-header h4 {
        font-size: 0.88rem;
    }
}
