/* 
  Mockup 1: The Immersive Impact
  Design System: UChicago Maroon, Dark/Moody overlays, large serif typography, clean grid.
*/

:root {
    /* Brand Colors */
    --uc-maroon: #800000;
    --uc-dark-gray: #767676;
    --uc-light-gray: #D6D6CE;
    --uc-black: #292929;
    --uc-white: #FFFFFF;

    /* Typography */
    --font-serif: 'UChicagoSerif', serif;
    --font-sans: 'UChicagoSansSerif', sans-serif;

    /* Layout */
    --container-width: 1600px;
    --spacing-sm: 0.8rem;
    --spacing-md: 1.6rem;
    --spacing-lg: 3.2rem;
    --spacing-xl: 6.4rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}



/* Base Styles */
html {
    scrollbar-gutter: stable;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--uc-black);
    line-height: 1.6;
    background-color: var(--uc-white);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--uc-maroon);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--uc-black);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}
.society-grid-container p{
    font-size: 1rem !important;
}

#dd-container *{
    font-family: var(--font-sans) !important;  
}

#dd-container, .dd-plugin, .search-title{
    font-size: 1.35rem !important;
    font-weight: 600 !important;
    color: var(--uc-black) !important;
    padding-top: 1rem !important;
}

#dd-container .lets-check, #dd-container .mg-forms-button{
    font-weight: 600 !important;
}

/* Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.5rem;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: normal;
    font-size: 1rem;
    font-weight: 700;
    border: 2px solid transparent;
    border-radius: 40px;
    cursor: pointer;
    transition: all var(--transition-smooth);
    text-decoration: none;
    text-align: center;
   
}

.btn span {
    margin-left: 0.4rem;
    font-size: 2rem;
    line-height: 0;
    margin-top: -6px;
}

.btn-primary {
    background-color: var(--uc-maroon);
    color: var(--uc-white);
   /* border-color: var(--uc-maroon);*/
}

.btn-primary:hover {
    background-color: #FCAF18;
    color: var(--uc-maroon);
   /* border-color: #FCAF18;*/
}

.btn-outline {
    background-color: transparent;
    color: var(--uc-white);
    border-color: var(--uc-white);
}

.btn-outline:hover {
    background-color: #FCAF18;
    color: var(--uc-black);
    border-color: #FCAF18;
}

.btn-outline-maroon {
    background-color: transparent;
    color: var(--uc-maroon);
    border-color: var(--uc-maroon);
}

.btn-outline-maroon:hover {
    background-color: var(--uc-maroon);
    color: var(--uc-white);
}



/* Header */

header{

}
/*UChicago brand bar*/
#top-header{
        position: absolute;
        display: block;
        height: 44px;
        top: 0;
        left: 0;
        z-index: 99;
        margin: 0px;
        padding: 10px 25px;
        background-color: var(--uc-maroon);
        font-family: 'UChicagoSansSerif';
        font-size: 12px;
        text-transform: uppercase;
        font-weight: 500;
        color: #fff;
        width: 100%;
    }
    #top-header a{
        color: #fff;
    }
    #top-header #uofc a:before {
        content: '';
        display: inline-flex;
        width: 30px;
        height: 25px;
        margin-right: 8px;
        background: transparent url(https://d3qi0qp55mx5f5.cloudfront.net/shared-resources/i/template/phoenix.svg) 0 0 no-repeat;
        -webkit-background-size: 100% 100%;
        background-size: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-content: center;
        align-items: center;
}
.brand-container, #uofc a{
    display: flex;
    height: 25px;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
    align-content: center;
    align-items: center;
}
#uofc{
    height: 25px;
    align-self: center;
}

/*Nav*/
.logo {
    font-family: var(--font-sans);
    color: var(--uc-white);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 1px;
}
.uni-logo{
    height: 48px; 
    filter: brightness(0) invert(1);
}

.nav-logo{
    height: 68px; 
    filter: brightness(0) invert(1);
}

/* Hamburger Btn */
.hamburger-btn {
    background: transparent;
    border: none;
    color: var(--uc-white);
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger-box {
    width: 30px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 30px;
    height: 3px;
    background-color: var(--uc-white);
    border-radius: 0;
    position: absolute;
    transition: transform 0.15s ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: "";
    display: block;
}

.hamburger-inner::before {
    top: -10px;
}

.hamburger-inner::after {
    bottom: -10px;
}

/* Full Screen Navigation Overlay */
.fs-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--uc-maroon);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    display: flex;
    flex-direction: column;
}

.fs-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.fs-nav-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    mix-blend-mode: multiply;
    filter: grayscale(100%) contrast(1.2);
    opacity: 0.6;
    z-index: 0;
}

