        /* CSS Reset and Base Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        html {
            scroll-behavior: smooth;
        }
        
        body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Inter', 'Segoe UI', Roboto, sans-serif;
            font-size: 16px;
            line-height: 1.6;
            color: #2d2d2d;
            background-color: #ffffff;
            overflow-x: hidden;
        }

        /* San Francisco Font Classes */
.sf-display-bold {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', sans-serif;
    font-weight: 700;
}

.sf-text-semibold {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', sans-serif;
    font-weight: 600;
}

.sf-text-medium {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', sans-serif;
    font-weight: 500;
}

.sf-text-regular {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', sans-serif;
    font-weight: 400;
}
        
        /* Header Styles */
        .header {
            background: #ffffff;
            padding: 16px 0;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 100;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .nav {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        
        .logo {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 20px;
    color: #1f3bb3;
    margin-top:7px;
}

.logo-image {
    height: 42px;
    width: auto;
    margin-right: 12px;
}
        
        .nav-menu {
            display: flex;
            list-style: none;
            gap: 32px;
        }
        
        .nav-menu a {
            text-decoration: none;
            color: #2d2d2d;
            font-weight: 500;
            transition: color 0.2s;
        }
        
        .nav-menu a:hover {
            color: #1f3bb3;
        }
        
        .language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
}

 /* Flag Icons */
.flag-icon {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    position: relative;
}

.flag-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

}

/* Language Dropdown */
.language-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid 
#E5E7EB;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    display: none;
}

.language-selector.open .language-dropdown {
    display: block;
}

