@font-face {
    font-family: 'Artographie';
    src: url('https://fonts.cdnfonts.com/css/artographie') format('woff2');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.background-images {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.05;
}

.bg-image {
    position: absolute;
    width: 180px;
    height: 180px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

    .bg-image:nth-child(1) {
        top: 10%;
        left: 5%;
        background-image: url('Clock_Normal.png');
    }

    .bg-image:nth-child(2) {
        top: 30%;
        left: 70%;
        background-image: url('/CWIT.png');
    }

    .bg-image:nth-child(3) {
        top: 50%;
        left: 15%;
        background-image: url('MoCA_Lion.png');
    }

    .bg-image:nth-child(4) {
        top: 65%;
        left: 80%;
        background-image: url('Semantic_Learning.png');
    }

    .bg-image:nth-child(5) {
        top: 85%;
        left: 30%;
        background-image: url('TMT.png');
    }

    .bg-image:nth-child(6) {
        top: 5%;
        left: 85%;
        background-image: url('/api/placeholder/180/180');
    }

    .bg-image:nth-child(7) {
        top: 70%;
        left: 5%;
        background-image: url('/api/placeholder/180/180');
    }

.container {
    width: 1440px;
    margin: 0 auto;
    flex: 1;
    background-color: white
}

.section {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    padding: 30px;
    transition: all 0.3s ease;
}

#section1 {
    display: flex;
    flex-direction: column;
    padding: 40px;
}

.header-row {
    display: flex;
    align-items: center;
    margin: 10px;
}

.site-title {
    margin-left: 30px;
}

    .site-title h1 {
        font-size: 2.5rem;
        margin-bottom: 10px;
        color: #184429;
    }

    .site-title p {
        font-size: 1.2rem;
        color: #6FA241;
        font-weight: bold;
    }

.welcome-message {
    margin: 20px 0 40px;
    max-width: 100%;
}

.discord-widget {
    width: 100%;
    height: 400px;
    border: 0;
}

.info-sections {
    display: flex;
    gap: 30px;
}

#section2, #section3 {
    flex: 1;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease;
    height: 400px; /* Fixed height */
    display: flex;
    flex-direction: column;
}

.info-sections:hover #section2:not(:hover),
.info-sections:hover #section3:not(:hover) {
    flex: 0.9;
}

#section2:hover, #section3:hover {
    background-color: rgba(143, 193, 64, 0.2); /* Light green with transparency */
    flex: 1.1;
    z-index: 1;
}

h2 {
    margin-bottom: 20px;
    color: #184429;
    font-size: 1.8rem;
}

p {
    margin-bottom: 15px;
}

footer {
    background-color: #444;
    color: #fff;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
}

    footer a {
        color: #BBD04B;
        text-decoration: none;
        margin: 0 10px;
    }

        footer a:hover {
            text-decoration: underline;
        }

@media (max-width: 768px) {
   
}

.header{
    width: 100%;
    background-color: white 
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 40px;
    background-color: white;
}

.usp-header {
    width: 100%;
    height: 43px;
    background-color: #BBD64B;
    padding: 0 80px;
    position: sticky;
    top: 0;
    z-index: 9999;
}
.usp-row {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    padding-top: 8px;
}

.header-usp {
    display: flex;
    align-items: center;
    flex-direction: row;
}

.header-usp p{
    margin: 0 5px;
}

.center-row .logo {
    width: 108px;
    height: 108px;
    object-fit: cover;
}

.right-row .header-nav{
    display: flex;
    gap: 30px;
}

.header-main {
    width: 100%;
}

.header-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.left-row {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    margin-right: 50px;
}

    .left-row h1 {
        font-size: 1.5rem;
        color: #184429;
        margin: 0;
    }

    .left-row p {
        font-size: 1.125rem;
        color: #C2DA52;
        font-weight: bold;
        margin: 0;
    }

.center-row {
    display: flex;
    justify-content: center;
    align-items: center;
}


.right-row {
    display: flex;
    justify-content: flex-start;
    margin-left: 50px;
}

.header-nav {
    display: flex;
    gap: 30px;
}

.nav {
    color: #184429;
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: 600;
}

    .nav:hover {
        text-decoration: underline;
    }


.block-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0 80px;
    padding: 40px 0;
    border-bottom: 1px solid #184429;
}

.image-block img {
    width: 100%;
    height: 400px;
    display: block;
    object-fit: cover;
}

