body,
html {
    overflow: auto !important;
    /* Override home.css overflow: hidden */
    height: auto !important;
    min-height: 100vh;
}

/* Hide global bg-image and bg-gradient inherited from home.css */
.bg-image,
.bg-gradient {
    display: none !important;
}

/* New full-width hero wrapper for background */
.about-hero-wrapper {
    width: 100%;
    background: url('../media/aboutbg.png') no-repeat center top;
    background-size: cover;
    position: relative;
    /* You can add a subtle overlay here if needed, but requested full opacity */
}

.about-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
}

.hero-only {
    padding-top: 180px;
    /* Space for navbar */
    padding-bottom: 80px;
}

.content-only {
    padding-top: 36px;
    padding-bottom: 16px;
    gap: 22px;
}

/* HERO SECTION */
.about-hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.about-content {
    flex: 1;
    min-width: 300px;
    max-width: 550px;
}

.about-title-group {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
}

.about-logo-wrapper {
    margin-bottom: 0;
    display: flex;
    justify-content: center;
}

.about-logo-wrapper img {
    max-width: 200px;
    mix-blend-mode: screen;
}

.about-title {
    position: relative;
    font-family: 'Cinzel', serif;
    font-size: 85px;
    color: #d4af37;
    margin: 0;
    font-weight: 600;
    letter-spacing: 5px;
    line-height: 1;
    padding-bottom: 15px;
    /* Space for the underline */
}

.about-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 33px;
    transform: translateX(-50%);
    width: 20%;
    height: 2px;
    background-color: #d4af37a3;
}

.about-subtitle {
    font-size: 16px;
    color: #d4af37;
    margin-bottom: 30px;
    line-height: 1.6;
    letter-spacing: 1px;
    font-weight: 500;
}

.about-text {
    color: #e0e0e0;
    font-size: 15px;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 20px;
}

/* CARDS SECTION */
.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.card {
    border: 1px solid #d4af37;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    background: rgba(4, 20, 24, 0.4);
    backdrop-filter: blur(5px);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #d4af37;
    margin: 0 auto 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-icon svg {
    width: 35px;
    height: 35px;
}

.card h4 {
    color: #d4af37;
    font-family: 'Cinzel', serif;
    font-size: 16px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.card p {
    color: #e0e0e0;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

/* QUOTE SECTION */
.about-quote {
    border: 1px solid #d4af37;
    border-radius: 8px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    gap: 40px;
    background: rgba(4, 20, 24, 0.4);
    backdrop-filter: blur(5px);
}

.quote-logo {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.quote-logo img {
    width: 350px;
    max-width: none;
    mix-blend-mode: screen;
}

.quote-text {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    color: #d4af37;
    line-height: 1.5;
    position: relative;
    padding: 0;
    text-align: center;
}

.quote-divider {
    width: 2px;
    height: 100px;
    /* Adjust height based on the section */
    background: linear-gradient(to bottom, rgba(212, 175, 55, 0) 0%, rgba(212, 175, 55, 1) 50%, rgba(212, 175, 55, 0) 100%);
    opacity: 0.6;
    flex-shrink: 0;
}

.quote-mark {
    font-size: 70px;
    color: #d4af37;
    opacity: 0.8;
    line-height: 0;
    vertical-align: text-bottom;
    margin: 0 5px;
}

/* Mobile Adjustments */
@media screen and (max-width: 992px) {
    .about-hero {
        flex-direction: column;
        align-items: center;
    }

    .about-content {
        max-width: 100%;
        text-align: center;
    }

    .about-title-group {
        display: flex;
        align-items: center;
    }

    .about-logo-wrapper {
        margin: 0 auto;
    }
}

@media screen and (max-width: 768px) {
    .about-title {
        font-size: 55px;
    }

    .about-quote {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .quote-text {
        font-size: 18px;
        padding: 0 20px;
    }

    .quote-mark.left {
        left: -10px;
        top: -10px;
    }

    .quote-mark.right {
        right: -10px;
        bottom: -20px;
    }
}
