﻿/* =============================================
   SUCCESS24 / NAUKARI24 - GLOBAL THEME
   Modern SaaS | Bhagwa Orange + White
   Footer: Premium Black with Orange Accents
============================================= */
:root {
    --primary: #f97316;
    --primary-dark: #c2410c;
    --primary-soft: #fff7ed;
    --primary-soft-2: #ffedd5;
    --secondary: #ea580c;
    --grad: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
    --grad-hover: linear-gradient(135deg, #f97316 0%, #c2410c 100%);
    --dark: #171717;
    --text: #525252;
    --muted: #a3a3a3;
    --border: #e5e5e5;
    --background: #ffffff;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
    --shadow-md: 0 14px 40px -12px rgba(0,0,0,.18);
    --shadow-orange: 0 8px 22px -8px rgba(249,115,22,.55);
}

/* =============================================
   GLOBAL
============================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    background: var(--background);
    color: var(--text);
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
}

::selection {
    background: #fed7aa;
    color: #7c2d12;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-thumb {
    background: #d4d4d4;
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--primary);
    }

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 8px;
}

.page-content {
    min-height: 70vh;
}

/* =============================================
   HEADER - WHITE / STICKY
============================================= */

.main-header {
    position: sticky;
    top: 0;
    z-index: 1050;
    background: rgba(255,255,255,.97);
    border-bottom: 2px solid var(--primary);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 3px 15px rgba(0,0,0,.035);
}

    .main-header .navbar {
        min-height: 76px;
        padding: 10px 0;
    }

    .main-header .navbar-toggler {
        border: 1px solid #fed7aa;
        border-radius: 10px;
        padding: 8px 11px;
        color: var(--primary-dark);
        background: #fff7ed;
        box-shadow: none !important;
    }

        .main-header .navbar-toggler:focus {
            box-shadow: 0 0 0 3px rgba(249,115,22,.15) !important;
        }

/* =============================================
   LOGO
============================================= */

.success-logo,
.footer-logo {
    display: inline-block;
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -1.3px;
}

.logo-success {
    color: #171717;
}

.logo-24 {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* =============================================
   NAVIGATION
============================================= */

.main-nav {
    margin-left: 35px;
    gap: 4px;
}

    .main-nav .nav-link {
        position: relative;
        color: #404040;
        font-size: 14px;
        font-weight: 600;
        padding: 10px 15px !important;
        border-radius: 9px;
        transition: color .2s ease, background .2s ease;
    }

        .main-nav .nav-link:hover,
        .main-nav .nav-link.active,
        .main-nav .nav-link.show {
            color: var(--primary-dark);
            background: var(--primary-soft);
        }

        /* Subtle orange underline */

        .main-nav .nav-link::after {
            content: "";
            position: absolute;
            left: 15px;
            right: 15px;
            bottom: 4px;
            height: 2px;
            border-radius: 5px;
            background: var(--primary);
            transform: scaleX(0);
            transform-origin: center;
            transition: transform .2s ease;
        }

        .main-nav .nav-link:hover::after,
        .main-nav .nav-link.active::after {
            transform: scaleX(1);
        }

/* =============================================
   DROPDOWN
============================================= */

.dropdown-menu {
    border: 1px solid #fed7aa;
    border-radius: 14px;
    padding: 8px;
    min-width: 220px;
    margin-top: 8px !important;
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

.dropdown-item {
    padding: 10px 12px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 500;
    color: #404040;
    transition: background .15s ease, color .15s ease;
}

    .dropdown-item:hover,
    .dropdown-item:focus,
    .dropdown-item.active {
        background: var(--primary-soft);
        color: var(--primary-dark);
    }

/* =============================================
   NAVBAR BUTTONS
============================================= */

.nav-actions .btn {
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: all .22s ease;
}

/* Login - White with orange border */

.btn-login {
    color: var(--primary-dark);
    border: 1px solid #fdba74;
    background: #ffffff;
}

    .btn-login:hover {
        background: var(--primary-soft);
        color: #9a3412;
        border-color: var(--primary);
        transform: translateY(-1px);
    }

/* Register - Bhagwa */

.btn-register {
    background: var(--grad);
    color: #ffffff;
    border: 1px solid transparent;
    box-shadow: var(--shadow-orange);
}

    .btn-register:hover {
        background: var(--grad-hover);
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 12px 25px -8px rgba(234,88,12,.65);
    }

/* Employer button */

.btn-employer {
    color: #262626;
    background: #ffffff;
    border: 1px solid #d4d4d4;
}

    .btn-employer:hover {
        color: #ffffff;
        background: #262626;
        border-color: #262626;
        transform: translateY(-1px);
    }

.employer-divider {
    height: 30px;
    width: 1px;
    background: var(--border);
    margin: 0 6px;
}

/* =============================================
   OPTIONAL ORANGE TOP ACCENT
============================================= */

.main-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad);
    pointer-events: none;
}

/* =============================================
   FOOTER - PREMIUM BLACK + BHAGWA
============================================= */

.main-footer {
    position: relative;
    overflow: hidden;
    background: linear-gradient( 145deg, #171717 0%, #0a0a0a 65%, #292016 100% );
    color: #d4d4d4;
    padding: 72px 0 0;
    margin-top: 80px;
    border-top: 3px solid var(--primary);
}

    .main-footer::before {
        content: "";
        position: absolute;
        right: -120px;
        top: -150px;
        width: 380px;
        height: 380px;
        border-radius: 50%;
        background: rgba(249,115,22,.09);
        pointer-events: none;
    }

    .main-footer::after {
        content: "";
        position: absolute;
        left: -150px;
        bottom: -220px;
        width: 380px;
        height: 380px;
        border-radius: 50%;
        background: rgba(234,88,12,.06);
        pointer-events: none;
    }

    .main-footer > * {
        position: relative;
    }

    .main-footer .logo-success {
        color: #ffffff;
    }

    .main-footer .logo-24 {
        background: linear-gradient(135deg, #fdba74, #f97316);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

.footer-description {
    max-width: 340px;
    line-height: 1.8;
    font-size: 14px;
    margin-top: 17px;
    color: #a3a3a3;
}

.footer-title {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

    .footer-title::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 35px;
        height: 2px;
        border-radius: 5px;
        background: var(--primary);
    }

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 12px;
    }

    .footer-links a {
        color: #a3a3a3;
        font-size: 14px;
        transition: color .2s ease, padding-left .2s ease;
    }

        .footer-links a:hover {
            color: #fb923c;
            padding-left: 4px;
        }

/* =============================================
   SOCIAL LINKS
============================================= */

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

    .social-links a {
        width: 40px;
        height: 40px;
        border-radius: 11px;
        background: rgba(255,255,255,.06);
        border: 1px solid rgba(255,255,255,.12);
        color: #e5e5e5;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all .25s ease;
    }

        .social-links a:hover {
            background: var(--primary);
            border-color: var(--primary);
            color: #ffffff;
            transform: translateY(-3px);
        }

/* =============================================
   FOOTER BOTTOM
============================================= */

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    margin-top: 54px;
    padding: 24px 0;
    font-size: 13px;
    color: #a3a3a3;
}

    .footer-bottom a {
        color: #fb923c;
        transition: color .2s ease;
    }

        .footer-bottom a:hover {
            color: #fed7aa;
        }

/* =============================================
   OPTIONAL ORANGE BADGE / HIGHLIGHT
============================================= */

.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.border-primary {
    border-color: var(--primary) !important;
}

/* =============================================
   RESPONSIVE - TABLET
============================================= */

@media (max-width: 991px) {

    .main-header .navbar {
        min-height: 68px;
    }

    .main-nav {
        margin-left: 0;
        margin-top: 15px;
        gap: 2px;
    }

        .main-nav .nav-link {
            padding: 12px 10px !important;
        }

            .main-nav .nav-link::after {
                display: none;
            }

    .nav-actions {
        align-items: stretch !important;
        flex-direction: column;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid var(--border);
        gap: 10px;
    }

        .nav-actions .btn {
            width: 100%;
        }

    .employer-divider {
        display: none;
    }

    .navbar-collapse {
        padding-bottom: 15px;
    }

    .main-header .navbar-collapse {
        background: #ffffff;
    }
}

/* =============================================
   RESPONSIVE - MOBILE
============================================= */

@media (max-width: 767px) {

    .success-logo,
    .footer-logo {
        font-size: 24px;
    }

    .main-footer {
        padding-top: 50px;
        margin-top: 50px;
    }

    .footer-bottom {
        text-align: center;
        margin-top: 35px;
    }

    .footer-description {
        max-width: 100%;
    }
}

/* =============================================
   ACCESSIBILITY
============================================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
}

/* =============================================
   NAV ACTION BUTTONS - WHITE + BHAGWA HOVER
============================================= */
.nav-actions .btn,
.nav-actions .btn:focus {
    background: #ffffff !important;
    color: #ea580c !important;
    border: 1px solid #f97316 !important;
    box-shadow: none !important;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all .25s ease;
}

/* Hover - Bhagwa Orange */

.nav-actions .btn:hover,
.nav-actions .btn:active {
    background: #f97316 !important;
    color: #ffffff !important;
    border-color: #f97316 !important;
    box-shadow: 0 6px 16px rgba(249, 115, 22, .25) !important;
    transform: translateY(-1px);
}

/* Register - override Bootstrap primary styles */

.nav-actions .btn-register,
.nav-actions .btn-register:focus,
.nav-actions .btn-register:active {
    background: #ffffff !important;
    color: #ea580c !important;
    border: 1px solid #f97316 !important;
    box-shadow: none !important;
}

    /* Register hover */

    .nav-actions .btn-register:hover {
        background: #f97316 !important;
        color: #ffffff !important;
        border-color: #f97316 !important;
    }

/* Employer button - same white/orange theme */

.nav-actions .btn-employer,
.nav-actions .btn-employer:focus {
    background: #ffffff !important;
    color: #ea580c !important;
    border: 1px solid #f97316 !important;
}

    /* Employer icon */

    .nav-actions .btn-employer i {
        color: inherit;
    }

/* Keep all buttons consistent on mobile */

@media (max-width: 991px) {
    .nav-actions .btn {
        width: 100%;
    }
}
