:root {
    --primary-color: #00205B;
    /* Deep Navy */
    --secondary-color: #C69214;
    /* Gold */
    --accent-color: #00A3E0;
    /* Sky Blue */
    --text-dark: #1A1A1A;
    --text-light: #FFFFFF;
    --background-light: #F4F7F6;
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--background-light);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.btn-primary:hover {
    background-color: #b58512;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

/* Header */
header {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
}

.logo span {
    padding-top: 4px;
    /* Optical alignment */
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 3px;
    transition: var(--transition);
}

/* Pin Positions (Calibrated for new split map) */
.pin-subang {
    top: 48%;
    left: 16%;
}

/* Selangor area */
.pin-ipoh {
    top: 38%;
    left: 15%;
}

/* Perak area */
.pin-langkawi {
    top: 18%;
    left: 11%;
}

/* Kedah/Perlis area */
.pin-jb {
    top: 68%;
    left: 24%;
}

/* Johor tip */
.pin-kb {
    top: 25%;
    left: 23%;
}

/* Kelantan area */
.pin-kk {
    top: 8%;
    left: 81%;
}

/* Sabah West Coast (Kota Kinabalu) - Moved Up & Right to coast */
.pin-kuching {
    top: 62%;
    left: 58%;
}

/* Sarawak West (Kuching) */
.pin-sandakan {
    top: 16%;
    left: 93%;
}

/* Sabah East Coast (Sandakan) - Moved Up */

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 40px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    position: relative;
}

.nav-link:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(0, 32, 91, 0.4), rgba(0, 32, 91, 0.6)), url('assets/images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-light);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Stats Section (Large Numbers) */
.stats {
    background-color: white;
    padding: 80px 0;
    text-align: center;
}

.stats-large-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    max-width: 900px;
    margin: 60px auto 0;
}

@media (min-width: 768px) {
    .stats-large-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2x2 grid like reference */
    }
}

.stat-large-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 5rem;
    font-weight: 200;
    /* Ultra thin like reference */
    color: #cbd5e1;
    /* Light grey/silver color */
    line-height: 1;
    margin-bottom: 15px;
    font-family: 'Inter', sans-serif;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: capitalize;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Airlines Sections */
.airlines {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.airline-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.airline-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    /* Fixed width for consistency */
    height: 80px;
    /* Fixed height for consistency */
    /* Remove text styles */
    transition: var(--transition);
    filter: grayscale(100%);
    /* Optional: Make them grayscale initially for uniform look, colorful on hover? Or just opacity. Let's stick to opacity for now. */
    opacity: 0.7;
}

.airline-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.airline-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Map Section */
.locations-map {
    padding: 80px 0;
    background-color: white;
}

.map-container {
    position: relative;
    max-width: 900px;
    margin: 40px auto;
}

.map-image {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.8;
    /* Slightly fade map to make pins pop */
}

.map-pin {
    position: absolute;
    width: 20px;
    height: 20px;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
}

/* Refined Map Pins (Red style) */
.pin-dot {
    width: 16px;
    height: 16px;
    background-color: #D93025;
    /* Red color from reference */
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.map-pin:hover .pin-dot {
    transform: scale(1.3);
    background-color: #B31E12;
    /* Darker red on hover */
}

.pin-tooltip {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 10px 15px;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    text-align: center;
}

.map-pin:hover .pin-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: 30px;
    /* Slight float up animation */
}

/* Programs Section */
.programs {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.section-title p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.program-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-top: 4px solid var(--secondary-color);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.program-content {
    padding: 30px;
}

.program-price {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 15px 0;
}

.program-features {
    margin: 20px 0;
}

.program-features li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    font-size: 0.9rem;
    color: #555;
}

.program-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Footer */
footer {
    background-color: #111;
    color: #888;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #222;
    padding-top: 20px;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        /* Keep row for logo and burger */
        flex-wrap: wrap;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding-top: 20px;
        background-color: var(--primary-color);
        position: absolute;
        top: 60px;
        left: 0;
        padding-bottom: 20px;
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-buttons {
        flex-direction: column;
    }
}