/* © Om Kanabar 2025 
All Rights Reserved */

:root{
    --white: #fefcf7;
    --cream: #e8e5dd;
    --dark: #191919;
    --gray: #6b7c85;
    --dark-text-title: #ffb300;
    --light-text: #233c4a;
    --black: #111111;
    --navy: #0b1623;
    --accent: #d4a017;
    --blue-grey: #434e54;
    --trans: 0.2s ease;
}

#check{
    background-color: #111;
    color: #d6d6d6;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.form-box{
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100vw;
}

.w-50{
    width: 50vw;
    display: flex;
}

.hidden{
    display: none !important;
}

nav{
    height: 150px !important;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.brandName{
    font-family: 'Cal Sans', sans-serif;
    font-size: 30px;
}

nav li{
    margin-left: 10px;
    margin-right: 10px;
}

nav li a{
    color: var(--dark) !important;
    font-size: 20px;
    transition: 0.3s ease;
    position: relative;
    cursor: pointer;
    z-index: 2;
    transition: var(--trans);
    text-decoration: none;
}

nav li a.active {
    color: #114a9b;
    text-decoration: underline !important;
    text-decoration-thickness: 3px !important;
    text-underline-offset: 6px !important;  
}

nav li a:hover{
    background-color: transparent !important;
    color: var(--white) !important;
}

nav li a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    margin-left: -20%;
    background-color: #114a9b;
    color: var(--white);
    transition: width 0.3s ease;
    z-index: -1;
}

nav li a:hover::after {
    width: 140%;
}

nav li a:hover {
    color: var(--white);
}

.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 5vh;
    padding-bottom: 5vh;
    text-align: center;
    background-image: url('https://github.com/om-kanabar/hoperation-fund/blob/main/Assets/chicagoBackground.png?raw=true');
    background-size: cover;       /* makes it fill the area */
    min-height: 70vh;
    background-position: center;  /* centers the image */
}

.hero h1{
    color: #012b5b;
    font-family: 'Lexend', sans-serif;
    font-weight: bold;
}

.hero h2{
    margin-top: 2vh;
    color: #012b5b;
    font-family: 'Lato', sans-serif;
    font-weight: 500;
}

.aboutBox {
    background: linear-gradient(270deg, #e4f3e9, #e0f4fa, #e4f3e9);
    background-size: 600% 600%;
    animation: gradientMove 12s ease infinite;
    display: flex;
    justify-content: center;
    padding: 4rem 2rem;
}

.about {
    background-color: #f4f4f0;         /* light box behind text & image */
    display: flex;
    flex-wrap: wrap;                   /* stacks on small screens */
    max-width: 1200px;                 /* keeps it centered and not too wide */
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.aboutLeft {
    flex: 1 1 45%;
    padding: 3rem 2rem;
    min-width: 300px;
}

.aboutLeft h1 {
    text-align: center;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    color: #254151;
    font-family: 'Lexend', sans-serif;
}

.aboutLeft p{
    font-size: 21px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.aboutRight {
    flex: 1 1 55%;
    min-width: 300px;
}

.aboutRight img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.stats{
    margin-top: 2vh;
    font-size: 20px;
}

.stats span{
    font-weight: 900;
}

.latestNews{
    width: 100vw;
}

.latestNews h1{
    text-align: center;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    font-size: 40px;
    color: #254151;
    font-family: 'Lexend', sans-serif;
    font-weight: 800;
}

.latestNews p{
    font-size: 20px;
    width: 61.8vw;
}

.latestNews div{
    width: 100vw;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.contact{
    background: linear-gradient(270deg, #e4f3e9, #e0f4fa, #e4f3e9);
    background-size: 600% 600%;
    animation: gradientMove 12s ease infinite;
    display: flex;
    justify-content: center;
    padding: 4rem 2rem;
}

.contact h1{
    text-align: center;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    font-size: 40px;
    color: #254151;
    font-family: 'Lexend', sans-serif;
    font-weight: 800;
}

footer{
    margin-top: 2vh;
    padding-top: 2vh;
    min-height: 4vh;
    background-color: var(--black);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

footer p{
    min-height: 4vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
}

.ms-10{
    margin-left: 10vw;
}

footer .icon-box{
    display: flex;
    flex-direction: column;
}

footer .icon-box a{
    color: var(--white);
    text-decoration: none;
    margin-right: 2vw;
    font-size: 30px;
    transition: var(--trans);
}

footer a:hover{
    color: #9b9b9b;
}