 /* General Page Styling */
 body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

/* About Section Styling */
.about-area {
    position: relative;
    padding: 80px 10%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    flex-direction: row-reverse; /* Ensures the image is on the left */
}

/* About Image */
.about-img {
    flex: 1;
    max-width: 500px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.about-img img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.3s ease-in-out;
}

.about-img .show {
    opacity: 1;
    transform: translateY(0);
}

/* Hover Effect on Image */
.about-img:hover img {
    transform: scale(1.05);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}

/* About Content */
.about-caption {
    flex: 1;
    padding: 20px;
    max-width: 600px;
    color: #333;
    transition: transform 0.3s ease-in-out;
}

.about-caption .section-title {
    font-size: 2rem;
    font-weight: bold;
    color: #ff6f61; /* Bold Color */
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.about-caption p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #555;
    text-align: justify;
    letter-spacing: 1px;
    transition: color 0.3s ease-in-out;
    margin-bottom: 25px; /* Adjust the value to control the space */
}

.about-caption p:hover {
    color: #ff6f61; /* Color change on hover */
}

/* About Shape */
.about-shape img {
    position: absolute;
    bottom: -50px;
    right: 20px;
    max-width: 150px;
    opacity: 0.3;
    transform: rotate(45deg);
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-area {
        text-align: center;
        padding: 50px 5%;
        box-shadow: none;
    }
    .about-container {
        flex-direction: column;
    }
    .about-img {
        margin-bottom: 30px;
    }
    .about-caption {
        padding: 0;
    }
}

@media (max-width: 768px) {
    .about-caption p {
        font-size: 1rem;
    }
}

/* Add this style for better stacking of mobile menu */
#mobile-menu {
    position: absolute;
    top: 60px; /* Adjust as needed */
    right: 0;
    background-color: #1E40AF; /* Ensure background color is consistent */
    z-index: 10; /* Higher z-index to appear on top of other content */
}

/* Modify about-container for small screen to prevent overlap */
@media (max-width: 992px) {
    .about-area {
        text-align: center;
        padding: 50px 5%;
        box-shadow: none;
        position: relative; /* Make sure this section doesn't cover other content */
    }
    .about-container {
        flex-direction: column;
        position: relative; /* Ensure the content doesn't get covered */
    }
    .about-img {
        margin-bottom: 30px;
    }
    .about-caption {
        padding: 0;
        position: relative; /* Allow content to stay in place */
    }
}

/* Adjust mobile image size */
@media (max-width: 768px) {
    .about-img img {
        width: 100%;
        height: auto;
    }
}
