* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    scroll-behavior: smooth;
}

/* Fix to prevent horizontal scrolling */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}
 .nav-bar {
            background-color: rgba(0, 0, 0, 0.8); /* Dark green from logo */
        }

body {
    background-color: #f5f5f5;
    color: #333;
    position: relative;
}

.header-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(74, 56, 44, 0.85); /* Semi-transparent brownish color */
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader-content {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.loader-spinner {
    width: 80px;
    height: 80px;
    border: 8px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border-top-color: #a01c2a; /* Accent color from the brand */
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loader-content h2 {
    color: white;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.loader-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background-image: url('/assets/images/0_LW_Job-opportunities1\ 1.jpg');
    background-size: contain;
    background-repeat: repeat-x;
    background-position: center;
    z-index: -1;
    animation: slideBackground 60s linear infinite;
}

@keyframes slideBackground {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: rgba(74, 56, 44, 0.9);
    position: relative;
    z-index: 2;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 100px;
}

.contact-info {
    display: flex;
    gap: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 30px;
    position: relative;
}

.contact-item div {
    color: #ffffff;
    font-weight: bold;
    font-size: 16px;
}

.contact-item div div {
    margin: 3px 0;
}

.contact-item i {
    font-size: 22px;
    color: #ffffff;
}

.contact-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 70%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.5);
}

.contact-item i {
    font-size: 20px;
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    position: relative;
    z-index: 2;
}

.menu {
    display: flex;
    gap: 20px;
}

.menu a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: color 0.3s;
}

.menu a:hover {
    color: #d5a021;
}

/* Navigation links change to black on mobile */
@media (max-width: 768px) {
    .menu a {
        color: rgb(255, 255, 255);
    }
}

.buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-consultation {
    background-color: #B07F33;
    color: white;
}

.btn-evaluation {
    background-color: transparent;
    border: 1px solid white;
    color: white;
}

.btn:hover {
    transform: scale(1.05);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 80%;
    max-width: 800px;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 18px;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Main Content Styling */
.main-content {
    position: relative;
    z-index: 1;
    background-color: #fff;
    color: #333;
    margin-top: 0;
    padding-top: 0;
}

.section {
    padding: 80px 0;
    position: relative;
}

.bg-light {
    background-color: #f5f8fb;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: #0a4c8a;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.underline {
    height: 3px;
    width: 80px;
    background-color: #a01c2a;
    margin: 0 auto;
}

/* Why Choose Us Cards - Updated based on image */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 48px;
    color: #0a4c8a;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #0a4c8a;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Approach Section */
.approach-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.approach-image {
    flex: 1;
    min-width: 300px;
}

.approach-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.approach-text {
    flex: 1;
    min-width: 300px;
}

.approach-text h3 {
    font-size: 28px;
    color: #0a4c8a;
    margin-bottom: 20px;
}

.approach-text p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.approach-text ul {
    list-style: none;
    margin-bottom: 20px;
}

.approach-text ul li {
    margin-bottom: 12px;
    color: #666;
    display: flex;
    align-items: center;
}

.approach-text ul li i {
    color: #a01c2a;
    margin-right: 10px;
}

/* Case Studies */
.case-studies-slider {
    position: relative;
    margin-bottom: 30px;
}

.case-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: none;
}

.case-card:first-child {
    display: block;
}

.case-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.case-card:hover .case-image img {
    transform: scale(1.1);
}

.case-content {
    padding: 25px;
}

.case-category {
    color: #0a4c8a;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 10px;
}

.case-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #0a4c8a;
}

.case-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    color: #a01c2a;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s;
}

.read-more i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.read-more:hover {
    color: #a01c2a;
}

.read-more:hover i {
    transform: translateX(5px);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.prev-btn, .next-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #0a4c8a;
    color: white;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.prev-btn:hover, .next-btn:hover {
    background-color: #a01c2a;
}

.carousel-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #0a4c8a;
}

/* Testimonials */
.testimonials-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    display: none;
}

.testimonial:first-child {
    display: block;
}

.testimonial-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.quote-icon {
    font-size: 32px;
    color: #0a4c8a;
    opacity: 0.5;
    margin-bottom: 20px;
}

.testimonial-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
    font-style: italic;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.client-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-details h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #0a4c8a;
}

.client-details span {
    color: #666;
    font-size: 14px;
}

/* Call to Action */
#cta {
    background: linear-gradient(rgba(129, 134, 138, 0.9), rgba(83, 60, 20, 0.9)), url('/api/placeholder/1000/500') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background-color: #a01c2a;
    color: white;
    border: 2px solid transparent;
}

