* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f0f2f5;
}

a {
    text-decoration: none;
    color: #ffffff;
}

ul {
    list-style: none;
}

/* == bag header == */

.main-header {
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
    padding: 20px 0;
    color: white;
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo {
    height: 45px;
}

.nav-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-nav a {
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.7);
    transition: color 0.3s ease;
}

.top-nav a:hover {
    color: #000000;
}

.flag-icon {
    height: 18px;
    margin-left: -5px;
}

.register-button {
    font-size: 0.8rem;
    border: 1px solid rgba(0, 0, 0, 0.5);
    padding: 6px 20px;
    border-radius: 20px;
    transition: background-color 0.3s, border-color 0.3s;
}

.register-button:hover {
    background-color: rgba(0, 0, 0, 0.1);
    border-color: #000000;
}

.bottom-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.bottom-nav ul {
    display: flex;
    gap: 30px;
}

.bottom-nav a {
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    transition: color 0.3s ease;
}

.bottom-nav a:hover {
    color: rgba(0, 0, 0, 0.7);
}

.search-icon {
    width: 20px;
    height: 20px;
    border: 3px solid #000;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
}

.search-icon::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 10px;
    background-color: #000;
    bottom: -8px;
    right: -3px;
    transform: rotate(-45deg);
}

/* == bag hero == */

.hero {
    height: calc(100vh - 89px);
    width: 100%;
    background-image: url('gambarpln.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    color: #ffffff;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 24px;
    cursor: pointer;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #000;
    border-radius: 3px;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100%;
    background-image: linear-gradient(180deg, #2c648a, #25a5d8);
    box-shadow: -5px 0px 15px rgba(0, 0, 0, 0.2);
    padding: 20px;
    transition: right 1s ease-in-out;
    z-index: 1000;
}

.mobile-nav.active {
    right: 0;
}

.close-icon {
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
}

.close-icon::before,
.close-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #fff;
}

.close-icon::before {
    transform: rotate(45deg);
}

.close-icon::after {
    transform: rotate(-45deg);
}

.mobile-nav .close-icon {
    margin-left: auto;
    margin-bottom: 20px;
}

.mobile-nav .nav-wrapper {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
}

.mobile-nav .nav-wrapper a {
    color: #fff;
}

.mobile-nav .bottom-nav,
.mobile-nav .top-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
}

.mobile-nav .bottom-nav ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.mobile-nav .bottom-nav li a,
.mobile-nav .top-nav a {
    padding: 15px 0;
    width: 100%;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav .search-icon {
    margin: 15px 0;
    border-color: #fff;
}

.mobile-nav .search-icon::after {
    background-color: #fff;
}

.mobile-nav .top-nav .flag-icon {
    display: none;
}

.mobile-nav .register-button {
    margin-top: 10px;
    text-align: center;
    width: 100%;
    border-color: #ffffff;
    color: #fff;
}

@media (max-width: 992px) {
    .nav-wrapper {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }
    
    .navbar-container {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 12px 25px;
    }
}

/*= misi =*/
.visimisi {
    padding: 80px 20px;
    background-color: #ffffff;
    text-align: left;
}

.visimisi-content {
    max-width: 800px;
    margin: 0 auto;
}

.visimisi h2 {
    font-size: 1rem;
    font-weight: 600;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.visimisi h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
    margin-bottom: 25px;
}

.visimisi p {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .visimisi h3 {
        font-size: 1.8rem;
    }
}

/* = bag tentang kami =*/
.about-us {
    background-image: linear-gradient(rgba(25, 45, 80, 0.6), rgba(25, 45, 80, 0.6)), url('backgroundaboutus.jpg');
    background-size: cover;
    background-position: center;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    padding: 0 8%;
    color: #ffffff;
}

.about-us-content {
    max-width: 550px;
}

.about-us-content .subtitle {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 8px;
    opacity: 0.9;
}

.about-us-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 20px;
}

.about-us-content .description {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
    font-weight: 300;
}

.button-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    background-color: transparent;
    border: 1px solid #ffffff;
    border-radius: 50px;
    color: #ffffff;
    padding: 12px 24px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn:hover {
    background-color: #ffffff;
    color: #192d50;
}

.btn span {
    transition: transform 0.3s ease;
}

.btn:hover span {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .about-us {
        padding: 0 5%;
        text-align: center;
        justify-content: center;
    }

    .about-us-content h1 {
        font-size: 36px;
    }

    .about-us-content .description {
        font-size: 15px;
    }

    .button-group {
        justify-content: center;
    }
}

/* == bag berita == */
.news-section {
    padding: 80px 0;
    background-color: #f0f2f5;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.news-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 50px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 25px;
}

.card-meta {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 10px;
}

.card-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.card-read-more {
    font-size: 0.9rem;
    font-weight: 600;
    color: #25a5d8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-read-more:hover {
    color: #2c648a;
}

@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-container {
        padding: 0 20px;
    }
    
    .news-section h2 {
        font-size: 2rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
}

/*= footer =*/
.site-footer-minimal {
    background-color: #f8f9fa;
    color: #6c757d;
    padding: 20px 0;
    font-size: 14px;
    border-top: 1px solid #e9ecef;
}

.footer-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-container p {
    margin: 0;
}

.footer-nav a {
    color: #6c757d;
    text-decoration: none;
    margin-left: 20px;
}

.footer-nav a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .footer-container p {
        margin-bottom: 10px;
    }

    .footer-nav a {
        margin: 0 10px;
    }
}