/* style.css */
:root {
    --primary-color: #0d213b; /* Deep Navy Blue for Trust/Legal */
    --secondary-color: #d4af37; /* Professional Gold/Accent */
    --bg-light: #f8f9fa;
    --text-dark: #333333;
    --text-muted: #6c757d;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    margin: 0;
    padding: 0;
}

/* Header & Navigation */
.navbar-custom {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 0;
}
.navbar-custom .navbar-brand {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 24px;
}
.navbar-custom .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    margin: 0 10px;
    transition: 0.3s;
}
.navbar-custom .nav-link:hover {
    color: var(--secondary-color);
}
.login-btn {
    background-color: var(--primary-color);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
}
.login-btn:hover {
    background-color: #081628;
}


/* --- ULTIMATE PREMIUM HOVER DROPDOWN STYLING --- */

/* 1. Desktop ke liye Hover-to-Open & Smooth Fade/Slide Animation */
@media (min-width: 992px) {
    .navbar-custom .dropdown:hover > .dropdown-menu {
        display: block;
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }
    .navbar-custom .dropdown-menu {
        display: block;
        visibility: hidden;
        opacity: 0;
        transform: translateY(15px); /* Animation start position (halka niche se upar aayega) */
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); /* Super smooth Apple-style easing */
        margin-top: 0; 
    }
}

/* 2. Premium Dropdown Box Visuals */
.custom-dropdown {
    border-radius: 0 0 8px 8px; /* Upar se flat, niche se gol */
    padding: 8px 0;
    border: none;
    border-top: 3px solid var(--secondary-color); /* Top par Premium Gold/Accent line */
    background-color: #ffffff;
    box-shadow: 0 15px 35px rgba(13, 33, 59, 0.1) !important; /* Halka Navy Blue shadow */
    min-width: 220px; /* Minimum width taki text compress na ho */
}

/* 3. Dropdown Links Styling */
.custom-dropdown .dropdown-item {
    padding: 12px 25px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    transition: all 0.3s ease;
    background-color: transparent !important; /* Bootstrap ka default grey background hata diya */
}

/* 4. Elegant Hover Effect (Text shift + Gold Bullet Point) */
.custom-dropdown .dropdown-item:hover {
    color: var(--primary-color);
    padding-left: 32px; /* Text halka sa right shift hoga */
}

/* Hover karne par left side ek gold dot aayega */
.custom-dropdown .dropdown-item::before {
    content: "•";
    position: absolute;
    left: 15px;
    color: var(--secondary-color);
    font-size: 18px;
    line-height: 1;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.custom-dropdown .dropdown-item:hover::before {
    opacity: 1;
    transform: scale(1.2);
}


/* Hero Section */
.hero-section {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}
.search-container {
    max-width: 600px;
    margin: 0 auto 40px;
}
.search-input {
    padding: 15px 20px;
    border-radius: 30px;
    border: none;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* --- SWIGGY STYLE CONNECTED TOGGLE TABS --- */
.custom-tabs {
    display: inline-flex;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.08); /* Base container ka subtle background */
    border-radius: 50px; /* Pura container gol (pill shape) */
    padding: 5px; /* Container ke andar thodi space */
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 30px;
    gap: 0; /* Buttons ke beech ka gap hata diya */
}

.custom-tabs .nav-item {
    margin: 0;
}

.custom-tabs .nav-item .nav-link {
    color: #e0e0e0;
    border: none; /* Individual buttons ka border hata diya */
    border-radius: 50px; /* Buttons ko bhi gol rakha */
    padding: 10px 30px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* Smooth transition */
    background: transparent;
}

/* Active State (Jo select hoga) */
.custom-tabs .nav-item .nav-link.active {
    background-color: var(--secondary-color); /* Gold color */
    color: var(--primary-color); /* Dark text for contrast */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Thoda 3D pop effect */
}

/* --- FIX FOR TAB CONTENT VISIBILITY --- */
.tab-content-box {
    background: rgba(255, 255, 255, 0.05); /* Halka transparent glass effect */
    backdrop-filter: blur(10px); /* Premium blur effect */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Light border boundary ke liye */
    padding: 30px;
    border-radius: 12px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Heading ka color (Gold/Yellow jisse highlight ho) */
.tab-content-box h4 {
    color: var(--secondary-color)!important;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Paragraph ka color (Light Grey/White jisse dark background par padhne mein aaye) */
.tab-content-box p {
    color: #cdd6df !important; 
    font-size: 16px;
    line-height: 1.6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .custom-tabs {
        display: flex;
        width: 100%;
        max-width: 400px;
        margin: 0 auto 30px auto;
    }
    .custom-tabs .nav-item {
        flex: 1; /* Mobile par teeno buttons equal space lenge */
        text-align: center;
    }
    .custom-tabs .nav-item .nav-link {
        padding: 10px 0;
        width: 100%;
    }
}

/* Footer Section */
.footer {
    background-color: #0a1829;
    color: #e0e0e0;
    padding: 60px 0 20px;
}
.footer h5 {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 20px;
}
.footer ul {
    list-style: none;
    padding: 0;
}
.footer ul li {
    margin-bottom: 10px;
}
.footer ul li a {
    color: #a0aab5;
    text-decoration: none;
    transition: 0.3s;
}
.footer ul li a:hover {
    color: var(--secondary-color);
}
.disclaimer-bar {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding-top: 20px;
    font-size: 12px;
    color: #6c757d;
    text-align: justify;
}

/* --- FOOTER TEXT VISIBILITY FIX --- */
/* Overriding Bootstrap's text-muted inside the footer for dark background */
.footer .text-muted {
    color: #cdd6df !important; /* Light grey-blue for high readability */
}

/* Enhancing the disclaimer text visibility */
.disclaimer-bar {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding-top: 20px;
    font-size: 12px;
    color: #aeb9c4 !important; /* Lighter grey instead of the dark grey */
    text-align: justify;
    line-height: 1.6;
}