.text-block {
    background: white;
    box-shadow: 0px 1px 4px #6FA241;
    border-radius: 20px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 323px;
    align-self: center;
    margin: 0 45px;
}

    .text-block h3 {
        color: #184429;
        margin-bottom: 15px;
    }

    .text-block p {
        color: #333;
        line-height: 1.6;
        margin: 0;
    }

@media (max-width: 768px) {
    .block-section {
        grid-template-columns: 1fr;
    }
}

.cta-section {
    max-width: 900px;
    margin: 40px auto;
    background: white;
    box-shadow: 0px 1px 4px #6FA241;
    border-radius: 25px;
    padding: 40px;
    text-align: center;
}

    .cta-section h3 {
        color: #184429;
        margin-bottom: 20px;
    }

    .cta-section p {
        color: #333;
        line-height: 1.6;
        margin-bottom: 30px;
    }

.cta-button {
    background-color: #8FC140;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 999px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .cta-button:hover {
        background-color: #7AAD36;
    }

.information-section {
    margin: 0 80px;
    padding: 40px 0;
    border-top: 1px solid #184429;
}

.footer {
    background-color: #C2DA52;
    color: #184429;
    text-align: center;
    padding: 10px 0;
    font-size: 0.9rem;
    justify-content: center;
}

.footer p{
    margin: 0;
}

.hero-section {
    margin: 0 80px;
    padding: 40px 0;
    border-top: 1px solid #184429;
    border-bottom: 1px solid #184429;
}

.hero {
    position: relative;
    height: 400px;
    background: url('Hero-banner.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    overflow: hidden;
    padding: 20px;
    box-sizing: border-box;
}

.hero-overlay {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 30px 40px;
    border-radius: 20px;
    max-width: 900px;
    text-align: center;
}

    .hero-overlay h2 {
        color: #184429;
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .hero-overlay p {
        font-size: 1rem;
        color: #333;
        line-height: 1.6;
        margin: 0;
    }

@media (max-width: 768px) {
    .hero {
        height: auto;
        padding: 40px 20px;
    }

    .hero-overlay {
        padding: 20px;
    }
}

p {
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
}

h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    color: #184429;
}

a{
    text-decoration: none;
}
@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 0;
    }

    .usp-row {
        flex-direction: row;
        align-items: flex-start;
        gap: 8px;
        padding: 8px 0;
    }

    .left-row,
    .right-row {
        margin: 0;
        align-items: center;
        text-align: center;
    }

        .left-row h1,
        .left-row p {
            text-align: center;
        }
        .left-row h1{
            font-size: 1.2rem;
        }
        .left-row p{
            font-size: 1rem;
        }

    .right-row {
        justify-content: center;
        margin-top: 0;
    }

    .block-section {
        margin: 0 20px;
        padding: 20px 0;
    }

    .text-block {
        margin: 20px 0;
        height: auto;
        padding: 20px 10px;
    }

    .cta-section {
        margin: 20px;
        padding: 30px 20px;
    }

    .information-section,
    .hero-section {
        margin: 0 20px;
        padding: 30px 0;
    }

    .footer {
        font-size: 0.8rem;
        padding: 15px 0;
    }
}

@media (max-width: 480px) {
    .header-row {
        flex-direction: column;
    }

    .center-row .logo {
        margin-bottom: 0;
        width: 70px;
        height: 70px;
    }

    .site-title {
        margin-left: 0;
        text-align: center;
    }

    .info-sections {
        flex-direction: column;
    }

    #section2, #section3 {
        width: 100%;
        height: auto; /* Allow height to adjust on mobile */
        min-height: 300px;
    }

    .info-sections:hover #section2:not(:hover),
    .info-sections:hover #section3:not(:hover) {
        flex: 1;
    }

    footer {
        flex-direction: column;
        height: auto;
        padding: 10px 30px;
    }

    .header-row {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }

    .nav h3 {
        font-size: 1rem;
    }

    .usp-header {
        padding: 0 20px;
    }

    .cta-button {
        width: 100%;
        padding: 15px;
        font-size: 1rem;
    }

    .text-block,
    .hero-overlay {
        padding: 15px;
    }

        .hero-overlay h2 {
            font-size: 1.2rem;
        }

        .hero-overlay p {
            font-size: 0.9rem;
        }

    .image-block img {
        height: auto;
        max-height: 250px;
    }
}
