* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: transparent !important;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Vanta Background Container - Fixed and Transparent */
.vanta-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Main Content Wrapper - Completely Transparent */
.main-content-wrapper {
    position: relative;
    z-index: 1;
    background: transparent !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Modern Navbar - Glass morphism with gradient */
.navbar-attractive {
    background: linear-gradient(135deg, rgba(15, 25, 55, 0.95) 0%, rgba(25, 45, 85, 0.95) 100%) !important;
    backdrop-filter: blur(16px);
    padding: 0.8rem 2rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.navbar-attractive::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffd700, #ff6b6b, #4ecdc4, #ffd700);
    background-size: 200% 100%;
    animation: gradientMove 3s ease infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 200% 0%;
    }
}

.navbar-attractive.scrolled {
    padding: 0.5rem 2rem;
    background: linear-gradient(135deg, rgba(10, 18, 35, 0.98) 0%, rgba(20, 35, 65, 0.98) 100%) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #ffd700);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-brand:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #ffd700, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
}

.navbar-brand i {
    margin-right: 10px;
    background: linear-gradient(135deg, #ffd700, #ff6b6b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 1.8rem;
}

/* Modern Nav Links */
.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    margin: 0 2px;
    padding: 8px 18px !important;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.nav-link i {
    margin-right: 8px;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.nav-link:hover {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700 !important;
    transform: translateY(-2px);
}

.nav-link:hover i {
    transform: translateY(-2px) scale(1.1);
    color: #ffd700;
}

.nav-link.active {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 107, 107, 0.2));
    color: #ffd700 !important;
    font-weight: 600;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

/* Modern Dropdown Menu */
.dropdown-menu {
    background: linear-gradient(135deg, rgba(20, 35, 65, 0.98), rgba(15, 25, 50, 0.98));
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    margin-top: 10px;
    padding: 8px;
}

.dropdown-item {
    padding: 10px 20px;
    transition: all 0.3s;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    margin: 2px 0;
}

.dropdown-item i {
    margin-right: 10px;
    width: 20px;
    color: #ffd700;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 107, 107, 0.2));
    color: #ffd700 !important;
    transform: translateX(5px);
}

/* Modern Auth Buttons */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-login-modern {
    position: relative;
    padding: 8px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 215, 0, 0.6);
    background: rgba(255, 215, 0, 0.1);
    color: #ffd700;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-login-modern i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.btn-login-modern:hover {
    background: rgba(255, 215, 0, 0.25);
    border-color: #ffd700;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.2);
    color: #ffd700;
}

.btn-login-modern:hover i {
    transform: translateX(-3px);
}

.btn-register-modern {
    position: relative;
    padding: 8px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    border: none;
    color: #1a1a2e;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.btn-register-modern i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.btn-register-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, #ffe44d, #ffa500);
    color: #1a1a2e;
}

.btn-register-modern:hover i {
    transform: translateX(3px);
}

/* Dashboard Button */
.btn-dashboard-modern {
    position: relative;
    padding: 8px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
    background: rgba(78, 205, 196, 0.2);
    border: 2px solid #4ecdc4;
    color: #4ecdc4;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-dashboard-modern i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.btn-dashboard-modern:hover {
    background: rgba(78, 205, 196, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(78, 205, 196, 0.2);
    color: #4ecdc4;
}

.btn-dashboard-modern:hover i {
    transform: rotate(5deg);
}

/* Navbar Toggler */
.navbar-toggler {
    border: 1px solid rgba(255, 215, 0, 0.5);
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 215, 0, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Footer - Glass effect */
.footer-attractive {
    background: rgba(26, 26, 46, 0.85);
    backdrop-filter: blur(12px);
    color: white;
    padding: 3rem 0 1rem 0;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
    color: white;
}

.footer-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #ffd700;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: #ffd700;
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    color: white;
    text-decoration: none;
}

.social-icon:hover {
    background: #ffd700;
    color: #1a1a2e;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.9), rgba(255, 140, 0, 0.9));
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a2e;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #1a1a2e;
}

/* Responsive */
@media (max-width: 991px) {
    .navbar-attractive {
        padding: 0.8rem 1rem;
    }

    .navbar-brand {
        font-size: 1.4rem;
    }

    .auth-buttons {
        margin-top: 1rem;
        justify-content: center;
    }

    .nav-link {
        text-align: center;
        margin: 5px 0;
    }

    .footer-title:after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

/* Canvas styling - Make sure Vanta covers full screen */
canvas {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0 !important;
}

/* Ensure all content has transparent backgrounds */
.container,
.row,
.col,
section {
    background: transparent !important;
}

/* Keep card backgrounds slightly visible but transparent */
.card,
.job-card,
.company-card,
.candidate-card,
.story-card {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
}

/* Text colors for better visibility on transparent background */
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
.text-muted {
    color: white !important;
}

.text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Override any white backgrounds from Bootstrap */
.bg-white,
.bg-light {
    background: transparent !important;
}

/* Keep buttons visible */
.btn-outline-primary {
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-primary:hover {
    background: rgba(255, 215, 0, 0.3);
    border-color: #ffd700;
    color: #ffd700;
}

.btn-primary {
    background: rgba(255, 215, 0, 0.85);
    border-color: #ffd700;
    color: #1e3c72;
}

.btn-primary:hover {
    background: #ffd700;
    transform: translateY(-2px);
}

/* Stats cards specific styling */
.stat-card {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
}

/* Section headers */
.section-header h2 {
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* CTA section */
.cta-section {
    background: rgba(30, 60, 114, 0.85) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}