/* About Section Styles */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600&display=swap');

.about-section {
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #fff;
    overflow: hidden;
    padding: 8rem 0;
    font-family: 'Poppins', sans-serif;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48cGF0dGVybiBpZD0icGF0dGVybiIgd2lkdGg9IjIwIiBoZWlnaHQ9IjIwIiB2aWV3Qm94PSIwIDAgMjAgMjAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjAxKSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==') repeat;
    opacity: 0.1;
    z-index: 0;
}

/* Decorative Elements */
.about-shape-1 {
    position: absolute;
    top: -150px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0) 70%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: 1;
    animation: float 12s ease-in-out infinite, morph 15s ease-in-out infinite alternate;
    opacity: 0.6;
}

.about-shape-2 {
    position: absolute;
    bottom: -200px;
    left: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(75, 0, 130, 0.1) 0%, rgba(148, 0, 211, 0) 70%);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    z-index: 1;
    animation: float 15s ease-in-out infinite reverse, morph 18s ease-in-out infinite alternate-reverse;
    opacity: 0.4;
}

@keyframes morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
    75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Image Container */
.about-image-container {
    position: relative;
    z-index: 2;
    perspective: 1500px;
    padding: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.about-image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6);
    transform-style: preserve-3d;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(20, 20, 20, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.about-image-container:hover .about-image-frame {
    transform: rotateY(5deg) rotateX(2deg) translateY(-10px);
    box-shadow: 0 40px 80px -20px rgba(212, 175, 55, 0.3);
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center center;
    filter: grayscale(20%) contrast(1.05);
}

.about-image-container:hover .about-image {
    transform: scale(1.05);
    filter: grayscale(0%) contrast(1.1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Experience Badge */
.experience-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.95), rgba(255, 215, 0, 0.9));
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    margin: 1rem 0 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    animation: slideUpFadeIn 1s ease-out 0.5s forwards;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 2;
}

.experience-badge .years {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    margin-right: 0.8rem;
    font-family: 'Playfair Display', serif;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.experience-badge .label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    font-family: 'Poppins', sans-serif;
    position: relative;
    padding-left: 1rem;
    border-left: 2px solid rgba(255, 255, 255, 0.3);
}

.experience-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.experience-badge:hover {
    transform: rotate(0) translateY(-5px) !important;
    box-shadow: 0 25px 60px rgba(212, 175, 55, 0.5) !important;
}

.experience-badge:hover .years {
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.experience-badge:hover .label {
    letter-spacing: 3px;
    color: #0a0a0a;
}

.experience-badge:hover::before {
    opacity: 1;
}

@keyframes slideUpFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.about-content {
    position: relative;
    z-index: 2;
    padding: 30px 15px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.section-header {
    margin-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
}

.section-header h6 {
    color: #d4af37;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
    display: inline-block;
    position: relative;
    font-family: 'Poppins', sans-serif;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.section-header h6::before {
    content: '//';
    margin-right: 10px;
    opacity: 0.7;
}

.section-header h6::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #d4af37, rgba(212, 175, 55, 0));
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-header h2 {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 1rem 0 1.5rem;
    color: #ffffff;
    font-family: 'Playfair Display', serif;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.section-header h2 .text-gold {
    background: linear-gradient(135deg, #d4af37, #f9e0a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    transition: all 0.5s ease;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.section-header h2 .text-gold::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.7), transparent);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-header h2:hover .text-gold {
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.section-header h2:hover .text-gold::after {
    transform: scaleX(1);
}

.about-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    line-height: 1.9;
    margin: 2.5rem 0 3rem;
    font-weight: 300;
    font-family: 'Poppins', sans-serif;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.7s forwards;
}

.about-text p {
    margin-bottom: 1.8rem;
    position: relative;
    padding-left: 2rem;
    transition: all 0.3s ease;
}

.about-text p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.8em;
    width: 10px;
    height: 10px;
    background: #d4af37;
    border-radius: 50%;
    transform: translateY(-50%) scale(0);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.about-text p:hover {
    transform: translateX(5px);
}

.about-text p:hover::before {
    transform: translateY(-50%) scale(1);
    opacity: 1;
}

.about-text p:last-child {
    margin-bottom: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stats Section */
.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0 0;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.9s forwards;
}

.stat-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #d4af37, rgba(212, 175, 55, 0));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-item:hover {
    background: rgba(30, 30, 30, 0.5);
    border-color: rgba(212, 175, 55, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    display: block;
    font-family: 'Playfair Display', serif;
    background: linear-gradient(135deg, #d4af37, #f9e0a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    line-height: 1.1;
    transition: all 0.5s ease;
}

.stat-item:hover .stat-number {
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.stat-label {
    font-size: 0.9rem;
    color: #b0b0b0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-label {
    color: #fff;
    letter-spacing: 3px;
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
    .section-header h2 {
        font-size: 2.8rem;
    }
    
    .about-text {
        font-size: 1.05rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 991.98px) {
    .about-section {
        padding: 6rem 0;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
    
    .about-image-container {
        margin-bottom: 5rem;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .experience-badge {
        right: 50%;
        transform: translateX(50%) rotate(-5deg);
    }
    
    .about-image-container:hover .experience-badge {
        transform: translateX(50%) rotate(0) translateY(-10px);
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .about-text {
        font-size: 1rem;
        line-height: 1.8;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 575.98px) {
    .about-section {
        padding: 4rem 0;
    }
    
    .section-header h2 {
        font-size: 1.9rem;
    }
    
    .section-header h6 {
        font-size: 0.95rem;
        letter-spacing: 3px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .experience-badge {
        padding: 1.2rem 1.5rem;
        right: 30px;
        transform: rotate(-5deg);
    }
    
    .experience-badge .years {
        font-size: 2.2rem;
    }
    
    .experience-badge .label {
        font-size: 0.75rem;
    }
}

/* Animation for stats counter */
@keyframes countUp {
    from { 
        background-position: 0% 0%;
    }
    to { 
        background-position: 100% 0%;
    }
}

/* Add this to make the counter work with JavaScript */
.stat-number[data-count] {
    display: inline-block;
    background: linear-gradient(135deg, #d4af37, #f9e0a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 100%;
    animation: countUp 1.5s ease-out forwards;
}
