/* --- 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; }
}

/* --- GLOBAL RESET --- */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }

/* --- HEADER (INDEX STYLE) --- */
nav { display: flex; justify-content: space-between; align-items: center; padding: 15px 8%; background: white; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.nav-logo { height: 60px; }
.nav-links { display: flex; align-items: center; gap: 40px; list-style: none; }
.nav-links li a { text-decoration: none; color: #333; font-weight: 600; }
.btn-primary.pulse-btn { background: #004a99; padding: 12px 25px; border-radius: 8px; animation: pulse 2s infinite; color: white !important; }

/* --- BLOG HERO --- */
.blog-hero { text-align: center; padding: 100px 8% 60px; background: #f8faff; }
.tag { color: #00c2a8; font-weight: 700; letter-spacing: 2px; }
.blog-hero h1 { font-size: 3.5rem; color: #002d5a; margin: 15px 0; }
.blog-hero h1 span { color: #00c2a8; }
.blog-hero p { color: #64748b; font-size: 1.2rem; max-width: 700px; margin: 0 auto; }

/* --- FEATURED POST --- */
.blog-container { max-width: 1200px; margin: 0 auto; padding: 0 8% 100px; }
.featured-post { 
    display: flex; 
    background: white; 
    border-radius: 30px; 
    overflow: hidden; 
    box-shadow: 0 20px 50px rgba(0, 74, 153, 0.1);
    margin-bottom: 80px;
    align-items: center;
}
.featured-img { flex: 1.2; height: 400px; }
.featured-img img { width: 100%; height: 100%; object-fit: cover; }
.featured-text { flex: 1; padding: 50px; }
.category { color: #00c2a8; font-weight: 700; font-size: 0.8rem; text-transform: uppercase; display: block; margin-bottom: 10px; }
.featured-text h2 { font-size: 2.2rem; color: #004a99; margin-bottom: 20px; line-height: 1.2; }
.featured-text p { color: #64748b; margin-bottom: 25px; line-height: 1.6; }
.post-meta { font-size: 0.9rem; color: #94a3b8; margin-bottom: 20px; }
.read-more { font-weight: 700; color: #004a99; text-decoration: none; transition: 0.3s; }
.read-more:hover { color: #00c2a8; padding-left: 10px; }

/* --- BLOG GRID --- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.blog-card { 
    background: white; 
    border-radius: 20px; 
    overflow: hidden; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
    transition: 0.4s ease;
    border: 1px solid #f1f5f9;
}
.blog-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0, 74, 153, 0.1); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.card-content { padding: 30px; }
.card-content h3 { color: #004a99; font-size: 1.3rem; margin-bottom: 15px; }
.card-content p { color: #64748b; font-size: 0.95rem; margin-bottom: 20px; }
.read-link { color: #00c2a8; font-weight: 700; text-decoration: none; }

/* --- FOOTER --- */
.footer-lux { background: #002d5a; color: white; padding: 60px 8%; margin-top: 50px; }
.footer-container { display: flex; justify-content: space-between; align-items: center; }
.footer-links { display: flex; gap: 30px; }
.footer-links a { color: white; text-decoration: none; opacity: 0.8; }

@keyframes pulse {
    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); }
}

@media (max-width: 900px) {
    .featured-post { flex-direction: column; }
    .featured-img { height: 250px; width: 100%; }
}

/* --- BLOG RESPONSIVE STYLES --- */

/* Navbar Base */
.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 Style */
.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 Logic */
    .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; width: 100%; }
    .dropdown-content { position: static; box-shadow: none; display: none; }
    .dropdown:hover .dropdown-content { display: block; }

    /* Featured Post Responsive (Image upar, Text neeche) */
    .featured-post {
        flex-direction: column !important;
        height: auto !important;
    }
    .featured-img, .featured-text {
        width: 100% !important;
        padding: 20px !important;
    }

    /* Blog Grid Fix */
    .blog-grid {
        grid-template-columns: 1fr !important; /* Mobile pe 1 column */
        gap: 20px;
        padding: 20px;
    }

    /* Footer Fix */
    .footer-grid { grid-template-columns: 1fr !important; text-align: center; }
    .footer-bottom { 
        flex-direction: column !important; 
        text-align: center; 
        margin: 0 !important; 
    }
    .footer-links { justify-content: center; margin-top: 15px !important; }
}

/* Tablet Adjustment */
@media (min-width: 768px) and (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: 1fr 1fr !important; /* Tablet pe 2 columns */
    }
}

/* 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 Blog Page Premium Button --- */
.btn-primary-nav {
    position: relative;
    padding: 12px 28px;
    background: #001a2c; /* Deep Dark Blue Base */
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    border-radius: 50px; /* Modern Pill Shape */
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    overflow: visible; 
    z-index: 1;
}

/* Continuous Flowing Background Gradient */
.btn-primary-nav::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: 50px;
    animation: flowColors 5s linear infinite; /* Colors continuous flow */
    filter: blur(4px); 
    opacity: 0.8;
}

/* Extra Glowing Aura (Hover Background Glow) */
.btn-primary-nav::after {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(45deg, #00d4ff, #004e92, #00fbff);
    background-size: 400%;
    z-index: -1;
    border-radius: 50px;
    filter: blur(15px); /* Deep Glow effect */
    animation: flowColors 5s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Hover Effects */
.btn-primary-nav:hover {
    transform: scale(1.08) translateY(-2px);
    color: #fff !important;
    letter-spacing: 2px;
}

.btn-primary-nav:hover::after {
    opacity: 1; /* Hover pe glow badh jayega */
}

/* Color Movement Logic */
@keyframes flowColors {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Navigation Links Style (Optional: Matching the premium feel) */
.nav-links li a:hover {
    color: #00d4ff !important;
    transition: 0.3s;
}

/* Mobile Alignment Fix for Blog */
@media (max-width: 1024px) {
    .btn-primary-nav {
        margin: 15px 0;
        width: fit-content;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}