.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-about-image {
    flex: 0 0 50%;
    width: 50%;
    min-height: 600px;

    
    background-image: var(--blur-img);
    background-size: cover;
    background-position: center;
    filter: blur(20px) ;
    transition: filter 0.5s ease, background-image 0.5s ease;
}

/* When image is loaded */
.hero-about-image.loaded {
    filter: blur(0) ;
    background-image: var(--hero-img);
}
}

/* Desktop HD Image */
@media (min-width: 769px){
    .hero-about-image {
        background-image: var(--hero-img);
    }
}

/* Mobile Optimized Image */
@media (max-width: 768px){
    .hero-about-image {
        width:100%;
        flex:100%;
        background-image: var(--mobile-img);
    }
}

.hero-split-about {
    display: flex;
    flex-wrap: wrap;
    max-width: 1400px;  /* Limits the width on huge monitors */
    margin: 40px auto;  /* Centers the section and adds space top/bottom */
    border-radius: 12px; /* Optional: rounds the corners for a modern look */
    overflow: hidden;    /* Keeps the image inside the rounded corners */
    background: #000;
    
    border-radius: 20px; /* smooth curves */
    box-sizing: border-box;

    /* Black glossy transparent effect */
    
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.5));

    backdrop-filter: blur(10px);      /* glassy blur behind it */
    -webkit-backdrop-filter: blur(10px); /* Safari support */

    /* subtle shadow for depth */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    padding: 30px;
}

.hero-text-about {
    flex: 0 0 50%;
    width: 50%;
    padding: 60px 40px;  /* internal padding for breathing room */
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    box-sizing: border-box;
}

.container-about {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}


.content-block-about {
    display: flex;
    flex-wrap: wrap;
    max-width: 1400px;  /* Matches your Hero width */
    margin: 40px auto;  /* Centers and adds vertical spacing */
    border-radius: 12px;
    overflow: hidden;   /* Keeps background colors/images inside the corners */
    background: #111;   /* A slightly lighter black to differentiate from Hero */
    color: #fff;
    box-sizing: border-box;
    border-radius: 20px; /* smooth curves */
    box-sizing: border-box;

    /* Black glossy transparent effect */
    
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.5));

    backdrop-filter: blur(10px);      /* glassy blur behind it */
    -webkit-backdrop-filter: blur(10px); /* Safari support */

    /* subtle shadow for depth */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    padding: 30px;
}





.about-story p {
    color: var(--grey-text);
    font-size: 1rem;
    line-height: 1.8;
}

/* Stats Styling */
.about-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat-box {
    border-left: 2px solid var(--gold);
    padding-left: 20px;
}

.stat-box span {
    font-size: 2.5rem;
    font-family: 'Playfair Display';
    font-weight: 700;
    color: var(--white);
    display: block;
}

.stat-box p {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.7rem;
}

.spacer-reveal-about {
    height: 100px; /* This shows the background image */
    background: transparent;
}

.reveal-overlay-text-about {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 15%;
    background: rgba(0,0,0,0.3); /* Subtle dimming to make quote pop */
}

.reveal-overlay-text-about h2 {
    font-style: italic;
    font-weight: 400;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.card-content {
    padding: 15px 20px;
}

/* Mobile Responsive Styles for About Page */
@media (max-width: 768px) {
    /* Stack the hero section vertically */
    .hero-split-about {
        flex-direction: column;
        margin: 20px auto;
        border-radius: 8px;
    }
    
    .hero-text-about,
    .hero-about-image {
        flex: 0 0 100%;
        width: 100%;
        min-height: auto;
    }
    
    .hero-text-about {
        padding: 40px 20px;
        order: 2; /* Make text appear after image on mobile */
    }
    
    .hero-about-image {
        order: 1; /* Make image appear first on mobile */
        min-height: 300px; /* Reduced height for mobile */
        padding-left: 0;
        padding-right: 0;
    }
    
    /* Stack the about-grid vertically */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Adjust content blocks */
    .content-block-about {
        margin: 20px auto;
        border-radius: 8px;
    }
    
    /* Stack stats vertically */
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    /* Adjust font sizes for mobile */
    .stat-box span {
        font-size: 2rem;
    }
    
    .about-story p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* Adjust the quote/reveal section */
    .spacer-reveal-about {
        height: 80px;
    }
    
    .reveal-overlay-text-about {
        padding: 0 10%;
    }
    
    .reveal-overlay-text-about h2 {
        font-size: 1.2rem;
    }
    
    /* Adjust container padding */
    .container-about {
        padding: 0 15px;
    }
    
    /* Adjust card content padding */
    .card-content {
        padding: 15px;
    }
}

/* For very small mobile devices */
/* =======================
   MOBILE HERO FIX
======================= */
/* ==============================
   HERO ABOUT MOBILE FIX
   Only affects screens <=768px
============================== */
/* HERO STACK MOBILE */
/* ============================================
   MOBILE FIX - ADD THIS AT THE BOTTOM OF CSS
============================================ */
@media only screen and (max-width: 768px) {
    /* NUCLEAR OPTION - Force block layout */
    .hero-split-about {
        display: block !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
    }
    
    /* Reset both child elements */
    .hero-split-about > * {
        display: block !important;
        width: 100vw !important;
        max-width: 100% !important;
        min-width: 100% !important;
        float: none !important;
        clear: both !important;
    }
    
    /* Specific targeting */
    .hero-about-image {
        display: block !important;
        width: 100% !important;
        height: 350px !important;
        min-height: 350px !important;
        max-height: 350px !important;
        flex: none !important;
        order: 1 !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .hero-text-about {
        display: block !important;
        width: 100% !important;
        flex: none !important;
        order: 2 !important;
        padding: 40px 25px !important;
        margin: 0 !important;
    }
    
    /* Reset grid */
    .about-grid {
        display: block !important;
    }
    
    /* Remove any flex properties */
    .hero-split-about,
    .hero-text-about,
    .hero-about-image {
        -webkit-flex: none !important;
        -ms-flex: none !important;
        flex: none !important;
    }
}
/* Mobile font size for reveal quote */
@media (max-width: 768px) {
    .reveal-overlay-text-about h2,
    .reveal-overlay-text h2 { /* target your class too if needed */
        font-size: 1.5rem !important; /* smaller font on mobile */
        line-height: 1.4;            /* optional: adjust line spacing */
    }
    .container-about .section-title {
        font-size: 1.5rem; /* adjust as needed */
        line-height: 1.3;  /* optional: tighter spacing */
    }
}

/* Test media query */
