/* Media Queries for about-section */
@media (max-width: 1024px) {
    .about-section {
        height: 90vh; /* Slightly shorter height for tablets */
        padding: 0 1.5rem; /* Reduced padding */
    }

    .content-wrapper {
        max-width: 700px; /* Adjust max-width for smaller screens */
        padding: 1.5rem;
    }

    .main-title {
        letter-spacing: 2.5px;
        margin-bottom: 1.5rem;
    }

    .about-text {
        line-height: 1.5;
        margin-bottom: 2rem;
    }

    .contact-btn {
        padding: 12px 35px;
    }
}

@media (max-width: 768px) {
    .about-section {
        height: 85vh; /* Shorter height for smaller tablets */
        padding: 0 1rem;
    }
.divider{
    width: 100%;
}
    .content-wrapper {
        max-width: 600px;
        padding: 1.2rem;
    }

    .main-title {
        letter-spacing: 2px;
        margin-bottom: 1.2rem;
    }

    .about-text {
        line-height: 1.4;
        margin-bottom: 1.8rem;
    }

    .contact-btn {
        padding: 10px 30px;
    }
}

@media (max-width: 480px) {
    .about-section {
        height: 80vh; /* Compact height for mobile */
        padding: 0 0.8rem;
    }

    .content-wrapper {
        max-width: 100%;
        padding: 1rem;
    }

    .main-title {
        letter-spacing: 1.5px;
        margin-bottom: 1rem;
    }

    .about-text {
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }

    .contact-btn {
        padding: 8px 25px;
    }
}
@media (max-width: 768px) {
    .about-section {
        padding: 8vh 5vw;
        height: auto;
        min-height: 100vh;
        margin-top: 10px !important;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        grid-template-areas:
            "left"
            "right"
            "cta";
    }
    
    .section-header {
        text-align: center;
    }
    
    .stats-grid {
        justify-content: center;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .stat-card {
        min-width: 120px;
        flex: 1 1 calc(33.333% - 1rem);
        max-width: 150px;
    }
    
    /* On mobile, columns naturally stack; keep spacing tight */
    .text-column { gap: 1rem; }
    
    .visual-element {
        height: 300px;
        position: relative;
        top: auto;
        max-width: 85%;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* RESPONSIVE FIX: Carousel navigation visibility */
    .about-carousel__btn {
        width: 35px;
        height: 35px;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.3);
    }
    
    .about-carousel__btn--prev {
        left: 10px;
    }
    
    .about-carousel__btn--next {
        right: 10px;
    }
    
}

@media (max-width: 480px) {
    .about-section {
        padding: 6vh 4vw;
    }
    
    .stats-grid {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .stat-card {
        width: 100%;
        max-width: 250px;
        padding: 1.2rem 1rem;
    }
    
    .about-container {
        gap: 2rem;
    }
    
    .visual-element {
        height: 250px;
        margin: 0 -1rem;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* RESPONSIVE FIX: Smaller carousel buttons on mobile */
    .about-carousel__btn {
        width: 30px;
        height: 30px;
    }
    
    .about-carousel__btn--prev {
        left: 5px;
    }
    
    .about-carousel__btn--next {
        right: 5px;
    }
    
    .about-carousel__dots {
        bottom: 10px;
    }
    
    .about-carousel__dot {
        width: 8px;
        height: 8px;
    }
}