/* Hero Section */
.hero-section {
    background-image: url('../images/careers_hero.JPG');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--text-light);
    text-align: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(76, 28, 34, 0.466) 60%, rgba(234, 197, 122, 0.466) 100%);
    backdrop-filter: blur(4px);

    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.hero-content h1 {
    font-family: 'Merriweather', serif;
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 0.8rem;
    animation: fadeInDown 0.8s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-icon {
    display: block;
    margin: 0.8rem auto;
    font-size: 45px; /* Reduced for better balance */
    color: var(--golden-yellow); /* Better contrast with background */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3); /* Subtle shadow for depth */
    animation: bounce 3s infinite; /* Slower animation for elegance */
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Section Title */
.section-title {
    font-family: 'Merriweather', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--deep-plum);
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(to right, var(--deep-plum), var(--forest-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Resume Submission Section */
.resume-submission {
    padding: 4rem 0;
    background: var(--section-bg);
    text-align: center;
}

.intro-text {
    font-size: 1rem;
    color: var(--text-main);
    max-width: 600px;
    margin: 0 auto 1.5rem;
    text-align: center;
    background: var(--background);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--modern-green);
}

.submission-box {
    max-width: 500px;
    margin: 0 auto;
    padding: 1.5rem;
    background: var(--background);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(72, 31, 36, 0.1);
}

.submission-box p {
    font-size: 1rem;
    color: var(--deep-plum);
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--modern-green);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #2d9d68;
}

.note {
    font-size: 0.9rem;
    color: var(--text-main);
    margin-top: 1rem;
}

/* HR Contact Section */
.hr-contact {
    padding: 4rem 0;
    background: var(--background);
    text-align: center;
}

.contact-card {
    max-width: 400px;
    margin: 0 auto;
    padding: 1.5rem;
    background: var(--background);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(72, 31, 36, 0.1);
}

.contact-card h3 {
    font-family: 'Merriweather', serif;
    font-size: 1.4rem;
    color: var(--forest-green);
    margin-bottom: 0.5rem;
}

.contact-card p {
    font-size: 1rem;
    color: var(--deep-plum);
    margin-bottom: 0.5rem;
}

.contact-card p i {
    color: var(--golden-yellow);
    margin-right: 8px;
}

.contact-card a {
    color: var(--modern-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: #2d9d68;
}

/* Fade-in Animation */
.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.fade-in {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-section {
        height: 250px;
    }

    .hero-content h1 {
        font-size: 2.3rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 200px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 180px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .hero-icon {
        font-size: 40px; /* Reduced for better balance on mobile */
    }

    .section-title {
        font-size: 1.8rem;
    }

    .resume-submission,
    .hr-contact {
        padding: 2rem 0;
    }

    .intro-text {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .submission-box {
        padding: 1rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .contact-card {
        padding: 1rem;
    }
}