/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3995d1;
    --secondary-color: #f8911f;
    --text-dark: #1e293b;
    --text-medium: #475569;
    --text-light: #64748b;
    --text-lighter: #94a3b8;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-light: #e2e8f0;
    --border-lighter: #f1f5f9;
    --success: #4caf50;
    --warning: #f8911f;
    --error: #f44336;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Navigation */
.navbar {
    background: var(--bg-white);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--primary-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    cursor: pointer;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    cursor: pointer;
    font-size: 0.95rem;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: background 0.3s;
    position: relative;
}

.user-menu:hover {
    background: var(--bg-light);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background:  var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: block;
    padding: 0.875rem 1.25rem;
    color: var(--text-medium);
    transition: all 0.3s;
}

.user-dropdown a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.user-dropdown hr {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 0.5rem 0;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s;
}

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.btn-primary:hover {
    background: #2d7eb8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(57, 149, 209, 0.3);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.btn-secondary:hover {
    background: #e07d0c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(248, 145, 31, 0.3);
}

.btn-secondary-small {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.875rem;
}

.btn-secondary-small:hover {
    background: #e07d0c;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-full {
    width: 100%;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-outline-full:hover {
    background: var(--primary-color);
    color: white;
}

.btn-primary-full {
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.875rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.btn-primary-full:hover {
    background: #2d7eb8;
    transform: translateY(-2px);
}

.btn-icon {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.btn-icon:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.btn-icon svg {
    transition: all 0.3s;
}

.btn-icon.saved svg {
    fill: var(--secondary-color);
    stroke: var(--secondary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(57, 149, 209, 0.05), rgba(248, 145, 31, 0.05));
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(57, 149, 209, 0.1), transparent);
    animation: float 20s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg); 
    }
    50% { 
        transform: translate(30px, 30px) rotate(5deg); 
    }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    letter-spacing: -1px;
}

.animate-text {
    display: inline-block;
    animation: slideUp 1s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.highlight {
    background: var(--secondary-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    animation: slideUp 1s ease-out 0.2s both;
}

.search-box-large {
    background: white;
    padding: 0.75rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 3rem;
    animation: slideUp 1s ease-out 0.4s both;
}

.search-box-large svg {
    color: var(--text-lighter);
    margin-left: 0.5rem;
    flex-shrink: 0;
}

.search-box-large input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    color: var(--text-dark);
}

.search-box-large input::placeholder {
    color: var(--text-lighter);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    animation: slideUp 1s ease-out 0.6s both;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
}

.hero-visual {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    animation: floatCard 3s infinite ease-in-out;
}

.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 10%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 10%;
    left: 30%;
    animation-delay: 2s;
}

@keyframes floatCard {
    0%, 100% { 
        transform: translateY(0); 
    }
    50% { 
        transform: translateY(-20px); 
    }
}

.floating-card svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

/* Sections */
.categories-section,
.featured-section {
    max-width: 1400px;
    margin: 5rem auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
    position: relative;
}

.category-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 12px 32px rgba(57, 149, 209, 0.15);
}

.category-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(57, 149, 209, 0.1), rgba(248, 145, 31, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--primary-color);
}

.category-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.category-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.category-arrow {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    color: var(--primary-color);
    opacity: 0;
    transition: all 0.3s;
}

.category-card:hover .category-arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* Jobs Grid */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.job-card-featured {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.job-card-featured:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-light);
}

.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.company-logo {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--border-lighter), var(--border-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.job-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: color 0.3s;
}

.job-title:hover {
    color: var(--primary-color);
}

.company-name {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.meta-item svg {
    color: var(--text-lighter);
    flex-shrink: 0;
}

.job-description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.job-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.job-category {
    padding: 0.5rem 1rem;
    background: rgba(57, 149, 209, 0.1);
    color: var(--primary-color);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    background:  var(--secondary-color);
    padding: 5rem 2rem;
    margin: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="1" fill="white" opacity="0.3"/></svg>');
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

.cta-buttons .btn-outline {
    border-color: #3995d1;
    color: #3995d1;
}
.cta-buttons .btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: #2980b9;
    color: rgba(255, 255, 255, 1);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background:  var(--secondary-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255);
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

/* Alert/Toast Notifications */
.alert {
    position: fixed;
    top: 100px;
    right: 2rem;
    background: white;
    padding: 1.25rem 1.75rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 400px;
    z-index: 2000;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.alert.success {
    border-left: 4px solid var(--success);
}

.alert.warning {
    border-left: 4px solid var(--warning);
}

.alert.error {
    border-left: 4px solid var(--error);
}

.alert-icon {
    flex-shrink: 0;
}

.alert.success .alert-icon {
    color: var(--success);
}

.alert.warning .alert-icon {
    color: var(--warning);
}

.alert.error .alert-icon {
    color: var(--error);
}

.alert-message {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-visual {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .hero,
    .categories-section,
    .featured-section {
        padding: 3rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .search-box-large {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box-large .btn-primary {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}
.profile-header-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    align-items: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
    margin-bottom: 24px;
}

.profile-avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #0f172a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 600;
    overflow: hidden;
}

.profile-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-title {
    color: #64748b;
    margin-top: 6px;
}

.profile-completion {
    margin-top: 12px;
}

.completion-label {
    font-size: 0.85rem;
    margin-bottom: 4px;
    color: #475569;
}

.completion-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}

.completion-progress {
    height: 100%;
    background:  #e07d0c;
    border-radius: 999px;
}

.profile-header-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-primary,
.btn-outline {
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-primary {
    background: #3995d1;
    color: #fff;
}

.btn-outline {
    border: 1px solid #3995d1;
    color: #3995d1;
    background: #fff;
}

.btn-primary:hover {
    background: #e07d0c;
}

.btn-outline:hover {
    background: #e07d0c;
}
