*{
    box-sizing: border-box;
    font-family: 'Popins', sans-serif;
}
.about{
    text-align: center;
    text-transform: uppercase;
    color: var(--hover-eff);
    font-size: 40px;
    margin-top: 20px;
}

.gen{
    justify-content: center;
    align-items: center;
    min-height: 150vh;
}
.main{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: auto;
    background: white;
}

.head
{
    min-height: auto;
}

.abtText{
    width: 500px;
}
.abtText > h3 {
    margin-top: 40px;
    text-align: center;
    font-weight: 300;
}

/* .can{
    border: 1px solid red;
    display: grid;
    width: 100%;
    grid-template-columns: 2fr 2fr 2fr;
    grid-gap: 20px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin: 20px;
} */
.can{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* align cards at top */
    flex-wrap: nowrap; /* keep cards in one line */
    overflow-x: auto; /* allow horizontal scroll on small screens */
    margin: 20px;
}

/* ensure each box keeps its width when container scrolls */
.can .boxes{
    flex: 0 0 auto;
}


.can .boxes{
    border-radius: 20px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 250px;
    height: 350px;
    margin: 20px;
    background: var(--theme-color);
    box-shadow: -6px -6px 20px rgba(255, 255, 255, 1), -6px -6px 20px rgba(0, 0, 0, 0.1);
    transition: 0.5s;
}
.can .boxes:hover{
   /* box-shadow: inset -6px -6px 10px rgba(255, 255, 255, 0.5),
                inset -6px -6px 20px var(--hover-eff); */
    background: var(--hover-eff);
}
.can .boxes .contents{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    padding: 30px;
    text-align: center;
}
.can .boxes .contents .aboutLogo{
    max-width: 48px;
    margin-bottom: 10px;
}
.can .boxes .contents p{
    color: rgb(255, 255, 255);
    padding: 20px 0;
}
.can .boxes .contents h3{
    color: rgb(255, 255, 255);
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 600;
}
.journey{
    width: 100%;
    min-height: 100vh;
    background: var(--offwhite);
    /* margin-bottom: 20px; */
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.shape{
    width: 80%;
    display: block;
    margin: auto;
    padding-top: 100px;
}
.leadersDiv{
    /* border: 1px solid red; */
    width: 80%;
    /* display: block; */
    /* margin: auto; */
    /* padding-top: 100px; */
}
.content-sect{
    float: left;
    width: 55%;
}
.image-sect{
    float: right;
    width: 40%;
    text-align: center;
    background-color: #ececec;
    border-radius: 5px;
    padding: 10px;
}

/* patron section overrides */
#patron .image-sect {
    background: none;
    width: 40%;
    padding: 20px 0 0 10px; /* add some top and left space */
}
#patron .image-sect img {
    width: 110%;
    height: auto;
    background: none;
    transform: translate(10px,10px);
}
.image-sect img{
    margin-top: 0px;
    width: 50%;
    /* height: auto; */
    aspect-ratio: 3/3;
}
#eveTeams .image-sect img, #leadership .image-sect img{
    margin-top: 5px;
    width: 100%;
    /* height: auto; */
    aspect-ratio: 3/2;
}
.shape .title{
    text-transform: uppercase;
    justify-content: center;
    align-items: center;
    text-align: start;
    margin-bottom: 20px;
    color: var(--hover-eff);
}
.content-sect .text h4{
    /* margin-top: 20px; */
    color: black;
    font-size: 19px;
}
.content-sect .text p{
    margin-top: 10px;
    font-family: sans-serif;
    font-size: 17px;
    line-height: 1.5;
}
.content-sect .text li a{
    text-decoration: none;
    color: inherit;
    position: relative;
}
.content-sect .text li a::after{
    display: none;
    position: absolute;
    content: '';
    width: 100%;
    height: 1px;
    top: 20px;
    background: black;
}
.content-sect .text li a:hover::after{
    display: block;
    animation: afterWidth 0.5s;
}
.content-sect .text .button{
    margin-top: 30px;
}
.content-sect .text .button a
{
    background-color: var(--theme-color);
    padding: 10px 20px;
    text-decoration: none;
    color: #fff;
    /* font-size: 25px; */
    /* letter-spacing: 1.5px; */
    transition: 0.4s;
    border-radius: 5px;
}
.content-sect .text .button a:hover
{
    background-color: var(--hover-eff);
}

@keyframes afterWidth
    {
        0%
        {
            width: 0%;
        }
        100%
        {
            width: 100%;
        }
    }

@media screen and (max-width: 1280px)
{
    /* Keep cards horizontal but allow scrolling on narrower screens */
    .can{
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
        justify-content: center;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .can .boxes{ width: 230px; height: 320px; }
}

@media(max-width: 1050px) {
    .can{
        justify-content: center;
    }
}

@media (max-width: 768px){
    /* Keep horizontal layout on mobile with horizontal scroll */
    .can .boxes{
        flex: 0 0 auto;
        width: 220px;
        height: auto;
        padding: 24px 16px;
    }
    .can{
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
        overflow-x: auto;
        margin-left: 0;
        margin-right: 0;
    }
    .shape{
        width: 80%;
        display: block;
        margin: auto;
        padding-top: 50px;
    }
    .content-sect{
        float: none;
        width: 100%;
    }
    .image-sect{
        float: none;
        width: 100%;
        display: block;
        margin: auto;
    }   
}
