/* Import Google Font: Plus Jakarta Sans */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

/* Reset default browser style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global font & body style */
body {
    font-family: "Plus Jakarta Sans", sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background-color: #225BD8; /* Biru header */
}

/* Logo */
.logo img {
    height: 65px;
    display: block;
}

/* Navbar */
nav {
    display: flex;
    align-items: center;
    gap: 20px; /* jarak antar menu */
}
nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease-in-out;
}
nav a:hover {
    text-decoration: none;
    color: #272727;
}

/* Tombol Register */
.btn-register {
    background-color: #E1AA14; /* Kuning */
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 3px #272727;
    text-decoration: none;
}
.btn-register:hover {
    background: #393939;
    color: white;
}
.btn-register2 {
    background-color: #E1AA14; /* Kuning */
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 3px #272727;
    text-decoration: none;
    margin-left: 42px;
}
.btn-register2:hover {
    background: #393939;
    color: white;
}

/* Hero Section */
.hero {
    /* background-image: url(../../images/background.jpg); */
    background-image: url(../images/background.jpg);
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    text-shadow: 1px 1px 5px #272727;
}
.hero-text h1 {
    color: white;
    font-size: 2rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
    text-align: center;
}
.hero-text p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* Section: Our Programs */
.programs {
    padding: 60px 80px;
    text-align: center;
}
.programs h2 {
    font-size: 32px;
    margin-bottom: 40px;
}
.program-list {
    display: flex;
    justify-content: center;
    gap: 40px;
}
.program-item {
    background: #f5f5f5;
    padding: 20px;
    width: 300px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}
.program-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 10px #225BD8;
}
.program-item img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 5px;
}
.program-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
}
.program-item p {
    font-size: 14px;
    color: #555;
}

/* Section: Why Choose */
.why-choose {
    background: url('../images/whychosebackground.png') center/cover no-repeat;
    color: white;
    display: flex;
    align-items: center; /* vertikal tengah */
    height: 400px; /* sesuaikan tinggi background */
}

.why-choose-content {
    max-width: 800px; /* biar teks ga kepanjangan */
    margin-left: 20%;
    text-align: end;
}

.why-choose h2 {
    font-size: 25px;
    margin-bottom: 15px;
    text-align: left;
}

.why-choose p {
    font-size: 1.2em;
    margin-bottom: 25px;
    text-align: left;
}

.btn-more {
    display: inline-block;
    background: #656565;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.btn-more:hover {
    background: #393939;
}

/* Section: News & Events */
.news-events {
    padding: 60px 80px;
    text-align: center;
}
.news-events h2 {
    font-size: 32px;
    margin-bottom: 40px;
}
.news-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.news-item {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}
.news-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.news-item img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 10px;
}
.news-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
}
.news-item p {
    font-size: 14px;
    color: #555;
    text-align: left;
}

/* Section: Contact & Register */
.contact-register {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #225BD8;
    color: white;
    padding: 50px 80px;
    margin: 0 80px;
    border-radius: 10px;
}
.contact-info p {
    margin: 5px 0;
}
.phone {
    font-weight: bold;
    font-size: 28px;
}
.phone img {
    width: 27px;
    height: 27px;
}
.register-btn p {
    margin-bottom: 20px;
}

/* Section: Registration Form */
.registration-form {
    padding: 60px 80px;
    background: #f5f5f5;
    margin-top: 30px;
}
.registration-form h2 {
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
}
.registration-form form {
    max-width: 600px;
    margin: 0 auto;
}
.registration-form label {
    display: block;
    margin: 12px 0 5px;
    font-weight: bold;
}
.registration-form input,
.registration-form select,
.registration-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.registration-form textarea {
    height: 100px;
    resize: vertical;
}
.btn-register-now {
    margin-top: 20px;
    background: #0074d9;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.btn-register-now:hover {
    background: #005fa3;
}

/* Section: Social Media */
.social-media {
    padding: 40px 0;
    text-align: center;
}
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}
.social-icons img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}
.social-icons img:hover {
    transform: scale(1.1);
}

/* Footer */
footer {
    background-color: #225BD8;
    color: #fff;
    padding: 30px 0;
    text-align: center;
}
.footer-nav {
    margin-bottom: 10px;
}
.footer-nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    transition: color 0.3s ease-in-out;
}
.footer-nav a:hover {
    color: black; /* warna hover */
}
.footer-copy {
    padding-top: 10px;
    font-size: 14px;
    color: #aaa;
}