/* Reset asas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.contact-banner {
    background: #9E1F25;
    color: white;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    z-index: 1; /* Supaya tidak menutup dropdown menu navigasi anda jika ada */
}

.banner-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.banner-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Gaya untuk Tajuk Syarikat */
.company-title {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
}

.company-title h2 {
    font-size: 1.8rem;
    color: #000; 
    letter-spacing: 1px;
    font-weight: 700;
    text-transform: uppercase;
	font-family: 'Montserrat', sans-serif;
}

/* Container/Section Khas untuk 3 Maklumat Utama */
/* LEFT - CONTACT INFO */
.info-highlight-section{
    flex:1;
    min-width:320px;
}

/* Susunan Inline menggunakan Flexbox */
.contact-info-bar {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap; /* Supaya dia automatik turun bawah jika skrin kecil */
    gap: 20px;
}

/* Kotak Maklumat Individu */
.info-box {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 10px;
}

.info-box .icon {
    font-size: 24px;
    margin-bottom: 10px;
    background: white;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    margin: 0 auto 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.info-box h4 {
    color: #19516B;
    font-size: 1.3rem;
    margin-bottom: 8px;
    text-transform: uppercase;
	font-family: 'Poppins', sans-serif;
}

.info-box p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.5;
	font-family: 'Playfair Display', serif;
}

/* Section Utama untuk Peta dan Borang */
.contact-interaction-section {
    background-color: #ffffff;
    padding: 20px;
}

/* Wrapper menggunakan Grid */
.content-wrapper{
    display:flex;
    gap:40px;
    align-items:stretch;
    justify-content:space-between;
    flex-wrap:wrap;
}

/* Tajuk kecil dalam section */
.contact-interaction-section h3 {
    font-size: 1.4rem;
    color: #2d3748;
    margin-bottom: 20px;
    border-left: 4px solid #19516B;
    padding-left: 15px;
	font-family: 'Playfair Display', serif;
}

/* RIGHT - MAP */
.map-section{
    flex:1;
    min-width:320px;
}

/* Responsif Peta */
.map-responsive {
    width:100%;
    height:100%;
    overflow:hidden;
    border-radius:20px;
}

.map-responsive iframe {
    width:100%;
    height:100%;
    min-height:200px;
    border:0;
}

.contact-form-container{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.contact-form{
    width: 100%;
    max-width: 1000px;
    padding: 40px;
    border-radius: 24px;

    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border: 1px solid rgba(255,255,255,0.15);

    box-shadow:
        0 8px 32px rgba(0,0,0,0.2),
        inset 0 1px 1px rgba(255,255,255,0.1);

    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-form h2{
    font-size: 32px;
    color: #000;
    text-align: center;
    margin-bottom: -10px;
}

.contact-form p{
    text-align: center;
    color: #000;
    margin-bottom: 10px;
}

.input-group{
    display: flex;
    flex-direction: column;
}

.input-group label{
    margin-bottom: 8px;
    font-weight: 600;
    color: #000;
    font-size: 14px;
}

.input-group input{
    padding: 15px 18px;
    border-radius: 14px;
    border: 1px solid #000;

    background: rgba(255,255,255,0.06);

    color: #000;
    font-size: 15px;

    outline: none;

    transition: 0.3s ease;
}

.input-group input::placeholder{
    color: #000;
}

.input-group input:focus{
    border-color: #38bdf8;
    background: rgba(255,255,255,0.1);

    box-shadow: 0 0 15px rgba(56,189,248,0.3);
}

.contact-form button{
    margin-top: 10px;
    padding: 15px;

    border: none;
    border-radius: 14px;

    background: linear-gradient(
        135deg,
        #11998e,
        #38ef7d
    );

    color: white;
    font-size: 16px;
    font-weight: 600;

    cursor: pointer;

    transition: 0.3s ease;

    box-shadow: 0 6px 20px rgba(17,153,142,0.35);
}

.contact-form button:hover{
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(17,153,142,0.45);
}

@media(max-width: 600px){

    .contact-form{
        padding: 30px 20px;
    }

    .contact-form h2{
        font-size: 26px;
    }

}
.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);
}

/* Responsif: Kalau buka di phone, dia akan susun menegak */
@media (max-width: 768px) {
    .footer-column {
        text-align: left;   /* Semua content dalam kolom ikut kanan */
        margin-bottom: 20px; /* Supaya jarak bawah antar kolom mobile */
    }

    .footer-column h3 {
        text-align: left;   /* Tajuk ikut kanan */
    }

    .footer-column p,
    .footer-column li {
        text-align: left;   /* Semua teks ikut kanan */
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }

    .contact-banner {
        padding: 50px 15px;
    }

    .banner-content h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .banner-content p {
        font-size: 0.95rem;
        max-width: 100%; /* bagi full width */
        padding: 0 10px; /* bagi ruang kiri kanan */
    }

    .company-title h2{
        font-size: 1.4rem;
    }
    
    .info-box h4 {
        font-size: 1rem;
    }

    .info-box p {
        font-size: 0.95rem;
    }
    
	/* Tukar grid jadi 1 column */
    .content-wrapper {
		grid-template-columns: 1fr;
}

    /* MAP atas */
    .map-responsive{
        height:250px;
    }
}