.fs-nav-header-seamless {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

.close-btn {
    background: none;
    border: none;
    color: var(--uc-white);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.fs-nav-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: row;
    flex: 1;
    padding: var(--spacing-xl);
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
    gap: 100px;
}

.fs-nav-links {
    list-style: none;
    flex: 2;
}

.fs-nav-links li {
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 1rem;
}

.fs-nav-links li a {
    color: var(--uc-white);
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 2.5rem;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.fs-nav-links li a:hover {
    color: rgba(255, 255, 255, 0.7);
}

.fs-nav-desc {
    flex: 1;
    color: var(--uc-white);
    font-family: var(--font-sans);
    font-size: 1.25rem;
    line-height: 1.6;
}

/* Hero Section */
.hero-fullscreen {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--uc-white);
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 1;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   /* background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(128, 0, 0, 0.6) 100%);*/
    z-index: 2;
    mix-blend-mode: multiply;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 var(--spacing-md);
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 1s forwards 0.5s;
}

.hero-title, .hero-title-long {
    font-family: var(--font-sans);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    padding-top: 4.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-title{
    font-size: clamp(3rem, 6vw, 5rem);
}
.hero-title-long{
     font-size: font-size: clamp(3rem, 6vw, 4.5rem);
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-family: 'UChicagoSansSerif';
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-pull-quote {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-style: italic;
    margin: var(--spacing-md) auto var(--spacing-lg) auto;
    padding-left: 1.5rem;
    border-left: 4px solid var(--uc-maroon);
    line-height: 1.4;
    max-width: 80%;
    text-align: left;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
}

.hero-actions .btn-primary:hover {
    background-color: #FCAF18;
    color: var(--uc-maroon);
    border-color: #FCAF18;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: fadeIn 1s forwards 1.5s;
}

.scroll-indicator span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.arrow-down {
    width: 2px;
    height: 30px;
    background-color: var(--uc-white);
    position: relative;
    animation: floatDown 2s infinite ease-in-out;
}

/* Progress Stats */
.progress-stats {
    position: relative;
    color: var(--uc-white);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.stats-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    z-index: 1;
}

.stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(41, 41, 41, 0.85);
    /* Dark gray/black overlay */
    z-index: 2;
}

.stats-grid {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.stat-item {
    padding: var(--spacing-md);
}

.stat-number {
    font-family: var(--font-sans);
    font-size: inherit;
    color: inherit;
    display: inline-block;
}

.stat-suffix {
    font-family: var(--font-sans);
    font-size: 3rem;
    color: var(--uc-maroon);
}

.stat-label {
    font-size: 1rem;
    margin-top: var(--spacing-sm);
    color: var(--uc-light-gray);
    font-family: var(--font-sans);
    font-weight: 300;
}

/* Faces of Progress */
.faces-of-progress {
    padding: var(--spacing-xl) 0;
    background-color: #F8F8F8;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 3rem;
    color: var(--uc-black);
}

.section-title span {
    color: var(--uc-maroon);
    font-style: italic;
}

.section-intro {
    font-size: 1.25rem;
    color: var(--uc-dark-gray);
}

.progress-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* This perfectly centers any odd/final cards */
    gap: var(--spacing-md);
}

.progress-card {
    flex: 1 1 calc(33.333% - var(--spacing-md));
    min-width: 300px;
    max-width: 450px;
    background: var(--uc-white);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.progress-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-image {
    height: 300px;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
}

.progress-card:hover .card-image {
    transform: scale(1.05);
}

.card-content {
    padding: var(--spacing-md);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card-content p {
    color: var(--uc-dark-gray);
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
}

.read-more {
    font-family: var(--font-sans);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
    align-self: flex-start;
}

/* Final CTA */
.final-cta {
    position: relative;
    padding: var(--spacing-xl) 0;
    color: var(--uc-white);
    text-align: center;
    height: 100vh;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    /* Parallax effect handles via JS now */
    z-index: 1;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background-color: rgba(128, 0, 0, 0.85);
    /* Maroon overlay */
    z-index: 2;
}

.cta-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.cta-content h2 {
    font-size: 3.5rem;
    font-weight:700;
}

.cta-content h2 span {
    font-style: italic;
    font-weight: 300;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
}

.quick-give-form {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    justify-content: center;
    align-items: flex-end;
    /*background: rgba(255, 255, 255, 0.1);*/
    padding: var(--spacing-md);
    border-radius: 4px;
    /*backdrop-filter: blur(5px);*/
}

.input-group {
    display: flex;
    flex-direction: column;
    text-align: left;
    min-width: 200px;
}

.input-group label {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.input-group select {
    padding: 1rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.9);
    color: var(--uc-black);
    border-radius: 0;
    appearance: none;
    -webkit-appearance: none;
}

.quick-give-form .btn {
    /*border-color: var(--uc-white);*/
    padding: .9rem 2rem;
}

.quick-give-form .btn:hover {
    background-color:#FCAF18;
    color: var(--uc-maroon);
}


/* Footer */
.site-footer {
    background-color: var(--uc-black);
    color: var(--uc-light-gray);
    padding-top: var(--spacing-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    max-width: 200px;
    margin-bottom: var(--spacing-md);
}

.footer-brand p {
    font-size: 0.875rem;
    opacity: 0.8;
}

.site-footer h4 {
    color: var(--uc-white);
    font-family: var(--font-sans);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-md);
}

.site-footer ul {
    list-style: none;
}

.site-footer ul li {
    margin-bottom: 0.5rem;
}

.site-footer a {
    color: var(--uc-light-gray);
}

.site-footer a:hover {
    color: var(--uc-white);
}

.footer-bottom {
    background-color: #1a1a1a;
    padding: var(--spacing-md) 0;
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes floatDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

/* Base fade classes for JS intersection observer */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .site-header {
        top: 0;
    }

    .hero-actions {
        flex-direction: column;
    }

    .stat-number {
        font-size: inherit;
    }

    .cta-content h2 {
        font-size: 2.5rem;
    }

    .site-header img{
        margin-top: 0px !important;
    }
    .site-header .logo-center{
        top: 0;
    }
}

/* New Header Layout Styles for Mockup 1 */

.site-header-maroon, .site-header {
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    --animate-duration: 0.3s;
}

.site-header img{
    margin-top: 25px;
}

.site-header-maroon img{
    margin-top: 0px;
}

.site-header {
    background-color: var(--uc-maroon);
    padding: 44px 2rem 44px 2rem;
    display: flex;
}

.site-header-maroon {
    background-color: var(--uc-maroon);
    padding: .666rem 2rem;
    display: none;
}

.btn-give-now-header {
    background-color: var(--uc-white);
    color: var(--uc-maroon);
    border: 2px solid transparent;
}

.btn-give-now-header:hover {
    background-color: #FCAF18;
    color: var(--uc-maroon);
}

.btn-give-now-header span,
.btn btn-primary btn-large span{
    margin-left: 0.4rem;
    font-size: 2rem;
    line-height: 0;
    margin-top: -5.5px;
}

.logo-center {
    top: 9px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.hamburger-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
}

/* Adjust close button to align with hamburger if needed */
.fs-nav-header .close-btn {
    font-size: 2rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-right: -5px;
    /* fine tuning alignment */
}
@media (max-width: 768px) {
    .site-header-maroon{
        display: none;
    }

    .site-header-maroon, .site-header,
    .fs-nav-header-seamless {
        flex-direction: column;
        align-items: center;
        padding: 1rem;
        top: 0;
        transition: background-color 0.5s ease, opacity 0.5s ease;
    }
    .site-header, .fs-nav-header-seamless{
        display: flex;
    }

    .site-header-maroon .logo-center, .site-header .logo-center,
    .fs-nav-header-seamless .logo-center {
        position: relative;
        left: auto;
        transform: none;
        padding-bottom: 10px !important;
        margin-bottom: 1rem;
        order: 1;
    }
    .site-header-maroon .scrolled, .site-header .scrolled{
        background-color: rgba(0, 0, 0, 0);
        top: 0;
    }

    .site-header-maroon .btn-give-now-header, .site-header .btn-give-now-header,
    .fs-nav-header-seamless .btn-give-now-header {
        width: 100%;
        box-sizing: border-box;
        justify-content: center;
        order: 2;
        margin: 0;
    }

    .site-header-maroon .nav-minimal, .site-header .nav-minimal,
    .fs-nav-header-seamless .nav-minimal {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
    }
     /* Nav overlay content stack */
    .fs-nav-content {
        flex-direction: column;
        padding: 180px 2rem 2rem 2rem;
        gap: 2rem;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .fs-nav-links {
        width: 100%;
        flex: auto;
    }

    .fs-nav-links li {
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
    }

    .fs-nav-links li a {
        font-size: 1.75rem;
    }

    .fs-nav-desc {
        flex: auto;
        font-size: 1.125rem;
    }

    .hero-content {
        padding-top: 100px;
        /* Clear the taller mobile header */
    }

}

@media (max-width: 480px) {
    .uni-logo, .nav-logo{
    height: 48px; 
    filter: brightness(0) invert(1);
    }

    .site-header-maroon img, .site-header img{
    margin-top: 0px;
    }

    .site-header-maroon, .site-header {
    background-color: var(--uc-maroon);
    }

    .site-header-maroon {
    padding: .666rem 2rem;
    display: none;
    }

    .fs-nav-header-seamless {
    padding: 1rem 2rem .666rem 2rem;
    }

    .site-header {
    padding: 1.5rem 2rem .666rem 2rem;
    display: flex;
    }
    .nav-logo{
    margin-bottom: -10px;
    }

         /* Nav overlay content stack */
    .fs-nav-content {
        flex-direction: column;
        padding: 180px 2rem 2rem 2rem;
        gap: 2rem;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .fs-nav-links {
        width: 100%;
        flex: auto;
    }

    .fs-nav-links li {
        margin-bottom: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .fs-nav-links li a {
        font-size: 1.75rem;
    }

    .fs-nav-desc {
        display: none;
    }

    .hero-content {
        padding-top: 90px;
        /* Clear the taller mobile header */
    }
}

/* New Section Styles for Mockup 5 */
.text-center { text-align: center; }

/* Arch shape */
.arch-card {
    background-color: transparent !important;
    box-shadow: none !important;
}
.arch-card:hover {
    box-shadow: none !important;
}
.arch-image-wrapper {
    overflow: hidden;
    clip-path: url(#clip-gothic-arch);
    height: 390px; /* Scaled 30% taller */
    margin-bottom: 1.5rem;
    position: relative;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.15));
    /* Force clipping cleanly without compositing issues */
    isolation: isolate; 
}
.arch-image {
    height: 100% !important;
    transition: transform 1.5s ease;
    will-change: transform;
    /* pure zoom without hardware hacks interfering with SVG bounds */
}
.arch-image-wrapper:hover .arch-image {
    transform: scale(1.05); /* reduced slightly for smoother transition */
}
.arch-content {
    background: transparent;
    padding: 0 !important;
}

/* Testimonial slider */
.testimonial-section {
    padding-top: 5rem;
    padding-bottom: 6rem;
}
.testimonial-carousel-wrapper {
    position: relative; 
    max-width: 1000px; 
    margin: 0 auto; 
    display: flex; 
    align-items: center;
}
.testimonial-slider-container {
    max-width: 800px;
    margin: 0 1.5rem;
    overflow: hidden;
    flex-grow: 1;
}
.testimonial-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.carousel-control {
    background: transparent;
    border: none;
    color: var(--uc-white);
    cursor: pointer;
    opacity: 0.6;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
    padding: 10px;
    z-index: 5;
}
.carousel-control:hover {
    opacity: 1;
    transform: scale(1.1);
}
.inner-fade { opacity: 1; }
.flex-slide {
    display: flex;
    align-items: center;
    gap: 3rem;
    /* Strictly enforce slide width to prevent infinite text lines */
    min-width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    box-sizing: border-box;
}
@media (max-width: 768px) {
    .flex-slide { flex-direction: column; text-align: center; gap: 1.5rem; }
}
.shield-wrapper {
    flex-shrink: 0;
    width: 250px;
    height: 250px;
    clip-path: url(#clip-shield);
    overflow: hidden;
    transition: transform var(--transition-smooth);
}
@media (max-width: 768px) {
    .shield-wrapper { width: 160px; height: 160px; }
}
.shield-wrapper:hover {
    transform: scale(1.05); /* Slight zoom on hover */
}
.shield-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 1.5s ease;
}
.shield-wrapper:hover .shield-image {
    transform: scale(1.1);
}

/* Rectangle Testimonial Images */
.rectangle-wrapper {
    flex-shrink: 0;
    width: 250px;
    height: 350px;
    clip-path: url(#clip-shield);
    border-radius: 12px;
    overflow: hidden;
    transition: transform var(--transition-smooth);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
@media (max-width: 768px) {
    .rectangle-wrapper { width: 180px; height: 252px; }
}
.rectangle-wrapper:hover {
    transform: scale(1.05);
}
.rectangle-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 1.5s ease;
}
.rectangle-wrapper:hover .rectangle-image {
    transform: scale(1.1);
}
.testimonial-content {
    flex-grow: 1;
}
.testimonial-text {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 1rem;
    word-break: break-word; /* Ensure extremely long text safely wraps */
}
.testimonial-author {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--uc-light-gray);
}
@media (max-width: 768px) {
    .testimonial-text { font-size: 1.25rem; }
    .testimonial-author { font-size: 1rem; }
    .carousel-control { padding: 5px; }
    .carousel-control svg { width: 20px; height: 20px; }
    .testimonial-slider-container { margin: 0 0.5rem; }
}

/* Alternating Video Region */
.alternating-video-section {
    max-width: 1600px;
    margin: 0 auto;
    background-color: var(--uc-white);
    overflow: hidden; 
}
.alternating-video-section.full-width {
    max-width: 100%;
}
.alternating-video-section.full-width .alt-video-row {
    min-height: 80vh;
}
.alt-video-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    min-height: 500px;
}
.alt-video-col {
    flex: 1;
    min-width: 50%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.alt-video-image-col {
    position: relative;
}
.alt-video-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}
.alt-video-text-col {
    padding: 6rem 8rem;
    background-color: var(--uc-white);
}
.alt-video-text-col .btn {
    align-self: flex-start;
}
.alt-play-wrapper {
    position: absolute;
    top: 50%;
    background-color: var(--uc-white);
    padding: 20px;
    clip-path: url(#clip-quatrefoil);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    width: 140px;
    height: 140px;
    box-sizing: border-box;
}
.alt-play-right { right: 0; transform: translate(50%, -50%); }
.alt-play-left { left: 0; transform: translate(-50%, -50%); }

.quatrefoil-play-btn {
    position: relative;
    z-index: 10;
    background-color: var(--uc-maroon);
    width: 100px;
    height: 100px;
    border: none;
    clip-path: url(#clip-quatrefoil);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast), background-color var(--transition-fast);
}
.quatrefoil-play-btn:hover {
    transform: scale(1.1);
    background-color: #a30000;
}
.play-icon {
    display: inline-block;
    width: 0; 
    height: 0; 
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 25px solid var(--uc-white);
    transform: translateX(4px);
}

@media (max-width: 992px) {
    .alt-video-row { flex-direction: column; }
    .alt-video-row.reverse-row { flex-direction: column-reverse; }
    .alt-video-col { min-width: 100%; }
    .alt-video-image { position: relative; height: 350px; }
    .alt-video-text-col { padding: 4rem 2rem; }
    
    .alt-play-right, .alt-play-left {
        left: 50%;
        top: auto;
        bottom: 0;
        transform: translate(-50%, 50%);
    }
    .reverse-row .alt-play-left {
        top: 0;
        bottom: auto;
        transform: translate(-50%, -50%);
    }
}

/* Maroon Stats Counter Section */
.maroon-stats-section {
    position: relative;
    padding: 6rem 0;
    color: var(--uc-white);
    background-color: var(--uc-maroon);
    overflow: hidden;
}
.maroon-stats-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    mix-blend-mode: multiply;
    filter: grayscale(100%);
    opacity: 0.25;
}
.maroon-stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(128, 0, 0, 0.9);
    z-index: 1;
}
.maroon-stats-content {
    position: relative;
    z-index: 2;
}
.maroon-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem 6rem;
    max-width: 1000px;
    margin: 0 auto;
}
.maroon-stat-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.maroon-stat-figure {
    font-family: var(--font-sans);
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    width: 150px;
    text-align: right;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.maroon-stat-number {
    font-size: 5rem;
    line-height: 1;
}
.maroon-stat-suffix {
    font-size: 3rem;
    line-height: 1;
    margin-top: 1rem;
}
.maroon-stat-divider {
    width: 30px;
    height: 2px;
    background-color: rgba(255,255,255,0.4);
    flex-shrink: 0;
}
.maroon-stat-info {
    flex-grow: 1;
}
.maroon-stat-info p {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    color: rgba(255,255,255,0.95);
}
.maroon-stat-link {
    font-family: var(--font-sans);
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    font-size: 0.9375rem;
    display: inline-flex;
    align-items: center;
    transition: color var(--transition-fast);
}
.maroon-stat-link:hover {
    color: #D6D6CE;
}
.maroon-stat-link .arrow {
    margin-left: 0.5rem;
    transition: transform var(--transition-fast);
}
.maroon-stat-link:hover .arrow {
    transform: translateX(4px);
}
@media (max-width: 900px) {
    .maroon-stats-grid { grid-template-columns: 1fr; gap: 3rem; }
    .maroon-stat-figure { width: 120px; }
    .maroon-stat-number { font-size: 4rem; }
    .maroon-stat-suffix { font-size: 2.5rem; }
}

/* Accordion */
.accordion-section {
    padding: 6rem 0;
    background-color: var(--uc-white);
    position: relative;
    overflow: hidden;
}
.accordion-parallax-bg {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 120%;
    /* Update this URL to point to the exact phoenix asset */
    background-image: url('https://upload.wikimedia.org/wikipedia/en/thumb/7/79/University_of_Chicago_shield.svg/1024px-University_of_Chicago_shield.svg.png');
    background-size: 800px;
    background-position: center 0%;
    background-repeat: no-repeat;
    opacity: 0.05;
    z-index: 0;
    filter: grayscale(100%);
}
.accordion-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.accordion {
    width: 100%;
}
.accordion-item {
    background-color: transparent;
    margin-bottom: 0;
    border-radius: 4px;
    box-shadow: none;
    overflow: hidden;
    position: relative;
    z-index: 3;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    padding: 0;
}
.accordion-item:last-child {
    border-bottom: none;
}
.accordion-item:has(.accordion-header[aria-expanded="true"]) {
    background-color: var(--uc-white);
    border-bottom-color: transparent;
    box-shadow: 0 12px 35px rgba(0,0,0,0.12), 0 5px 15px rgba(0,0,0,0.05); /* Enhanced multi-tier classy drop shadow */
    margin: 1.5rem -1.5rem; /* Pops out past the container */
    padding: 0 1.5rem; /* Restores internal spacing */
    z-index: 4;
}
.accordion-header {
    width: 100%;
    text-align: left;
    padding: 1.5rem 0;
    background: transparent;
    border: none;
    font-family: var(--font-sans);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--uc-dark-gray);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}
.accordion-header:hover {
    color: var(--uc-maroon);
}
.accordion-header[aria-expanded="true"] {
    color: var(--uc-maroon);
}
.chevron-icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-right: 4px solid var(--uc-maroon);
    border-bottom: 4px solid var(--uc-maroon);
    transform: rotate(45deg);
    margin-right: 16px;
    margin-left: 8px;
    transition: transform var(--transition-smooth);
}
.accordion-header[aria-expanded="true"] .chevron-icon {
    transform: rotate(-135deg) translate(-3px, -3px);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}
.accordion-content p {
    padding: 0 0 1.5rem 0;
    color: var(--uc-dark-gray);
    line-height: 1.6;
    margin: 0;
}

/* Accordion internal link styles */
.accordion-content a {
    color: var(--uc-maroon);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px dotted rgba(128,0,0,0.4);
    transition: border-color var(--transition-fast);
}
.accordion-content a:hover {
    border-bottom-color: var(--uc-maroon);
}

/* Footer improvements */
.site-footer-new {
    position: absolute;
    background-size: cover;
    background-position: center top;
    color: var(--uc-black);
    padding-top: 0;
    height: 350px/*100vh*/;
   /*  padding-bottom: 250px; */ /* Allow for the image to show at the bottom */
}
/*.footer-overlay-sky {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;*/
    /* Gradient: White at the top, transparent in middle, black at bottom for legal text */
    /*background: 
        linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0.85) 25%, rgba(255,255,255,0) 50%),
        linear-gradient(to bottom, rgba(0,0,0,0) 75%, rgba(0,0,0,0.85) 100%);
    z-index: 1;
}*/
.footer-top-right{
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 3rem;
}
.footer-top-right>a{
    color: white;
    text-decoration: underline;
}
.footer-content-new {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    height: 350px;
    max-width: 1400px;
    width: 100%;
    padding: 4rem 2rem 2rem 2rem;
    color: white;
}
.footer-social-top {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.footer-social-top a {
    color: var(--uc-maroon);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(128,0,0,0.1);
    transition: background-color var(--transition-fast), transform var(--transition-fast), color var(--transition-fast);
}

/* --- New Footer Architecture --- */
.footer-top-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items:start;
    text-align: left;
    font-size: 12px;
}
@media (min-width: 768px) {
    .footer-top-row {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .footer-top-left { justify-self: end; }
    .footer-top-center { justify-self: start; }
    .footer-top-right { justify-self: end; }
}

.footer-social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    margin-top: 2.5rem;
}
.footer-social-icons svg { fill: white; color: white; transition: opacity 0.3s; }
.footer-social-icons a:hover svg { opacity: 0.7; }

.footer-bottom-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: end;
    text-align: center;
    margin-top: 4rem;
}
@media (min-width: 768px) {
    .footer-bottom-row {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .footer-bottom-left { justify-self: start; }
    .footer-bottom-center { justify-self: center; text-align: center; }
    .footer-bottom-right { justify-self: end; text-align: right; }
}

.footer-quote {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    line-height: 1.4;
    font-style: italic;
    font-weight: 500;
    margin-bottom: 1rem;
}

.footer-quote-author {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-legal-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.3rem;
}
.footer-legal-links a:hover {
    text-decoration: underline;
}
.footer-legal-text {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
}
.footer-social-top a:hover {
    background-color: var(--uc-maroon);
    color: var(--uc-white);
    transform: translateY(-3px);
}
.footer-social-top svg {
    width: 20px;
    height: 20px;
}
.footer-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding-bottom: 3rem;
    margin-bottom: 2rem;
}
@media (max-width: 768px) {
    .footer-bottom-grid { grid-template-columns: 1fr; text-align: center; }
}
.footer-univ-title {
    color: var(--uc-black);
    font-family: var(--font-sans);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}
.footer-contact-new p {
    color: var(--uc-dark-gray);
    font-size: 1rem;
}
.footer-link-underline {
    color: var(--uc-maroon) !important;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.footer-link-underline:hover {
    color: var(--uc-black) !important;
}
.footer-links-new {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-end;

    .footer-links-new { align-items: center; }
}
.footer-links-new a {
    color: var(--uc-black);
    font-family: var(--font-sans);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
    position: relative;
    transition: color var(--transition-fast);
}
.footer-links-new a:hover {
    color: var(--uc-maroon);
}
.footer-legal {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 0.875rem;
    color: var(--uc-white);
    z-index: 2;
}

/* WAYS TO MAKE IMPACT GRID */
.ways-to-impact-section {
    padding: 6rem 0 2rem 0;
    background-color: var(--uc-white);
}
.impact-grid-heading {
    font-family: var(--font-sans);
    font-weight: 400; 
    font-size: 2rem;
    color: #4a4a4a;
    margin-bottom: 4rem;
}
.impact-icon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .impact-icon-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .impact-icon-grid { grid-template-columns: 1fr; }
}
.impact-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: transform var(--transition-fast), color var(--transition-fast);
}
.impact-icon-item:hover {
    transform: translateY(-5px);
    color: var(--uc-maroon);
}
.impact-svg {
    width: 48px;
    height: 48px;
    margin-bottom: 1.25rem;
    color: #666;
    transition: color var(--transition-fast);
}
.impact-icon-item:hover .impact-svg {
    color: var(--uc-maroon);
}
.impact-icon-item span {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.3;
}

/* Impact Report CTA */
.impact-report-wrapper {
    max-width: 700px;
    margin: 4rem auto;
    /* First shadow acts as a sharp elegant gold border, second acts as deep ambient depth */
    filter: drop-shadow(0 0 4px #FFB81C) drop-shadow(0 25px 60px rgba(0,0,0,0.7));
}
.impact-report-section {
    padding: 6rem 4rem 4rem 4rem;
    background-color: var(--uc-white);
    clip-path: url(#clip-shield);
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.impact-title {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--uc-black);
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
.impact-desc {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    color: var(--uc-dark-gray);
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.6;
}
.btn-pill {
    border-radius: 40px !important;
    padding: 0.875rem 2.5rem;
    font-size: 1.125rem;
    display: inline-flex;
    align-items: center;
    text-transform: none !important;
    letter-spacing: normal !important;
    transition: all var(--transition-fast);
    border: 2px solid transparent !important;
}
.btn-pill:hover {
    color: var(--uc-maroon) !important;
    background-color:#FCAF18 !important; /* Assuming light background on hover */
    border: 2px solid #FCAF18 !important;

}
.btn-pill span {
    margin-left: 0.5rem;
    font-size: 1.5rem;
    line-height: 1;
}

/* Dynamic Ways to Give Section */
.dynamic-ways-section {
    padding: 6rem 0;
    background-color: var(--uc-white);
}
.dynamic-ways-container {
    display: flex;
    gap: 4rem;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
}
.dynamic-ways-header {
    flex: 0 0 300px;
}
.dynamic-ways-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--uc-black);
}
.ways-desc {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--uc-dark-gray);
}
@media (max-width: 768px) {
    .ways-desc{
        padding: 0 15px;
    }
    .way-title {
        font-size: 1.75rem !important;
    }
}
.dynamic-ways-grid {
    flex-grow: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}
/* Staggered masonry effect on desktop disabled */
.dynamic-ways-grid > :nth-child(3n+1) { margin-top: 0; }
.dynamic-ways-grid > :nth-child(3n+2) { margin-top: 0; }
.dynamic-ways-grid > :nth-child(3n+3) { margin-top: 0; }

.way-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 380px;
    text-align: center;
    color: var(--uc-white);
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    border-radius: 12px;
}
.way-card:hover {
    /*transform: translateY(-5px);*/
    color: var(--uc-white);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.way-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.way-card:hover .way-card-bg {
    transform: scale(1.12);
}

.way-card-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.way-card:hover .way-card-video {
    transform: scale(1.12);
}

.way-card-content {
    background-color: rgba(0, 0, 0, 0.33);
}
.way-card-hov, .way-card-content{
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    padding: 0rem;
}

.way-card-hov>h3, .way-card-content>h3{
    padding: 0rem 1.5rem;
}

.way-card-hov-p{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 150%;
    width: 100%;
    font-size: 1.25rem;
    font-family: 'UChicagoSansSerif';
    font-weight: 600;
    /*background-color: rgba(0, 0, 0, 0.33);*/
}

.way-card-hov-p{
    opacity: 0;
}
.way-card-hov-p:hover{
    opacity: 1;
    
}
.way-card-hov:hover {
    transform: translateY(-85px);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.way-icon {
    margin-bottom: 1.5rem;
    color: var(--uc-white);
}
.way-icon svg {
    width: 36px;
    height: 36px;
}
.way-icon::after {
    content: '';
    display: block;
    width: 2px;
    height: 20px;
    background-color: var(--uc-white);
    margin: 1rem auto 0;
}
.way-title {
    font-size: 2.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}
.way-desc {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}
.way-btn {
    display: none; 
}

/* TABLET LAYOUT */
@media (max-width: 1024px) {
    .dynamic-ways-container {
        flex-direction: column;
        gap: 3rem;
    }
    .dynamic-ways-header {
        flex: none;
        max-width: 1000px;
    }
    .dynamic-ways-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    /* Reset stagger */
    .dynamic-ways-grid > :nth-child(n) { margin-top: 0; }
    
    /* Change card style to white with left border */
    .way-card {
        height: auto;
        padding: 2rem;
        background-color: var(--uc-white);
        color: var(--uc-black) !important;
        text-align: left;
        box-shadow: 0 5px 20px rgba(0,0,0,0.05);
        border-left: 4px solid transparent;
        position: relative;
    }
    .way-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        color: var(--uc-black) !important;
    }
    .way-card-bg, .way-card-overlay, .way-card-video {
        display: none !important;
    }
    .way-card-content {
        align-items: flex-start;
        padding: 0;
        background-color: transparent;
    }
    
    /* Reveal button */
    .way-btn {
        display: inline-block;
        margin-top: 1.5rem;
        padding: 0.75rem 1.5rem;
        background-color: var(--uc-maroon);
        color: var(--uc-white);
        font-weight: 700;
        text-decoration: none;
        border-radius: 4px;
        transition: background-color var(--transition-fast);
        text-transform: uppercase;
        font-size: 0.85rem;
    }
    .way-btn:hover {
        background-color: #5a0000;
        color: white;
    }
    
    /* Update colors based on themes for left border and icon */
    .way-icon { margin-bottom: 1rem; }
    .way-icon::after { display: none; }
    
    .way-theme-1 { border-left-color: var(--uc-maroon); }
    .way-theme-1 .way-icon { color: var(--uc-maroon); }
    
    .way-theme-2 { border-left-color: #4a4a4a; }
    .way-theme-2 .way-icon { color: #4a4a4a; }
    
    .way-theme-3 { border-left-color: #8c2131; }
    .way-theme-3 .way-icon { color: #8c2131; }
    
    .way-theme-4 { border-left-color: #5e3b2e; }
    .way-theme-4 .way-icon { color: #5e3b2e; }
    
    .way-theme-5 { border-left-color: #1e454b; }
    .way-theme-5 .way-icon { color: #1e454b; }
    
    .way-theme-6 { border-left-color: #2b5443; } 
    .way-theme-6 .way-icon { color: #2b5443; }
    
    .way-title { color: var(--uc-black); margin-bottom: 0.5rem; }
    .way-desc { color: var(--uc-dark-gray); opacity: 1; }
    .way-card-hov-p{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: 250%;
    width: 100%;
    font-size: 1rem;
    font-family: 'UChicagoSansSerif';
    font-weight: 600;
    margin-left: 25px;
}
.way-card-hov-p{
    opacity: 0;
}
.way-card-hov-p:hover{
    opacity: 1;
    
}
.way-title {
    font-size: 1.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    margin-bottom: 10px;
}
.way-card-hov:hover {
    transform: translateY(-20px);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.way-card-hov{
         display: flex;
    align-items: flex-start;
}
}

/* MOBILE LAYOUT */
@media (max-width: 600px) {
    .dynamic-ways-grid {
        grid-template-columns: 1fr;
    }
    
}

/* Chatbot Mockup */
.chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 340px;
    background-color: var(--uc-white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.55);
    display: flex;
    flex-direction: column;
    z-index: 9999;
    overflow: hidden;
    font-family: var(--font-sans);
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
    opacity: 0;
    pointer-events: none;
    transform: translateY(40px);
}
.chatbot-container.scrolled-in {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.chatbot-container.minimized {
    background-color: transparent;
}

.chatbot-container.minimized .chatbot-body,
.chatbot-container.minimized .chatbot-footer {
    display: none;
}
.chatbot-container.minimized .chatbot-header {
    border-radius: 12px;
}

.chatbot-header {
    background-color: var(--uc-maroon);
    color: var(--uc-white);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}
.chatbot-header:hover {
    background-color: #6a0000;
}

.chatbot-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    margin-right: 12px;
    border: 2px solid var(--uc-white);
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.chatbot-title-group {
    flex-grow: 1;
}
.chatbot-title-group h4 {
    margin: 0 0 2px 0;
    font-size: 1.15rem;
    font-weight: 700;
    font-family: var(--font-sans);
}
.chatbot-status {
    font-size: 0.8rem;
    opacity: 0.9;
    font-weight: 600;
}
.chatbot-status::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #34d058;
    margin-right: 5px;
    box-shadow: 0 0 5px rgba(52,208,88,0.5);
}

.chatbot-toggle-btn {
    background: none;
    border: none;
    color: var(--uc-white);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 5px;
}

.chatbot-body {
    height: 380px;
    background-color: #f5f5f5;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.chatbot-messages {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 20px;
}

.chat-message {
    max-width: 80%;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.45;
    animation: chatFadeIn 0.3s ease-out forwards;
}

.chat-message.bot {
    align-self: flex-start;
    background-color: var(--uc-white);
    color: var(--uc-black);
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
}

.chat-message.user {
    align-self: flex-end;
    background-color: var(--uc-maroon);
    color: var(--uc-white);
    border-bottom-right-radius: 4px;
    box-shadow: 0 2px 5px rgba(128,0,0,0.2);
}

.chatbot-footer {
    padding: 12px;
    background-color: var(--uc-white);
    border-top: 1px solid #eaeaea;
    display: flex;
    gap: 8px;
}

.chatbot-footer input {
    flex-grow: 1;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 8px 16px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    outline: none;
    background-color: #fdfdfd;
}

.chatbot-send-btn {
    background-color: var(--uc-maroon);
    color: var(--uc-white);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: not-allowed;
    opacity: 0.7;
}
.chatbot-send-btn svg {
    width: 16px;
    height: 16px;
}

/* Typing animation */
.typing-wrapper {
    display: flex;
    align-items: center;
    padding: 14px 16px !important;
}
.typing-indicator {
    display: flex;
    gap: 4px;
    align-items: center;
}
.typing-dot {
    width: 6px;
    height: 6px;
    background-color: var(--uc-dark-gray);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out;
}
.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}
@keyframes chatFadeIn {
    from { opacity: 0; transform: translateY(15px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 600px) {
    .chatbot-container {
        width: 100%;
        bottom: 0;
        right: 0;
        border-radius: 12px 12px 0 0;
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.4);
    }
    .chatbot-container.minimized .chatbot-header {
        border-radius: 12px 12px 0 0;
    }
}

/* Video Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.modal.show {
    opacity: 1;
}
.modal-content {
    position: relative;
    margin: 5% auto;
    width: 80%;
    max-width: 1000px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    overflow: hidden;
    background: #000;
}
.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    transition: color 0.2s ease;
}
.close-modal:hover {
    color: var(--uc-maroon);
}
.video-container {
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    position: relative;
    width: 100%;
}
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* Hero Static Landscape */
.hero-static-landscape {
    position: relative;
    height: 95vh;
    min-height: 400px;
    max-height: 800px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--uc-white);
}
.hero-static-landscape .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}
.hero-static-landscape .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
    mix-blend-mode: multiply;
}
.subpage-header { background-color: rgba(41, 41, 41, 0.95); padding-top: var(--spacing-sm); padding-bottom: var(--spacing-sm); box-shadow: 0 4px 20px rgba(0,0,0,0.1); }

/* --- PROPOSED FEATURES CSS --- */
.digital-wallets {
    margin-top: 20px;
    text-align: center;
}
.wallet-text {
    font-size: 0.9rem;
    color: var(--uc-white);
    margin-bottom: 10px;
}
.wallet-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}
.btn-wallet {
    width: 120px;
    height: 40px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--uc-white);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-wallet:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}


.live-ticker-banner {
    background-color: var(--uc-maroon);
    color: var(--uc-white);
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    border-bottom: 2px solid rgba(255,255,255,0.1);
}
.ticker-content {
    display: inline-block;
    padding-left: 100%;
    animation: ticker 25s linear infinite;
}
.ticker-content span {
    margin-right: 50px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
}
@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.impact-calculator-section {
    padding: var(--spacing-xl) 0;
}
.calculator-wrapper {
    max-width: 600px;
    margin: 30px auto;
    background: var(--uc-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 4px solid var(--uc-maroon);
}
#impact-slider {
    width: 100%;
    margin-bottom: 20px;
    accent-color: var(--uc-maroon);
}
.calculator-results h3 {
    font-size: 2.5rem;
    color: var(--uc-maroon);
    margin-bottom: 10px;
    font-family: var(--font-sans);
}
.calculator-results p {
    font-size: 1.1rem;
    color: var(--uc-dark-gray);
}

#calc-result{
    height:2.5em;
}

.bento-box-section {
    position: relative;
    padding: var(--spacing-xl) 0;
    background-color: var(--uc-white);
    overflow: hidden;
    z-index: 1;
}

.bento-parallax-bg {
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 200%;
    background-image: url('../images/UChicago_Gothic-Walkway.jpg');
    filter: grayscale(1) opacity(0.15);
    background-size: cover;
    background-position: center 50%;
    z-index: 0;
}
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 15px;
    margin-top: 30px;
}
.bento-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.bento-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}
.bento-item:hover {
    transform: translateY(-5px) scale(1.02);
}
.bento-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    z-index: 2;
    color: var(--uc-white);
}
.bento-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.bento-content p {
    font-size: 0.95rem;
    margin-bottom: 15px;
    opacity: 0.9;
}
.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}
.bento-wide {
    grid-column: span 2;
}
@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .bento-large, .bento-wide {
        grid-column: span 1;
        grid-row: span 1;
        height: 300px;
    }
    .bento-item { height: 300px; }
}

