@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Open+Sans:wght@400;600&display=swap');

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    letter-spacing: 0.02em;
    background: #F7FAFC;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
}

.glass-effect:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.hero-bg {
    background-image: url('https://foximbox.com/img/am/p/alnjo7rybr5ubskokuetg3qin.png');
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cta-button {
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
    animation: pulse 2s infinite;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 174, 239, 0.5);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

.gradient-bg {
    background: linear-gradient(45deg, #F2F2F2, #E6F0FA);
    background-size: 200% 200%;
    animation: gradientFlow 10s ease infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hidden-vacancies {
    display: none !important;
}

.form-progress {
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.form-progress-bar {
    height: 100%;
    background: #00AEEF;
    transition: width 0.3s;
}

.form-field {
    transition: border-color 0.3s, box-shadow 0.3s;
    background: rgba(255, 255, 255, 0.05);
}

.form-field:focus {
    border-color: #00AEEF;
    box-shadow: 0 0 8px rgba(0, 174, 239, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

section {
    padding: 3rem 0;
}

.vacancy-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
    padding: 1rem;
}

.condition-card, .advantage-card {
    min-height: 220px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

/* Modal Styles */
#job-modal {
    transition: opacity 0.3s ease;
}

#job-modal.hidden {
    opacity: 0;
    pointer-events: none;
}

#job-modal .glass-effect {
    background: rgba(255, 255, 255, 0.9);
}

/* Reviews Carousel */
.reviews-container {
    display: flex;
}

.review-item {
    flex: 0 0 300px;
    text-align: center;
}

/* FAQ Accordion */
.faq-toggle {
    transition: all 0.3s ease;
}

.faq-toggle i {
    transition: transform 0.3s ease;
}

.faq-toggle.active i {
    transform: rotate(45deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.faq-content.active {
    max-height: 200px;
    opacity: 1;
    padding-bottom: 1rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-bg {
        min-height: 70vh;
    }
    .hero-content h2 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .vacancy-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .vacancy-item .cta-button {
        margin-top: 0.5rem;
    }
    .vacancy-item > div {
        margin-bottom: 0.5rem;
    }
    .condition-card, .advantage-card {
        min-height: 180px;
    }
    .hero-bg {
        background-attachment: scroll;
        min-height: 60vh;
    }
    .hero-content h2 {
        font-size: 2rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .review-item {
        flex: 0 0 100%;
    }
    .reviews pot 1
    #job-modal .md\:flex-row {
        flex-direction: column;
    }
    #job-modal .md\:w-1\/2 {
        width: 100%;
    }
    .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    section {
        padding: 2rem 0;
    }
}

@media (max-width: 640px) {
    header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    header .cta-button {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    .grid-cols-3, .grid-cols-2 {
        grid-template-columns: 1fr;
    }
    .reviews-container {
        flex-direction: column;
    }
    .review-item {
        flex: 0 0 100%;
        min-width: 100%;
    }
}