﻿

/* Base Styles */
.dilkash-about {
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Hero Section */
.site-hero {
    height: 45vh;
    background: linear-gradient(135deg, #ed1b24 0%, #ed1b24 100%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    margin-bottom: 2rem;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.3));
}

.hero-content {
    color: white;
    max-width: 800px;
}

    .hero-content h1 {
        font-size: 4rem;
        margin-bottom: 0.5rem;
        font-weight: 800;
        text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
    }

.subtitle {
    font-size: 1rem;
    font-style: italic;
    position: relative;
    display: inline-block;
}

    .subtitle::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 50px;
        height: 3px;
        background: beige;
    }

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 20px;
}

    .hero-meta span {
        display: flex;
        align-items: center;
        font-size: 1rem;
    }

    .hero-meta i {
        margin-right: 0.5rem;
        color: beige;
    }

/* Main Container */
.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 50px;
    margin-bottom: 20px;
}

/* Image Section */
.about-image-section {
    flex: 1;
    position: relative;
}

.image-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    height: 500px;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.45, 0.45, 0.95);
}

.image-container:hover .about-image {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: 20px;
    background: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    text-align: center;
    z-index: 2;
    transition: all 0.3s ease;
}

    .experience-badge:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    }

    .experience-badge span {
        display: block;
        font-size: 2.2rem;
        font-weight: 700;
        color: var(--primary-color);
        line-height: 1;
        background: var(--secondary-color);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .experience-badge small {
        font-size: 0.8rem;
        color: var(--text-light);
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 600;
    }

.image-caption {
    margin-top: 40px;
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .image-caption i {
        margin-right: 8px;
        color: var(--secondary-color);
    }

/* Content Section */
.about-content-section {
    flex: 1;
}

.section-header {
    margin-bottom: 30px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

    .section-title span {
        color: var(--primary-color);
    }

.title-decoration {
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 40px;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--secondary-color);
    
}

/* Features Section */
.features-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        border-color: rgba(52, 152, 219, 0.2);
    }

    .feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 3px;
        height: 0;
        background: var(--secondary-color);
        transition: height 0.4s ease;
    }

    .feature-card:hover::before {
        height: 100%;
    }

.feature-icon {
    font-size: 1.5rem;
    color: white;
    margin-right: 20px;
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: rotate(15deg) scale(1.1);
}

.feature-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.feature-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
    font-weight: 500;
}

.feature-hover-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding-top: 0;
}

.feature-card:hover .feature-hover-content {
    max-height: 100px;
    padding-top: 15px;
}

.feature-hover-content p {
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.6;
}

/* Stats Section */
.stats-container {
    display: flex;
    margin-bottom: 40px;
    justify-content: space-evenly;
}

.stat-card {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

    .stat-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        background: var(--secondary-color);
        color: white;
    }

.stat-icon {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.3);
    color: white;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-number {
    color: white;
}

.stat-title {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}


/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .about-container {
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .about-hero {
        height: 50vh;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .about-container {
        flex-direction: column;
    }

    .image-container {
        height: 400px;
    }

    .stats-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .experience-badge {
        padding: 12px 20px;
    }

        .experience-badge span {
            font-size: 1.8rem;
        }
}

@media (max-width: 576px) {
    .about-hero {
        height: 40vh;
        min-height: 300px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .stats-container {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .feature-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .feature-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .rating-badge {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .stars {
        margin-right: 0;
        margin-bottom: 10px;
    }
}
