:root {
    --primary-color: #0F5CBF;
    --primary-dark: #141F38;
    --secondary-color: #6c757d;
    --dark-color: #0B1120;
    --light-color: #f8f9fa;
    --font-family: 'Inter', sans-serif;
    --heading-font: 'Plus Jakarta Sans', sans-serif;
}

@font-face {
    font-family: 'Pogonia';
    src: url('../fonts/pogonia-bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

/* Body Padding add for fixed navbar */
html, body {
    overflow-x: hidden !important;
    width: 100%;
}
body {
    padding-top: 70px;
}

body {
    font-family: var(--font-family);
    -webkit-font-smoothing: antialiased;
    background-color: #FCFCFD;
}

.navbar-fixed-custom {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(15, 92, 191, 0.12);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

/* Mobile: keep navbar visible during scroll */
@media (max-width: 991.98px) {
    :root {
        --navbar-height: 72px;
    }

    body {
        padding-top: var(--navbar-height);
    }
}

/* Custom Overrides & Enhancements for Bootstrap */
h1,
h2,
h3,
h4,
h5,
h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6,
.navbar-brand,
.btn,
.nav-link {
    font-family: var(--heading-font);
    font-family: var(--heading-font);
}

/* Typography Responsive scaling */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem !important;
        /* Force overrides inline styles if needed, though class is better */
    }

    .display-1 {
        font-size: 3.5rem;
    }

    .display-2 {
        font-size: 3rem;
    }

    .display-3 {
        font-size: 2.5rem;
    }

    .display-4 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.75rem;
    }

    .display-6 {
        font-size: 1.5rem;
    }
}

.text-justify {
    text-align: justify;
}

@media (min-width: 576px) {

    .container,
    .container-sm {
        max-width: 100%;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Optimize for exactly 1440px and up */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
}

.hover-primary:hover {
    color: var(--primary-color) !important;
}

.hover-white:hover {
    color: #fff !important;
}

/* Footer Icon Hover */
.footer-icon:hover {
    background-color: var(--primary-color) !important;
    transform: translateY(-2px);
}

/* Hero Typography */
.hero-title {
    font-size: 3.75rem;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

/* Hero Section Enhancement */
.hero-section {
    background: linear-gradient(180deg, #FCFCFD 0%, #F3F4F7 100%);
    min-height: 600px;
    padding-top: 3rem;
    padding-bottom: 5rem;
}

.text-gradient {
    color: var(--primary-color);
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.custom-badge {
    border: 1px solid #3B82F61A;
    border-radius: 50px;
    color: var(--primary-color);
    background-color: #3B82F61A;
    padding: 0.5rem 1rem;
}

/* Card Hover Effect */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175) !important;
}

/* Navbar Tweaks */
.navbar-nav .nav-link {
    font-size: 0.95rem;
    color: #4b5563;
    transition: all 0.2s ease;
    padding: 0.5rem 1rem !important;
    border-radius: 6px;
    font-weight: 500;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #1d4ed8 !important;
    background-color: rgba(59, 130, 246, 0.1);
    font-weight: 600;
}

/* Border Dashed Utility */
.border-dashed {
    border-style: dashed !important;
}

.cursor-pointer {
    cursor: pointer;
}

/* Button Tweaks */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #082A5E;
    border-color: #082A5E;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 92, 191, 0.2);
}

.letter-spacing-1 {
    letter-spacing: 1px;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

/* Employers Card with Glow Effects */
.card-employers {
    background-color: #141F38;
    color: white;
    background-image:
        radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, transparent 70%),
        radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, transparent 70%);
    background-size: 256px 256px, 192px 192px;
    background-position: top right, bottom left;
    background-repeat: no-repeat;
}

/* Glassmorphism Icon Utility */
.glass-icon {
    /* background: rgba(15, 92, 191, 0.08) !important; */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* border: 1px solid rgba(15, 92, 191, 0.1); */
}

/* Responsive adjustments if needed */
@media (max-width: 991.98px) {
    .navbar-collapse {
        padding-top: 1rem;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding-bottom: 1rem;
        border-top: 1px solid #eee;
    }

    /* Smoother collapse animation */
    .navbar-collapse.collapsing {
        transition: height 0.4s ease-in-out;
    }
}

/* CTA Section Custom Background */
.cta-section-custom {
    background:
        radial-gradient(circle, rgba(15, 92, 191, 0.4) 0%, transparent 70%),
        radial-gradient(circle, rgba(249, 250, 251, 0.1) 0%, transparent 70%),
        linear-gradient(90deg, #141F38, #22345E, #2D5286);
    background-size: 350px 350px, 280px 280px, 100% 100%;
    background-position: 40% 20%, 65% 85%, 0 0;
    background-repeat: no-repeat;
    position: relative;
}

/* CTA Section Mobile Responsiveness */
@media (max-width: 768px) {
    .cta-section-custom {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
        background-size: 250px 250px, 200px 200px, 100% 100%;
        background-position: top left, bottom right, center;
    }

    .cta-section-custom h2.display-4 {
        font-size: 2rem;
    }

    .cta-section-custom .lead {
        font-size: 1rem;
        margin-bottom: 2rem !important;
    }

    .cta-section-custom .btn {
        width: 100%;
    }
}

/* Animations */
/* Navbar Slide Down / Fade In Top to Bottom Animation */
@keyframes slideDownFade {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar-animate {
    animation: slideDownFade 0.8s ease-out forwards;
}

/* Section Pop-up (Fade In Up) Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Initial state for specialized sections we want to animate */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Class to add via JS when in view */
.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Slide In Left Animation */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-left.reveal-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Slide In Right Animation */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-right.reveal-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Reveal Delays */
.reveal-delay-100 {
    transition-delay: 0.1s;
}

.reveal-delay-200 {
    transition-delay: 0.2s;
}

.reveal-delay-300 {
    transition-delay: 0.3s;
}

/* Scale Up Animation */
.reveal-scale-up {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-scale-up.reveal-visible {
    opacity: 1;
    transform: scale(1);
}

/* Employers Page Hero Section */
.employers-hero {
    background:
        radial-gradient(circle, #0f5cbf66 0%, transparent 70%),
        radial-gradient(circle, #f9fafb1a 0%, transparent 70%),
        linear-gradient(90deg, #141F38, #141F38);
    background-size: 450px 450px, 288px 288px, 100% 100%;
    background-position: 15% 35%, 70% 20%, 0 0;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .employers-hero {
        background-size: 300px 300px, 200px 200px, 100% 100%;
        background-position: top left, bottom right, 0 0;
    }
}

/* Responsive padding for Job Seekers Hero */
@media (min-width: 992px) {
    .job-seekers-hero-content {
        padding-left: 10%;
    }
}

/* Responsive padding for Employers Hero */
@media (min-width: 992px) {
    .employers-hero-content {
        padding-left: 10%;
    }
}

/* Employers Badge */
.employers-badge {
    background-color: #1F2937;
    color: #E5E7EB;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* Employers Buttons */
.btn-employers-primary {
    background-color: #1D4ED8;
    border-color: #1D4ED8;
    color: white;
}

.btn-employers-primary:hover {
    background-color: #1e40af;
    border-color: #1e40af;
    color: white;
}

.btn-employers-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-employers-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}