.split-screen-section {
    display: flex;
    background-color: var(--uc-white);
    max-width: 1600px;
    margin: 0 auto;
}
.split-left-stories {
    width: 60%;
    padding: var(--spacing-xl);
}
.split-right-sticky {
    width: 40%;
    position: relative;
    background-color: var(--uc-light-gray);
    border-left: 1px solid rgba(0,0,0,0.05);
}
.sticky-give-wrapper {
    position: sticky;
    top: 80px; 
    padding: 40px;
    height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
}
.story-block {
    margin-bottom: 60px;
}
.story-block h2 {
    font-size: 2rem;
    color: var(--uc-maroon);
    margin-bottom: 20px;
}
.story-image {
    width: 100%;
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin-bottom: 20px;
}
.story-block p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--uc-dark-gray);
    margin-bottom: 10px;
    font-style: italic;
}
.story-block cite {
    font-family: var(--font-sans);
    font-weight: 700;
    color: var(--uc-maroon);
}
.givecampus-embed-container {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
@media (max-width: 900px) {
    .split-screen-section {
        flex-direction: column-reverse;
    }
    .split-left-stories, .split-right-sticky {
        width: 100%;
    }
    .sticky-give-wrapper {
        position: static;
        height: auto;
    }
}

.mobile-fab {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--uc-maroon);
    color: var(--uc-white);
    z-index: 999;
    box-shadow: 0 4px 15px rgba(128, 0, 0, 0.4);
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}
.mobile-fab:hover {
    transform: scale(1.1);
}
.mobile-fab svg {
    width: 28px;
    height: 28px;
}
@media (max-width: 768px) {
    .mobile-fab {
        display: flex;
    }
}

