*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-y: auto;
    pointer-events: auto;
}

/* HERO SECTION */
.hero{
    width: 100%;
    height: 90vh;
    background:
    linear-gradient(rgba(0,0,0,0.45),
    rgba(0,0,0,0.45)),
    url('picture/wallpaper5.jpg');

    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: -85px;
    padding-top: 85px;
}

/* HERO CONTENT */
.hero-content{
    max-width: 800px;
    color: white;
}

.hero-content h1{
    font-size: 2.5rem;
    font-weight: 1000;
    margin-bottom: 10px;
    animation: fadeInUp 0.8s ease;
    text-transform: inherit;
    line-height: 1.2;
    font-family: Cambria, serif;
}

.hero-content p{
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 35px;
    font-family: Cambria, serif;
}

/* BUTTONS */
.hero-btns{
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary{
    padding: 14px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: 0.3s;
    font-family: 'Segoe UI', sans-serif;
}

.btn-primary{
    background: #9E1F25;
    color: white;
}

.btn-secondary{
    border: 2px solid white;
    color: white;
}

.btn-secondary:hover{
    background: white;
    color: black;
}

.popular-package {
    padding: 60px;
    text-align: center;
    background: linear-gradient(
        135deg,
        #203a43,
        #2c5364,
        #9E1F25
    );
    background-size: 300% 300%;
    animation: gradientMove 10s ease infinite;
}

/* Smooth moving gradient */
@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.popular-package h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
}

.package-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.package-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.package-card:hover {
    transform: translateY(-5px);
}

.package-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.package-info {
    padding: 15px;
    text-align: left;
}

.package-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
    text-transform: uppercase;
}

.view-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #2c3e50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
    width: 100%;
    text-align: center;
}

/* --- Bahagian Kenapa Pilih (Section) --- */
.kenapa-pilih-section {
    background: whitesmoke;
    padding: 60px 20px;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.section-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 50px; /* Jarak sebelum kad-kad muncul */
    font-weight: 500;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Open Sans', sans-serif;
}

/* --- Container untuk Kad-kad --- */
.why-cards-container {
    display: flex;         /* Susun sebaris di desktop */
    justify-content: center; /* Di tengah-tengah page */
    gap: 30px;            /* Jarak antara setiap kad */
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;       /* Supaya turun bawah di handphone */
}

/* --- Gaya KAD (why-card) --- */
.why-card {
    flex: 1 1 300px;      /* Cara pro: flex, maintain lebar sekitar 300px */
    max-width: 350px;     /* Hadkan lebar maksima kad */
    background: white;
    border-top: 4px solid #19516B;
    opacity: 0.9;
    padding: 40px 30px;
    border-radius: 20px;  /* Bucu bulat */
    text-align: center;
    /* --- INI SHADOW PREMIUM --- */
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); /* Lembut tetapi jelas */
    transition: all 0.3s ease; /* Untuk kesan hover */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon-blue {
    color: #0D47A1;
}

.icon-gold {
    color: #D4AF37;
}

.icon-red {
    color: #C62828;
}

/* Gaya Content dalam Kad */
.why-card i {
    font-size: 3rem;      /* Besarkan icon */
    margin-bottom: 25px;
}

.why-card h3 {
    font-size: 1.4rem;
    font-weight: bold;
    color: black;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.why-card p {
    font-size: 0.95rem;
    color: black;
    line-height: 1.7;  /* Bagi perenggan 'breathable' */
    margin: 0;
    font-family: 'Open Sans', sans-serif;
}

.main-footer {
    background-color: #9E1F25;
    padding: 20px;
    color: #ffffff;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px; /* Jarak antara column */
    padding: 40px;
}

.footer-column {
    flex: 1; /* INI KUNCINYA: Memberi ruang seimbang kepada setiap column */
    text-align: left;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
}

.footer-column p, .footer-column li {
    font-size: 0.9rem;
    line-height: 1.6;
    font-family: 'Open Sans', sans-serif;
}

/* Copyright Section */
.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: white;
    font-family: 'Open Sans', sans-serif;
}

