/* Ethos Page Redesign */

.ethos-page {
    /* Base padding removed since zones handle their own spacing */
    padding: 0;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Hero Zone */
.hero-zone {
    width: 100%;
    /* Full-width radial gradient */
    background: radial-gradient(120% 120% at 50% -30%,
            var(--medium-turquoise) 0%,
            var(--medium-off-white) 75%,
            var(--very-light-green) 100%);
    padding: 6rem 0 4rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-gray);
    text-align: center;
    max-width: 1120px;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--light-gray);
    text-align: center;
    max-width: 700px;
    /* Centered narrow mission statement */
    margin: 0 auto 4rem;
    opacity: 0.9;
    line-height: 1.5;
}

/* Card Section */
.card-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: -8rem;
    /* Pull cards down for half-and-half overlap */
    position: relative;
    z-index: 2;
}

.ethos-card {
    background: var(--white);
    border-radius: 24px;
    /* Pillowy rounded cards */
    padding: 2.5rem 1.5rem;
    box-shadow: -2px 3px 6px rgba(0, 0, 0, 0.3);
    /* Stronger bottom-left shadow */
    transition: 200ms ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    border: none;
}

.ethos-card:hover {
    transform: scale(1.03);
    border: none;
    box-shadow: -7px 8px 19px rgba(0, 0, 0, 0.3);
    /* Keep shadow consistent on hover */
}

.ethos-title {
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: 800;
    /* Bolder title text */
    color: var(--light-gray);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.ethos-description {
    font-size: 0.85rem;
    color: var(--light-gray);
    opacity: 0.7;
    line-height: 1.4;
}

/* Dark Mode Specifics for Hero/Cards */
/* [data-theme="dark"] .ethos-card {
    background: #334155;
} */

/* [data-theme="dark"] .ethos-title {
    color: #f8fafc;
} */

/* [data-theme="dark"] .ethos-description {
    color: #cbd5e1;
} */

/* Body Zone (Accordion) */
.body-zone {
    padding: 10rem 0 6rem;
    /* Top padding increased to account for card overlap */
    background-color: var(--off-white);
}

.ethos-accordion {
    width: 100%;
}

.accordion-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.accordion-header {
    width: 100%;
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.accordion-icon {
    font-size: 1rem;
    color: var(--dark-turquoise);
    margin-right: 1.5rem;
    transition: transform 0.3s ease;
}

.header-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-gray);
}

.accordion-body {
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content {
    padding: 0 0 2rem 2.5rem;
    color: var(--dark-gray);
    opacity: 0.85;
    font-size: 1rem;
    line-height: 1.7;
}

/* Accordion States */
.accordion-header[aria-expanded="true"] .accordion-icon {
    transform: rotate(90deg);
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .card-section {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .card-section {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-zone {
        padding: 4rem 0 3rem;
    }
}

@media (max-width: 480px) {
    .card-section {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 1.8rem;
    }
}

/* Conduct Grid within Accordion */
.conduct-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

.do-section h3,
.dont-section h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .conduct-grid {
        grid-template-columns: 1fr;
    }
}