/* Digital Wallets styling */
.digital-wallets {
    margin-top: 1.5rem;
    text-align: center;
}
.wallet-text {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--uc-dark-gray);
    margin-bottom: 0.5rem;
}
.wallet-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}
.btn-wallet {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 48px;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding: 0;
}
.btn-wallet:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.btn-apple-pay {
    background-color: #000;
    border: 1px solid #000;
}
.btn-apple-pay img {
    filter: invert(1) brightness(2);
}
.btn-google-pay {
    background-color: #fff;
    border: 1px solid #d1d1d1;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.btn-wallet img {
    height: 24px;
    width: auto;
    object-fit: contain;
}



/* --- GMICRO5 ADDITIONS --- */

/* Black Social Row */
.black-social-row {
    background-color: #000;
    color: #fff;
    padding: 2rem 1rem;
}

.bs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .bs-grid {
        grid-template-columns: 200px 1fr auto;
    }
}

.bs-logo img {
    max-width: 100%;
    height: auto;
    max-height: 48px;
}

.bs-blurb {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;
}

.bs-social {
    display: flex;
    gap: 1rem;
}

.bs-social a {
    color: #fff;
    transition: opacity 0.3s ease;
}

.bs-social a:hover {
    opacity: 0.7;
}

/* Horizontal Maroon Stats */
.maroon-stats-horizontal .maroon-stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .maroon-stats-horizontal .maroon-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .maroon-stats-horizontal .maroon-stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .maroon-stats-horizontal .maroon-stats-grid {
        grid-template-columns: repeat(1, 1fr) !important;
    }
    .stat-underline{
        display: none;
    }
    .stat-number{
        padding-top: 4rem;
    }
}

