/* Responsive CSS */
.orange-lines {
    width: 100%;
    max-width: 580px;
}
.orange-lines div {
    width: 100%;
}
.training-img {
    width: 100%;
    max-width: 280px;
    height: auto;
    object-fit: cover;
}
.training-text {
    width: 100%;
    max-width: 380px;
}
.core-capabilities-title {
    font-size: 2.5rem;
}
.core-capabilities-icons {
    max-width: 800px;
    margin: 0 auto;
}
.core-capabilities-text {
    font-size: 14px;
}
.strength-why-partner {
    min-height: 400px;
}
.client-section-text {
    font-size: 18px;
}
.client-section-title {
    font-size: 42px;
}
.slider-container {
    height: 150px;
}
.logo-slide {
    width: calc(100% / 6);
    padding: 0 15px;
}
.arrow-btn {
    margin-left: -50px;
}
.arrow-btn.end-0 {
    margin-right: -50px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .orange-lines {
        max-width: 100%;
    }
    .training-img {
        max-width: 200px;
    }
    .training-text {
        max-width: 100%;
        padding: 0 15px;
    }
    .core-capabilities-title {
        font-size: 1.8rem;
    }
    .core-capabilities-text {
        font-size: 12px;
    }
    .core-capabilities-icons {
        max-width: 100%;
    }
    .strength-why-partner {
        min-height: 300px;
    }
    .client-section-text {
        font-size: 16px;
    }
    .client-section-title {
        font-size: 32px;
    }
    .slider-container {
        height: 100px;
    }
    .logo-slide {
        width: calc(100% / 3);
        padding: 0 10px;
    }
    .logo-slide img {
        max-height: 60px;
        max-width: 120px;
    }
    .arrow-btn {
        font-size: 40px;
        margin-left: -30px;
    }
    .arrow-btn.end-0 {
        margin-right: -30px;
    }
}

@media (max-width: 576px) {
    .orange-lines {
        max-width: 100%;
    }
    .training-img {
        max-width: 150px;
    }
    .training-text {
        padding: 0 10px;
    }
    .core-capabilities-title {
        font-size: 1.5rem;
    }
    .core-capabilities-text {
        font-size: 10px;
    }
    .strength-why-partner {
        min-height: 250px;
    }
    .client-section-title {
        font-size: 24px;
    }
    .logo-slide {
        width: calc(100% / 2);
    }
    .arrow-btn {
        font-size: 30px;
        margin-left: -20px;
    }
    .arrow-btn.end-0 {
        margin-right: -20px;
    }
}


/* Existing Responsive CSS from index.php */
.orange-lines {
    width: 100%;
    max-width: 580px;
}
.orange-lines div {
    width: 100%;
}
.training-img {
    width: 100%;
    max-width: 280px;
    height: auto;
    object-fit: cover;
}
.training-text {
    width: 100%;
    max-width: 380px;
}
.core-capabilities-title {
    font-size: 2.5rem;
}
.core-capabilities-icons {
    max-width: 800px;
    margin: 0 auto;
}
.core-capabilities-text {
    font-size: 14px;
}
.strength-why-partner {
    min-height: 400px;
}
.client-section-text {
    font-size: 18px;
}
.client-section-title {
    font-size: 42px;
}
.slider-container {
    height: 150px;
}
.logo-slide {
    width: calc(100% / 6);
    padding: 0 15px;
}
.arrow-btn {
    margin-left: -50px;
}
.arrow-btn.end-0 {
    margin-right: -50px;
}

/* New Styles for Header */
header {
    position: relative;
    z-index: 1000; /* Ensure header is above banner */
}
.navbar {
    z-index: 1001; /* Navbar above other elements */
}
.navbar-collapse {
    z-index: 1002; /* Collapsed menu above all */
    background-color: #fff; /* White background for mobile menu */
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.navbar-menu {
    height: auto !important; /* Remove fixed height for responsiveness */
}
.nav-item {
    width: 100%; /* Full width for mobile */
    margin-bottom: 10px; /* Space between items in mobile */
}
.nav-link {
    transition: all 0.3s ease;
    text-align: center;
}
.nav-link.active {
    background-color: #f8f9fa !important;
    border: 1px solid #dee2e6 !important;
}
.logo-img {
    height: 60px;
    width: auto;
}
.top-bar span {
    font-size: 14px;
}

/* Mobile adjustments for Header */
@media (max-width: 768px) {
    .navbar-brand {
        flex-direction: column;
        align-items: flex-start;
        margin-right: 0;
    }
    .logo-img {
        height: 40px;
    }
    .navbar-brand h4 {
        font-size: 1.2rem;
    }
    .navbar-brand small {
        font-size: 0.8rem;
    }
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        padding: 10px;
        border-top: 1px solid #dee2e6;
    }
    .nav-item {
        margin-bottom: 5px;
    }
    .nav-link {
        padding: 10px !important;
        min-width: 100% !important;
        font-size: 1rem;
    }
    .top-bar span {
        font-size: 12px;
    }
}

/* Existing Mobile Adjustments for index.php */
@media (max-width: 768px) {
    .orange-lines {
        max-width: 100%;
    }
    .training-img {
        max-width: 200px;
    }
    .training-text {
        max-width: 100%;
        padding: 0 15px;
    }
    .core-capabilities-title {
        font-size: 1.8rem;
    }
    .core-capabilities-text {
        font-size: 12px;
    }
    .core-capabilities-icons {
        max-width: 100%;
    }
    .strength-why-partner {
        min-height: 300px;
    }
    .client-section-text {
        font-size: 16px;
    }
    .client-section-title {
        font-size: 32px;
    }
    .slider-container {
        height: 100px;
    }
    .logo-slide {
        width: calc(100% / 3);
        padding: 0 10px;
    }
    .logo-slide img {
        max-height: 60px;
        max-width: 120px;
    }
    .arrow-btn {
        font-size: 40px;
        margin-left: -30px;
    }
    .arrow-btn.end-0 {
        margin-right: -30px;
    }
}

@media (max-width: 576px) {
    .orange-lines {
        max-width: 100%;
    }
    .training-img {
        max-width: 150px;
    }
    .training-text {
        padding: 0 10px;
    }
    .core-capabilities-title {
        font-size: 1.5rem;
    }
    .core-capabilities-text {
        font-size: 10px;
    }
    .strength-why-partner {
        min-height: 250px;
    }
    .client-section-title {
        font-size: 24px;
    }
    .logo-slide {
        width: calc(100% / 2);
    }
    .arrow-btn {
        font-size: 30px;
        margin-left: -20px;
    }
    .arrow-btn.end-0 {
        margin-right: -20px;
    }
    .navbar-brand h4 {
        font-size: 1rem;
    }
    .navbar-brand small {
        font-size: 0.7rem;
    }
    .top-bar span {
        font-size: 10px;
    }
}