:root {
    /* Primary Colors (Videsh Chalo Brand) */
    --primary-color: #0066ff;
    /* Bright Blue */
    --primary-dark: #1fceff;
    /* Darker Blue for hover */
    --secondary-color: #ffffff;
    /* Gold/Yellow (For Hot Jobs/Badges) */

    --radial-bg: radial-gradient(circle at center, #4facfe, #00f2fe);

    /* Background & Surface Colors */
    --bg-body: #c7fffb;
    /* Light Greyish Background */
    --bg-card: #c9ffc4;
    /* White for Cards */
    --bg-card-inner: #e2fff0;

    /* Your special yellowish tint */

    /* Text Colors */
    --text-main: #212529;
    --h1-text: #ffffff;
    /* Near Black */
    --text-muted: #6c757d;
    /* Grey for small details */
    --text-light: #ffffff;
    /* White text */

    --bs-list-group-bg: rgb(255, 255, 108);

    /* Border & Accent Colors */
    --border-color: #000000;
    --border-accent: #edcc91;
    /* Golden border for inner cards */
    --success-color: #ffffff;
    /* Green for Apply button */
}

/* Future Dark Mode Example */
[data-theme="dark"] {
    --bg-body: #121212;
    --bg-card: #1e1e1e;
    --bg-card-inner: #2d2d2d;
    --text-main: #f8f9fa;
    --border-color: #333;
}

body {
    background-color: var(--bg-body) !important;
    color: var(--text-main);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hover-opacity:hover {
        opacity: 0.8;
        transition: 0.3s;
    }

.coname {
    color: var(--h1-text);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.job-inner-card {
    background-color: var(--bg-card-inner);
    border: 1px solid var(--border-accent);
}

.job-title {
    font-weight: 600;
}


.credit-circle {
    background: white;
    padding: 5px 12px;
    border-radius: 50px;
    /* Pill shape ya circle ke liye */
    transition: all 0.3s ease;
    cursor: pointer;
}

.credit-circle:hover {
    background: #fff3cd;
    /* Light yellow on hover */
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.pricing-card {
    transition: transform 0.3s ease;
}

.plan-row {
    border-bottom: 1px solid #f8f9fa;
    transition: all 0.2s ease;
}

.plan-row:hover {
    background-color: #fff9e6;
    transform: scale(1.01);
}

.featured-plan {
    background-color: #fffdf5;
}

.gold-plan {
    background: linear-gradient(90deg, #fff, #fff9e6);
}

.bumper-plan {
    background: linear-gradient(90deg, #fff, #ffe6e6);
    border: 2px solid #ffcccc !important;
    border-radius: 15px;
}

.anim-pulse {
    animation: pulse-bg 2s infinite;
}

.anim-glow {
    animation: glow-bg 1.5s infinite alternate;
}

@keyframes pulse-bg {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes glow-bg {
    from {
        box-shadow: 0 0 5px #ff4444;
    }

    to {
        box-shadow: 0 0 20px #ff4444;
    }
}


@keyframes pulse-bg {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes glow-bg {
    from {
        box-shadow: 0 0 5px #ff4444;
    }

    to {
        box-shadow: 0 0 15px #ff4444;
    }
}

/* // Login Page Styling */

.input-group .btn {
        border-color: #dee2e6; /* Bootstrap default border color */
        z-index: 0 !important; /* Taki search bar jaisa overlay na ho */
    }
    .input-group-text {
        border-right: none;
    }
    #id_password {
        border-left: none;
        border-right: none;
    }
    #id_password:focus {
        box-shadow: none;
        border-color: #dee2e6;
    }


/* Top Bar */
.top-bar {
    font-size: 12px;
    letter-spacing: 0.5px;
}

/* .top-links {border-right: 2px solid #4f4f4f !important;} */

.top-links a:hover {
    color: #ffffff !important;
}

/* Navbar Styling */
.navbar-custom {
    transition: all 0.3s;
}

.nav-link {
    color: #444 !important;
    margin-right: 10px;
    position: relative;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #0d6efd !important;
}

/* Logo styling */

.navbar-brand img {
    /* Ek limit set kar do taaki navbar bahut zyada mota na ho jaye */
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

Logo par halka sa hover effect taaki feel aaye .navbar-brand:hover img {
    transform: scale(1.1);
}

.navbar-brand span {
    color: var(--primary-color);
    letter-spacing: 1px;
    /* Brand name ko thoda premium look dene ke liye */
}

.alert {
    border-left: 6px solid;
    /* Side mein moti line achhi lagti hai */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border-radius: 5px;
    /* Thoda kam round, par clean */
}

.alert-success {
    background-color: #fffb7a;
    /* Aapka pasandida color */
    border-color: #030303;
    font-weight: semi-bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: auto;
    animation: fadeOut 3s ease-in-out forwards;
    margin: 20px auto;
}



.alert-warning {
    background-color: #ffb6b6;
    /* Aapka pasandida color */
    border-color: #000000;
    font-weight: semi-bold;
    border-radius: 5px;
    /* Isse pop-up round dikhega */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: auto;
    animation: fadeOut 3s ease-in-out forwards;
    margin: 20px auto;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        display: none;
    }
}

.profile-avatar-wrapper {
    cursor: pointer;
}

.avatar-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 120px;
    background: rgba(0, 123, 255, 0.5);
    /* Blue semi-transparent */
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.profile-avatar-wrapper:hover .avatar-hover-overlay {
    opacity: 1;
    /* Hover karne par dikhega */
}

.profile-avatar-wrapper img {
    transition: filter 0.3s ease;
}

.profile-avatar-wrapper:hover img {
    filter: blur(1px);
    /* Halka sa blur effect */
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 5px;
    right: 0;
    background: #0d6efd;
    transition: width 0.3s ease;
    -webkit-transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
    background: #0d6efd;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-link:hover {
    transform: scale(1.05);
}

/* Internal card ki height balance karne ke liye */

.list-group {
    box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 50px -12px;
}

.list-group-item {
    font-weight: 600 !important;
    color: rgb(255, 0, 0);
    border: 2px solid black;
    text-align: left;
}

.list-group-item span {
    font-weight: 700;
    color: rgb(33, 117, 0);
    text-align: left;
}



span.badge.bg-transparent.text-dark.rounded-pill {
    position: relative;
    display: inline-block;
    padding: 0.25rem 0.65rem;
    background: #FFC107 !important;
    color: #000000 !important;
    border-radius: 10px !important;
    box-shadow: 0 7px 6px rgb(0, 0, 0) !important;
    animation: pulse-red 1.8s infinite ease-in-out, glow-bg 1.8s infinite alternate;
    will-change: transform, box-shadow;
}

/* // Footer Styling */

.footer-desi {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
    }
    .footer-desi .desi-box {
        transform: rotate(-5deg); /* Thoda swagat wala feel */
    }
    .footer-desi a:hover {
        color: #0f07ff !important;
        transition: 0.3s;
    }

.trust-badge-rect {
        max-width: 250px;
        margin: 0 auto;
        transition: all 0.3s ease;
        background: linear-gradient(to bottom, #ffffff, #f8f9fa);
    }

    .trust-badge-rect:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(13, 110, 253, 0.15) !important;
    }

.badge-header {
        font-size: 0.7rem;
        font-weight: 800;
        letter-spacing: 1px;
        margin: -0.5rem -0.5rem 0.5rem -0.5rem; /* Padding compensate karne ke liye */
    }



/* Card design ko aur clean banane ke liye */
.rounded-top-4 {
        border-radius: 1rem 1rem 0 0 !important;
    }
.rounded-4 {
        border-radius: 1rem !important;
    }
    /* CKEditor ki height manage karne ke liye */
.django-ckeditor-widget {
        width: 100% !important;
    }

/* Hot Badge Animation */

.hot-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    z-index: 5;
    animation: pulse-red 2s infinite;
}

.hover-opacity-100:hover {
        opacity: 1 !important;
        text-decoration: underline !important;
    }

@keyframes pulse-red {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(.85);
    }
}

/* Sidebar Join Buttons Hover Effect */
.sharebtn:hover {
    transform: scale(1.05);
    color: black;
    transition: transform 0.4s ease;

}

/* Tooltip jaisa effect desktop par */
.col-md-1 a {
    transition: opacity 0.2s;
}

.col-md-1 a:hover {
    opacity: 0.8;
}





@media only screen and (max-width: 600px) {
    
    div.mb-3.p-2.bg-transparent.shadow-sm.d-flex.align-items-center {
        visibility: hidden !important;
    }

    h2.text-center.mb-3.fw-bold.text-dark.fs-4 {
        font-size: 1rem !important;
        position: relative;
        padding-bottom: 15px;
        bottom: 10px;
    }

        
}

    


@media only screen and (min-width: 600px) and (max-width: 768px) {

    div.mb-3.p-2.bg-transparent.shadow-sm.d-flex.align-items-center {
        right: 3px !important;
        
    }

    h2.text-center.mb-3.fw-bold.text-dark.fs-4 {
        font-size: 1.2rem !important;
        position: relative;
        padding-bottom: 15px;
        bottom: 10px;
    }
}


/* WhatsApp Pulse Button Container */
.whatsapp-pulse {
    background-color: #00a400 !important; /* WhatsApp Green */
    color: white !important;
    position: relative; /* Before element ko position karne ke liye */
    z-index: 1;
    overflow: visible; /* Wave bahar dikhne ke liye */
    border: none !important;
    transition: all 0.3s ease;
}

/* Pseudo-element for Ripple Effect */
.whatsapp-pulse::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #368bf3;
    border-radius: 50px; /* Rounded pill style */
    z-index: -1;
    animation: whatsapp-ripple 2s infinite; /* Ripple loop */
}

@keyframes whatsapp-ripple {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    60% {
        transform: scale(1.2, 1.6); /* Horizontal aur Vertical expand */
        opacity: 0.2;
    }
    100% {
        transform: scale(1.6, 2); /* Aur zyada expand */
        opacity: 0;
    }
}

/* Hover par animation fast aur thoda dark */
.whatsapp-pulse:hover {
    background-color: #128C7E !important; /* */
    transform: translateY(-2px);
}

.whatsapp-pulse:hover::before {
    animation-duration: 1s; /* Hover par tezi se pulse karega */
}

.btn-referral {
    background: linear-gradient(45deg, #ff00cc, #3333ff);
    color: white !important;
    font-weight: bold;
    border-radius: 50px;
    padding: 6px 15px;
    border: none;
    position: relative;
    overflow: hidden;
    animation: wave 2s infinite ease-in-out;
    font-size: 0.9rem;
    display: inline-block;
    text-decoration: none;
}

.btn-referral:hover {
    transform: scale(1.05);
    color: white;
}

/* Lahraata hua Animation */
@keyframes wave {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(2deg); }
    50% { transform: rotate(-2deg); }
    75% { transform: rotate(1deg); }
    100% { transform: rotate(0deg); }
}

/* Chamakdar (Shiny) Effect */
.btn-referral::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(30deg);
    transition: none;
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -60%; }
    20% { left: 120%; }
    100% { left: 120%; }
}

/* Footer Optimization Helpers */
.hover-link:hover {
color: #0d6efd !important;
padding-left: 5px;
transition: all 0.3s ease;
}
.transition-hover:hover {
transform: translateY(-3px);
transition: transform 0.3s ease;
}
@media (max-width: 767.98px) {
.footer-desi { text-align: center; }
.footer-desi .border-bottom { margin-bottom: 1.5rem !important; }
}
