/* ==========================================
   1. GLOBAL STYLES & VARIABLES
   ========================================== */
:root {
    --primary-dark: #0b1a4a;
    --primary-light: #1e3a8a;
    --accent-yellow: #facc15;
    --accent-green: #10b981;
    --text-dark: #333333;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-gray: #eef2f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-light);
    overflow-x: hidden;
    color: var(--text-dark);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ==========================================
   2. HEADER & TOP BAR
   ========================================== */
.top-bar {
    background-color: var(--primary-dark);
    color: #fff;
    text-align: center;
    padding: 10px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.top-bar strong {
    color: var(--accent-yellow);
    cursor: pointer;
}

.main-header {
    background-color: #fff;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1000;
}

.main-header .logo img {
    max-height: 50px;
    width: auto;
}

.main-header .menu-icon {
    font-size: 24px;
    color: var(--primary-dark);
    cursor: pointer;
}

.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* ==========================================
   3. HERO SECTION & FORM
   ========================================== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    padding: 60px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    color: white;
    min-height: 80vh;
}

.hero-text { flex: 1; }
.hero-text h1 { font-size: 38px; font-weight: 700; line-height: 1.3; margin-bottom: 20px; }
.hero-text p { font-size: 16px; line-height: 1.8; color: #cbd5e1; margin-bottom: 30px; }

/* Blinking Yellow Call Button */
.btn-call-hero {
    display: inline-block;
    padding: 15px 35px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    animation: blinkYellow 1.5s infinite;
}

@keyframes blinkYellow {
    0% { background-color: var(--primary-dark); color: #fff; box-shadow: 0 0 0px transparent; border: 2px solid var(--accent-yellow); }
    50% { background-color: var(--accent-yellow); color: var(--primary-dark); box-shadow: 0 0 20px var(--accent-yellow); border: 2px solid var(--accent-yellow); }
    100% { background-color: var(--primary-dark); color: #fff; box-shadow: 0 0 0px transparent; border: 2px solid var(--accent-yellow); }
}

/* Form Styles */
.hero-form-box {
    flex: 0 0 400px;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    color: var(--text-dark);
}

.form-group { margin-bottom: 18px; position: relative; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; color: var(--primary-dark); }
.form-group label span { color: red; }
.form-control {
    width: 100%; padding: 12px 15px;
    border: 1px solid #cbd5e1; border-radius: 6px;
    font-size: 14px; font-family: inherit;
    box-sizing: border-box; outline: none; transition: 0.3s;
}
.form-control:focus { border-color: var(--primary-dark); }
.phone-input-group { display: flex; align-items: center; border: 1px solid #cbd5e1; border-radius: 6px; overflow: hidden; }
.phone-flag { background: #f1f5f9; padding: 12px; border-right: 1px solid #cbd5e1; display: flex; align-items: center; gap: 5px; font-size: 14px; }
.phone-input-group input { border: none; border-radius: 0; flex: 1; }
.btn-submit {
    width: 100%; background: var(--primary-dark); color: #fff; border: none;
    padding: 15px; font-size: 16px; font-weight: 600; border-radius: 6px;
    cursor: pointer; transition: 0.3s;
}
.btn-submit:hover { background: var(--primary-light); }

/* Custom Popup Form Field */
.custom-select-trigger { cursor: pointer; background: url('data:image/svg+xml;utf8,<svg fill="%23333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 10px center; }
.select-popup-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); z-index: 9999;
    display: none; justify-content: center; align-items: center;
    opacity: 0; transition: opacity 0.3s;
}
.select-popup-overlay.active { display: flex; opacity: 1; }
.select-popup-box {
    background: #fff; width: 90%; max-width: 400px;
    border-radius: 12px; padding: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transform: translateY(50px); transition: transform 0.3s;
}
.select-popup-overlay.active .select-popup-box { transform: translateY(0); }
.popup-header { display: flex; justify-content: space-between; font-weight: 600; font-size: 18px; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid #eee; }
.popup-close { cursor: pointer; color: #ef4444; font-size: 22px; }
.popup-option {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 0; border-bottom: 1px solid #f1f5f9; cursor: pointer; font-size: 15px; color: var(--text-dark);
}
.popup-option input[type="radio"] { accent-color: var(--primary-dark); transform: scale(1.2); }

/* ==========================================
   4. WHY CHOOSE US
   ========================================== */
.why-choose { padding: 80px 5%; text-align: center; background: #fff; }
.section-title { font-size: 32px; color: var(--primary-dark); margin-bottom: 50px; font-weight: 700; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-bottom: 50px; }
.feature-item { text-align: center; }
.feature-icon { font-size: 40px; color: var(--primary-dark); margin-bottom: 15px; }
.feature-item h3 { font-size: 18px; color: var(--primary-dark); margin-bottom: 10px; }
.feature-item p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.why-choose-banner { max-width: 683px; margin: 0 auto 30px auto; display: block; border-radius: 12px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); width: 100%; height: auto; }

/* ==========================================
   5. OUR KEY SERVICES (FLIP CARDS)
   ========================================== */
.key-services-section { padding: 80px 5%; background: #607d8b; text-align: center; }
.key-services-section .section-title { color: #fff; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }

.service-card-wrapper { background-color: transparent; height: 280px; perspective: 1000px; }
.service-card-inner { position: relative; width: 100%; height: 100%; transition: transform 0.6s; transform-style: preserve-3d; border-radius: 12px; box-shadow: 0 10px 20px rgba(0,0,0,0.15); }
.service-card-wrapper:hover .service-card-inner { transform: rotateY(180deg); }

.card-front, .card-back {
    position: absolute; width: 100%; height: 100%;
    -webkit-backface-visibility: hidden; backface-visibility: hidden;
    border-radius: 12px; padding: 30px 20px;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
}

.card-front { background-color: #081336; color: white; }
.card-front i { font-size: 45px; margin-bottom: 20px; }
.card-front h3 { font-size: 18px; margin-bottom: 15px; font-weight: 600; }
.card-front p { font-size: 13px; color: #cbd5e1; line-height: 1.6; }

.card-back { background-color: var(--accent-green); color: white; transform: rotateY(180deg); }
.card-back h3 { font-size: 20px; margin-bottom: 15px; }
.card-back p { font-size: 14px; margin-bottom: 20px; line-height: 1.6; }
.btn-backend { border: 2px solid #fff; background: transparent; color: #fff; padding: 10px 20px; border-radius: 5px; font-weight: 600; cursor: pointer; transition: 0.3s; }
.btn-backend:hover { background: #fff; color: var(--accent-green); }

/* ==========================================
   6. HOW TO BOOK
   ========================================== */
.how-to-book { padding: 80px 5%; text-align: center; background: #fff; }
.how-to-book p { font-size: 18px; color: var(--text-dark); margin-bottom: 40px; }
.book-img { max-width: 1024px; width: 100%; height: auto; margin: 0 auto; display: block; }

/* ==========================================
   7. FOOTER
   ========================================== */
.site-footer { background-color: var(--bg-light); color: var(--primary-dark); padding-top: 40px; }
.footer-top {
    background-color: var(--bg-gray);
    padding: 50px 20px; text-align: center;
    border-radius: 20px 20px 0 0;
}
.footer-top h2 { font-size: 24px; margin-bottom: 20px; }
.footer-desc { max-width: 800px; margin: 0 auto 30px auto; line-height: 1.6; color: var(--text-dark); }
.btn-footer-book {
    background-color: var(--primary-dark); color: #fff;
    padding: 12px 30px; border-radius: 8px; text-decoration: none;
    font-weight: 600; display: inline-flex; align-items: center; gap: 10px; transition: 0.3s;
}
.btn-footer-book:hover { background-color: var(--primary-light); }
.footer-bottom { background-color: var(--primary-dark); color: #fff; padding: 30px 20px; }
.footer-bottom-flex { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.footer-links { list-style: none; display: flex; gap: 15px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: #fff; text-decoration: none; font-size: 14px; transition: color 0.3s; }
.footer-links a:hover { color: #00d2ff; }
.copyright p { font-size: 13px; color: #cbd5e1; margin: 0; text-align: center; }

/* ==========================================
   8. MOBILE RESPONSIVENESS
   ========================================== */
@media (max-width: 992px) {
    .hero-section { flex-direction: column; text-align: center; padding-top: 50px; }
    .hero-form-box { width: 100%; flex: auto; max-width: 500px; }
    .why-choose-banner { width: 90%; }
    .section-title { font-size: 26px; }
}