body {
    font-family: "Gabriela", serif;
    font-weight: 400;
    font-style: normal;
}

p {
    font-family: "Cactus Classical Serif", serif;
    font-weight: 400;
    font-style: normal;
}

.navbar-nav li {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.hero-section {
    position: relative;
    height: 407px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat !important;
    display: flex;
    align-items: center;
    padding-left: 120px;
    z-index: 1;
    overflow: hidden;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #1e1e1e 0%, rgba(30, 30, 30, 0) 100%);
    z-index: 2;
}

.hero-text {
    position: relative;
    font-family: 'Amethysta', serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 57px;
    color: #ffedca;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    white-space: pre-line;
    z-index: 3;
}


.upcomingevents {
    background-color: #fef1d8;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.event-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

.badge-edu-top {
    position: absolute;
    top: 0px;
    right: 12px;
    background-color: #fbb03b;
    color: white;
    padding: 4px 10px;
    font-size: 0.75rem;
    border-radius: 0 0 4px 4px;
}

.event-title {
    font-size: 1.3rem;
    font-weight: 600;
}

.noevent-uptitle {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.no-event-title {
    font-family: "Cactus Classical Serif", serif;
    font-weight: 400;
    font-style: normal;
}

.event-date {
    font-size: 0.9rem;
    color: #666;
}

.event-desc {
    font-size: 0.95rem;
    color: #444;
}

.btn-join {
    background-color: #ff6b6b;
    color: #fff;
    border: none;
    font-size: 0.85rem;
    border-radius: 0;
    padding: 6px 20px;
}

.btn-join:hover {
    background-color: #e05757;
}

.allevents {
    background-color: #f9f6f1;
}

.event-boxed {
    border: 1px solid #fbb03b;
    border-radius: 8px;
    background-color: #fff;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.event-boxed img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    transition: all 0.3s ease-in-out;
}

.badge-edu-boxed {
    position: absolute;
    top: 0;
    left: 8;
    background-color: #fbb03b;
    color: #fff;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 0 0 4px 4px;
}

.know-more {
    font-size: 0.85rem;
    color: #ff3b3b;
    font-weight: 500;
    text-decoration: none;
}

.know-more:hover {
    text-decoration: underline;
}

.load-more {
    color: #2a36ff;
    font-weight: 500;
    font-size: 0.9rem;
    text-align: center;
    cursor: pointer;
    transition: opacity 0.2s ease-in-out;
}

.load-more:hover {
    opacity: 0.8;
}

@media (max-width: 480px) {
    .hero-text {
        font-size: 28px;
        line-height: 34px;
    }

    .section-title {
        font-size: 24px;
        line-height: 30px;
    }


}
@media (max-width: 576px) {
    .event-boxed .d-flex {
        flex-direction: column;
    }

    .event-boxed img {
        width: 100%;
        height: auto;
        border-radius: 6px;
        margin-bottom: 1rem;
    }

     .section-title {
        font-size: 24px;
        line-height: 30px;
    }

}



@media (max-width: 768px) {

    .navbar-brand span {
        font-size: 14px;
    }

    .hero-section {
        padding-left: 20px;
        height: 300px;
    }

    .hero-text {
        font-size: 32px;
        line-height: 40px;
    }

}