:root {
    --primary: #229799;
    --navBg: #D3D3D3;
    --bgColor: #F5F5F5;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bgColor);
}

/* Navbar Styles */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #ffffff;
}

.logo img {
    width: 100px; /* Adjust logo size */
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 50%;
 
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;

    
}

.navbar .navbar-toggle{
    cursor: pointer;
    display: none;
}

.nav-links li a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 16px;
}

.nav-links li a:hover {
    color: #007BFF;
}

.nav-buttons {
    display: flex;
    gap: 10px;
}

.nav-buttons button {
    padding: 10px 20px;
    border: 1px solid var(--primary);
    border-radius: 5px;
    background: transparent;
    cursor: pointer;
    color: var(--primary);
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: 500;
}

.nav-buttons button:hover {
    background-color: var(--primary);
    color: #fff;
}

/* Hero Section Styles */
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 100px;
}

.hero-content {
    max-width: 50%;
}

.hero-content h2 {
    font-size: 3em;
    font-weight: 500;
    color: var(--primary);
}

.hero-content p {
    font-size: 1.5em;
    color: #424242;
    margin-top: 10px;
}

.hero-container img {
    max-width: 50%;
}

/* Hero Information Section */
.hero-information {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 100px;
    flex-direction: row-reverse;
}

.information-content {
    max-width: 50%;
}

.information-content h3 {
    font-size: 2.5em;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 15px;
}

.information-content p {
    font-size: 1.2em;
    color: #424242;
}

.hero-information img {
    max-width: 45%;
}


/* Blog Post Section */
.blog-post {
    padding: 50px;
    background-color: var(--primary);
}

.blog-heading {
    text-align: center;
    padding-left: 50px;
    margin-bottom: 30px;
    margin-top: 100px;
}

.blog-heading h2 {
    font-size: 2.7em;
    color: #000;
    display: inline-block;
    border-bottom: 8px solid var(--primary);
    border-radius: 4px;
}

.blog-content {
    background-color: #48CFCB;
    padding: 30px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blog-post-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

.blog-text {
    max-width: 50%;
}

.blog-text h4 {
    font-size: 1.5em;
    color: var(--primary);
}

.blog-text h3 {
    font-size: 2.5em;
    color: #000;
    margin-bottom: 15px;
}

.blog-text p {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 20px;
}

.nav-arrows {
    display: flex;
    gap: 15px;
}

.nav-arrows button {
    background-color: #C6F1EE;
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2em;
    color: #333;
}

.nav-arrows button:hover {
    background-color: #A5E0DE;
}

.blog-image img {
    max-width: 450px;
    border-radius: 15px;
}

/* Boarding House */
.boarding-header {
    text-align: center;
    padding-left: 50px;
    margin-bottom: 30px;
    margin-top: 100px;
}

.boarding-header h2 {
    font-size: 2.7em;
    color: #000;
    display: inline-block;
    border-bottom: 8px solid var(--primary);
    border-radius: 4px;
}

.boarding-house {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.boarding-card {
    width: 420px;
    min-height: 560px; /* Mengubah height menjadi min-height */
    border: #676060 1px solid;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    color: #000;
    transition: transform 0.3s ease-in-out;
    padding: 20px; /* Sesuaikan padding agar lebih pas */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Menyebarkan konten secara merata */
}

.boarding-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.boarding-card h2 {
    margin: 15px 0;
    font-size: 1.8em;
}

.boarding-card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.boarding-card p{
    font-size: 18px;
}

.boarding-card:hover {
    transform: translateY(-10px);
}

.boarding-card .btn {
    margin-top: auto; /* Membuat button berada di bagian paling bawah card */
    padding: 14px 50px; /* Mengurangi padding horizontal */
    border: none;
    background-color: var(--primary);
    border-radius: 10px;
    color: #fff;
    font-size: 16px; /* Sesuaikan ukuran font */
    cursor: pointer;
}

.boarding-card .btn:hover{
    background-color: #48CFCB;
}

.boarding-card .card-text{
    display: flex;
    justify-content: space-between;
}

.boarding-card .card-text h3{
    margin-top: 24px;
    margin-right: 10px;
    font-size: 20px;
}

.boarding-card .card-text span{
    font-size: 16px;
    color: #999;
}

.boarding-card .icons img{
    width: 60%;
    object-fit:fill;
}

/* footer */
.footer{
    display: flex;
    background-color: #fff;
    justify-content: space-between;
    padding-left: 50px;
    margin-top: 50px;
    padding: 40px 50px;
    align-items: center;
}

.footer .footer-content{
    display: flex;
    gap: 90px;
    align-items: center;
}



/* Menu Html */
.search{
    display: flex;
    justify-content: center;
    padding: 50px;
}

.search input{
    width: 60%;
    align-items: center;
    padding: 1em ;
    border-radius: 10px;
}

.Kost-card{
    padding-left: 50px;
    margin-bottom: 30px;
    margin-top: 30px;
}

.kost-content{
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Login */




.register {
    display: flex;
    height: 100vh;
}

.register img {
    max-width: 50%;
    height: auto;
}

.register-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
}

.register-content h2 {
    text-align: center;
}

.register-content input {
    width: 300px;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.btn-login {
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.btn-login:hover {
    background-color: #0056b3;
}




/* About Sesction */
.about-section {
    padding: 50px 0;
    background-color: #f4f4f4;
    text-align: center;
}


.about-section h1 {
    font-size: 2.5rem;
    color: #229799;
    margin-bottom: 20px;
}

.about-section p {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.6;
}
.about-box {
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: center; /* Pastikan semua box berada di tengah */
}

.box-img {
    text-align: center;
    border: 1px solid #000; /* Border tetap hitam */
    padding: 20px;
    border-radius: 10px;
    width: 300px; /* Ukuran tetap sama */
    height: 300px; /* Tentukan tinggi yang sama */
    justify-content: center; /* Agar isi berada di tengah secara vertikal */
    align-items: center;
}

.box-img img {
    width: 100px; /* Ukuran gambar */
    height: auto;
    margin-bottom: 15px;
}

.box-img h3 {
    margin: 15px 0;
    font-size: 1.8em;
}

.box-img p {
    font-size: 1.2em;
    color: #555;
}