/* Force blurbs to the right of percentages on desktop instead of vertical */
@media (min-width: 1024px) {
    .maroon-stats-horizontal .maroon-stat-box {
        display: flex;
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 1rem;
    }
    .maroon-stats-horizontal .maroon-stat-divider {
        display: none; /* Hide divider in horizontal mode if preferred, or rotate it */
    }
}

/* Accordion Bolder */
.accordion-bolder {
    background-color: #fff !important;
}

.accordion-bolder .accordion-button {
    font-weight: bold;
    font-size: 1.25rem;
    border-bottom: 2px solid #eee;
    padding: 1.5rem 0;
}

.accordion-bolder .accordion-button::after {
    content: '+';
    font-size: 2rem;
    font-weight: bold;
    color: var(--uc-maroon);
}

.accordion-bolder .accordion-button.active::after {
    content: '−';
}

/* 8 Icon Grid */
.icon-grid-8 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .icon-grid-8 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.icon-grid-10 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .icon-grid-10 {
        grid-template-columns: repeat(5, 1fr);
    }
}

.ig-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.ig-item:hover {
    transform: translateY(-5px);
}

/* Footer overrides */
@media (min-width: 768px) {
    .footer-top-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .footer-sitemap-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}
@media (max-width: 768px){
        .site-footer-new{
            height: 600px !important;
        max-height: 800px !important;
    }
    .footer-top-row{
        text-align: center;
    }
}


