body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #f8fafc;
    height: 200vh;
}

/* --- 1. NAVBAR ANIMATION --- */
@keyframes slideDown {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

#navbar {
    transition: all 0.3s ease-in-out;
    background: transparent;
    z-index: 40;
    animation: slideDown 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

#navbar.nav-active {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* --- NAVBAR ACTIVE STATE TEXT COLORS --- */
#navbar.nav-active .desktop-link {
    color: #334155 !important;
}

#navbar.nav-active .desktop-link:hover {
    color: #2563eb !important;
}

#navbar.nav-active .hamburger-icon .line {
    background-color: #1f2937 !important;
}

#navbar.nav-active .dots-icon span {
    background-color: #2563eb !important;
}

/* --- 2. HOVER EFFECTS --- */
.nav-link-hover {
    position: relative;
}

.nav-link-hover::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0px;
    left: 50%;
    background-color: #2563eb;
    transition: all 0.3s ease-in-out;
    transform: translateX(-50%);
}

.nav-link-hover:hover::after {
    width: 80%;
}

.nav-link-hover.active-link::after {
    width: 80%;
    background-color: #2563eb;
}

/* --- BUTTON STYLE (DESKTOP - 5% SMALLER & SLEEKER) --- */
.shine-btn {
    /* Desktop: Padding kam kardi (Pehle 10px 25px thi) */
    padding: 9px 20px;

    background-color: #2563eb;
    /* Solid Blue */
    color: white;
    border: none;
    border-radius: 50px;

    /* Font: Halka sa chota aur sleek kiya */
    font-size: 12.5px;
    font-weight: 600;
    /* Pehle 700 tha, ab thoda patla kiya */
    letter-spacing: 0.4px;
    text-transform: uppercase;

    cursor: pointer;
    /* Shadow bhi thodi kam ki */
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;

    position: relative;
    overflow: hidden;
    z-index: 1;
    white-space: nowrap;
}

/* Shine Animation */
.shine-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
    z-index: -1;
}

/* Hover Effect */
.shine-btn:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.5);
}

.shine-btn:hover::after {
    left: 100%;
}

/* --- 📱 MOBILE RESPONSIVE (Compact Size) --- */
@media screen and (max-width: 768px) {
    .shine-btn {
        padding: 6px 12px !important;
        font-size: 10px !important;
        letter-spacing: 0px !important;
        line-height: 1.2 !important;
        box-shadow: none !important;
        margin-top: 2px;
    }
}

/* --- 3. SIDEBAR FIXES --- */
#sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(3px);
    z-index: 50;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

#sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* --- UPDATED SIDEBAR CSS START --- */
#mobile-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background-color: #eff6ff;

    /* 1. Gradient ko thoda transparent kiya (0.85) taaki Map dikhe */
    background-image:
        linear-gradient(180deg, rgba(224, 242, 254, 0.85) 0%, rgba(219, 234, 254, 0.90) 100%),
        url('https://upload.wikimedia.org/wikipedia/commons/8/80/World_map_-_low_resolution.svg');

    /* 2. Map ko ZOOM kiya (Cover hatake size badhaya) */
    background-size: 350%;

    /* 3. Position set ki taaki sidha INDIA dikhe */
    background-position: 68% 35%;

    background-repeat: no-repeat;
    z-index: 60;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.33, 1, 0.68, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    overflow-x: hidden;
}

/* --- UPDATED SIDEBAR CSS END --- */

#mobile-sidebar.active {
    transform: translateX(0);
}

#mobile-sidebar::-webkit-scrollbar {
    width: 6px;
}

#mobile-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

#mobile-sidebar::-webkit-scrollbar-thumb {
    background-color: rgba(148, 163, 184, 0.5);
    border-radius: 20px;
}

#mobile-sidebar::-webkit-scrollbar-thumb:hover {
    background-color: rgba(100, 116, 139, 0.8);
}

/* Animations */
.mobile-nav-item {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s ease-out;
}

#mobile-sidebar.active .mobile-nav-item {
    opacity: 1;
    transform: translateX(0);
}

#mobile-sidebar.active .mobile-nav-item:nth-child(1) {
    transition-delay: 0.1s;
}

#mobile-sidebar.active .mobile-nav-item:nth-child(2) {
    transition-delay: 0.15s;
}

#mobile-sidebar.active .mobile-nav-item:nth-child(3) {
    transition-delay: 0.2s;
}

#mobile-sidebar.active .mobile-nav-item:nth-child(4) {
    transition-delay: 0.25s;
}

#mobile-sidebar.active .mobile-nav-item:nth-child(5) {
    transition-delay: 0.3s;
}

.hamburger-icon .line {
    transition: all 0.3s ease;
}

.dots-icon {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    width: 20px;
    height: 20px;
}

.dots-icon span {
    width: 3px;
    height: 3px;
    background-color: #2563eb;
    border-radius: 50%;
    transition: all 0.3s;
}

.toggle-btn:hover .dots-icon span:nth-child(odd) {
    transform: translateY(-2px);
}

.toggle-btn:hover .dots-icon span:nth-child(even) {
    transform: translateY(2px);
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -10px rgba(0, 50, 150, 0.5);
}