/* ===== ROOT VARIABLES ===== */
:root {
    --primary-color: #10b981;
    --primary-dark: #059669;
    --primary-light: #34d399;
    --accent-color: #e84c88;
    --accent-dark: #c9357a;
    --dark-color: #1a1a2e;
    --light-color: #f0fdf4;
    --text-color: #333;
    --text-muted: #6c757d;
    --gradient-primary: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-accent: linear-gradient(135deg, #e84c88 0%, #c9357a 100%);
    --box-shadow: 0 10px 40px rgba(16, 185, 129, 0.15);
    --transition: all 0.3s ease;
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

p {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* Prevent horizontal scroll */
.container {
    max-width: 100%;
    overflow-x: hidden;
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

/* ===== NAVBAR ===== */
.navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: var(--transition);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.navbar-brand span {
    color: var(--accent-color);
}

.nav-link {
    font-weight: 500;
    color: var(--text-color) !important;
    padding: 10px 18px !important;
    border-radius: 5px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background: rgba(0, 168, 232, 0.1);
}

.navbar .btn-apply {
    background: var(--gradient-accent);
    color: white !important;
    padding: 10px 25px !important;
    border-radius: 50px;
    font-weight: 600;
}

.navbar .btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(232, 76, 136, 0.4);
}

/* Language Toggle Button */
.lang-toggle-btn {
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    padding: 8px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition);
}

.lang-toggle-btn:hover {
    background: var(--primary-color);
    color: white;
}

.lang-toggle-btn .fi {
    font-size: 1.2rem;
    border-radius: 3px;
}

.lang-toggle-btn .bi-chevron-down {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.lang-toggle-btn.active .bi-chevron-down {
    transform: rotate(180deg);
}

/* Language Overlay */
.lang-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lang-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Language Modal */
.lang-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    z-index: 99999;
    transition: all 0.3s ease;
}

.lang-modal.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.lang-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
}

.lang-modal-header h5 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.lang-close-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #666;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.2s;
}

.lang-close-btn:hover {
    background: #eee;
    color: #333;
}

.lang-modal-body {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    overflow-y: auto;
    max-height: calc(80vh - 80px);
}

.lang-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border: 2px solid #e9ecef;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-item:hover {
    background: #f0fdf4;
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.lang-item.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.lang-item .fi {
    font-size: 1.4rem;
    border-radius: 4px;
    flex-shrink: 0;
}

@media (min-width: 576px) {
    .lang-modal-body {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .lang-modal {
        max-width: 550px;
    }
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-greeting {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 25px;
    border-radius: 50px;
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    animation: fadeInUp 0.8s ease 0.4s both;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-btn {
    background: var(--gradient-accent);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(232, 76, 136, 0.3);
    animation: fadeInUp 0.8s ease 0.6s both;
    transition: var(--transition);
}

.hero-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(232, 76, 136, 0.5);
    color: white;
}

.hero-image {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

/* ===== BENEFITS SECTION ===== */
.benefits-section {
    background: var(--light-color);
}

.benefit-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: white;
}

.benefit-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.benefit-card p {
    color: var(--text-muted);
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ===== JOB DESCRIPTION SECTION ===== */
.job-section {
    background: white;
}

.job-content {
    padding: 20px 0;
}

.job-text {
    font-size: 1.05rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    padding-left: 20px;
    border-left: 3px solid var(--primary-color);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.job-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.job-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== EXPECTATIONS SECTION ===== */
.expectations-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
}

.expectations-section .section-title {
    color: white;
}

.expectations-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.expect-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    height: 100%;
}

.expect-card h4 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.expect-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.expect-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.expect-list li:last-child {
    border-bottom: none;
}

.expect-list li i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-top: 3px;
}

/* ===== APPLICATION FORM SECTION ===== */
.apply-section {
    background: var(--light-color);
}

.apply-form-container {
    background: white;
    border-radius: 30px;
    padding: 50px;
    box-shadow: var(--box-shadow);
}

.form-floating > .form-control,
.form-floating > .form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    height: 60px;
    padding: 1rem 1.25rem;
}

.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 168, 232, 0.15);
}

.form-floating > label {
    padding: 1rem 1.25rem;
}

.form-floating > textarea.form-control {
    height: 150px;
}

