/* 
* About Section Styles
*/

.about {
    background-color: var(--bg-light);
}

.about-content {
    margin-top: 4rem;
    align-items: center;
}

.about-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0.8rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15);
}

.about-slider {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%;
    gap: 0;
}

.about-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

.about-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 0.8rem;
    margin: 0;
    padding: 0;
}

.about-img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.about-img {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 0.8rem;
    margin: 0;
    padding: 0;
}

.about-slide:hover .about-img {
    transform: scale(1.03);
}

/* Slider Navigation */
.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border: none;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.slider-nav-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 1.5rem;
}

.next-btn {
    right: 1.5rem;
}

.slider-dots {
    display: none; /* Hide the dots container */
    color: transparent;
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    gap: 0.8rem;
    z-index: 10;
}

.slider-dot {
    display: none;
    color: transparent;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    display: none;
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .slider-nav-btn {
        width: 3.5rem;
        height: 3.5rem;
    }
    
    .slider-dot {
        width: 0.8rem;
        height: 0.8rem;
    }
}

.about-text {
    padding: 2rem;
}

.about-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.about-description {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-features {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feature {
    display: flex;
    align-items: center;
}

.feature-icon {
    color: var(--primary-color);
    font-size: 2rem;
    margin-right: 1rem;
}

.feature-text {
    font-size: 1.5rem;
    font-weight: 500;
}

/* Stats Section */
.stats-container {
    margin-top: 6rem;
    padding: 3rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background-color: #fff;
    border-radius: 0.8rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 3.6rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.6rem;
    color: var(--text-muted);
}

/* Media Queries */
@media (max-width: 992px) {
    .about-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-content {
        gap: 4rem;
    }
    
    .about-text {
        padding: 0;
    }
    
    .stats-container {
        margin-top: 4rem;
    }
}

@media (max-width: 576px) {
    .about-heading {
        font-size: 2.2rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .stat-label {
        font-size: 1.4rem;
    }
}