.language-option {
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.language-option:hover {
    background: 
#F3F4F6;
}

/* Country Flag Variations */
.flag-uk { 
        background: 
        linear-gradient(90deg, transparent 40%, #C8102E 40%, #C8102E 60%, transparent 60%),
        linear-gradient(0deg, transparent 40%, #C8102E 40%, #C8102E 60%, transparent 60%),
        #ffffff
}
.flag-portugal { background: linear-gradient(to right, 
#006600 40%, 
#FF0000 40%); }
.flag-germany { background: linear-gradient(to bottom, #000 33%, 
#FF0000 33%, 
#FF0000 66%, 
#FFCC00 66%); }
.flag-spain { background: linear-gradient(to bottom, 
#AA151B 25%, 
#F1BF00 25%, 
#F1BF00 75%, 
#AA151B 75%); }
.flag-belgium { background: linear-gradient(to right, #000 33%, 
#FFD700 33%, 
#FFD700 66%, 
#FF0000 66%); }

 /* Social Icons Fixed */
        .social-fixed {
            position: fixed;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            display: flex;
            flex-direction: column;
            gap: 12px;
            z-index: 50;
        }
        
        .social-icon {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            color: white;
            transition: transform 0.2s;
        }
        
        .social-icon:hover {
            transform: scale(1.1);
        }
        
        .social-icon.linkedin {
            background: #0077B5;
        }
        
        .social-icon.instagram {
            background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
        }
        
        .social-icon.tiktok {
            background: #000000;
        }
       .social-icon.facebook {
         background: #1877F2;
        }
        .social-icon.tiktok {
                background: #000000;
            }

                /* Job Details Hero Section */
.job-hero {
    position: relative;
    color: white;
    padding: 80px 0;
    overflow: hidden;
    min-height: 400px;
}



.job-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2;
}

.job-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.job-hero h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
    color: white;
}

.job-hero .job-subtitle {
    font-size: 24px;
    font-weight: 400;
    opacity: 0.9;
    color: white;
}

/* Job Application Box */
.job-application-box {
    background: white;
    border-radius: 40px 40px 40px 40px;
    padding: 40px 60px 80px;
    max-width: 800px;
    margin: -150px auto -50px;
    position: relative;
    z-index: 5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Job Header Section */
.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.job-header-left h1 {
    font-size: 32px;
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 8px;
    line-height: 1.1;
}

.job-header-left .company-name {
    font-size: 16px;
    color: #595959;
    font-weight: 400;
}

.job-header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.vacancies-badge {
    background: transparent;
    color: #2d2d2d;
    padding: 6px 16px;
    border-radius: 40px 15px 15px 0px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #000000;
    margin-left: 24px;
    display: block;
   min-width: fit-content;
}

.share-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.share-text {
    color: #1f3bb3;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.social-share-icons {
    display: flex;
    gap: 8px;
}

.share-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s;
}

.share-icon:hover {
    transform: scale(1.1);
}

.share-icon.link {
    background: #D97706;
    color: white;
}
.share-text a.share-job-link{color: #1f3bb3; text-decoration: none;}
.share-icon.email {
    background: #1b3a91;
    color: white;
}

.share-icon.whatsapp {
    background: #25D366;
    color: white;
}

/* Separator Line */
.separator-line {
    width: 100%;
    height: 1px;
    background: #E5E7EB;
    margin: 20px 0;
}

/* Job Details Grid */
.job-details-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
    margin-left: 10px;
}

.job-detail-column {
    text-align: left;
}

.job-detail-label {
    font-size: 20px !important;
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 8px;
}

.job-detail-value {
    font-size: 18px !important;
    color: #595959;
    line-height: 1.4;
}

/* Application Form Section */
.application-form-section {
    margin-top: 40px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.form-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 460px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-group {
    flex: 1;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #2d2d2d;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #000000;
    border-radius: 12px;
    font-size: 16px;
    color: #000000;
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
}

.form-input::placeholder {
    color: #6e7175;
}

.upload-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.upload-section h3 {
    font-size: 14px;
    font-weight: 400;
    color: #2d2d2d;
    margin-bottom: 5px;
    margin-left: -70px;
}

.upload-cv-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: #000000;
    border: 1.5px solid #000000;
    padding: 12px 24px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.upload-cv-btn:hover {
    background: #1f3bb3;
    color: white;
}

/* Submit Button */
.submit-container {
    text-align: center;
    margin-top: 40px;
    margin-bottom: -30px;
}

.submit-btn {
    background: #1f3bb3;
    color: white;
    border: none;
    padding: 16px 20px;
    border-radius: 18px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #1632a0;
}

/* Jobs Section - Urgent Hirings */
.jobs-section {
    background: #F3F4F6;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: -70px;
}

.jobs-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 12px;
}

.jobs-section p {
    color: #595959;
    margin-bottom: 8px;
}

/* Jobs Carousel Container */
.jobs-carousel-container {
    position: relative;
    overflow: hidden;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
    z-index: 5;
    height: 500px;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    color: #2d2d2d;
    border: 1px solid #D1D5DB;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-arrow:hover {
    background: #1f3bb3;
    color: white;
    border-color: #1f3bb3;
}

.carousel-arrow.prev {
    left: 10px;
}

.carousel-arrow.next {
    right: 10px;
}

.carousel-arrow:disabled {
    background: #F3F4F6;
    color: #9CA3AF;
    border-color: #E5E7EB;
    cursor: not-allowed;
}

.carousel-arrow:disabled:hover {
    background: #F3F4F6;
    color: #9CA3AF;
    border-color: #E5E7EB;
}

.jobs-grid {
    display: flex;
    gap: 60px;
    margin-top: 40px;
    margin-left: 20px;
    transition: transform 0.3s ease;
    overflow: visible;
    justify-content: flex-start;
    position: relative;
    z-index: 6;
    padding: 0;
    animation: autoScroll 12s infinite ease-in-out;
    transform: translateX(0);
}

/* Update the animation to show only 3 cards */
@keyframes autoScroll {
    0%, 20% { transform: translateX(0); }        
    25%, 45% { transform: translateX(-360px); }    
    50%, 70% { transform: translateX(-720px); }   
    75%, 95% { transform: translateX(-360px); }    
    100% { transform: translateX(0); }             
}

.job-card {
    min-width: 310px;
    max-width: 310px;
    max-height: 450px;
    flex-shrink: 0;
    background: white;
    border: 0px solid #2d2d2d;
    border-radius: 40px;
    padding: 0;
    text-align: left;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.job-card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.job-content {
    margin-right: 6px !important;
    margin-left: 16px !important;
    flex-grow: 1;
    position: relative;
    padding-top: 55px;
}

.job-urgent {
    background: #ff3801;
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 8px 0;
    border-radius: 40px 40px 0 0;
    display: block;
    margin: 0 0 20px 0;
    text-align: center;
    width: calc(100% + 32px); /* Add 32px to account for the 16px margins on each side */
    position: absolute;
    top: 0;
    left: -16px; /* Move left by 16px to start at the card edge */
    box-sizing: border-box;
}

.job-title {
    font-size: 22px;
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 4px;
}

.job-company {
    color: #595959;
    font-size: 18px;
    margin-bottom: 12px;
}

.job-vacancies {
    background: #1f3bb3;
    color: white;
    padding: 6px 16px;
    border-radius: 0 12px 12px 0;
    font-size: 12px;
    font-weight: 500;
    display: block;
    margin-bottom: 16px;
    margin-left: -16px;
    width: fit-content;
}

.job-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
    font-size: 16px;
    margin-bottom: 20px;
}

.job-detail-item {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.job-detail-label {
    color: #595959;
    font-weight: bold;
    font-size: 16px !important;
}

.job-detail-value {
    color: #2d2d2d;
    font-size: 14px !important;
}

.apply-btn {
    width: 100%;
    background: #9CA3AF;
    color: #ffffff;
    border: none;
    padding: 16px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0 0 12px 12px;
    margin: 0;
    text-align: center;
    position: relative;
    font-weight: bold;
    text-decoration: none;
    display: block;
}

.apply-btn:hover {
    background: #1f3bb3;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(31, 59, 179, 0.3);
    z-index: 10;
}

/* Newsletter Section */
.newsletter-section {
    background: #ffffff;
    padding: 60px 0 60px 0;
    text-align: center;
    position: relative;
}

.newsletter-content h2 {
    font-size: 32px;
    font-weight: 400;
    color: #2d2d2d;
    margin-bottom: 12px;
}

.newsletter-content h2 .highlight {
    font-weight: 700; /* Bold for "Forward" */
}

.newsletter-content .highlight {
    color: #1f3bb3;
}

.newsletter-content p {
    font-size: 16px;
    color: #595959;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/*.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto 20px;
}*/
.newsletter-form .ajax-newsletter{
    display: flex;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto 20px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 14px;
}

.newsletter-btn {
    background: #1f3bb3;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
}

.newsletter-disclaimer {
    font-size: 12px;
    color: #9CA3AF;
    margin-top: 15px;
    white-space: nowrap;
}

.forward-text {
    display: inline-block;
}

@keyframes slideRight {
    0% {
        transform: translateX(0px);
    }
    100% {
        transform: translateX(10px);
    }
}

/* Footer */
.footer {
    background: #1f3bb3;
    color: white;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-left {
    flex: 1;
    margin-left: -20px; /* Move more to the left */
}

.footer-logo {
    display: flex;
    align-items: flex-start; /* Changed from center to flex-start */
    gap: 2px;
    margin-bottom: 12px;
    margin-top: -20px; /* Move up to align with headers */
}

.logo-img {
    width: 280px;
    height: 120px;
}

.logo-text {
    font-size: 18px;
    font-weight: 600;
}

.say-hello-btn {
    display: inline-block;
    background: transparent;
    color: white;
    border: 1px solid white;
    padding: 4px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 8px;
    margin-left: 25px;
}

.footer-tagline {
    font-size: 22px;
    color: #ffffff;
    font-weight: 700;
    margin-left: 25px;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #B5BDDB;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;  
}

.footer-newsletter {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

 .footer-newsletter input {
    padding: 8px 12px;
    border: 1px solid 
#B5BDDB;
    border-radius: 4px 0 0 4px;
    background: white;
    color: 
#2d2d2d;
    font-size: 12px;
}

.footer-newsletter input::placeholder {
    color: 
#9CA3AF;  /* Light gray placeholder text */
}

.footer-newsletter button {
    background: 
#1f3bb3;
    color: white;
    border: 1px solid white;
    padding: 8px 16px;
    border-radius: 0 4px 4px 0;  /* Only right side rounded */
    font-size: 12px;
    font-weight: 500;
}

.footer-help h5 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.footer-help p {
    font-size: 12px;
    color: #B5BDDB;
    font-weight: 700;
}
/* Mobile Menu Button (hidden by default, shown on mobile) */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: #2d2d2d;
    transition: all 0.3s ease;
}

.carousel-arrow.prev {
    left: 0px;
}

.carousel-arrow.next {
    right: 0px;
}
.jobs-grid{justify-content: center;}
/*newsletter message alignments*/
.newsletter-form .ajax-newsletter{flex-wrap:wrap;}
.newsletter-form .ajax-newsletter .alert-success, .newsletter-form .ajax-newsletter .alert-danger{padding:10px; font-size:14px; width:100%; text-align:left;}
.footer-newsletter .ajax-newsletter{display:block !important;}
.footer-newsletter .ajax-newsletter .alert-success, .footer-newsletter .ajax-newsletter .alert-danger{margin-top:10px; padding:10px; font-size:14px;}
.job-application-box .job-header-left h1{width:70%;}
.jobs-carousel-container .job-card{max-height:100% !important;}
.jobs-carousel-container .job-title{line-height:23px;}

/* Mobile Responsive Design */
/* Large Mobile Devices (430px and below) */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    /* Header */
    .mobile-menu-btn {
        display: flex !important;
    }
    
    .nav {
        position: relative;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
        border-radius: 0 0 8px 8px;
        gap: 0;
    }
    
    .nav-menu.mobile-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        border-bottom: 1px solid #E5E7EB;
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        padding: 16px 20px;
        display: block;
    }
    
    .logo {
        font-size: 16px;
    }
    
    .logo-image {
        height: 30px;
        margin-right: 8px;
    }
    
    .language-selector {
        padding: 6px 8px;
        font-size: 14px;
    }

        .language-dropdown {
        left: auto;
        right: 0;
        min-width: 120px;
    }
    
    .language-option {
        padding: 6px 8px;
        font-size: 13px;
    }
    
    .flag-icon {
        width: 16px;
        height: 12px;
    }

    /* Social Icons */
        .social-fixed {
        display: flex !important;
        position: fixed;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        flex-direction: column;
        gap: 10px;
        z-index: 100;
    }
    
    .social-icon {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: white;
        transition: transform 0.2s ease;
        font-size: 16px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
    
    .social-icon:hover {
        transform: scale(1.1);
    }
    
    .social-icon.linkedin {
        background: #0077B5;
    }
    
    .social-icon.instagram {
        background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
    }
    
    .social-icon.facebook {
        background: #1877F2;
    }

        .job-hero {
        position: relative;
        color: white;
        padding: 60px 0 40px;
        overflow: hidden;
        /*min-height: 300px;*/
        min-height: 280px
    }

    .job-hero-background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('1563365d-61f7-47ce-a6e8-bf93b803fa01_spaces-offices-04.jpg'); 
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        z-index: 1;
    }

    .job-hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        z-index: 2;
    }

    .job-hero-content {
        position: relative;
        z-index: 3;
        text-align: center;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 20px;
    }

    .job-hero h1 {
        font-size: 28px;
        font-weight: 700;
        line-height: 1.2;
        margin-bottom: 12px;
        color: white;
    }

    .job-hero .job-subtitle {
        font-size: 16px;
        font-weight: 400;
        opacity: 0.9;
        color: white;
        line-height: 1.4;
    }

        /* Job Application Box */
    .job-application-box {
        background: white;
        border-radius: 25px;
        padding: 25px 20px 40px;
        max-width: 100%;
        margin: -80px 15px 20px;
        position: relative;
        z-index: 5;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    /* Job Header Section */
    .job-header {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        margin-bottom: 20px;
        gap: 15px;
    }

    .job-header-left {
        width: 100%;
    }

    .job-header-left h1 {
        font-size: 24px;
        font-weight: 700;
        color: #2d2d2d;
        margin-bottom: 8px;
        line-height: 1.2;
    }

    .job-header-left .company-name {
        font-size: 14px;
        color: #595959;
        font-weight: 400;
        margin-bottom: 15px;
    }

    .job-header-right {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        width: 100%;
    }

    .vacancies-badge {
        background: transparent;
        color: #2d2d2d;
        padding: 6px 12px;
        border-radius: 50px 15px 15px 0px;
        font-size: 12px;
        font-weight: 600;
        border: 1px solid #000000;
        margin-left: 16PX;
        display: block;
        white-space: nowrap;
    }

    .share-section {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }

    .share-text {
        color: #1f3bb3;
        font-size: 12px;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .social-share-icons {
        display: flex;
        gap: 6px;
    }

    .share-icon {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        transition: transform 0.2s;
    }

    /* Separator Line */
    .separator-line {
        width: 100%;
        height: 1px;
        background: #E5E7EB;
        margin: 15px 0;
    }

    /* Job Details Grid - Stack vertically, each on own line */
    .job-details-grid {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 25px;
        margin-left: 0;
    }

    .job-detail-column {
        text-align: left;
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .job-detail-column:last-child {
        border-bottom: none;
    }

    .job-detail-label {
        font-size: 16px !important;
        font-weight: 700;
        color: #2d2d2d;
        margin-bottom: 4px;
    }

    .job-detail-value {
        font-size: 14px !important;
        color: #595959;
        line-height: 1.4;
    }

    /* Application Form Section */
    .application-form-section {
        margin-top: 30px;
    }

    .form-grid {
        display: flex;
        flex-direction: column;
        gap: 25px;
        align-items: stretch;
    }

    .form-fields {
        display: flex;
        flex-direction: column;
        gap: 15px;
        min-width: auto;
        width: 100%;
    }

    .form-row {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .form-group {
        flex: 1;
        width: 100%;
    }

    .form-group label {
        display: block;
        font-size: 14px;
        font-weight: 500;
        color: #2d2d2d;
        margin-bottom: 8px;
    }

    .form-input {
        width: 100%;
        padding: 12px 16px;
        border: 1.5px solid #000000;
        border-radius: 12px;
        font-size: 16px;
        color: #000000;
        transition: border-color 0.2s;
        box-sizing: border-box;
    }

    .form-input:focus {
        outline: none;
    }

    .form-input::placeholder {
        color: #6e7175;
    }

    .upload-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 100%;
    }

    .upload-section h3 {
        font-size: 14px;
        font-weight: 400;
        color: #2d2d2d;
        margin-bottom: 15px;
        margin-left: 0;
    }

    .upload-cv-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: white;
        color: #000000;
        border: 1.5px solid #000000;
        padding: 12px 24px;
        border-radius: 16px;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
        width: 100%;
        max-width: 200px;
    }

    .upload-cv-btn:hover {
        background: #1f3bb3;
        color: white;
    }

    /* Submit Button */
    .submit-container {
        text-align: center;
        margin-top: 30px;
        margin-bottom: 0;
    }

    .submit-btn {
        background: #1f3bb3;
        color: white;
        border: none;
        padding: 16px 32px;
        border-radius: 18px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        width: 100%;
        max-width: 250px;
    }

    .submit-btn:hover {
        background: #1632a0;
    }

        /* Jobs Section - Urgent Hirings */
    .jobs-section {
        background: #F3F4F6;
        padding: 50px 0;
        text-align: center;
        position: relative;
        overflow: hidden;
        margin-bottom: -50px;
    }

    .jobs-section h2 {
        font-size: 24px;
        font-weight: 700;
        color: #2d2d2d;
        margin-bottom: 8px;
        padding: 0 20px;
    }

    .jobs-section p {
        color: #595959;
        margin-bottom: 20px;
        font-size: 14px;
        padding: 0 20px;
    }

    /* Jobs Carousel Container - Enable swipe */
    .jobs-carousel-container {
        position: relative;
        overflow-x: auto;
        overflow-y: hidden;
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        padding: 0 120px;
        z-index: 5;
        height: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .jobs-carousel-container::-webkit-scrollbar {
        display: none;
    }

    /* Hide carousel arrows on mobile */
    .carousel-arrow {
        display: none !important;
    }

    .jobs-grid {
        display: flex;
        gap: 20px;
        margin-top: 20px;
        margin-left: 0;
        transition: none;
        overflow: visible;
        justify-content: center;
        position: relative;
        z-index: 6;
        padding: 0 10px;
        /* Remove auto-scroll animation */
        animation: none;
        transform: none;
    }

    .job-card {
        min-width: 280px;
        max-width: 280px;
        max-height: auto;
        flex-shrink: 0;
        background: white;
        border: 0px solid #2d2d2d;
        border-radius: 20px;
        padding: 0;
        text-align: left;
        overflow: hidden;
        transition: all 0.3s ease;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        position: relative;
        z-index: 2;
        box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
        scroll-snap-align: start;
    }

    .job-card:hover {
        transform: none; /* Remove scale on mobile */
        box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    }

    .job-content {
        margin-right: 6px !important;
        margin-left: 16px !important;
        flex-grow: 1;
        position: relative;
        padding-top: 45px;
        padding-bottom: 15px;
    }

    .job-urgent {
        background: #ff3801;
        color: white;
        font-size: 14px;
        font-weight: bold;
        padding: 6px 0;
        border-radius: 20px 20px 0 0;
        display: block;
        margin: 0 0 15px 0;
        text-align: center;
        width: calc(100% + 32px);
        position: absolute;
        top: 0;
        left: -16px;
        box-sizing: border-box;
    }

    .job-title {
        font-size: 18px;
        font-weight: 700;
        color: #2d2d2d;
        margin-bottom: 4px;
        line-height: 1.2;
    }

    .job-company {
        color: #595959;
        font-size: 14px;
        margin-bottom: 10px;
    }

    .job-vacancies {
        background: #1f3bb3;
        color: white;
        padding: 4px 12px;
        border-radius: 0 10px 10px 0;
        font-size: 11px;
        font-weight: 500;
        display: block;
        margin-bottom: 12px;
        margin-left: -16px;
        width: fit-content;
    }

    .job-details {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px 16px;
        font-size: 14px;
        margin-bottom: 15px;
    }

    .job-detail-item {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .job-detail-label {
        color: #595959;
        font-weight: bold;
        font-size: 18px !important;
    }

    .job-detail-value {
        color: #2d2d2d;
        font-size: 14px !important;
    }

    .apply-btn {
        width: 100%;
        background: #9CA3AF;
        color: #ffffff;
        border: none;
        padding: 12px 16px;
        cursor: pointer;
        transition: all 0.3s ease;
        border-radius: 0 0 20px 20px;
        margin: 0;
        text-align: center;
        position: relative;
        font-weight: bold;
        text-decoration: none;
        display: block;
        font-size: 14px;
    }

    .apply-btn:hover {
        background: #1f3bb3;
        color: white;
        transform: none;
        box-shadow: none;
    }

            /* Newsletter Section */
    .newsletter-section {
        padding: 40px 0;
    }
    
    .newsletter-content h2 {
        font-size: 24px;
        margin-bottom: 8px;
        padding: 0 15px;
        line-height: 1.3;
    }
    
    .newsletter-content p {
        font-size: 15px;
        margin-bottom: 24px;
        padding: 0 15px;
        max-width: 100%;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 12px;
        max-width: 100%;
        margin: 0 15px 16px;
    }
    
    .newsletter-input {
        width: 100%;
        padding: 12px 16px;
        font-size: 15px;
        border-radius: 10px;
    }
    
    .newsletter-btn {
        width: 100%;
        padding: 12px 24px;
        font-size: 15px;
        border-radius: 10px;
    }
    
    .newsletter-disclaimer {
        font-size: 11px;
        margin-top: 12px;
        padding: 0 15px;
        white-space: normal;
        line-height: 1.4;
    }
    
    /* Footer */
    .footer {
        padding: 35px 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 25px;
        text-align: center;
        align-items: center;
    }
    
    .footer-left {
        margin-left: 0;
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-logo {
        justify-content: center;
        margin-bottom: 15px;
        margin-top: 0;
    }
    
    .logo-img {
        width: 220px;
        height: 95px;
    }
    
    .logo-text {
        font-size: 16px;
    }
    
    .say-hello-btn {
        font-size: 12px;
        padding: 8px 20px;
        margin-left: 0;
        margin-bottom: 10px;
        border-radius: 8px;
    }
    
    .footer-tagline {
        font-size: 18px;
        margin-left: 0;
        margin-bottom: 0;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 25px;
        text-align: center;
        width: 100%;
        align-items: center;
    }
    
    .footer-column {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-column h4 {
        font-size: 15px;
        margin-bottom: 15px;
        color: white;
    }
    
    .footer-column ul li {
        margin-bottom: 8px;
    }
    
    .footer-column ul li a {
        font-size: 13px;
    }
    
    .footer-newsletter {
        flex-direction: column;
        gap: 10px;
        max-width: 280px;
        margin: 0 auto 18px;
    }
    
    .footer-newsletter input {
        width: 100%;
        padding: 12px 16px;
        border-radius: 8px;
        font-size: 13px;
        border: 1px solid #B5BDDB;
    }
    
    .footer-newsletter button {
        width: 100%;
        padding: 12px 16px;
        border-radius: 8px;
        font-size: 13px;
        background: #ffffff;
        color: #1f3bb3;
        border: 2px solid #ffffff;
        font-weight: 600;
    }
    
    .footer-help {
        text-align: center;
    }
    
    .footer-help h5 {
        font-size: 13px;
        margin-bottom: 5px;
    }
    
    .footer-help p {
        font-size: 11px;
    }
   .newsletter-form .ajax-newsletter {
gap: 12px;
max-width: 100%;
margin: 0 auto 20px;
flex-direction: column;
}
.newsletter-form .ajax-newsletter .newsletter-input{margin-bottom:0px;}
.footer-newsletter .ajax-newsletter {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.jobs-grid{justify-content: flex-start; /*scroll-snap-type:x mandatory;*/}
.jobs-carousel-container{padding:0 !important;}
.jobs-grid.single-jobcard{justify-content: center;}
.footer-newsletter input{margin-bottom:10px;}
.job-application-box .job-header-left h1 {width: auto;}
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .job-card:hover {
        transform: none;
        box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    }
    
    .apply-btn:hover {
        transform: none;
        box-shadow: none;
        background: #1f3bb3;
    }
    
    /* Add active states for touch */
    .job-card:active {
        transform: scale(0.98);
    }
    
    .apply-btn:active {
        background: #1632a0;
        transform: scale(0.98);
    }
}
/* Large Mobile Devices (430px and below) */
@media (max-width: 430px) {
    .container {
        padding: 0 15px;
    }
    
    /* Header */
.mobile-menu-btn {
    display: block !important;
}

.nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
}

.nav-menu.mobile-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.nav-menu li {
    border-bottom: 1px solid #E5E7EB;
}

.nav-menu a {
    padding: 16px 20px;
    display: block;
}
    
    .logo {
        font-size: 16px;
    }
    
    .logo-image {
        height: 30px;
    }
    
    .logo-tagline {
        display: none;
    }
 /* Social Icons */
    .social-fixed {
        display: none;
    }

        .job-application-box {
        margin: -80px 15px 0;
        padding: 25px 15px 30px;
    }
    
    .job-header-left h1 {
        font-size: 24px;
    }
    
    .job-details-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

   .jobs-section {
        padding: 60px 0;
    }
    
    .jobs-section h2 {
        font-size: 24px;
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .carousel-arrow.prev {
        left: 5px;
    }
    
    .carousel-arrow.next {
        right: 5px;
    }
    
   /* .job-card {
        min-width: 260px;
        max-width: 260px;
    }*/
 .footer-newsletter .ajax-newsletter{
	 display: flex;
	flex-direction: row;
	max-width: 300px;
	gap: 10px;
}


.footer-newsletter #newsletter-email {
	margin-bottom: 0px;
	flex: 1;
}
.footer-newsletter input{margin-bottom:0;}
.footer-newsletter button {
	width: auto !important;
}
.footer-newsletter .ajax-newsletter{display:flex!important; flex-wrap:wrap;}
}


/* Medium Mobile Devices (414px and below) */
@media (max-width: 414px) {

    .footer {
        padding: 30px 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-left {
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
        margin-bottom: 8px;
    }
    
    .logo-text {
        font-size: 16px;
    }
    
    .footer-tagline {
        font-size: 13px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
    
    .footer-column h4 {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .footer-column ul li {
        margin-bottom: 6px;
    }
    
    .footer-column ul li a {
        font-size: 13px;
    }
    
    .footer-newsletter {
        flex-direction: column;
        max-width: 250px;
        margin: 0 auto 15px;
    }
    
    .footer-newsletter input {
        width: 100%;
        margin-bottom: 8px;
        padding: 10px 12px;
    }
    
    .footer-newsletter button {
        width: 100%;
        padding: 10px 16px;
    }
    
    .footer-help h5 {
        font-size: 11px;
    }
    
    .footer-help p {
        font-size: 11px;
    }
}

/* Small Mobile Devices (375px and below) */
@media (max-width: 375px) {
    .container {
        padding: 0 12px;
    }

   /* .job-card {
        min-width: 240px;
        max-width: 240px;
    }*/
    
    .carousel-arrow {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

/* Extra Small Mobile Devices (360px and below) */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }

     /* .job-card {
        min-width: 220px;
        max-width: 220px;
    }*/
}
/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .jobs-grid {
        scroll-behavior: auto;
    }
    
    .job-card,
    .apply-btn {
        transition: none;
    }
}

/* High DPI display optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .job-card {
        box-shadow: 0.5px 0.5px 1.5px rgba(0, 0, 0, 0.1);
    }
    
    .job-card:hover {
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    }
}


.nav-menu a.active,
.footer-column ul li a.active {
    color: #1f3bb3 !important;
}
.footer-help a {
    color: inherit;
    text-decoration: none;
    font-size: inherit;
    font-weight: inherit;
}