/* --- Root Variables & Viewport Fix --- */
:root {
    --primary: #004aad;
    --secondary: #00c6ff;
    --dark: #333;
    --light: #f4f7f6;
    --accent: #ffcc00;
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--light);
    padding-bottom: 100px; 
}

/* --- Global Spacing Logic --- */
section {
    padding: 60px 20px;
    max-width: 1400px; 
    margin: 0 auto;
    box-sizing: border-box;
}

/* --- Header & Logo --- */
header {
    background: white;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1001; 
    box-sizing: border-box; 
}

/* Added wrap protection for the header buttons */
header nav, .header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap; 
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 100px;
    width: auto;
}

.logo-text {
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--primary);
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, rgba(11, 19, 32, 0.85) 0%, rgba(11, 19, 32, 0.7) 100%),
                url('backgroundimg.jpeg');
    background-size: cover;
    background-position: 70% center;
    background-repeat: no-repeat;
    min-height: 65vh;
    padding: 100px 20px;
    color: #FFFFFF; /* Pure White */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4); /* Subtle black blur */
    font-weight: 600; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero h1 {
    font-family: 'Playfair Display', serif; 
    font-weight: 900;
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.hero p {
    font-weight: 600;
    font-size: 1.2rem;
}

/* --- Grid & Cards --- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 20px 20px;
}

.card, .destination-card {
    background-color: #F5F5DC !important;
    border: 1px solid #e2d1b3;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    color: #333333;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.card:hover, .destination-card:hover {
    transform: translateY(-5px);
    background-color: #f0e9d2 !important;
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    padding-bottom: 5px;
    padding-left: 5px;
    border-bottom: 4px solid #ffde59;
    display: inline-block;
}

h2 {
    font-family: 'Playfair Display', serif; 
    font-size: 2.5rem;
    color: #004AAD; 
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 25px;
    display: inline-block; 
    border-bottom: 5px solid #ffde59;
    padding-bottom: 8px;
}

/* --- Form Styling --- */
.form-container {
    max-width: 600px;
    margin: 50px auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group { margin-bottom: 15px; }
input, select { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 5px; }

.btn-apply, .btn-dest {
    background: var(--accent);
    color: var(--dark);
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.btn-dest { background-color: red; color: #000; }

/* --- Modal Overlay --- */
.modal-overlay {
    display: flex;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 30px rgba(0,0,0,0.5);
    border: 3px solid #004AAD;
}

.alert-title { color: #e63946; font-size: 28px; font-weight: 900; margin-bottom: 15px; }
.alert-text { font-size: 18px; color: #333; line-height: 1.6; margin-bottom: 20px; }
.close-btn { position: absolute; top: 10px; right: 20px; font-size: 30px; cursor: pointer; color: #999; }
.modal-action-btn { background-color: #004AAD; color: white; padding: 12px 25px; border: none; border-radius: 5px; font-weight: bold; cursor: pointer; font-size: 16px; }
.modal-action-btn:hover { background-color: #ffde59; color: #000; }

/* --- Image Slider --- */
.slider-container { position: relative; width: 100%; overflow: hidden; border-top-left-radius: 10px; border-top-right-radius: 10px; }
.slider-track { display: flex; transition: transform 0.5s ease-in-out; width: 100%; }
.slider-container img.card-img { flex: 0 0 100%; width: 100%; object-fit: cover; aspect-ratio: 16 / 9; margin: 0; }
.slider-arrow { cursor: pointer; position: absolute; top: 50%; transform: translateY(-50%); padding: 16px; color: white; font-weight: bold; font-size: 20px; background-color: rgba(0, 0, 0, 0.4); border: none; transition: 0.3s; z-index: 10; }
.slider-arrow:hover { background-color: rgba(0, 0, 0, 0.8); }
.prev { left: 0; border-radius: 0 3px 3px 0; }
.next { right: 0; border-radius: 3px 0 0 3px; }

/* --- Footer --- */
.main-footer {
    background-color: #004AAD !important;
    color: #ffffff;
    padding: 60px 20px 20px 20px;
    margin-top: 50px;
    width: 100%;
}

.footer-container {
    max-width: 100%;
    padding: 0 40px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-logo-img {
    height: 120px;
    width: auto;
}

.footer-brand-name, .main-footer h2 {
    font-family: 'Poppins', sans-serif !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    font-size: 1.8rem;
    color: #ffde59;
    margin-bottom: 10px;
    display: block;
}

.footer-description { color: #ffffff; opacity: 0.9; max-width: 450px; line-height: 1.6; }
.footer-section.contact { text-align: right; }
.footer-section.contact h3 { color: #ffde59; margin-bottom: 20px; }
.contact-link { color: #ffffff; text-decoration: none; }
.contact-link:hover { color: #ffde59; }

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    margin-top: 40px;
    width: 100%;
}

/* --- Sticky Offer Bar --- */
.sticky-offer-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #0b1320;
    color: white;
    padding: 12px 0;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.3);
    z-index: 9999;
    border-top: 3px solid #f1c40f;
}

.sticky-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.sticky-tag { background: #f1c40f; color: #000; padding: 4px 10px; font-size: 0.7rem; font-weight: bold; border-radius: 4px; text-transform: uppercase; }
.sticky-text { margin: 0; font-size: 1.1rem; flex-grow: 1; margin-left: 15px; }
.sticky-text strong { color: #f1c40f; }
.sticky-actions { display: flex; gap: 10px; }
.sticky-btn { padding: 8px 18px; border-radius: 5px; text-decoration: none; font-weight: bold; font-size: 0.9rem; transition: 0.3s; }
.call-btn { background: transparent; border: 2px solid #f1c40f; color: #f1c40f; }
.call-btn:hover { background: #f1c40f; color: #000; }
.apply-btn { background: #f1c40f; color: #000; }

/* --- WhatsApp Section --- */
.whatsapp-contact-section { background-color: #f9f9f9; padding: 40px 20px; text-align: center; border-top: 1px solid #eee; }
.whatsapp-contact-section h3 { font-size: 1.5rem; color: #0b1320; margin-bottom: 20px; }
.whatsapp-footer-btn { background-color: #25D366; color: white; padding: 15px 30px; text-decoration: none; font-size: 1.1rem; font-weight: bold; border-radius: 50px; display: inline-flex; align-items: center; gap: 10px; transition: 0.3s; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.whatsapp-footer-btn:hover { background-color: #128C7E; transform: translateY(-3px); }

/* --- FIXED Responsive Media Queries --- */
@media screen and (max-width: 768px) {
    header { 
        padding: 15px 15px; 
        flex-direction: column; /* Stacks logo and buttons */
        gap: 15px;
        height: auto;
    }

    header nav, .header-actions { 
        display: flex;
        flex-wrap: wrap; 
        justify-content: center;
        gap: 10px;
        width: 100%;
    }

    .btn-apply, .btn-dest {
        padding: 10px 15px;
        font-size: 0.85rem;
        flex: 1;
        text-align: center;
        max-width: 160px;
    }

    .logo-img { height: 60px; } 
    .logo-text { font-size: 1.1rem; }
    
    .hero h1 { font-size: 1.8rem; }
    .hero p { font-size: 1rem; }

    .grid { padding: 10px 15px; gap: 15px; }
    
    /* Find this inside your @media screen and (max-width: 768px) block */
    .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 30px; /* Increased side padding from 15px to 30px */
    width: 100%;
    box-sizing: border-box; /* Crucial: ensures padding doesn't push width over 100% */
    }
    /* Find this in your mobile media query */
    .footer-section.contact {
    text-align: center; /* Centers the heading */
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers the individual lines of text */
    }

    .footer-section.contact p {
    text-align: center;
    width: 100%;
    }
    /* Add this inside the mobile media query */
    .whatsapp-contact-section {
    background-color: #ffffff; 
    padding: 30px 20px;
    text-align: center;
    border: 1px solid #eee; /* Ensuring the border is defined */
    border-radius: 10px;
    margin: 20px auto; /* Centers the box */
    max-width: 90%; /* Keeps it from touching or overflowing edges */
    box-sizing: border-box; /* Includes the border in the width calculation */
    }
    .logo-title-wrapper { justify-content: center; }

    .footer-bottom {
    text-align: center;
    padding: 20px 0;
    width: 100%;
    display: flex;
    justify-content: center;
    }
    
    .sticky-content { flex-direction: column; gap: 10px; text-align: center; }
    .sticky-tag { display: none; }
    .sticky-text { margin: 0; font-size: 0.9rem; }

    .logo-titles {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    p { margin: 0; }
}

/* to maintain scrolling behaviour*/
html {
  scroll-behavior: smooth;
}

.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #eee; margin-bottom: 10px; }
.faq-question { width: 100%; text-align: left; padding: 15px; background: none; border: none; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; }
.faq-answer { padding: 0 15px 15px; display: none; color: #666; }
.faq-item.active .faq-answer { display: block; }

/* Unified Portal Section */
.portal-cta {
    background-color: #004aad; /* Matches your brand blue */
    color: white;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

/* Ensure the box inside the section looks clean */
.portal-box h2 {
    color: #ffcc00; /* Yellow accent */
    border-bottom: none; /* Removes the underline often found in your h2 */
    margin-bottom: 10px;
    font-size: 2rem;
}

.portal-cta p {
    margin-bottom: 25px;
    font-size: 1.1rem;
}