/* --- GMICRO2 FADE LOGIC BACKPORT --- */
/* OVERRIDE: Maroon Stats Section Positioning and Fade */
.maroon-stats-section {
    position: relative !important;
    overflow: hidden !important;
    background-color: #000 !important;
}
.maroon-stats-bg {
    position: absolute !important;
    top: 0 !important; left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    z-index: 0 !important;
    mix-blend-mode: normal !important;
    
    /* Fade In Base Defaults */
    filter: grayscale(100%) blur(10px) !important;
    opacity: 0 !important;
    transition: filter 5s ease-out, opacity 5s ease-out, transform 5s ease-out !important;
    transform: scale(1.05) !important;
}
.maroon-stats-bg.colorized {
    filter: grayscale(0%) blur(0px) !important;
    opacity: 1 !important;
    transform: scale(1) !important;
}


/* --- DISABLE NATIVE BROWSER FOCUS OUTLINE ON WAY-CARDS --- */
.way-card, .way-card:focus, .way-card:focus-visible, .way-card-content, .way-card-content:focus, .way-card-content:focus-visible {
    outline: none !important;
    box-shadow: none; /* Just checking to ensure no shadow ring is created natively */
}
.way-card:hover {
    /* Retain the actual designed hover shadow */
    box-shadow: 0 12px 30px rgba(0,0,0,0.15) !important;
}

/* Interactive Hover Reveal Modules (Backported from gmicro2) */
.hover-reveal-box {
    cursor: default;
}
.hover-reveal-box:hover .hover-bg {
    transform: scale(1.05) !important;
    filter: blur(5px) grayscale(50%) !important;
}
.hover-reveal-box:hover .hover-overlay {
    opacity: 1 !important;
}

/* Giving Society Grid */
.society-grid-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.society-grid-container > div {
    width: calc(33.333% - 1.34rem);
}

@media (max-width: 992px) {
    .society-grid-container > div {
        width: calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .society-grid-container > div {
        width: 100%;
    }
}
