/* --- GLOBAL STYLES --- */
:root {
    --primary-blue: #004a99;
    --teal: #00c2a8;
    --dark-blue: #002d5b;
    --text-gray: #666;
    --light-bg: #f8fafd;
    --white: #ffffff;
    --border-color: #eee;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    line-height: 1.6;
    background-color: #fff;
    color: #333;
}

/* --- NAVBAR & DROPDOWN --- */
header {
    padding: 15px 8%;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

nav { display: flex; justify-content: space-between; align-items: center; }

.logo { font-weight: 700; color: var(--primary-blue); font-size: 1.1rem; text-decoration: none; }
.logo span { display: block; font-size: 0.7rem; color: var(--text-gray); font-weight: 400; }

.nav-links { display: flex; list-style: none; align-items: center; }
.nav-links li { margin-left: 25px; position: relative; }
.nav-links a { text-decoration: none; color: #444; font-size: 0.85rem; font-weight: 500; }

.active-tab { background: #eef4ff; color: var(--primary-blue) !important; padding: 8px 18px; border-radius: 20px; font-weight: 600; }

.dropdown-content {
    display: none; position: absolute; background: var(--white); min-width: 270px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-radius: 8px; top: 100%; left: 0;
    border-top: 4px solid var(--teal); max-height: 220px; overflow-y: auto; padding: 10px 0;
}

.dropdown:hover .dropdown-content { display: block; }
.dropdown-content li a { padding: 12px 20px; display: block; border-bottom: 1px solid #f8f8f8; color: #333 !important; }
.dropdown-content li a:hover { background: #f9f9f9; color: var(--teal) !important; }

.btn-book-nav { background: var(--primary-blue); color: white !important; padding: 10px 25px; border-radius: 6px; font-weight: 600; }

/* --- CONTACT SECTION --- */
.contact-section { padding: 60px 8% 100px; background-color: #fcfdfe; }

.contact-header { text-align: left; margin-bottom: 50px; }
.section-tag { color: var(--teal); font-weight: 700; font-size: 0.85rem; margin-bottom: 10px; }
.contact-header h1 { font-size: 3rem; color: var(--dark-blue); font-weight: 800; margin-bottom: 15px; }
.sub-text { color: var(--text-gray); max-width: 600px; font-size: 1.1rem; }

.contact-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Form Styles */
.contact-form-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.03);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 25px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; color: #444; }

input, select, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e8f0;
    border-radius: 8px;
    background: #fbfcfe;
    font-size: 0.95rem;
    outline: none;
    transition: 0.3s;
}

input:focus, textarea:focus { border-color: var(--primary-blue); box-shadow: 0 0 0 3px rgba(0,74,153,0.05); }

.btn-send {
    background: var(--primary-blue);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn-send:hover { background: var(--dark-blue); transform: translateY(-2px); }

/* Info Sidebar */
.info-card {
    background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.03);
    margin-bottom: 25px;
}

.info-item { display: flex; gap: 20px; margin-bottom: 25px; }
.info-item:last-child { margin-bottom: 0; }
.info-icon {
    background: #eef4ff; width: 45px; height: 45px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px; font-size: 1.2rem; color: var(--primary-blue);
}

.info-text h4 { font-size: 0.75rem; color: var(--primary-blue); margin-bottom: 5px; letter-spacing: 0.5px; }
.info-text p { font-size: 0.95rem; color: #555; font-weight: 500; }

.map-container { overflow: hidden; border-radius: 15px; box-shadow: 0 4px 25px rgba(0,0,0,0.03); }

/* --- FOOTER --- */
footer { background: var(--primary-blue); color: white; padding: 70px 8% 25px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 60px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-col h3 { font-size: 1.4rem; margin-bottom: 20px; }
.footer-col h4 { margin-bottom: 20px; font-size: 1.1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; opacity: 0.8; font-size: 0.9rem; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 25px; font-size: 0.8rem; opacity: 0.6; }
.footer-links a { color: white; text-decoration: none; margin-left: 20px; }

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .contact-container { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .contact-header h1 { font-size: 2.5rem; }
}



/* --- BROAD NAV LINKS --- */
.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 45px; /* Broad spacing for luxury feel */
    margin: 0;
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-links li a:hover:not(.btn-primary) {
    color: #004a99;
    transform: translateY(-2px);
}

/* --- PREMIUM PULSE BUTTON --- */
.nav-links .btn-primary {
    background: #004a99;
    padding: 12px 28px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 74, 153, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-links .btn-primary:hover {
    transform: scale(1.05) translateY(-2px);
    background: #00c2a8;
    box-shadow: 0 8px 20px rgba(0, 194, 168, 0.3);
}

.pulse-btn {
    animation: navPulse 2s infinite;
}

@keyframes navPulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 74, 153, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(0, 74, 153, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 74, 153, 0); }
}

/* --- DROPDOWN BOX FIX (No Overflow) --- */
.dropdown { position: relative; }

.dropdown-content {
    display: none;
    position: absolute;
    background: #ffffff;
    min-width: 320px; /* Width badha di taaki text andar rahe */
    box-shadow: 0px 20px 40px rgba(0,0,0,0.15);
    z-index: 1000;
    border-radius: 12px;
    top: 100%;
    left: 0;
    padding: 10px 0;
    border: 1px solid #eef2f6;
}

.dropdown-content li a {
    color: #333 !important;
    padding: 12px 20px !important;
    display: block !important;
    font-size: 0.95rem !important;
    white-space: normal !important; /* Text wrapping fix */
    line-height: 1.4;
}

.dropdown-content li a:hover {
    background: #f0f7ff;
    color: #004a99 !important;
    padding-left: 25px !important;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}



/* --- CONTACT SECTION WRAPPER --- */
.contact-section {
    padding: 80px 8%;
    background: #f8faff;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #004a99 0%, #00c2a8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- THE GRID CONTAINER --- */
.contact-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- LUXURY FORM CARD --- */
.contact-form-card {
    background: #ffffff;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 74, 153, 0.08);
    border: 1px solid #f0f4f8;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.form-group {
    flex: 1;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 700;
    color: #004a99;
    margin-bottom: 10px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Modern Inputs */
input, select, textarea {
    padding: 15px 20px;
    border: 2px solid #edf2f7;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fcfdfe;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #00c2a8;
    background: #fff;
    box-shadow: 0 0 15px rgba(0, 194, 168, 0.1);
    transform: translateY(-2px);
}

/* File Upload Custom Style */
.file-upload {
    background: #f0f7ff;
    border: 2px dashed #004a99;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
}

/* The Animated Button */
.btn-send {
    width: 100%;
    padding: 18px;
    background: #004a99;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn-send span {
    transition: transform 0.4s ease;
}

.btn-send:hover {
    background: #00c2a8;
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 194, 168, 0.3);
}

.btn-send:hover span {
    transform: translateX(10px) translateY(-5px) rotate(-15deg); /* Plane udne lagega */
}

/* --- SIDEBAR GLASS EFFECT --- */
.contact-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    background: linear-gradient(135deg, #004a99 0%, #003366 100%);
    padding: 40px;
    border-radius: 30px;
    color: white;
    box-shadow: 0 20px 50px rgba(0, 51, 102, 0.2);
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: center;
}

.info-icon {
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}

.info-item:hover .info-icon {
    background: #00c2a8;
    transform: rotate(15deg);
}

.info-text h4 {
    font-size: 0.8rem;
    color: #00c2a8;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.info-text p {
    font-size: 1rem;
    font-weight: 500;
}

/* Map Frame */
.map-container {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border: 5px solid white;
}

/* Responsive Fix */
@media (max-width: 968px) {
    .contact-container { grid-template-columns: 1fr; }
    .form-row { flex-direction: column; }
}


/* --- CONTACT PAGE RESPONSIVE FIXES --- */

/* Resetting those heavy margins from HTML */
.breadcrumb { 
    margin-left: 5% !important; 
    padding: 20px 0;
}
.sub-text { 
    margin-left: auto !important; 
    margin-right: auto !important; 
    max-width: 600px;
    text-align: center;
}

/* Base Navbar */
.nav-logo { height: 6rem !important; width: auto !important; }
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 10px 5%; position: relative; background: #fff; }

/* Hamburger Icon */
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; z-index: 1001; }
.hamburger span { width: 30px; height: 3px; background: #333; transition: 0.3s; }

@media (max-width: 1024px) {
    .hamburger { display: flex; }
    .nav-links {
        display: none; position: absolute; top: 100%; left: 0; width: 100%;
        background: white; flex-direction: column; padding: 20px 0;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1); z-index: 1000;
    }
    .nav-links.active { display: flex; }
    .nav-links li { margin: 15px 0; text-align: center; }

    /* Contact Container Fix: Form upar, Sidebar niche */
    .contact-container {
        flex-direction: column !important;
        gap: 30px;
        padding: 20px;
    }

    .contact-form-card, .contact-info-sidebar {
        width: 100% !important;
    }

    /* Form Rows Fix: 2 inputs ki jagah mobile pe 1 input per row */
    .form-row {
        flex-direction: column !important;
        gap: 0;
    }
    
    .form-group { width: 100% !important; }

    /* Footer Fix */
    .footer-grid { grid-template-columns: 1fr !important; text-align: center; }
    .footer-bottom { flex-direction: column !important; text-align: center; }
    .footer-links { justify-content: center; margin-top: 15px !important; }
}

/* Hamburger Animation */
.toggle span:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); }
.toggle span:nth-child(2) { opacity: 0; }
.toggle span:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); }


/* --- Rios Enterprise Navbar Button --- */
.btn-primary-nav {
    position: relative;
    padding: 12px 28px;
    background: #001a2c;
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    border-radius: 50px;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    z-index: 1;
}

/* --- Premium Send Message Button --- */
.btn-send {
    position: relative;
    width: 100%; /* Form mein full width behtar lagta hai */
    padding: 16px;
    background: #001a2c;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.4s ease;
    z-index: 1;
    overflow: visible;
    margin-top: 10px;
}

/* Common Flowing Animation Logic */
.btn-primary-nav::before, 
.btn-send::before {
    content: '';
    position: absolute;
    top: -3px; left: -3px; right: -3px; bottom: -3px;
    background: linear-gradient(45deg, #00d4ff, #004e92, #00d4ff, #00fbff);
    background-size: 400%;
    z-index: -1;
    border-radius: inherit;
    animation: flowColors 5s linear infinite;
    filter: blur(4px);
    opacity: 0.8;
}

/* Hover Aura Glow */
.btn-primary-nav::after,
.btn-send::after {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(45deg, #00d4ff, #004e92, #00fbff);
    background-size: 400%;
    z-index: -1;
    border-radius: inherit;
    filter: blur(15px);
    animation: flowColors 5s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Interactions */
.btn-primary-nav:hover,
.btn-send:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.2);
}

.btn-primary-nav:hover::after,
.btn-send:hover::after {
    opacity: 1;
}

/* Animation Keyframes */
@keyframes flowColors {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating Chat Pulse */
.chat-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #00d4ff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 1000;
    animation: floatPulse 2s infinite;
}

@keyframes floatPulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(0, 212, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0); }
}