.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* About Section */
#about {
    background-image: url('PROJECT 103.png'); /* Your chosen background image */
    background-size: cover;
    background-position: center;
    min-height: 800px;
    padding: 100px 50px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex; /* For text and image alignment */
    align-items: center;
    justify-content: space-between;
}

/* Overlay for the background image: Darken and Blur */
#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Dark semi-transparent overlay (0.7 opacity) */
    backdrop-filter: blur(4px); /* Apply a blur effect to the background content */
    z-index: 0; /* Ensures the overlay is behind the main content but above the background image */
}

/* Styling for the custom shaped image */
.about-custom-image {
    position: absolute;
    right: 0; /* Puwesto sa kanan */
    top: 50%; /* Naka-gitna vertically */
    transform: translateY(-50%); /* Fine-tuning para sa perfect center */
    width: 1000px; /* Laki ng image container, adjust as needed */
    height: 900px; /* Laki ng image container, adjust as needed */
    overflow: hidden; 
    border: 5px solid rgba(255, 208, 52, 0.6); /* Semi-transparent gold border (Adjusted from white to gold-ish) */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out; /* Smooth transitions */
    z-index: 1; /* Ensure custom image is above the overlay */
}

.about-custom-image:hover {
    transform: translateY(-50%) scale(1.02); /* Slight zoom on hover */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.about-custom-image img {
    width: 100%; /* Image fills its container */
    height: 100%; /* Image fills its container */
    object-fit: cover; /* Important: Sisiguraduhin na ang image ay pupuno sa container nang hindi na-deform */
    display: block; /* Remove extra space below image */
}

.section-title::after {
    background: #FFD700; /* Gold color for the underline */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .about-custom-image {
        width: 450px;
        height: 600px;
        right: -50px; /* Slight adjustment for smaller desktop screens */
    }
    #about {
        padding: 80px 30px;
        min-height: 700px;
    }
}

@media (max-width: 768px) {
    #about {
        min-height: auto; /* Allow height to adjust based on content */
        padding: 50px 20px;
        text-align: center; /* Center text content */
    }
    .about-grid {
        flex-direction: column; /* Kung gumagamit ka ng flexbox para sa grid */
        align-items: center;
    }
    .text-left {
        text-align: center; /* Center align text on mobile */
    }

    .about-custom-image {
        position: static; /* Mawawala ang absolute positioning */
        transform: none; /* Remove vertical centering transform */
        width: 90%; /* Gawing mas malaki sa mobile */
        height: 350px; /* Fixed height for mobile image */
        margin: 40px auto 20px auto; /* I-center ang image at add margin */
        clip-path: ellipse(50% 50% at 50% 50%); /* Simple circle/oval shape on mobile */
        border: none; /* Remove border on mobile */
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* Keep a subtle shadow */
        z-index: 1; /* Still above background, but won't interfere with text as much */
    }
}

@media (max-width: 480px) {
    .about-custom-image {
        height: 250px; /* Smaller height for very small screens */
    }
    .section-title {
        font-size: 2em;
    }
    .about-subtitle {
        font-size: 1.1em;
    }
    .text-content.about-text-white {
        font-size: 0.9em;
    }
}

/* SECTION BELOW THIS LINE ARE REUSABLE UTILITIES AND OTHER SECTION STYLES, NOT DIRECTLY PART OF #ABOUT'S SPECIFIC BACKGROUND/TEXT */

.section-padding {
    padding: 365px 0;
}

.section-white {
    background:#ffffff;
}

.section-white .about-subtitle {
    color: #ffffff; /* Dark text for white background */
    font-weight: 550;
}

.section-white .text-content.about-text-white{
    color: #ffffff; /* Dark text for white background */
    font-weight: 550;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 10px;
    letter-spacing: 0.02em;
}

.section-white .about-subtitle {
    color: #ffffff; /* Standard gold color */
    font-weight: 500;
    text-align: center;
    margin-bottom: 5px;
}

.section-white .text-content.about-text-white { /* Combine the rules if they share the same color */
    color: #fffbe7; /* Standard gold color */
    font-weight: 500;
    padding: 5px;
    text-align:justify;
}

.about-subtitle {
    font-size: 2em;
    font-weight: 800;
    margin-bottom: 40px;
    position: relative;
    padding: 10px;
    letter-spacing: 0.01em;
    font-family:'Lucida Sans';
    text-align:justify;
    justify-items: center;
}

.section-gradient-blue {
    background: #f6e6ab;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.about-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    justify-content: center;
}

.about-grid:last-of-type {
    margin-bottom: 0;
}

.about-grid > div {
    flex: 1;
    min-width: 300px;
}

.image-container-collage {
    position: relative;
    width: 100%;
    padding-top: 95%;
    max-width: 600px;
    margin: 0;
    overflow: hidden;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.mv-horizontal-cards-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    margin-top: 100px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    padding: 0 15px;
}