.contact-list li {
    display: flex;
    gap: 12px;           /* Jarak antara ikon dan teks */
    margin-bottom: 15px;
    align-items: flex-start; /* Kunci utama: Ikon akan sentiasa selari dengan baris pertama teks */
}

.contact-list li i {
    margin-top: 4px;     /* Laraskan sikit ke bawah supaya betul-betul center dengan baris pertama */
    color: #bdc3c7;      /* Warna emas mengikut tema Hubungi Kami anda */
    font-size: 1.1rem;   /* Saiz ikon yang seimbang */
    width: 20px;         /* Lebar tetap supaya teks di sebelah kiri selari secara menegak */
    text-align: center;
}

.contact-list li span {
    flex: 1;             /* Supaya teks mengambil baki ruang yang ada */
    line-height: 1.5;    /* Memberi ruang antara baris teks yang lebih selesa dibaca */
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #bdc3c7;
    font-size: 1.2rem; /* Kecilkan sedikit saiz ikon supaya muat cantik dalam kotak */
    transition: all 0.3s ease;
    
    /* Tambahan untuk kotak */
    width: 45px;
    height: 45px;
    border: 1px solid #bdc3c7; /* Garisan kotak */
    display: flex;
    align-items: center;     /* Letak ikon di tengah (menegak) */
    justify-content: center;  /* Letak ikon di tengah (mendatar) */
    border-radius: 50%;      /* Lengkungan di bucu kotak (buang baris ini jika nak kotak tajam) */
    text-decoration: none;
}

/* 1. Facebook (Biru) */
.social-icons a:nth-child(1):hover {
    background-color: #1877F2;
    border-color: #1877F2;
    color: white;
    transform: translateY(-5px);
}

/* 2. Instagram (Gradient Purple/Pink) */
.social-icons a:nth-child(2):hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    border-color: transparent;
    color: white;
    transform: translateY(-5px);
}

/* 3. TikTok (Hitam) */
.social-icons a:nth-child(3):hover {
    background-color: #000000;
    border-color: #000000;
    color: white;
    /* Efek shadow sikit untuk vibe TikTok */
    box-shadow: 2px 2px #ee1d52, -2px -2px #69c9d0;
    transform: translateY(-5px);
}

/* 4. WhatsApp (Hijau) */
.social-icons a:nth-child(4):hover {
    background-color: #25D366;
    border-color: #25D366;
    color: white;
    transform: translateY(-5px);
}

/* =========================
   TABLET (max 1024px)
========================= */
@media (max-width: 1024px) {

    .hero-content h1 {
        font-size: 2rem;
    }

    .footer-container {
        flex-wrap: wrap;
        gap: 20px;
    }

    .footer-column {
        flex: 1 1 45%;
    }
}

/* =========================
   MOBILE (max 768px)
========================= */
@media (max-width: 768px) {

    /* HERO */
    .hero {
        height: auto;
        padding: 120px 20px;
    }

    .hero-content h1 {
        font-size: 1.6rem;
    }

    .hero-content p {
        font-size: 14px;
    }

    .hero-btns {
        flex-direction: row;
        gap: 12px;
    }

    .btn-primary,
    .btn-secondary {
        width: 35%;
        justify-content: center;
        padding: 10px;
    }

    /* PACKAGE */
    .popular-package {
        padding: 30px 15px;
    }

    .package-container {
        grid-template-columns: repeat(1, 1fr);
    }

    /* WHY SECTION */
    .why-cards-container {
        flex-direction: column;
        align-items: center;
    }

    .why-card {
        width: 100%;
        max-width: 90%;
    }

    /* FOOTER */
    .footer-container {
        flex-direction: column;
        text-align: left;
        padding: 20px;
    }

    .footer-column {
        text-align: left;
    }

    .social-icons {
        justify-content: center;
    }
}

/* =========================
   SMALL MOBILE (max 480px)
========================= */
@media (max-width: 480px) {

    .logo img {
        width: 120px;
        height: auto;
    }

    .hero-content h1 {
        font-size: 1.4rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
}