/* style.css */
:root {
    /* Brand Colors */
    --primary: #483EA8;       
    --primary-dark: #322b7a;
    --primary-light: #eceaf9;
    --secondary: #ff6f00;     
    --bg-body: #f4f6f9;       
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-grey: #666666;
    --green: #25D366; /* WhatsApp/KYC Green */
    --silver-bg: #9e9e9e; 
    
    /* Gradients */
    --gold-ring: conic-gradient(#FFD700, #FDB931, #FFED86, #FDB931, #FFD700);
    --silver-ring: conic-gradient(#E0E0E0, #B0B0B0, #F5F5F5, #B0B0B0, #E0E0E0);
    --band-gold: linear-gradient(to bottom, #FFD700, #DAA520);
    --band-silver: linear-gradient(to bottom, #ecf0f1, #bdc3c7);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; }

/* Compact Base Font */
body { 
    background-color: var(--bg-body); 
    color: var(--text-dark); 
    overflow-x: hidden; 
    font-size: 14px; 
    line-height: 1.4; 
}

a { text-decoration: none; transition: 0.3s; color: inherit; }
button { cursor: pointer; }

.container { max-width: 1150px; margin: 0 auto; padding: 0 15px; }

/* --- HEADER --- */

.nav-wrapper { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 800; font-size: 1.2rem; }
.brand i { font-size: 1.4rem; }
.nav-menu { display: flex; gap: 20px; }
.nav-item { font-weight: 600; color: #555; font-size: 0.9rem; position: relative; }
.nav-item:hover { color: var(--primary); }
.nav-right { display: flex; gap: 15px; align-items: center; }
.login-link { font-weight: 700; color: var(--primary); font-size: 0.9rem; }
.btn-header-cta { 
    background: var(--primary); color: white; padding: 6px 20px; 
    border-radius: 30px; font-weight: 600; font-size: 0.85rem; border: none;
}

/* --- HERO SECTION --- */
.power-hero {
    background: linear-gradient(135deg, rgba(72, 62, 168, 0.95) 0%, rgba(42, 34, 114, 0.9) 100%), 
                url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    background-size: cover; background-position: center;
    padding: 30px 0 70px;
    position: relative;
    color: white; text-align: center;
}

/* MAGNIFY EFFECT */
.hero-title { 
    font-size: 2.2rem; font-weight: 800; margin-bottom: 5px; line-height: 1.2;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), text-shadow 0.4s ease;
    cursor: default; display: inline-block;
}
.hero-title:hover {
    transform: scale(1.1); 
    text-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.typing-text { 
    color: #FFD700; border-right: 3px solid #FFD700; padding-right: 5px;
    animation: blinkCursor 0.7s step-end infinite; display: inline-block;
}
/* Pop animation for text change */
.typing-text.pop-in { animation: popIn 0.5s ease forwards; }

@keyframes popIn { 0% { transform: scale(0.5); opacity: 0; } 80% { transform: scale(1.2); opacity: 1; } 100% { transform: scale(1); } }
@keyframes blinkCursor { 50% { border-color: transparent; } }

.hero-sub { font-size: 1rem; opacity: 0.9; margin-bottom: 25px; font-weight: 300; }

/* ACTION CARD */
.action-card {
    background: var(--white); max-width: 750px; margin: 0 auto -45px;
    border-radius: 12px; box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    position: relative; z-index: 10; overflow: hidden;
}
.tab-header { display: flex; background: #f4f6f8; border-bottom: 1px solid #eee; }
.tab-btn { 
    flex: 1; padding: 12px; text-align: center; font-weight: 700; font-size: 0.9rem; 
    cursor: pointer; color: #888; border-bottom: 3px solid transparent; transition: 0.3s; 
}
.tab-btn.active { background: var(--white); color: var(--primary); border-bottom-color: var(--primary); }

.tab-content { padding: 25px; display: none; text-align: left; }
.tab-content.active { display: block; }
.tab-content h2 { font-size: 1.2rem; margin-bottom: 5px; color: var(--text-dark); }
.tab-content p { font-size: 0.9rem; color: #666; margin: 0; }

.search-row { display: flex; gap: 10px; margin-top: 15px; }
.input-wrap { 
    flex: 1; border: 1px solid #ddd; border-radius: 8px; padding: 0 15px; height: 42px;
    display: flex; align-items: center; background: #fcfcfc;
}
.input-wrap i { color: var(--primary); font-size: 1rem; margin-right: 10px; }
.input-wrap input { width: 100%; border: none; outline: none; font-size: 0.9rem; background: transparent; }
.btn-search-big { 
    background: var(--secondary); color: white; border: none; padding: 0 25px; height: 42px;
    font-weight: 700; border-radius: 8px; font-size: 0.9rem;
}
.btn-post-job { background: var(--primary); color: white; padding: 8px 25px; border-radius: 8px; font-weight: 700; border: none; font-size: 0.9rem; }

/* --- SECTIONS COMMON --- */
.section-common { padding: 30px 0; }
.bg-white { background: var(--white); }
.bg-light { background: var(--bg-body); }
.premium-padding { padding-top: 60px; }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 15px; }
.title-group { display: flex; align-items: center; gap: 8px; border-left: 4px solid var(--primary); padding-left: 10px; height: 24px; }
.title-group h2 { font-size: 1.3rem; color: var(--text-dark); font-weight: 800; margin: 0; line-height: 1; }
.urgent-badge { background: #ff3d00; color: white; font-size: 0.65rem; padding: 3px 8px; border-radius: 4px; animation: blink 2s infinite; font-weight: 700; }
.view-all-link { color: var(--primary); font-weight: 600; font-size: 0.8rem; border: 1px solid var(--primary); padding: 3px 12px; border-radius: 20px; }
.view-all-link:hover { background: var(--primary); color: white; }

/* --- JOB CARDS --- */
.prem-grid{
display:flex;
gap:15px;
overflow-x:auto;
scroll-behavior:smooth;
padding-bottom:10px;
}

.prem-grid::-webkit-scrollbar{
display:none;
}

.job-card {
    min-width:300px;flex:0 0 auto;
    background: var(--white); border-radius: 12px; padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03); border: 1px solid #f0f0f0;
    transition: 0.2s; position: relative;
    display: flex; flex-direction: column;
}
.job-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); border-color: rgba(72, 62, 168, 0.2); }

.card-header-grid {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    margin-bottom: 8px;

    align-items: flex-start; /* 🔥 ADD THIS */
}

/* Logo & Badge */
.logo-col { display: flex; flex-direction: column; align-items: center; position: relative; }

.shiny-ring { position: absolute; inset: 0; border-radius: 50%; padding: 2px; -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.ring-gold { background: var(--gold-ring); animation: spin 4s linear infinite; }




.silver-badge { 
    font-size: 0.5rem; background: var(--silver-bg); color: white; 
    padding: 1px 6px; border-radius: 6px; font-weight: 700; 
    text-transform: uppercase; white-space: nowrap; margin-top: -8px; z-index: 5;
    border: 1px solid #fff;
}
.info-col {
    min-width: 0;
}
/* Info */
.info-col h4 { font-size: 0.95rem; font-weight: 700; color: var(--text-dark); margin-bottom: 2px; line-height: 1.2; }
.info-col p { font-size: 0.8rem; color: var(--text-dark); margin-bottom: 4px; line-height: 1.2; }
.info-col .loc { font-size: 0.75rem; color: #777; display: flex; align-items: center; gap: 4px; margin-bottom: 4px; }
.info-col .salary { font-size: 0.9rem; font-weight: 700; color: var(--text-dark); }

/* Tags */
.tags-row { display: flex; gap: 5px; margin-bottom: 12px; flex-wrap: wrap; margin-top: auto; }
.job-tag { 
    font-size: 0.7rem; color: #555; background: #fff; 
    border: 1px solid #eee; padding: 2px 8px; border-radius: 12px; white-space: nowrap;
}

/* Footer */
.card-footer { display: flex; align-items: center; margin-top: 8px; }
.card-footer.premium-footer { justify-content: space-between; }
.card-footer.standard-footer { justify-content: flex-end; } /* Right align for standard */

.kyc-badge {
    display: flex; align-items: center; gap: 4px;
    border: 1px solid var(--green); color: var(--green);
    font-size: 0.7rem; font-weight: 700; padding: 2px 8px; border-radius: 20px;
}
.kyc-badge i { font-size: 0.8rem; }

.btn-arrow-circle {
    width: 28px; height: 28px; border-radius: 50%;
    border: 1px solid var(--primary); color: var(--primary);
    display: flex; align-items: center; justify-content: center; font-size: 0.9rem;
    transition: 0.2s;
}
.btn-arrow-circle:hover { background: var(--primary); color: white; }

/* --- WHY US --- */
.sec-title-center { font-size: 1.5rem; font-weight: 800; margin-bottom: 5px; color: var(--text-dark); text-align: center; }
.sec-sub-center { color: var(--text-grey); margin-bottom: 25px; font-size: 0.9rem; text-align: center; }

.usp-flex { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
.usp-card { 
    width: 280px; padding: 20px 15px; border-radius: 12px; background: #fff; border: 1px solid #eee; 
    text-align: center; transition: 0.3s;
}
.usp-card:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.usp-icon { width: 45px; height: 45px; background: #f3f0ff; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; color: var(--primary); font-size: 1.1rem; }
.usp-card h3 { font-size: 1rem; margin-bottom: 5px; font-weight: 700; }
.usp-card p { color: #666; font-size: 0.85rem; line-height: 1.4; margin: 0; }

/* --- FOOTER --- */
.mega-footer { background: #111; color: #bbb; padding: 40px 0 20px; }

.f-brand h3 { color: white; margin-bottom: 10px; font-size: 1.2rem; display: flex; align-items: center; gap: 8px; }
.f-links h4 { color: white; margin-bottom: 10px; font-size: 0.95rem; font-weight: 700; }
.f-links ul li { margin-bottom: 6px; font-size: 0.85rem; }
.app-badges img { height: 30px; margin-right: 8px; cursor: pointer; }

@keyframes blink { 0% { opacity: 1; } 50% { opacity: 0.6; } 100% { opacity: 1; } }
@keyframes spin { 100% { transform: rotate(360deg); } }



/* ============================
   GLOBAL PAGE PRELOADER
============================ */

#global-preloader {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.96);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-box {
    text-align: center;
}

.spinner {
    width: 55px;
    height: 55px;
    border: 5px solid #eee;
    border-top: 5px solid var(--primary);
    border-radius: 50%;
    animation: spinLoader 1s linear infinite;
    margin: 0 auto 12px;
}

@keyframes spinLoader {
    to { transform: rotate(360deg); }
}

#global-preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    transition: .5s ease;
}
/* ============================================================
   CONTACT DETAILS CARD (STANDARD STYLE MATCH)
============================================================ */

.contact-box {
    background: white;
    padding: 22px;

    border-radius: 16px;

    border: 1px solid #e6e6e6;
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);

    margin-top: 15px;
}

.contact-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.contact-address {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* ============================================================
   CONTACT ACTION BUTTONS
============================================================ */

.contact-actions {
    display: flex;
    gap: 120px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.btn-action-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-width: 130px;

    padding: 9px 18px;
    border-radius: 999px;

    background: white;
    border: 2px solid var(--primary);

    color: var(--primary);
    font-weight: 600;
    font-size: 14px;

    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-action-outline i {
    font-size: 14px;
}

.btn-action-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-action-outline:hover i {
    color: white !important;
}

/* WhatsApp Icon Color */
.btn-action-outline .fa-whatsapp {
    color: #25D366;
}

/* ============================================================
   SHARE BOX
============================================================ */

.share-box {
    margin-top: 26px;

    background: #f1f7ff;
    border-radius: 16px;
    padding: 22px;

    border: 1px solid #d6e6ff;
}

.share-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.share-desc {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 16px;
}

/* Share Button */

.btn-share {
    background: #1a73e8;
    color: white;

    padding: 10px 22px;
    border-radius: 999px;

    border: none;
    font-weight: 600;

    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;

    transition: background 0.2s ease;
}

.btn-share:hover {
    background: #155acb;
}





/* ============================================================
   JOB DETAILS GLOBAL (STANDARD + PREMIUM)
============================================================ */

.main-content {
    padding: 40px 0;
}

.job-grid-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
}

/* COMMON CARD */

.content-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    margin-bottom: 25px;
}

/* ============================================================
   PREMIUM HEADER BLOCK
============================================================ */

.job-header-block {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 25px;
    margin-bottom: 25px;
}

.logo-box {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo.large {
    width: 65px;
    height: 65px;
}

.band-badge {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 12px;
    z-index: 5;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* ============================================================
   STANDARD HEADER
============================================================ */

.job-header-card {
    display: flex;
    gap: 20px;
    align-items: center;
    background: var(--white);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    margin-bottom: 25px;
}

.logo-box-standard {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    border-radius: 50%;
    padding: 5px;
}

/* ============================================================
   JOB TITLES
============================================================ */

.job-title-info h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.company-name {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 600;
}

/* ============================================================
   PREMIUM SIDEBAR OVERVIEW
============================================================ */

.job-sidebar {
    position: sticky;
    top: 90px;
}

.overview-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.icon-box {
    width: 45px;
    height: 45px;
    background: #fff5e6;
    color: var(--secondary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box.salary { background: #e8f5e9; color: #2e7d32; }
.icon-box.loc { background: #e3f2fd; color: #1565c0; }
.icon-box.exp { background: #fff3e0; color: #ef6c00; }
.icon-box.type { background: #f3e5f5; color: #7b1fa2; }

.ov-label {
    font-size: 0.85rem;
    color: #888;
    font-weight: 600;
}

.ov-value {
    font-size: 1rem;
    font-weight: 700;
}

/* ============================================================
   STANDARD STAT BOXES
============================================================ */

.overview-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat-box {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    gap: 15px;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #666;
}

/* ============================================================
   APPLY BUTTONS
============================================================ */

.btn-apply-now,
.btn-apply-main {
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 15px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    box-shadow: 0 5px 15px rgba(72,62,168,.3);
}

.btn-apply-now:hover,
.btn-apply-main:hover {
    background: var(--primary-dark);
}



/* ============================================================
   STANDARD PAGE LEFT PANEL EXTRAS
============================================================ */

.req-box {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    background: #fafafa;
    margin-bottom: 30px;
}

/* Sidebar stat details */

.stat-icon {
    font-size: 1.2rem;
}

.stat-text {
    font-size: 1rem;
    color: var(--text-dark);
}




.job-overview-card {
    background: white;
    border-radius: 18px;
    padding: 25px;
    box-shadow: 0 6px 20px rgba(0,0,0,.05);
    border: 1px solid #eee;
}

.apply-box {
    margin-top: 20px;
    text-align: center;
}

.verified-text {
    font-size: .85rem;
    color: #777;
    margin-top: 8px;
}



/* ============================================================
   GLOBAL HEADER
============================================================ */

header {
    background: var(--white);
    height: 65px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 9999;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--primary);
}

.brand i {
    font-size: 1.4rem;
}

.nav-menu {
    display: flex;
    gap: 22px;
}

.nav-item {
    font-size: 0.95rem;
    font-weight: 600;
    color: #555;
    position: relative;
}

.nav-item:hover {
    color: var(--primary);
}

.nav-item::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary);
    left: 0;
    bottom: -6px;
    transition: 0.25s ease;
}

.nav-item:hover::after {
    width: 100%;
}

.nav-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

.login-link {
    font-weight: 700;
    color: var(--primary);
}

.btn-header-cta {
    background: var(--primary);
    color: white;
    padding: 7px 22px;
    border-radius: 30px;
    border: none;
    font-weight: 600;
    transition: .2s;
}

.btn-header-cta:hover {
    background: var(--primary-dark);
}



/* ============================================================
   GLOBAL FOOTER
============================================================ */

.mega-footer {
    background: #111;
    color: #bbb;
    padding: 45px 0 20px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 30px;
}

.f-brand h3 {
    color: white;
    margin-bottom: 12px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.f-brand p {
    font-size: 0.9rem;
    color: #aaa;
    line-height: 1.5;
}

.f-links h4 {
    color: white;
    margin-bottom: 12px;
    font-size: 0.95rem;
    font-weight: 700;
}

.f-links ul li {
    margin-bottom: 7px;
    font-size: 0.85rem;
}

.f-links ul li a:hover {
    color: white;
}

/* APP BADGES */

.app-badges img {
    height: 32px;
    margin-right: 10px;
    cursor: pointer;
}

/* COPYRIGHT BAR */

.footer-bottom {
    border-top: 1px solid #222;
    margin-top: 35px;
    padding-top: 15px;
    text-align: center;
    font-size: 0.8rem;
    color: #777;
}
/* ================= FINAL FORCE HIDE FOOTER ================= */
@media (max-width: 900px) {

    footer,
    .mega-footer {
        display: none !important;
        height: 0 !important;
        overflow: hidden !important;
    }

}

/* ================= MOBILE FINAL FIX ================= */
@media (max-width: 900px) {
    
    .card-header-grid {
    align-items: center; /* 🔥 FIX vertical alignment */
}

    /* ðŸ”¥ FIX FULL WIDTH */
    html, body {
        overflow-x: hidden;
    }

    .container {
        width: 100%;
        padding: 0 12px;
    }

    /* ðŸ”¥ HERO FIX */
    .power-hero {
        padding: 25px 0 50px;
    }

    .hero-title {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .hero-sub {
        font-size: 0.9rem;
    }




    /* ðŸ”¥ CARD FIX */
    .job-card {
        width: 100%;
        padding: 14px;
    }

    .card-header-grid {
    grid-template-columns: 60px 1fr; /* ✅ FIX */
}

    .company-logo {
    width: 48px;
    height: 48px;
}

    /* ðŸ”¥ TEXT FIX */
    .info-col h4 {
        font-size: 0.9rem;
    }

    .info-col p {
        font-size: 0.75rem;
    }

    .info-col .salary {
        font-size: 0.85rem;
    }

    

    /* ðŸ”¥ SECTION SPACING */
    .section-common {
        padding: 20px 0;
    }

}




.slider-wrapper{
position:relative;
width:100%;
margin:20px auto;
overflow:visible;
}

.slider-scroll{
display:flex;
overflow-x:auto;
scroll-snap-type:x mandatory;
scroll-behavior:smooth;
gap:20px;
padding:10px 20px 30px;
scrollbar-width:none;
}

.slider-scroll::-webkit-scrollbar{
display:none;
}

.card{
flex:0 0 320px;
height:232px;
border-radius:16px;
padding:20px;
color:white;
scroll-snap-align:center;
display:flex;
flex-direction:column;
justify-content:space-between;
text-decoration:none;
box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

@media(max-width:768px){
.card{
flex:0 0 82vw;

}
}

.dots{
display:flex;
justify-content:center;
gap:8px;
margin-top:-15px;
}

.dot{
width:8px;
height:8px;
background:#cbd5e0;
border-radius:50%;
}

.dot.active{
background:#483EA8;
width:22px;
border-radius:4px;
}

/* MOBILE MENU BUTTON */

.mobile-menu-btn{
display:none;
background:none;
border:none;
font-size:22px;
color:var(--primary);
cursor:pointer;
}



/* MOBILE ONLY LINKS */

.mobile-only{
display:none;
}

/* MOBILE MENU */

@media(max-width:768px){



/* slide menu */

.nav-menu{
position:fixed;
top:65px;
left:-100%;
width:100%;
height:100vh;
background:#fff;
flex-direction:column;
padding:30px;
gap:20px;
transition:0.3s ease;
z-index:9999;
display:flex;
}

.nav-menu.active{
left:0;
}

/* hide desktop buttons */


/* show mobile logout/login */

.mobile-only{
display:block;
font-weight:700;
}

.nav-item{
font-size:1.1rem;
padding:12px 0;
border-bottom:1px solid #eee;
}

}


/* ===== Dialog Popup ===== */

.dialog-overlay{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;

background:rgba(0,0,0,0.4);

display:none;
align-items:center;
justify-content:center;

z-index:99999;
}

.dialog-box{

background:#4c495c;
color:#fff;

width:360px;

border-radius:10px;

box-shadow:0 10px 35px rgba(0,0,0,0.4);

padding:18px 20px;
font-family:Segoe UI, Arial;

animation:dialogPop .25s ease;
}

@keyframes dialogPop{

0%{
transform:scale(.85);
opacity:0;
}

100%{
transform:scale(1);
opacity:1;
}

}

.dialog-header{
font-size:13px;
margin-bottom:10px;
opacity:.9;
}

.dialog-site{
display:flex;
align-items:center;
gap:6px;
}

.dialog-body{
font-size:14px;
margin-bottom:18px;
}

.dialog-footer{
text-align:right;
}

.dialog-btn{

background:#65d6e2;
border:none;

padding:6px 16px;

border-radius:6px;

font-weight:600;
cursor:pointer;

color:#000;
}

.dialog-btn:hover{
background:#4fc1ce;
}

.btn-apply-now:disabled{
background:#bdbdbd;
cursor:not-allowed;
box-shadow:none;
}

/* ===== Applied Button (Disabled State) ===== */

.btn-apply-now:disabled,
.btn-apply-main:disabled {

background:#bdbdbd !important;
color:#fff;
cursor:not-allowed;

box-shadow:none;
transform:none;
}

/* prevent hover effect */

.btn-apply-now:disabled:hover,
.btn-apply-main:disabled:hover{

background:#bdbdbd !important;
transform:none;
box-shadow:none;

}

/* --- PROFILE DROPDOWN WRAPPER --- */
        .profile-dropdown-wrap { position: relative; padding-bottom: 10px; margin-bottom: -10px; margin-left: 10px; }
        
        .user-profile { 
            display: flex; align-items: center; gap: 8px; 
            padding: 5px 15px 5px 5px; 
            background: var(--primary-light); border-radius: 30px; 
            cursor: pointer; transition: 0.2s;
        }
        .user-profile:hover { background: #e0dcf5; }
        .user-name { font-weight: 700; color: var(--primary); font-size: 0.95rem; display: flex; align-items: center; gap: 5px; }
        .user-avatar { 
            width: 32px; height: 32px; background: var(--primary); color: white; 
            border-radius: 50%; display: flex; align-items: center; justify-content: center; 
            font-size: 0.9rem; font-weight: 700;
        }

        /* Hover Dropdown Menu */
        .dropdown-menu {
            position: absolute; top: 100%; right: 0; background: white; min-width: 180px;
            border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border: 1px solid #eee;
            opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s ease; z-index: 1000; padding: 10px 0;
        }
        .profile-dropdown-wrap:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
        .dropdown-item {
            display: flex; align-items: center; gap: 10px; padding: 10px 20px; color: #555;
            font-weight: 600; font-size: 0.95rem; text-decoration: none; transition: 0.2s;
        }
        .dropdown-item:hover { background: #f8f9fa; color: var(--primary); }
        .text-danger { color: #d32f2f; }
        .text-danger:hover { color: #c62828; background: #ffebee; }
        
        
        
        /* MOBILE HEADER FIX */

@media (max-width: 768px) {

header{
height:auto;
padding:8px 0;
}

.nav-wrapper{
display:flex;
align-items:center;
justify-content:space-between;
flex-wrap:nowrap;
}

.brand img{
width:140px;
}

.nav-menu{
display:none;
}



.nav-right{
display:flex;
align-items:center;
gap:8px;
}

/* USER PROFILE */

.profile-dropdown-wrap{
position:relative;
}

.user-profile{
display:flex;
align-items:center;
gap:6px;
}

.user-avatar{
width:32px;
height:32px;
border-radius:50%;
background:#483EA8;
color:#fff;
display:flex;
align-items:center;
justify-content:center;
font-size:14px;
font-weight:600;
}

.user-name{
font-size:14px;
white-space:nowrap;
}

.dropdown-menu{
right:0;
left:auto;
}

}


 /* hide mobile menu button on desktop */

.mobile-menu-btn{
display:none;
}


/* MOBILE FIX */

@media (max-width:768px){



/* header layout */

.header-container{
display:flex;
align-items:center;
justify-content:space-between;
}

/* keep nav in header */

.desktop-nav{
position:static;
display:flex;
align-items:center;
gap:12px;
}

/* hide nav links */

.desktop-nav .nav-link{
display:none;
}

/* hide username */

.user-name{
display:flex;
}

/* keep icons */

.nav-action-icon{
display:flex;
}

.profile-dropdown-wrap{
display:flex;
}

}
@media (max-width:768px){

/* menu open hone par */

.desktop-nav.active{
position:absolute;
top:60px;
left:0;
width:100%;
background:#fff;
flex-direction:column;
padding:20px;
gap:10px;
box-shadow:0 5px 20px rgba(0,0,0,0.1);
z-index:999;
}

/* menu links show */

.desktop-nav.active .nav-link{
display:block;
font-size:18px;
padding:12px 0;
border-bottom:1px solid #eee;
}

}
@media (max-width:768px){

/* menu open hone par bell hide */

.desktop-nav.active .nav-action-icon{
display:none;
}

/* menu open hone par profile hide */

.desktop-nav.active .profile-dropdown-wrap{
display:none;
}

}

/* ===== SLIDER NAV ARROWS ===== */

.slider-wrapper{
position:relative;
}

.slider-arrow{
position:absolute;
top:50%;
transform:translateY(-50%);
width:42px;
height:42px;
border-radius:50%;
background:#fff;
box-shadow:0 4px 15px rgba(0,0,0,0.15);
display:flex;
align-items:center;
justify-content:center;
cursor:pointer;
z-index:20;
}

.slider-arrow i{
color:var(--primary);
font-size:16px;
}

.slider-arrow.left{
left:10px;
}

.slider-arrow.right{
right:10px;
}

.slider-arrow:hover{
background:var(--primary);
}

.slider-arrow:hover i{
color:#fff;
}

@media(max-width:768px){
.slider-arrow{
display:none;
}
}

 /* --- NOTIFICATION BELL --- */
        .nav-action-icon {
            position: relative; cursor: pointer; font-size: 1.3rem; color: #666;
            margin: 0 5px; display: flex; align-items: center; transition: color 0.2s;
        }
        .nav-action-icon:hover { color: var(--primary); }
        .noti-badge {
            position: absolute; top: -4px; right: -6px;
            background: #e53935; color: white; font-size: 0.6rem; font-weight: 800;
            padding: 2px 5px; border-radius: 10px; border: 2px solid white; line-height: 1;
        }
        
        
        /* ===== RING SYSTEM GLOBAL ===== */

.logo-ring-wrap {
    position: relative;
    width: 72px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    
    margin-bottom: 14px; /* 🔥 ADD THIS */
}

/* Animated Ring */
.shiny-ring {
    position: absolute;
    width: 100%;   /* 👈 FIX */
    height: 100%;  /* 👈 FIX */
    border-radius: 50%;
    padding: 3px;

    -webkit-mask: linear-gradient(#fff 0 0) content-box,
                  linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    animation: spin 4s linear infinite;
}

/* COLORS */
.ring-gold {
    background: conic-gradient(#FFD700, #FDB931, #FFED86, #FDB931, #FFD700);
}

.ring-silver {
    background: conic-gradient(#E0E0E0, #B0B0B0, #F5F5F5, #B0B0B0, #E0E0E0);
}

.ring-bronze {
    background: conic-gradient(#cd7f32, #a97142, #e6b17e, #a97142, #cd7f32);
}

/* LOGO */
.company-logo {
    width: 56px;
    height: 55px;
    border-radius: 50%;
    object-fit: contain;
    background: #fff;
    border: 2px solid #fff;
    z-index: 2;
}

/* BADGE */
.member-badge {
    position: absolute;
    bottom: -10px;   /* 🔥 MAIN FIX */
    left: 50%;
    transform: translateX(-50%);

    font-size: 10px;   /* stable */
    font-weight: 800;

    padding: 3px 10px;
    border-radius: 20px;

    white-space: nowrap;
    z-index: 3;

    box-shadow: 0 2px 6px rgba(0,0,0,0.2); /* premium look */
}

/* Badge Colors */
.badge-gold {
    background: linear-gradient(#FFD700, #FDB931);
    color: #000;
}

.badge-silver {
    background: linear-gradient(#ecf0f1, #bdc3c7);
    color: #333;
}

.badge-bronze {
    background: linear-gradient(#cd7f32, #a97142);
    color: #fff;
}

/* Spin Animation */
@keyframes spin {
    100% { transform: rotate(360deg); }
}


/* ===== FIX LOCATION TEXT SIZE (MATCH NAV) ===== */
.location-pin {
    display: flex;
    align-items: center;
    gap: 5px;
}

.location-pin span {
    font-size: 0.95rem;   /* EXACT same as nav-item */
    font-weight: 600;     /* EXACT same */
            /* same color */
}

.location-pin i {
    font-size: 0.9rem;    /* slightly smaller icon */
}

/* ===== MOBILE BOTTOM NAV FINAL ===== */

.mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {

    /* ❌ hide only menu */
    .nav-menu,
    .mobile-menu-btn {
        display: none !important;
    }

    /* ✅ keep header */
    .nav-right {
        display: flex !important;
    }

    /* ✅ bottom nav */
    .mobile-bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;

        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 65px;

        background: #fff;
        border-top: 1px solid #eee;

        z-index: 9999;
    }

    .bottom-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 11px;
        color: #666;
        text-decoration: none;
    }

    .bottom-item i {
        font-size: 18px;
        margin-bottom: 3px;
    }

    .bottom-item.active {
        color: var(--primary);
        font-weight: 700;
    }

    /* 🔥 prevent overlap */
    body {
        padding-bottom: 70px;
    }
}



/* ===== MOBILE PROFILE FIX ===== */
@media (max-width:768px){

    /* remove pill background */
    .user-profile{
        background: transparent !important;
        padding: 0 !important;
    }

    /* make avatar clean circle */
    .user-avatar{
        width: 32px;
        height: 32px;
        border-radius: 50%;

        background: #e8f0fe;
        color: #1a73e8;

        display: flex;
        align-items: center;
        justify-content: center;

        font-size: 0; /* hide A */
        position: relative;
    }

    /* icon */
    .user-avatar::before{
        content: "\f007";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 15px;

        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

}
.explore-btn {
    display: inline-block;
    background: #0d1b2a;
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
}

.explore-btn:hover {
    background: #1b263b;
}

