* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', Courier, monospace;
    background-color: #f4faf6;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: rgba(18, 71, 41, 0.85);
    position: sticky;
    top: 0;
    z-index: 100;
}

@media (max-width: 1020px) {
    nav {
        display: flex;
        flex-direction: row;
        gap: 10px;
        padding: 15px 30px;
    }
}

@media (max-width: 724px) {
    nav {
        display: flex;
        flex-direction: row;
        gap: 10px;
        padding: 15px 20px;
        flex-wrap: wrap;
    }

}

.nav_title_name {
    display: flex;
    flex-direction: column;
    gap: 1px;
}


.nav_title_name {
    font-size: 30px;
    color: #ffffff;
}

@media (max-width: 1020px) {
    .nav_title {
        display: flex;
        flex-direction: column;
        font-size: 22px;

    }
}

@media (max-width: 724px) {
    .nav_title_name {
        display: flex;
        flex-direction: column;
        font-size: 18px;

    }
}

.nav_title_description {
    font-weight: 700;
    font-size: 11px;
    color: #a6ebd3;
    letter-spacing: 0.05em;
}

.nav_links {
    display: flex;
    gap: 4px;
    list-style: none;
}

.nav_links a {
    font-weight: bold;
    padding: 8px 15px;
    background-color: #055f4033;
    color: #eaf5f3;
    text-decoration: none;
    border: 0.1px solid rgb(255, 249, 249);
    border-radius: 20px;
    transition: 0.5s;
    font-size: 12px;
}

@media (max-width: 1020px) {
    .nav_links a {
        display: flex;
        font-size: 10px;
        padding: 7px 12px;


    }
}

@media (max-width: 724px) {
    .nav_links a {
        display: flex;
        font-size: 8px;
        padding: 6px 10px;


    }
}

.nav_links a:hover {
    color: #ffffff;
    background-color: #034931;
    border-color: #034931;
}

.nav_links a.active {
    background-color: #034931;
    border-color: #a6ebd3;
    color: #a6ebd3;
}

.page_hero {
    height: 620px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}

@media (max-width: 1020px) {
    .page_hero {

        background-size: cover;
        background-position: center;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 724px) {
    .page_hero {
        height: 400px;
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }

}

.page_hero_festivals {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url(../images/festivals/Indra\ jatra.jpg);
}

.page_hero h1 {
    font-size: 46px;
    color: #a6ebd3;
    font-weight: 900;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    text-align: center;
}

@media (max-width: 724px) {
    .page_hero h1 {
        font-size: 32px;
        color: #a6ebd3;
        font-weight: 900;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
        text-align: center;

    }
}

.page_hero p {
    font-size: 16px;
    color: #d4f0e0;
    letter-spacing: 0.04em;
    text-align: center;
}

@media (max-width: 724px) {
    .page_hero p {
        font-size: 16px;
        color: #d4f0e0;
        letter-spacing: 0.04em;
        text-align: center;
        padding-left: 5px;
        padding-right: 5px;
    }
}

.festivals_section {
    padding: 70px 80px;
    background-color: #f4faf6;
}

.festivals_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 40px auto 0;
}
@media (max-width: 1020px) {
    .festivals_grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 1100px;
        margin: 40px auto 0;
    }
}
@media (max-width: 724px) {
    .festivals_grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
        max-width: 1100px;
        margin: 40px auto 0;
    }
}

.festival_card {
    background-color: #ffffff;
    border: 1px solid #c8ece2;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s;
}

.festival_card:hover {
    transform: translateY(-4px);
    border-color: #034931;
}

.festival_card_banner {
    height: 140px;
    max-width: 400px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
}


.banner_1 {
    background-image: url(../images/festivals/Tihar.jpg);
    background-size: cover;
    background-position: center;
}

.banner_2 {
    background-image: url(../images/festivals/dashine.jpg);
    background-size: cover;
    background-position: center;
}

.banner_3 {
    background-image: url(../images/festivals/Indra\ jatra.jpg);
    background-size: cover;
    background-position: center;
}

.banner_4 {
    background-image: url(../images/festivals/buddha\ jyanti.jpg);
    background-size: cover;
    background-position: center;
}

.banner_5 {
    background-image: url(../images/festivals/Holi.jpg);
    background-size: cover;
    background-position: center;
}

.banner_6 {
    background-image: url(../images/festivals/Losar.jpg);
    background-size: cover;
    background-position: center;
}


.festival_card_body {
    padding: 18px;
}

.festival_card_body h3 {
    font-size: 15px;
    font-weight: 700;
    color: #1a4d30;
    margin-bottom: 5px;
}

.festival_card_body p {
    font-size: 12px;
    color: #3f7554;
    line-height: 1.6;
    margin-bottom: 10px;
}

.festival_info {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.festival_month {
    background-color: #c8ece2;
    color: #034931;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 10px;
}

.festival_type {
    background-color: #f0f0f0;
    color: #555;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 10px;
}



footer {
    background-color: #0c3320;
    padding: 40px 80px 25px;
    color: #b8e8cc;
}

.footer_top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.footer_title h2 {
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 8px;
}

.footer_title p {
    font-size: 13px;
    color: #a6ebd3;
    line-height: 1.7;
    max-width: 250px;
}

.footer_col h4 {
    color: #a6ebd3;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 0.04em;
}

.footer_col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer_col ul li a {
    color: #b8e8cc;
    text-decoration: none;
    font-size: 13px;
    transition: 0.3s;
}

.footer_col ul li a:hover {
    color: #ffffff;
}

.footer_col p {
    font-size: 13px;
    color: #b8e8cc;
    line-height: 1.9;
}

.footer_bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer_bottom p {
    font-size: 12px;
    color: #a6ebd3;
}

.footer_socials {
    display: flex;
    gap: 10px;
}

.social_btn {
    padding: 7px 15px;
    background-color: rgba(255, 255, 255, 0.08);
    color: #d4f0e0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Courier New', Courier, monospace;
    text-decoration: none;
}

.social_btn:hover {
    background-color: #034931;
    color: #ffffff;
}