:root {
    /* anggaran tinggi header (navbar) untuk offset main */
    --header-h: 72px;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    overflow-x: hidden;

    /* Sticky footer tanpa buang scroll */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    border-bottom: 1px solid #ddd;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background-color: #ffffff;
}
.brand-bold {
    font-weight: 750;   /* lebih tebal dari bold biasa */
    color: #000000;     /* boleh tukar kalau nak warna lain */
    letter-spacing: 0.1px; /* bagi spacing sikit kalau nak */
}

/* Pastikan content turun bawah header fixed */
main {
    flex: 1 0 auto;
    padding-top: var(--header-h);
}

.hero {
    position: relative;
    height: 90vh;
    width: 100%;
    overflow: hidden;
    background-image: url('../img/Pagb.png');
    background-size: cover;
    background-position: center;
}

#bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    text-align: left;
    top: 37%;
    transform: translateY(-50%);
}

/* ——— Headings align kiri 2.1% ——— */
.small-text {
    font-size: 2.5em;
    font-weight: bold;
    line-height: 1.2;
    margin: 0;
    padding-bottom: 20px;
    max-width: 60%;
    margin-left: 2.1%;
}

.large-text {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    margin-left: 2.1%;
}

.highlight-text {
    background-color: #f5931382;
    border-radius: 15px;
    padding: 20px;
    font-size: 1.5em;
    max-width: 69%;
    margin-left: 2.1%;
}

/* Notis gerak sikit ke kanan (lebih rapat ke tepi kanan) */
.hero-content p {
    font-size: 1.1em;
    color: white;
    position: absolute;
    top: 172%;
    right: 0; /* dari 10px → rapat ke kanan */
    padding: 10px;
    border-radius: 10px;
    width: auto;
}


/* Buttons */
nav ul li {
    margin: 0 10px;
}

nav ul li a {
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    color: #333;
}

nav ul li a:hover {
    background-color: #f4f4f4;
    color: #007BFF;
    transition: background-color 0.3s ease;
    
}

nav ul li .login-btn,
nav ul li .signup-btn {
    background-color: #e78606cc;
    color: rgb(0, 0, 0);
    padding: 10px 20px;
    border-radius: 5px;
    border: none !important;
}

nav ul li .login-btn:hover,
nav ul li .signup-btn:hover {
    background-color:  #c16f03c4;
    color:white;
    transition: background-color 0.3s ease;
}
/* About page content style */
.content-section {
    margin-top: 100px; /* jarak bawah navbar */
    padding: 40px 20px;
    background-color: #fff;
    min-height: 80vh; /* bagi isi panjang scroll */
}

.content-section h2 {
    font-size: 2.2em; /* besar sikit heading */
    margin-bottom: 20px;
    color: #333;
}

.content-section p {
    font-size: 1.2em; /* besar tulisan */
    line-height: 1.6;
    color: #555;
}

/* Footer melekat di bawah tanpa fixed (scroll kekal) */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    width: 100%;
    position: static;   /* pastikan bukan fixed */
    margin-top: auto;   /* push ke bawah dalam flex layout */
}
