
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;700;800&display=swap');

/* Variables */
:root {
    --primary-color: #8e44ad; 
    --secondary-color: #9b59b6; 
    --accent-color: #e73cbc;   
    --background-color: #f8f0fc; 
    --text-color: #333;
    --glass-background: rgba(255, 255, 255, 0.18);
    --glass-border: rgba(255, 255, 255, 0.28);
    --card-shadow-color: rgba(142, 68, 173, 0.12);
    --footer-bg: #212529;
    --footer-text: #adb5bd;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.8;
}


/* About Section */
.about-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(142, 68, 173, 0.08), rgba(231, 76, 60, 0.05));
    border-radius: 24px;
    margin-top: 60px;
    margin-bottom: 20px !important;
    padding-bottom: 10px;
    padding-top: 10px;
}

.glass-card {
    background: var(--glass-background);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 10px 35px var(--card-shadow-color);
}

.custom-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1.3;
}

.text-muted {
    font-size: 1.05rem;
    color: #555 !important;
}

.about-stats {
    margin-top: 20px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 18px;
    padding: 18px 22px;
    min-width: 130px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 700;
}

.btn-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff;
    border: none;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(231, 76, 60, 0.4);
    color: #fff;
}

.btn-outline-gradient {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 10px;
    transition: all 0.3s ease;
}
.btn-outline-gradient:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff;
    border-color: var(--primary-color);
}

.about-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
}

.image-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(155, 89, 182, 0.25);
    filter: blur(45px);
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: glow-animation 6s infinite alternate;
}

.main-about-image {
    position: relative;
    z-index: 2;
    border: 4px solid rgba(255, 255, 255, 0.3);
    object-fit: cover; /* Ensure image covers the area */
}



/* Responsive Adjustments */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.4rem;
    }
    .about-image-wrapper {
        margin-top: 30px;
    }
    .image-glow {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
    .glass-card {
        padding: 30px !important;
    }
    .section-title {
        font-size: 2.1rem;
    }
    .stat-item {
        min-width: 110px;
    }
    .btn {
        padding: 10px 22px;
        font-size: 0.9rem;
    }
    .navbar-brand {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .about-stats {
        justify-content: center !important;
    }
    .stat-item {
        margin: 5px !important;
    }
    .btn-group .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    .btn-group .btn:last-child {
        margin-bottom: 0;
    }
    .custom-footer .col-md-6 {
        text-align: center !important;
    }
    .custom-footer .col-md-6:last-child {
        margin-top: 20px;
    }
    .image-glow {
        width: 180px;
        height: 180px;
    }
}

/* Animations */
@keyframes glow-animation {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 0.9;
    }
}
