/* Careers Page Styles */

/* Hero Section */
.careers-hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('../../images/JPEG/dhcteam1.jpg') center/cover no-repeat;
    color: white;
    text-align: center;
    overflow: hidden;
}

.careers-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.careers-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.careers-hero .subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.95;
}

.salary-highlight {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-width: 300px;
    padding: 18px 28px;
    background: linear-gradient(135deg, rgba(214,0,156,0.95) 0%, rgba(214,0,156,0.8) 55%, rgba(255,255,255,0.18) 100%);
    color: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.35);
    font-weight: 700;
    margin: 30px auto 10px;
    box-shadow: 0 10px 36px rgba(214, 0, 156, 0.28);
    animation: pulse 2s infinite;
    text-align: center;
}

.salary-highlight .amount {
    font-size: 2rem;
    line-height: 1.15;
    letter-spacing: 0.2px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.salary-highlight .salary-sub {
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.95;
    margin-top: 6px;
    letter-spacing: 0.3px;
}

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

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 15px;
    align-items: center;
}

.lang-flag {
    width: 32px;
    height: 32px;
    cursor: pointer;
    border-radius: 50%;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    object-fit: cover;
}

.lang-flag:hover {
    transform: scale(1.1);
    border-color: #d6009c;
}

.lang-flag.active {
    border-color: #d6009c;
    box-shadow: 0 0 15px rgba(214, 0, 156, 0.5);
}

/* Benefits Grid */
.benefits-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(214, 0, 156, 0.15);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.benefit-card h3 {
    font-size: 1.3rem;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-weight: 600;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

/* Why Work Section */
.why-work-section {
    padding: 80px 0;
}

.why-work-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 50px;
}

.why-work-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.why-work-list {
    list-style: none;
    padding: 0;
}

.why-work-list li {
    padding: 15px 0;
    padding-left: 40px;
    position: relative;
    font-size: 1.1rem;
    color: #444;
    line-height: 1.8;
}

.why-work-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #d6009c;
    font-weight: 700;
    font-size: 1.5rem;
}

/* Application Form */
.application-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.application-form {
    max-width: 700px;
    margin: 50px auto 0;
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 60%, #fafafa 100%);
    padding: 38px 36px;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.08);
    border: 1px solid #f1f1f1;
    position: relative;
}

.application-form:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    background: linear-gradient(135deg, #d6009c 0%, #a0007a 100%);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 15px;
    border: 1.5px solid #e7e7e9;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    background: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d6009c;
    box-shadow: 0 0 0 4px rgba(214, 0, 156, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.submit-btn {
    width: 100%;
    padding: 16px 18px;
    background: linear-gradient(135deg, #d6009c 0%, #a0007a 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: .2px;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 6px;
}

.submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(214, 0, 156, 0.28);
}

/* Local SEO Section */
.local-seo-section {
    padding: 80px 0;
    background: white;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.city-badge {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.city-badge:hover {
    border-color: #d6009c;
    transform: translateY(-5px);
}

.city-badge svg {
    color: #d6009c;
    margin-bottom: 10px;
}

/* Trust Section */
.trust-section {
    padding: 60px 0;
    background: #1a1a1a;
    color: white;
    text-align: center;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.trust-item svg {
    color: #d6009c;
    margin-bottom: 15px;
}

.trust-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.trust-item p {
    color: #ccc;
    line-height: 1.6;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Language Content */
[data-lang] {
    display: none;
}

[data-lang].active {
    display: block;
}

/* Language Tabs */
.language-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.lang-tab {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    color: #666;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.lang-tab:hover {
    border-color: #d6009c;
    color: #d6009c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(214, 0, 156, 0.15);
}

.lang-tab.active {
    background: linear-gradient(135deg, #d6009c 0%, #a0007a 100%);
    border-color: #d6009c;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(214, 0, 156, 0.25);
}

.lang-tab img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    border-radius: 50%;
    object-fit: cover;
}

.lang-tab.active img {
    filter: brightness(0) invert(1);
}

/* Tab content transitions */
.why-work-section {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.why-work-section:not(.active) {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.why-work-section.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Language Menu Flags */
.lang-menu-flag.active {
    background-color: rgba(214, 0, 156, 0.1);
    font-weight: 600;
    color: #d6009c;
}

/* Responsive */
@media (max-width: 968px) {
    .careers-hero h1 {
        font-size: 2.5rem;
    }
    .salary-highlight {
        min-width: 260px;
        padding: 16px 24px;
    }
    .why-work-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .application-form {
        padding: 30px 20px;
    }
}

@media (max-width: 640px) {
    .careers-hero {
        height: 500px;
    }
    .careers-hero h1 {
        font-size: 2rem;
    }
    .careers-hero .subtitle {
        font-size: 1.1rem;
    }
    .salary-highlight {
        min-width: 220px;
        padding: 14px 20px;
    }
    .section-header h2 {
        font-size: 2rem;
    }
    .language-switcher {
        top: 10px !important;
        right: 10px !important;
        gap: 8px;
    }
    .lang-flag {
        width: 28px;
        height: 28px;
    }
    
    /* Language tabs responsive */
    .language-tabs {
        gap: 6px;
        padding: 0 10px;
    }
    
    .lang-tab {
        padding: 10px 14px;
        font-size: 0.875rem;
    }
    
    .lang-tab img {
        width: 18px;
        height: 18px;
        margin-right: 6px;
    }
}
