/* About Section - Centered */
.about-section {
    padding: 5rem 5%; 
    background-color: #fff8e6;
    position: relative;
    overflow: hidden;
    text-align: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
}

/* Decorative Elements */
.about-section::before,
.about-section::after {
    content: '✧';
    position: absolute;
    font-size: 5rem;
    color: #d3cbb3;
    opacity: 0.2;
}

.about-section::before {
    top: 10%;
    left: 5%;
}

.about-section::after {
    bottom: 10%;
    right: 5%;
}

/* Centered Header */
.about-header {
    margin-bottom: 1rem;
    text-align: center;
}

/* About Content Wrapper - Centered */
.about-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers everything */
    gap: 2rem;
}

/* About Content */
.about-content {
    max-width: 800px;
    text-align: center;
}

/* Subtitle */
.about-subtitle {
    font-size: 2rem;
    color: #4a4030;
    margin-bottom: 0.2rem;
    padding-bottom: 0.2rem;
    position: relative;
    display: inline-block;
}

/* About Text */
.about-text {
    display: inline-flex;
    padding: 0 2%;
    font-size: 1.1rem;
    max-width: 700px;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-align: center;
}

/* About Features Section */
.about-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centers the feature boxes */
    gap: 1rem;
    margin-top: 1rem;
    max-width: 900px;
}

/* Individual Feature Box */
.feature {
    flex: 1;
    min-width: 220px;
    max-width: 280px;
    padding: 1.5rem;
    background-color: #f5ecd7;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Decorative Line Animation */
.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background-color: #695c34;
    transition: height 0.3s ease;
}

.feature:hover::before {
    height: 100%;
}

/* Feature Icon */
.feature-icon {
    font-size: 2rem;
    color: #695c34;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.feature:hover .feature-icon {
    transform: scale(1.1);
}

/* Feature Title */
.feature h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.feature:hover h4 {
    color: #695c34;
}

/* 📱 Mobile & Small Screens */
@media (max-width: 768px) {
    

    .about-wrapper {
        text-align: center;
    }

    .about-subtitle {
        font-size: 1rem;
    }

    .about-text {
        font-size: 1rem;
    }

    .about-features {
        flex-direction: column;
        align-items: center;
    }

    .feature {
        max-width: 100%; /* Makes each feature box take full width on smaller screens */
    }
}