.btn-primary:hover {
    background-color: transparent;
    border-color: white;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.btn-secondary:hover {
    background-color: white;
    color: #0a4c8a;
}

/* Footer */
.footer {
    background-color: #4a382c;
    color: white;
    padding: 80px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo img {
    margin-bottom: 20px;
}

.footer-logo p {
    line-height: 1.7;
    color: #ccc;
}

.footer-links h3,
.footer-contact h3,
.footer-newsletter h3 {
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after,
.footer-contact h3::after,
.footer-newsletter h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #a01c2a;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
}

.footer-links ul li a:hover {
    color: #d5a021;
}

.footer-contact ul li {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    color: #ccc;
}

.footer-contact ul li i {
    margin-right: 15px;
    color: #a01c2a;
    margin-top: 5px;
}

.newsletter-form {
    display: flex;
    margin-bottom: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    outline: none;
    font-size: 16px;
}

.btn-subscribe {
    background-color: #a01c2a;
    color: white;
    padding: 0 20px;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: 600;
}

.btn-subscribe:hover {
    background-color: #801622;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
}

.social-icons a:hover {
    background-color: #a01c2a;
    transform: translateY(-5px);
}

.footer-bottom {
    background-color: #3a2a1e;
    padding: 25px 0;
    text-align: center;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: #999;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: #a01c2a;
}

/* AOS Animation Fallback */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateZ(0) translateY(0)!important;
}

[data-aos="fade-up"] {
    transform: translate3d(0, 30px, 0);
}

[data-aos="fade-down"] {
    transform: translate3d(0, -30px, 0);
}

[data-aos="fade-right"] {
    transform: translate3d(-30px, 0, 0);
}

[data-aos="fade-left"] {
    transform: translate3d(30px, 0, 0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

/* WhatsApp Chat Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    cursor: pointer;
    animation: pulse 2s infinite;
    text-decoration: none;
}

.whatsapp-btn i {
    font-size: 30px;
    color: white;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Contact Popup */
.contact-popup {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 300px;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.contact-popup.show {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.popup-header h3 {
    color: #0a4c8a;
    margin: 0;
    font-size: 18px;
}

.popup-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #888;
}

.popup-content p {
    color: #555;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.5;
}

.popup-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.popup-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s;
}

.popup-option:hover {
    background-color: #f5f5f5;
}

.popup-option i {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: white;
}

.popup-option.call i {
    background-color: #a01c2a;
}

.popup-option.email i {
    background-color: #0a4c8a;
}

.popup-option.whatsapp i {
    background-color: #25D366;
}

.popup-option span {
    font-weight: 500;
}

.popup-footer {
    margin-top: 15px;
    text-align: center;
}

.btn-got-it {
    background-color: #f0f0f0;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn-got-it:hover {
    background-color: #e0e0e0;
}

/* Mobile Responsive Styles - Updated */
@media (max-width: 768px) {
    /* Fix 1: Hide consultation and evaluation buttons on mobile */
    .btn-consultation,
    .btn-evaluation {
        display: none;
    }
    
    /* Make the menu take full width now that buttons are hidden */
    .nav-bar .menu {
        width: 100%;
        justify-content: center;
    }
    
    /* Fix buttons container spacing */
    .buttons {
        display: none; /* Hide the entire buttons container */
    }
    
    /* Hide contact information in top bar on mobile */
    .contact-info {
        display: none;
    }
    
    /* Center the logo in the top bar */
    .top-bar {
        justify-content: center;
        padding: 10px;
        flex-direction: column;
        gap: 20px;
    }
    
    /* Fix 3: Remove space between header and "Why Choose Us" section */
    .header-section {
        height: auto;
        min-height: 100vh;
    }
    
    .main-content {
        margin-top: -20px; /* Negative margin to reduce gap */
    }
    
    /* Additional adjustment for the hero content position */
    .hero-content {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 120px auto 40px auto; /* Adjust top margin as needed */
        width: 90%;
    }
    
    /* Fix 4: Make WhatsApp popup responsive */
    .contact-popup {
        width: calc(100% - 60px); /* Full width minus margins */
        right: 15px;
        left: 15px;
        bottom: 80px; /* Position above the WhatsApp button */
    }
    
    .popup-option span {
        font-size: 14px; /* Smaller text on mobile */
    }
    
    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-btn i {
        font-size: 26px;
    }
    
    /* Fix 5: Improve overall mobile spacing */
    .section {
        padding: 40px 0; /* Reduce section padding on mobile */
    }
    
    .container {
        width: 95%; /* Wider container on mobile */
    }
    
    /* Reduce the size of menu items */
    .menu a {
        font-size: 14px;
    }
    
    /* Make sure content doesn't get too wide */
    .approach-content,
    .feature-card,
    .case-card,
    .testimonial-content {
        max-width: 100%;
    }
    
    .nav-bar {
        flex-direction: column;
        gap: 20px;
        padding: 10px 20px;
    }
    
    .menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content h2 {
        font-size: 24px;
    }
    
    .section-title h2 {
        font-size: 30px;
    }
    
    .feature-card {
        padding: 20px 15px;
    }
    
    .cta-content h2 {
        font-size: 30px;
    }
    
    /* Footer responsive adjustments */
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        padding: 20px 15px;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
}