/* Careers Page Specific Styles */

/* Make sure the main content starts after the header section */
.careers-main-content {
    margin-top: 0;
    padding-top: 40px;
    position: relative;
    z-index: 1;
}

body.loaded .loader {
    display: none !important;
}


/* Background for entire careers page content */
.careers-main-content::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/images/image-removebg-preview\ \(1\).png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.08;
    filter: blur(3px);
    z-index: -1;
}

/* Hero Section with Slideshow */
#careers-hero {
    padding: 40px 0 80px;
}

.careers-intro {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.careers-intro-text {
    flex: 1;
    min-width: 300px;
}

.careers-intro-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: #0a4c8a;
    margin-bottom: 15px;
}

.careers-intro-text p {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
}

.careers-intro-text .underline {
    height: 3px;
    width: 80px;
    background-color: #a01c2a;
    margin-bottom: 20px;
}

/* Slideshow Container */
.slideshow-container {
    flex: 1;
    min-width: 300px;
    position: relative;
    max-width: 600px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.slides {
    display: none;
    width: 100%;
}

.slides img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.5);
    color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s;
}

.prev {
    left: 15px;
}

.next {
    right: 15px;
}

.prev:hover, .next:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}
.background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background-image: url('/assets/images/Screenshot\ 2025-05-20\ 111316.png');
    background-size: contain;
    background-repeat: repeat-x;
    background-position: center;
    z-index: -1;
    animation: slideBackground 60s linear infinite;
}

/* Benefits Grid Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.benefit-icon {
    font-size: 48px;
    color: #0a4c8a;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 22px;
    color: #0a4c8a;
    margin-bottom: 15px;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

/* Job Listings Section */
.job-listings {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 40px;
}

