/* 
  Greek Style Optimization for US Job Board
  Based on Recruitment Network Design
*/

/* Import Animate.css */
@import url('https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css');

:root {
    /* Greek Palette adapted or kept as is */
    --greek-primary: #1e40af;
    --greek-secondary: #0ea5e9;
    --greek-accent: #f59e0b;
    --greek-blue: #004B87;
    --greek-light-blue: #87CEEB;
    --mediterranean-blue: #006994;

    /* Animation Variables */
    --animation-fast: 0.3s;
    --animation-normal: 0.6s;
    --animation-slow: 1.2s;
    --easing-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --easing-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Gradients */
    --gradient-greek-primary: linear-gradient(135deg, var(--greek-primary) 0%, var(--greek-secondary) 100%);
    --gradient-greek-hero: linear-gradient(135deg, var(--greek-blue) 0%, var(--mediterranean-blue) 50%, var(--greek-secondary) 100%);
    --gradient-gold: linear-gradient(45deg, #FFD700, #FFA500);
    --text-gradient: linear-gradient(45deg, #FFD700, #FFA500, #FF6B35);
    --highlight-gradient: linear-gradient(45deg, #00C851, #17a2b8);
}

/* Animation Classes */
.text-gradient {
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease-in-out infinite;
}

.highlight-text {
    background: var(--highlight-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-gold);
    border-radius: 2px;
    animation: highlight-expand 2s ease-out;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(35deg);
    }

    100% {
        transform: translateX(100%) rotate(35deg);
    }
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes highlight-expand {
    0% {
        width: 0;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        width: 100%;
        opacity: 0.8;
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.4;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }

    25% {
        transform: translateY(-30px) rotate(90deg);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.4;
    }

    75% {
        transform: translateY(-40px) rotate(270deg);
        opacity: 0.7;
    }
}

.animate-bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    53%,
    80%,
    100% {
        transform: translateY(0);
    }

    40%,
    43% {
        transform: translateY(-8px);
    }

    70% {
        transform: translateY(-4px);
    }

    90% {
        transform: translateY(-2px);
    }
}

.counter {
    animation: countUp 2s ease-out;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
.hero-section {
    background: var(--gradient-greek-hero);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.particle-canvas {
    pointer-events: none;
    opacity: 0.6;
}

.hero-bg-pattern {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1.5" fill="white" opacity="0.05"/><circle cx="50" cy="10" r="0.8" fill="white" opacity="0.08"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.4;
}

.floating-decorations .decoration-circle:nth-child(1) {
    animation: float 6s ease-in-out infinite;
    animation-delay: 0s;
}

.floating-decorations .decoration-circle:nth-child(2) {
    animation: float 8s ease-in-out infinite reverse;
    animation-delay: 1s;
}

.floating-decorations .decoration-triangle {
    animation: rotate 10s linear infinite, float 4s ease-in-out infinite;
    animation-delay: 0.5s;
}

/* Stats Items */
.hero-stats .stat-item {
    transition: all var(--animation-normal) var(--easing-smooth);
    cursor: pointer;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stats .stat-item:hover {
    transform: translateY(-10px) scale(1.05);
}

.hero-stats .stat-item:hover .glow-effect {
    opacity: 1;
}

.hero-stats .stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity var(--animation-fast);
}

.hero-stats .stat-item:hover::before {
    opacity: 1;
    animation: shine 1.5s ease-out;
}

/* Hero Buttons */
.hero-btn {
    position: relative;
    overflow: hidden;
    transition: all var(--animation-normal) var(--easing-bounce);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.hero-btn:hover .btn-shine {
    transform: translateX(100%);
}

/* Floating Cards */
.floating-card {
    transition: all var(--animation-normal) var(--easing-bounce);
    z-index: 20 !important;
    position: absolute !important;
}

.hero-section .floating-card {
    animation: heroFloat 6s ease-in-out infinite;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    width: auto !important;
    height: auto !important;
    display: block !important;
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0px);
        opacity: 0.95;
    }

    50% {
        transform: translateY(-15px);
        opacity: 1;
    }
}

.hero-section .floating-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25) !important;
    z-index: 30 !important;
}

/* Decoration Ring */
.decoration-ring {
    opacity: 0.3;
}

/* Main Image */
.hero-main-image {
    transition: all var(--animation-normal) var(--easing-smooth);
    position: relative;
    z-index: 5;
}

.hero-main-image:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* Feature Cards */
.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover .card-gradient {
    opacity: 1;
}

.feature-card:hover .icon-glow {
    opacity: 1;
}

.feature-card .feature-icon {
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotateY(10deg);
    box-shadow: 0 15px 35px rgba(30, 64, 175, 0.3);
}

.feature-tags .badge {
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-tags .badge:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh;
        padding: 2rem 0;
    }

    .floating-card {
        position: relative !important;
        margin: 1rem 0;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
    }

    .hero-stats .stat-item {
        margin-bottom: 1rem;
    }

    .decoration-ring,
    .floating-decorations {
        display: none;
    }
}
/* === New Enhancements from Reference Project === */

/* Live Stats Styles */
.live-stats .bg-white {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
}

.live-stats .bg-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: var(--greek-primary);
}

/* Feature Card Enhancements */
.feature-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card .card-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30,64,175,0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.feature-card:hover .card-gradient {
    opacity: 1;
}

.feature-card .icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30,64,175,0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.feature-card:hover .icon-glow {
    opacity: 1;
}

/* Stats Circle Animation */
.stats-circle {
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card:hover .stats-circle {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(16,185,129,0.4);
}

/* Pulse Animations */
.pulse-animation {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 5px rgba(16,185,129,0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(16,185,129,0.8);
    }
}

.bg-success.rounded-circle {
    animation: pulse-indicator 2s infinite;
}

@keyframes pulse-indicator {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

/* Feature Badge Container */
.feature-badge-container .badge {
    box-shadow: 0 8px 25px rgba(255,215,0,0.3);
}

