/* Base Variables */
:root {
    --primary-color: #1b4332;
    --secondary-color: #ddb892;
    --accent-color: #b08d57;
    --hover-color: #2d6a4f;
    --text-color: #333333;
    --light-color: #ffffff;
    --glass-bg: rgba(27, 67, 50, 0.1);
    --glass-border: rgba(221, 184, 146, 0.2);
    --gradient-start: #b08d57;
    --gradient-end: #ddb892;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --green-gradient: linear-gradient(135deg, 
        var(--primary-color),
        var(--hover-color)
    );
    --gold-gradient: linear-gradient(135deg, 
        var(--gradient-start),
        var(--gradient-end)
    );
}

/* Global Styles */
body {
    color: var(--text-color);
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, 
        rgba(27, 67, 50, 0.05) 0%,
        rgba(221, 184, 146, 0.1) 50%,
        rgba(176, 141, 87, 0.05) 100%
    );
    min-height: 100vh;
    position: relative;
}

/* Career Hero Section */
.career-hero {
    position: relative;
    padding: 4rem 2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    margin: 2rem auto;
    max-width: 1200px;
    overflow: hidden;
    border: 1px solid rgba(221, 184, 146, 0.2);
    opacity: 0;
    animation: scaleIn 0.8s ease-out forwards;
}

.career-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(221, 184, 146, 0.1),
        rgba(27, 67, 50, 0.05),
        rgba(176, 141, 87, 0.1)
    );
    z-index: -1;
}

.career-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    background: var(--green-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}

.career-hero h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.career-hero p {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

/* Suitcase Icon and Title Animation Group */
.animation-group {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.suitcase-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.suitcase-icon i {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.suitcase-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 15px;
    background: radial-gradient(
        ellipse at center,
        rgba(221, 184, 146, 0.3) 0%,
        transparent 70%
    );
    left: 0;
    bottom: -5px;
    filter: blur(5px);
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Hover Effects */
.suitcase-icon:hover,
.career-hero h1:hover,
.suitcase-icon:hover ~ h1,
.career-hero h1:hover ~ .suitcase-icon {
    transform: translateY(-5px);
}

.suitcase-icon:hover::after,
.career-hero h1:hover ~ .suitcase-icon::after {
    opacity: 1;
    transform: translateY(0);
}

.suitcase-icon:hover i {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    transform: scale(1.1) rotate(5deg);
}

/* Career Content Section */
.career-content {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 
        0 15px 35px rgba(27, 67, 50, 0.1),
        inset 0 1px 2px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(221, 184, 146, 0.2);
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

.career-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2rem;
}

/* Application Steps */
.application-steps {
    margin: 3rem 0;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1s forwards;
}

.steps-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
}

.steps-list li {
    position: relative;
    padding: 1.5rem 2rem 1.5rem 4rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    border: 1px solid rgba(221, 184, 146, 0.2);
    transition: var(--transition);
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInRight 0.5s ease-out forwards;
}

.steps-list li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.steps-list li:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 
        0 10px 20px rgba(27, 67, 50, 0.1),
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.steps-list li:hover::before {
    transform: translateY(-50%) scale(1.1) rotate(360deg);
    box-shadow: 0 0 15px rgba(221, 184, 146, 0.5);
}

.steps-list li:nth-child(1) { animation-delay: 1.2s; }
.steps-list li:nth-child(2) { animation-delay: 1.4s; }
.steps-list li:nth-child(3) { animation-delay: 1.6s; }
.steps-list li:nth-child(4) { animation-delay: 1.8s; }

/* Application Form */
.application-form {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    border: 1px solid rgba(221, 184, 146, 0.3);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 2s forwards;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(221, 184, 146, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(221, 184, 146, 0.2);
    transform: translateY(-2px);
}

.file-upload {
    position: relative;
    padding: 2rem;
    border: 2px dashed rgba(221, 184, 146, 0.5);
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    overflow: hidden;
}

.file-upload:hover {
    border-color: var(--accent-color);
    background: rgba(221, 184, 146, 0.05);
}

.file-upload input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.file-upload::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(221, 184, 146, 0.1),
        transparent
    );
    transform: translateX(-100%) rotate(45deg);
    transition: transform 0.6s ease;
}

.file-upload:hover::before {
    transform: translateX(100%) rotate(45deg);
}

.submit-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gold-gradient);
    border: none;
    border-radius: 50px;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: translateX(-100%);
    transition: none;
}

.submit-btn:hover {
    transform: translateY(-3px);
    background: var(--green-gradient);
    color: var(--light-color);
    box-shadow: 0 10px 20px rgba(27, 67, 50, 0.15);
}

.submit-btn:hover::before {
    transform: translateX(100%);
    transition: transform 0.8s ease;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .career-hero {
        padding: 3rem 1.5rem;
        margin: 1rem;
    }

    .career-hero h1 {
        font-size: 2.5rem;
    }

    .career-hero h2 {
        font-size: 1.5rem;
    }

    .career-content {
        margin: 2rem 1rem;
        padding: 1.5rem;
    }

    .steps-list li {
        padding: 1.2rem 1.5rem 1.2rem 3.5rem;
    }

    .steps-list li::before {
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
    }

    .suitcase-icon {
        font-size: 3rem;
    }
}
