
/* About Section */
.about-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%; /* Add left and right padding */
}

.about-content {
    flex: 1;
    padding-right: 10px;
    margin-left: 10%; /* Moves the text content slightly toward the center */
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 1.2rem;
    word-spacing: 2px; /* Increases space between words */
    line-height: 1.5; /* Adjusts line spacing */
}

.about-image {
    flex: 1;
    text-align: right;
    margin-right: 5%; /* Adjust this value to control how close it moves to the center */
}

.about-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
}

.more-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #63d150;
    color: #000000;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

/* Small screen adjustments */
@media (max-width: 768px) {
    .about-section {
        flex-direction: column;   /* stack content */
        align-items: center;
    }

    .about-section img {
        display: none;            /* hide image */
    }

    .about-content {
        margin: 0;                /* remove side margins */
        padding: 0;               /* reset padding */
        width: 100%;              /* take full width */
        text-align: justify;       /* optional: center text */
    }
    .about-content h2 {
        text-align: center;       /* center the heading */
        margin-bottom: 15px;
    }
    .more-button {
        display: inline-block;    /* ensure button is inline */
        margin: 10px auto;      /* center button horizontally */
    }
}
