/* Global */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10px;
}

.header a {
    text-decoration: none;
    color: black;
    padding: 12px;
    border-radius: 4px;
    font-size: 18px;
}

.header a.logo img {
    height: 50px;
}

.header a.active {
    background-color: dodgerblue;
    color: white;
}

.header a:hover {
    background-color: #ddd;
}

/* Make header-right flex */
.header-right {
    display: flex;
    gap: 15px;
}

/* Main Content */
.textmain {
    width: 80%;
    margin: 50px auto;
    line-height: 1.6;
}

.hdr1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 40px 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section, .footer-section2 {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-section h2, .footer-section2 h2 {
    margin-bottom: 15px;
}

.footer-section p, .footer-section2 ul li a {
    font-size: 14px;
    line-height: 1.6;
}

.footer-section2 ul {
    list-style: none;
    padding: 0;
}

.footer-section2 ul li {
    margin-bottom: 10px;
}

.footer-section2 ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section2 ul li a:hover {
    color: #ff8c00;
}

.footer-bottom {
    text-align: center;
    padding: 10px 0;
    border-top: 1px solid #444;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-right {
        margin-top: 10px;
        flex-wrap: wrap;
    }

    .textmain {
        width: 90%;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-section, .footer-section2 {
        padding: 10px 0;
    }
}

@media (max-width: 480px) {
    .hdr1 {
        font-size: 2rem;
    }

    .header a.logo img {
        height: 40px;
    }
}