.job-card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.job-header {
    padding: 20px 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.job-header h3 {
    font-size: 20px;
    color: #0a4c8a;
    margin: 0;
}

.job-type {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.full-time {
    background-color: rgba(10, 76, 138, 0.1);
    color: #0a4c8a;
}

.part-time {
    background-color: rgba(75, 139, 59, 0.1);
    color: #4b8b3b;
}

.internship {
    background-color: rgba(160, 28, 42, 0.1);
    color: #a01c2a;
}

.job-details {
    padding: 15px 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    background-color: rgba(245, 245, 245, 0.5);
}

.job-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.job-description {
    padding: 20px 25px;
}

.job-description p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.job-footer {
    padding: 15px 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 15px;
}

/* Application Process Section */
.application-info {
    margin-bottom: 40px;
}

.application-instruction {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.application-instruction h3 {
    font-size: 24px;
    color: #0a4c8a;
    margin-bottom: 15px;
}

.application-instruction p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.application-instruction a {
    color: #a01c2a;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.application-instruction a:hover {
    color: #7a1520;
    text-decoration: underline;
}

.application-instruction ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.application-instruction ul li {
    color: #666;
    margin-bottom: 8px;
    line-height: 1.6;
}

.process-title {
    font-size: 24px;
    color: #0a4c8a;
    margin-bottom: 25px;
    text-align: center;
}

.process-steps {
    margin-top: 40px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: #0a4c8a;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 20px;
    color: #0a4c8a;
    margin-bottom: 10px;
}

.apply-instruction {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
    font-size: 15px;
    color: #555;
}

.apply-instruction a {
    color: #a01c2a;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.apply-instruction a:hover {
    color: #7a1520;
    text-decoration: underline;
}

/* Contact Section */
#careers-contact {
    padding: 80px 0;
}

.careers-contact-content {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.careers-contact-text {
    padding: 40px;
    background-color: #0a4c8a;
    color: white;
}

.careers-contact-text h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.careers-contact-text p {
    line-height: 1.6;
    margin-bottom: 15px;
}

.careers-contact-text a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: underline;
    transition: opacity 0.3s;
}

.careers-contact-text a:hover {
    opacity: 0.8;
}

/* Section titles */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 36px;
    color: #0a4c8a;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.section-title .underline {
    height: 3px;
    width: 80px;
    background: linear-gradient(to right, #0a4c8a, #a01c2a);
    margin: 0 auto;
}

/* Section backgrounds */
.section {
    position: relative;
    padding: 80px 0;
}

.bg-light {
    background-color: rgba(245, 248, 251, 0.7);
}

/* Button Styles */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background-color: #0a4c8a;
    color: white;
}

.btn-primary:hover {
    background-color: #083a6a;
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid #0a4c8a;
    color: #0a4c8a;
}

.btn-secondary:hover {
    background-color: rgba(10, 76, 138, 0.1);
    transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .careers-intro {
        flex-direction: column;
    }
    
    .slideshow-container {
        max-width: 100%;
    }
    
    .careers-contact-text,
    .careers-contact-form {
        flex: 100%;
    }
}

@media (max-width: 768px) {
    #careers-hero {
        padding: 30px 0 60px;
    }
    
    .careers-intro-text h2 {
        font-size: 28px;
    }
    
    .job-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .job-footer {
        flex-wrap: wrap;
    }
    
    .process-step {
        padding: 20px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .careers-contact-content {
        border-radius: 8px;
    }
    
    .careers-contact-text {
        padding: 30px 20px;
    }
    
    .section {
        padding: 60px 0;
    }
}


/* ===================================
   UPDATED FOOTER STYLES - LEKHULENI CONSULTING ENGINEERS
   Matching Services Page Style with Enhanced Background
   ================================== */

/* Footer */
.footer {
    background: linear-gradient(135deg, #1F2937, #111827) !important;  /* Same as services page */
    color: white !important;
    padding: 60px 0 20px !important;  /* Improved padding */
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    display: block !important;
}

/* Add the golden accent line at top like services page */
.footer::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 2px !important;
    background: linear-gradient(45deg, #B07F33, #C4933D) !important;
}

.footer-content {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 40px !important;
    margin-bottom: 40px !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 20px !important;
}

.footer-logo img {
    height: 60px !important;  /* Consistent with services page */
    margin-bottom: 20px !important;
    transition: transform 0.3s ease !important;
}

.footer-logo img:hover {
    transform: scale(1.05) !important;
}

.footer-logo p {
    color: #9CA3AF !important;  /* Matching services page text color */
    line-height: 1.6 !important;
    font-size: 16px !important;  /* Improved font size */
}

.footer-links h3,
.footer-contact h3,
.footer-newsletter h3 {
    color: #B07F33 !important;  /* Golden accent color */
    margin-bottom: 20px !important;
    font-size: 1.4rem !important;  /* Larger font size */
    font-weight: 600 !important;
    position: relative !important;
}

/* Remove the old underline and add hover effect */
.footer-links h3::after,
.footer-contact h3::after,
.footer-newsletter h3::after {
    content: '' !important;
    position: absolute !important;
    bottom: -5px !important;
    left: 0 !important;
    width: 30px !important;
    height: 2px !important;
    background: #B07F33 !important;
    transition: width 0.3s ease !important;
}

.footer-links:hover h3::after,
.footer-contact:hover h3::after,
.footer-newsletter:hover h3::after {
    width: 60px !important;
}

.footer-links ul,
.footer-contact ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-links ul li {
    margin-bottom: 12px !important;
    transition: all 0.2s ease !important;
}

.footer-links ul li:hover {
    transform: translateX(5px) !important;
}

.footer-links ul li a {
    color: #9CA3AF !important;  /* Improved text color */
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    font-size: 15px !important;  /* Better font size */
    display: inline-flex !important;
    align-items: center !important;
}

.footer-links ul li a:hover {
    color: #B07F33 !important;  /* Golden hover color */
}

.footer-contact ul li {
    margin-bottom: 15px !important;  /* Improved spacing */
    display: flex !important;
    align-items: flex-start !important;
    color: #9CA3AF !important;  /* Improved text color */
    font-size: 15px !important;  /* Better font size */
    transition: all 0.2s ease !important;
}

.footer-contact ul li:hover {
    transform: translateX(5px) !important;
}

.footer-contact ul li i {
    margin-right: 15px !important;
    color: #B07F33 !important;  /* Golden icon color */
    margin-top: 5px !important;
    width: 20px !important;
    transition: transform 0.2s ease !important;
}

.footer-contact ul li:hover i {
    transform: scale(1.2) !important;
}

.newsletter-form {
    display: flex !important;
    margin-bottom: 20px !important;
    gap: 10px !important;  /* Added gap for better spacing */
}

.newsletter-form input {
    flex: 1 !important;
    padding: 14px 15px !important;  /* Improved padding */
    border: none !important;
    border-radius: 8px !important;  /* Rounded corners */
    background: rgba(255, 255, 255, 0.1) !important;  /* Semi-transparent background */
    color: #FFFFFF !important;
    outline: none !important;
    font-size: 15px !important;  /* Better font size */
    transition: all 0.3s ease !important;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

.newsletter-form input:focus {
    outline: none !important;
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px) !important;
}

.btn-subscribe {
    background-color: #B07F33 !important;  /* Golden background */
    color: white !important;
    padding: 14px 22px !important;  /* Improved padding */
    border: none !important;
    border-radius: 8px !important;  /* Rounded corners */
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-weight: 600 !important;
    font-size: 15px !important;  /* Better font size */
    white-space: nowrap !important;
}

.btn-subscribe:hover {
    background-color: #936927 !important;  /* Darker golden on hover */
    transform: translateY(-2px) !important;
}

.social-icons {
    display: flex !important;
    gap: 15px !important;
}

.social-icons a {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 40px !important;
    height: 40px !important;
    background-color: rgba(255, 255, 255, 0.1) !important;  /* Semi-transparent background */
    border-radius: 50% !important;
    color: white !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    font-size: 16px !important;
    backdrop-filter: blur(10px) !important;
}

.social-icons a:hover {
    background-color: #B07F33 !important;  /* Golden hover background */
    transform: translateY(-3px) scale(1.1) !important;
    box-shadow: 0 5px 15px rgba(176, 127, 51, 0.4) !important;
}

.footer-bottom {
    background-color: rgba(58, 42, 30, 0.8) !important;  /* Semi-transparent brownish */
    padding: 25px 0 !important;
    text-align: center !important;
    display: flex !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-top: 20px !important;
    margin-top: 0 !important;
}

.footer-bottom p {
    color: #9CA3AF !important;  /* Improved text color */
    margin: 0 !important;
    font-size: 15px !important;  /* Better font size */
}

.footer-bottom-links {
    display: flex !important;
    gap: 25px !important;
    flex-wrap: wrap !important;
}

.footer-bottom-links a {
    color: #9CA3AF !important;  /* Improved text color */
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    font-size: 15px !important;  /* Better font size */
    position: relative !important;
}

.footer-bottom-links a::after {
    content: '' !important;
    position: absolute !important;
    bottom: -2px !important;
    left: 0 !important;
    width: 0 !important;
    height: 1px !important;
    background: #B07F33 !important;
    transition: width 0.3s ease !important;
}

.footer-bottom-links a:hover::after {
    width: 100% !important;
}

.footer-bottom-links a:hover {
    color: #B07F33 !important;  /* Golden hover color */
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 15px !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        padding: 0 15px !important;
    }
    
    .footer-bottom {
        flex-direction: column !important;
        text-align: center !important;
        gap: 15px !important;
        padding: 20px 15px !important;
    }
    
    .footer-bottom-links {
        justify-content: center !important;
    }
    
    .newsletter-form {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .btn-subscribe {
        width: 100% !important;
    }
}