.btn-submit {
    background: var(--gradient-accent);
    border: none;
    padding: 15px 50px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    transition: var(--transition);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(232, 76, 136, 0.4);
    color: white;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Date of Birth Row */
.dob-row {
    display: flex;
    gap: 15px;
}

.dob-row .form-select {
    flex: 1;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    background: white;
}

.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 15px !important;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    padding: 20px 25px;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--dark-color);
    background: white;
    border-radius: 15px !important;
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-primary);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    background-size: 1.2rem;
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.accordion-body {
    padding: 25px;
    color: var(--text-muted);
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ===== SUCCESS STORIES SECTION ===== */
.stories-section {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.stories-section .section-title {
    color: white;
}

.stories-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.story-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    height: 100%;
}

.story-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 20px;
}

.story-text {
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.story-author {
    font-weight: 600;
    color: var(--accent-color);
}

/* ===== SHARE SECTION ===== */
.share-section {
    background: white;
}

.share-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2rem;
    color: white;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    width: 100%;
}

.share-btn:hover {
    transform: translateY(-3px);
    color: white;
}

.share-btn i {
    font-size: 1.3rem;
}

.share-whatsapp {
    background: #25D366;
}

.share-whatsapp:hover {
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.share-messenger {
    background: #0084FF;
}

.share-messenger:hover {
    box-shadow: 0 10px 25px rgba(0, 132, 255, 0.4);
}

.share-twitter {
    background: #1DA1F2;
}

.share-twitter:hover {
    box-shadow: 0 10px 25px rgba(29, 161, 242, 0.4);
}

.share-email {
    background: #606060;
}

.share-email:hover {
    box-shadow: 0 10px 25px rgba(96, 96, 96, 0.4);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: var(--light-color);
}

.contact-info {
    background: var(--gradient-primary);
    border-radius: 20px;
    padding: 40px;
    color: white;
    height: 100%;
}

.contact-info h4 {
    margin-bottom: 25px;
}

.contact-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-info i {
    font-size: 1.2rem;
}

.contact-form {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--box-shadow);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 80px 0 30px;
}

.footer-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer-brand span {
    color: var(--accent-color);
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.footer h5 {
    color: white;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 50px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    border: none;
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .navbar-collapse {
        background: white;
        padding: 20px;
        border-radius: 15px;
        margin-top: 15px;
        box-shadow: var(--box-shadow);
    }
    
    .apply-form-container {
        padding: 30px;
    }
    
    .job-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 1.75rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-description {
        margin: 0 auto 2rem;
        font-size: 0.95rem;
        padding: 0 10px;
    }
    
    .hero-greeting {
        font-size: 0.9rem;
        padding: 8px 18px;
    }
    
    .hero-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        padding: 0 10px;
    }
    
    .benefit-card {
        margin-bottom: 20px;
        padding: 30px 20px;
    }
    
    .benefit-card h4 {
        font-size: 1.1rem;
    }
    
    .benefit-card p {
        font-size: 0.9rem;
    }
    
    .dob-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .job-text {
        font-size: 0.9rem;
        padding-left: 15px;
    }
    
    .expect-card {
        padding: 25px 20px;
    }
    
    .expect-card h4 {
        font-size: 1.2rem;
    }
    
    .expect-list li {
        font-size: 0.9rem;
        padding: 10px 0;
    }
    
    .apply-form-container {
        padding: 25px 15px;
    }
    
    .accordion-button {
        font-size: 0.95rem;
        padding: 15px 20px;
    }
    
    .accordion-body {
        font-size: 0.9rem;
        padding: 20px;
    }
    
    .story-card {
        padding: 25px 20px;
    }
    
    .story-text {
        font-size: 0.9rem;
    }
    
    .contact-info {
        padding: 25px 20px;
    }
    
    .contact-form {
        padding: 25px 20px;
    }
    
    .footer {
        padding: 50px 0 20px;
    }
    
    .footer h5 {
        margin-top: 20px;
    }
    
    .navbar-brand {
        font-size: 1.4rem;
    }
    
    .nav-link {
        padding: 8px 15px !important;
        font-size: 0.95rem;
    }
    
    .lang-toggle-btn {
        padding: 8px 12px;
    }
    
    .lang-toggle-btn .lang-name {
        display: none;
    }
    
    .lang-modal-body {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .share-btn {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .share-btn i {
        font-size: 1.1rem;
    }
    
    .share-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .btn-submit {
        padding: 12px 35px;
        font-size: 1rem;
    }
    
    .scroll-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-primary-custom {
    color: var(--primary-color) !important;
}

.text-secondary-custom {
    color: var(--secondary-color) !important;
}

.bg-gradient-primary {
    background: var(--gradient-primary) !important;
}

.bg-gradient-secondary {
    background: var(--gradient-secondary) !important;
}
