/* --- Careers Page Specific Styles --- */

/* Hero Section - Updated for background image */
.hero {
    height: 100vh; /* Make the hero section fill the entire screen height */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    background: url('../images/showcase/Lounge.jpg') no-repeat center center; /* CHOOSE YOUR IMAGE HERE */
    background-size: cover;
}

/* Adds a dark overlay so the white text is easy to read */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.3) 0%, rgba(10, 10, 10, 0.7) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2; /* Ensures content is on top of the overlay */
}

.hero h1 {
    color: var(--text-light); /* Make heading text white */
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(230, 230, 230, 0.95); /* Make paragraph text light grey */
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
}

/* Positions Section */
.positions-section {
    background-color: var(--white-bg);
}

.position-card {
    background: var(--light-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s var(--elegant-ease), box-shadow 0.4s var(--elegant-ease);
}

.position-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.position-header {
    margin-bottom: 10px;
}

.position-title {
    font-size: 1.8rem;
    color: var(--text-heading);
    margin-bottom: 10px;
}

.position-meta {
    display: flex;
    gap: 25px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.position-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.position-meta i {
    color: var(--primary-color);
}

.responsibilities h4 {
    font-family: var(--sans-font);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-heading);
    margin-bottom: 15px;
    text-transform: none;
}

.responsibilities ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 25px;
}

.responsibilities li {
    padding: 10px 0 10px 30px;
    color: var(--text-muted);
    position: relative;
    font-size: 0.95rem;
}

.responsibilities li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* CTA Section --- UPDATED */
.cta-section {
    background-color: var(--secondary-color); /* UPDATED */
    color: var(--text-light);
    text-align: center;
    padding: 100px 0;
}

.cta-section h2, .cta-section h3 {
    color: var(--white-bg);
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn {
    border-color: var(--white-bg);
    color: var(--white-bg);
}

.cta-section .btn:hover {
    background-color: var(--white-bg);
    color: var(--secondary-color); /* UPDATED */
}

/* Responsive adjustments for careers page */
@media (max-width: 768px) {
    /* No specific hero changes needed here anymore, it's handled globally */
}

@media (max-width: 480px) {
    .position-card {
        padding: 30px 20px;
    }
}

/* --- Scroll Down Indicator --- */
.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: var(--text-light);
    font-size: 2rem;
    text-decoration: none;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
    opacity: 0.8;
    transition: transform 0.3s var(--elegant-ease), opacity 0.3s var(--elegant-ease);
    animation: bounce 2.5s infinite ease-in-out;
}

.scroll-down-indicator:hover {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px); /* Keep horizontal transform */
    animation-play-state: paused; /* Pause the bounce on hover */
}

/* Keyframes for the bounce animation */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-15px);
  }
  60% {
    transform: translateX(-50%) translateY(-10px);
  }
}