﻿/*.about-section {
    background: linear-gradient(135deg, #f8f9fa, #eef1f9);
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.gradient-text {
    background: linear-gradient(135deg, #4e54c8, #8f94fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight {
    color: #ff6b6b;
    font-weight: 600;
}

.gradient-icon {
    background: linear-gradient(135deg, #4e54c8, #8f94fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.2rem;
}

.signature-img {
    max-width: 180px;
    margin-top: 15px;
}*/

/* Right image wrapper */
/*.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image-wrapper:hover .about-image {
    transform: scale(1.05);
}*/

/* Floating shapes */
/*.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    background: linear-gradient(135deg, #4e54c8, #8f94fb);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 120px;
    height: 120px;
    top: -40px;
    right: -40px;
}

.shape-2 {
    width: 80px;
    height: 80px;
    bottom: -30px;
    left: -30px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}*/

 

 
 

.about-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.about-section {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.section-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .section-header h1 {
        font-size: 2.2rem;
        margin-bottom: 15px;
        position: relative;
        z-index: 1;
        text-transform: uppercase;
        letter-spacing: 1px;
        line-height: 1.2;
    }

    .section-header p {
        font-size: 1.1rem;
        opacity: 0.9;
        max-width: 800px;
        margin: 0 auto;
        position: relative;
        z-index: 1;
        line-height: 1.5;
    }

.about-content {
    padding: 30px 20px;
}

.about-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-text h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark);
    position: relative;
    line-height: 1.3;
}

    .about-text h2::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 60px;
        height: 4px;
        background: linear-gradient(to right, var(--primary), var(--secondary));
        border-radius: 2px;
    }

.about-text p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #555;
}

.features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 25px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.feature-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.feature-text {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.signature {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

    .signature img {
        max-width: 150px;
        margin-bottom: 15px;
        border: 2px solid #eee;
        padding: 8px;
        border-radius: 5px;
    }

.signature-text {
    font-style: italic;
    color: #777;
    border-left: none;
    padding-left: 0;
    text-align: center;
    line-height: 1.5;
}

.about-image {
    position: relative;
    order: -1;
    margin-bottom: 20px;
}

.image-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 6px solid white;
    outline: 2px solid var(--primary);
}

    .image-container img {
        width: 100%;
        height: auto;
        display: block;
        transition: transform 0.5s ease;
    }

.experience-badge {
    position: absolute;
    bottom: -15px;
    right: -10px;
    background: linear-gradient(135deg, var(--accent) 0%, #ff8e8e 100%);
    color: white;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
    border: 4px solid white;
    z-index: 2;
}

.experience-years {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.experience-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    margin-top: 5px;
}

.stats-container {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 30px 20px;
    color: white;
    border-radius: 15px;
    margin-top: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.stat-item {
    text-align: center;
    padding: 20px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.stat-text {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Media Queries for Responsiveness */
@media (min-width: 576px) {
    .section-header {
        padding: 35px 30px;
    }

    .about-content {
        padding: 35px 30px;
    }

    .features {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .signature {
        flex-direction: row;
        text-align: left;
    }

        .signature img {
            margin-bottom: 0;
            margin-right: 20px;
        }

    .signature-text {
        border-left: 3px solid var(--primary);
        padding-left: 15px;
        text-align: left;
    }
}

@media (min-width: 768px) {
    .about-grid {
        flex-direction: row;
    }

    .about-text {
        flex: 1;
    }

    .about-image {
        flex: 1;
        order: 1;
        margin-bottom: 0;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .experience-badge {
        width: 120px;
        height: 120px;
    }

    .experience-years {
        font-size: 2.2rem;
    }
}

@media (min-width: 992px) {
    .section-header {
        padding: 40px;
    }

        .section-header h1 {
            font-size: 2.5rem;
        }

    .about-content {
        padding: 50px 40px;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .about-text p {
        font-size: 1.1rem;
    }

    .feature-text {
        font-size: 1rem;
    }

    .experience-badge {
        width: 140px;
        height: 140px;
        bottom: -20px;
        right: -20px;
    }

    .experience-years {
        font-size: 2.5rem;
    }

    .experience-text {
        font-size: 0.9rem;
    }
}

/* Prevent horizontal scrolling on mobile */
@media (max-width: 575px) {
    body {
        padding: 15px;
    }

    .about-section {
        border-radius: 15px;
    }

    .section-header h1 {
        font-size: 1.8rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .experience-badge {
        width: 90px;
        height: 90px;
        bottom: -10px;
        right: -5px;
    }

    .experience-years {
        font-size: 1.6rem;
    }

    .experience-text {
        font-size: 0.7rem;
    }
}

/* Safari-specific fixes */
@media not all and (min-resolution:.001dpcm) {
    @supports (-webkit-appearance:none) {
        .image-container {
            -webkit-mask-image: -webkit-radial-gradient(white, black);
        }
    }
}

/* Firefox-specific fixes */
@-moz-document url-prefix() {
    .feature-icon, .experience-badge {
        transition: all 0.3s ease;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .feature-icon {
        outline: 1px solid black;
    }

    .image-container {
        outline: 2px solid black;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .image-container img {
        transition: none;
    }
}