/* --- Premium Theme Setup & Global Resets --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #2b3a4a;
    background-color: #fcfdfe;
    line-height: 1.6;
}

.container {
    width: 88%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 0;
}

h2 {
    font-size: 2.5rem;
    color: #111e2e;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.section-subtitle {
    text-align: center;
    color: #6c7a89;
    font-size: 1.05rem;
    margin-bottom: 15px;
}

.separator {
    width: 70px;
    height: 4px;
    background-color: #b3191f; 
    border: none;
    margin: 0 auto 50px auto;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    background-color: #b3191f;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover { background-color: #8c1015; }

.btn.btn-secondary {
    background-color: transparent;
    border: 2px solid #fff;
    margin-left: 15px;
}
.btn.btn-secondary:hover { background-color: #fff; color: #111; }

/* --- Sticky Header Navbar --- */
header {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 2000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h1 {
    font-size: 1.6rem;
    color: #111e2e;
    line-height: 1;
}

.logo h1 span { color: #b3191f; }

.motto {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: #6c7a89;
    display: block;
    margin-top: 4px;
}

nav ul { display: flex; list-style: none; }
nav ul li { margin-left: 24px; }
nav ul li a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 700;
    font-size: 0.9rem;
    transition: color 0.2s;
}
nav ul li a:hover { color: #b3191f; }

/* --- Hero Slide --- */
.hero {
    background: linear-gradient(rgba(10, 20, 33, 0.88), rgba(5, 10, 18, 0.9)), 
                url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1500&q=80') no-repeat center center/cover;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.badge {
    background: rgba(179, 25, 31, 0.2);
    border: 1px solid #b3191f;
    color: #ff4d52;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 20px;
    letter-spacing: 2px;
}

.hero-content h2 {
    color: #fff;
    font-size: 3.2rem;
    max-width: 950px;
    margin: 15px auto 25px auto;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.3rem;
    color: #cbd5e0;
    max-width: 750px;
    margin: 0 auto 35px auto;
    font-weight: 300;
}

/* --- Timeline Slide --- */
.timeline-section { background-color: #fafbfc; }
.timeline { position: relative; max-width: 850px; margin: 0 auto; }
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: #e2e8f0;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item { padding: 15px 40px; position: relative; width: 50%; }
.timeline-item::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    right: -7px;
    background: #fff;
    border: 4px solid #b3191f;
    top: 22px;
    border-radius: 50%;
    z-index: 5;
}

.left { left: 0; }
.right { left: 50%; }
.left::after { left: auto; right: -7px; }
.right::after { left: -7px; }

.content {
    padding: 24px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.year {
    font-size: 1.3rem;
    font-weight: bold;
    color: #b3191f;
    display: block;
    margin-bottom: 5px;
}

/* --- Business Diversity Slide --- */
.sectors { background-color: #f0f4f8; }
.vision-box {
    background: #fff;
    padding: 35px;
    border-radius: 8px;
    max-width: 900px;
    margin: 0 auto 50px auto;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    border-left: 5px solid #b3191f;
}

.vision-box p { font-style: italic; font-size: 1.15rem; color: #3a4a5a; line-height: 1.7; }
.quote-icon { font-size: 2rem; color: #e2e8f0; display: block; margin-bottom: 10px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 25px; }
.card {
    background: #fff;
    padding: 35px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    text-align: center;
}

.icon-box { font-size: 2.2rem; color: #b3191f; margin-bottom: 15px; }
.card h3 { margin-bottom: 10px; font-size: 1.35rem; color: #111e2e; }
.card p { font-size: 0.92rem; color: #6c7a89; margin-bottom: 20px; }

.brand-tags span {
    background: #f7fafc;
    color: #2d3748;
    padding: 5px 10px;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 4px;
    margin: 3px;
    display: inline-block;
    border: 1px solid #e2e8f0;
}

/* --- Leadership Slide --- */
.leadership-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.leader-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.leader-card.legacy { background: #fdf2f2; border-color: #fbcfe8; }
.leader-card h4 { font-size: 1.25rem; color: #111e2e; margin-bottom: 4px; }
.tenure { font-size: 0.85rem; color: #b3191f; font-weight: bold; margin-bottom: 12px; }
.credential { font-size: 0.9rem; color: #4a5568; display: block; }
.leader-card.wide { grid-column: span 2; background: #f7fafc; }

/* --- Footprint & Map Slide (Rewritten for Full-Width Layout) --- */
.footprint-section { 
    background-color: #111e2e; 
    color: #fff; 
}

.footprint-section h2 { 
    color: #fff; 
}

.full-width-network {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.full-width-network img {
    width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: contain;
}

.footprint-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
    margin-top: 20px;
}

.footprint-stat-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 25px 20px;
    border-radius: 6px;
    border-bottom: 3px solid #ff4d52;
    transition: transform 0.3s ease, background 0.3s ease;
}

.footprint-stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.footprint-stat-card h3 { 
    font-size: 2.2rem; 
    color: #ff4d52; 
    margin-bottom: 8px;
}

.stat-highlight { 
    color: #cbd5e0; 
    font-size: 1.05rem; 
    line-height: 1.4;
}

/* --- Strengths & Metrics Slide --- */
.stats-dashboard { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 50px; }
.stat-box { background: #fff; padding: 30px; border-radius: 6px; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.04); }
.stat-box i { font-size: 2rem; color: #b3191f; margin-bottom: 10px; }
.stat-box h3 { font-size: 2rem; margin-bottom: 5px; color: #111e2e; }
.stat-box p { font-size: 0.88rem; text-transform: uppercase; font-weight: bold; color: #6c7a89; }

.values-wrapper { background: #f7fafc; padding: 40px; border-radius: 8px; text-align: center; }
.values-wrapper h3 { margin-bottom: 25px; font-size: 1.4rem; color: #111e2e; }
.values-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; margin-bottom: 30px; }
.value-item { background: #fff; padding: 10px 25px; border-radius: 4px; font-weight: bold; border: 1px solid #e2e8f0; color: #2d3748; }

.referral-text { max-width: 800px; margin: 0 auto; color: #4a5568; font-size: 1.05rem; }
.referral-text i { color: #b3191f; margin-right: 5px; }

/* --- Contact & Footer Wrap --- */
.contact-section { background-color: #fafbfc; border-top: 1px solid #e2e8f0; }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 30px; }
.contact-info h3 { font-size: 1.5rem; margin-bottom: 15px; color: #111e2e; }
.contact-info p { margin-bottom: 15px; color: #4a5568; }
.contact-info i { color: #b3191f; margin-right: 10px; }

.contact-form { display: flex; flex-direction: column; gap: 15px; }
.contact-form input, .contact-form select, .contact-form textarea { padding: 14px; border: 1px solid #cbd5e0; border-radius: 4px; font-size: 1rem; outline: none; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: #b3191f; }

footer { background: #0b131f; color: #718096; text-align: center; padding: 25px 0; font-size: 0.85rem; border-top: 1px solid #1a202c; }

/* --- Brand Logos Layout System --- */
.hero-brand-ribbon {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
    background: rgba(255, 255, 255, 0.08);
    padding: 20px 40px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-brand-ribbon img {
    height: 35px;
    max-width: 110px;
    object-fit: contain;
    filter: brightness(0) invert(1); 
    opacity: 0.85;
    transition: opacity 0.3s, filter 0.3s;
}

.hero-brand-ribbon img:hover {
    opacity: 1;
    filter: none; 
}

.brand-logo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 15px;
    justify-items: center;
}

.brand-logo-grid.single-logo {
    grid-template-columns: 1fr;
}

.brand-logo-grid.hospitality-logos {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
}

.logo-wrapper {
    background: #fdfdfd;
    border: 1px solid #e2e8f0;
    padding: 10px;
    border-radius: 6px;
    width: 110px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.logo-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.logo-wrapper.text-logo {
    background: #111e2e;
}

.logo-wrapper.text-logo span {
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

/* --- Responsive Adjustments --- */
@media (max-width: 900px) {
    .navbar { flex-direction: column; gap: 15px; text-align: center; }
    nav ul li { margin: 0 10px; }
    .hero-content h2 { font-size: 2.3rem; }
    .contact-wrapper { grid-template-columns: 1fr; gap: 30px; }
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 60px; padding-right: 20px; }
    .timeline-item::after { left: 24px; }
    .right { left: 0; }
    .leader-card.wide { grid-column: span 1; }
    .hero-brand-ribbon { gap: 15px; padding: 15px 20px; border-radius: 15px; }
    .hero-brand-ribbon img { height: 25px; max-width: 80px; }
}

@media (max-width: 768px) {
    .footprint-stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ==========================================================================
   LOYALTY PROGRAMME DROPDOWN STYLES
   ========================================================================== */

/* The container <li> needed to position the dropdown content */
header nav ul li.dropdown {
    position: relative;
    display: inline-block;
}

/* Style and position the dropdown box hidden by default */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #1a1a1a; /* Matches dark premium theme background */
    min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
    z-index: 1000;
    top: 100%;
    left: 0;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 5px 0;
    margin-top: 5px;
}

/* Style the anchor links inside the dropdown */
.dropdown-content a {
    color: #ffffff !important;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    text-align: left;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Adjust icons inside dropdown items */
.dropdown-content a i {
    margin-right: 8px;
    width: 16px;
    color: #ffcc00; /* Matching gold icon accent */
}

/* Hover effect on dropdown links */
.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffcc00 !important;
}

/* Show the dropdown menu when hovering over the Loyalty Programme item */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Hero Ribbon Logos: Grayscale by default, color on hover */
.hero-brand-ribbon img {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.4s ease, opacity 0.4s ease, transform 0.3s ease;
}

.hero-brand-ribbon img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05); /* Optional: slight pop-out effect */
}

/* Diversity Card Logos: Grayscale by default, color on hover */
.logo-wrapper img {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.4s ease, opacity 0.4s ease;
}

/* Turns full color when a user hovers over the specific logo wrapper */
.logo-wrapper:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Moves the entire top logo ribbon slightly higher */
.hero-brand-ribbon {
    margin-top: 30px; /* Adjust this number (e.g., -30px) to pull it up even more */
    position: relative;
    z-index: 10;       /* Ensures it stays cleanly on top of any background panels */
}

/* Pushes the background frame of the following section lower */
#timeline {
    padding-top: 100px; /* Increase this number (e.g., 100px) to push it down further */
}

/* Removes the oval background frame while keeping the logos and effects intact */
.hero-brand-ribbon {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 10px 0 !important; /* Cleans up excess spacing */
}

/* Moves the Hero buttons slightly higher */
.hero-btns {
    margin-top: 15px;      /* Reduces spacing above the buttons to pull them up */
    margin-bottom: -25px;   /* Pushes up the space right below them */
}

/* --- Vehicle Booking Section --- */
.booking-section {
    background: #f8f9fb;
    border-top: 1px solid #e8eaed;
}
.brand-selector {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.brand-btn {
    width: 120px;
    height: 80px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 12px;
    transition: all 0.3s;
}
.brand-btn img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.brand-btn:hover { border-color: #b3191f; box-shadow: 0 4px 12px rgba(179,25,31,0.15); }
.brand-btn.active { border-color: #b3191f; box-shadow: 0 4px 16px rgba(179,25,31,0.25); background: #fff8f8; }
.booking-form-wrapper {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    max-width: 800px;
    margin: 0 auto;
}
.booking-amount-badge {
    text-align: center;
    background: #fff8f8;
    border: 1px solid #f5c6c8;
    color: #b3191f;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 1.1rem;
    margin-bottom: 30px;
}
.booking-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label { font-size: 0.9rem; font-weight: 600; color: #111e2e; }
.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #dde2e8;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #2b3a4a;
    transition: border 0.2s;
    font-family: 'Segoe UI', Arial, sans-serif;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #b3191f;
}
.bk-error {
    background: #fff0f0;
    border: 1px solid #f5c6c8;
    color: #b3191f;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}
.bk-submit-btn {
    width: 100%;
    padding: 16px;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}
.bk-note {
    text-align: center;
    color: #6c7a89;
    font-size: 0.85rem;
    margin-top: 14px;
}
/* Booking Modal */
.bk-modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bk-modal-box {
    background: #fff;
    border-radius: 12px;
    padding: 50px 40px;
    text-align: center;
    max-width: 460px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.bk-modal-icon { font-size: 3.5rem; color: #27ae60; margin-bottom: 20px; }
.bk-modal-box h3 { font-size: 1.6rem; color: #111e2e; margin-bottom: 12px; }
.bk-modal-box p { color: #6c7a89; margin-bottom: 10px; font-size: 0.95rem; }
.bk-modal-box .btn { margin-top: 20px; }
@media (max-width: 600px) {
    .booking-form-grid { grid-template-columns: 1fr; }
    .brand-btn { width: 90px; height: 65px; }
    .booking-form-wrapper { padding: 25px 20px; }
}
