/* Custom styles for Hijob landing page */

/* Hero section styling */
.hero-section {
    background: linear-gradient(135deg, var(--bs-dark) 0%, #2c3e50 100%);
    position: relative;
}

/* Smooth scrolling for navigation */
html {
    scroll-behavior: smooth;
}

/* Ensure proper spacing for fixed navbar */
body {
    padding-top: 56px;
}

/* Feature icons styling */
.feature-icon {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Card hover effects */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Button animations */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Enhanced contrast button styling for CTA */
.btn-warning {
    background: linear-gradient(135deg, #ffc107 0%, #ff9500 100%);
    border: none;
    color: #000;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #ffca2c 0%, #ffab00 100%);
    color: #000;
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
    transform: translateY(-3px);
}

.btn-warning i {
    flex-shrink: 0;
}

/* Testimonial quote styling */
.fa-quote-left {
    opacity: 0.3;
}

/* Hero graphic animations */
.hero-graphic .card {
    animation: float 3s ease-in-out infinite;
}

.hero-graphic .card:nth-child(2) {
    animation-delay: -1s;
}

.hero-graphic .card:nth-child(3) {
    animation-delay: -2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* AI Demo Animation Styling */
.ai-demo-container {
    min-height: 400px;
    position: relative;
}

.demo-step {
    animation: slideInFade 1s ease-out;
}

.linkedin-profile {
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.highlight-data {
    transition: all 0.5s ease;
    position: relative;
}

.highlight-data.highlighting {
    background-color: rgba(23, 162, 184, 0.2);
    border-left: 3px solid #17a2b8;
    padding-left: 10px;
    transform: scale(1.02);
}

.extractable-data {
    color: #fff;
    font-weight: 500;
}

.ai-processing {
    text-align: center;
}

.processing-icon {
    animation: brainPulse 2s ease-in-out infinite;
}

.extraction-points {
    text-align: left;
    max-width: 250px;
    margin: 0 auto;
}

.extraction-point {
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInPoints 0.8s ease-out forwards;
}

.extraction-point:nth-child(1) { animation-delay: 0.5s; }
.extraction-point:nth-child(2) { animation-delay: 1s; }
.extraction-point:nth-child(3) { animation-delay: 1.5s; }
.extraction-point:nth-child(4) { animation-delay: 2s; }

.message-text {
    font-style: italic;
    line-height: 1.5;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #fff;
}

/* Animations */
@keyframes slideInFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes brainPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes slideInPoints {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Demo controls */
.demo-controls {
    margin-top: 20px;
}

.demo-controls .btn {
    transition: all 0.3s ease;
}

.demo-controls .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
}

/* Form styling */
.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-info-rgb), 0.25);
    border-color: var(--bs-info);
}

/* Navigation link active state */
.navbar-nav .nav-link {
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--bs-info) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .hero-graphic {
        margin-top: 2rem;
    }
}

/* Loading animation for form submission */
.btn.loading {
    pointer-events: none;
    position: relative;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-top: -8px;
    margin-left: -8px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Gradient backgrounds for success highlights */
.bg-gradient-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
}

.bg-gradient-info {
    background: linear-gradient(135deg, #17a2b8 0%, #6f42c1 100%) !important;
}

/* Statistics section styling */
#stats .display-4 {
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Success stories badges */
.badge {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
}

/* Company badges styling */
.badge.bg-white.text-dark {
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Blinking cursor animation for demo section */
.blinking-cursor {
    animation: blink 1s infinite;
    color: #fff;
    font-size: 18px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}
