/* ===== HOME PAGE MAIN CONTENT ===== */
.main {
    margin-top: 140px;
    min-height: calc(100vh - 140px);
    background-color: #f5f5f5;
    padding-bottom: 60px;
}

/* ===== COMPLICATED SLIDER SECTION ===== */
.complicatedslider {
    background-color: #ffffff;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 58% 42%; /* Adjusted ratio with gap */
    grid-template-rows: 450px auto;
    gap: 2px; /* Small gap between sliders */
}

/* ===== MAIN SLIDER (LEFT SIDE) - 15 SECOND CYCLE ===== */
.slider {
    grid-column: 1;
    grid-row: 1;
    height: 450px;
    background-color: #e5e5e5;
    position: relative;
    overflow: hidden;
}

.slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Each slide shows for 5 seconds in a 15 second cycle */
.slider img:nth-child(1) {
    animation: mainSlide1 15s ease-in-out infinite;
    z-index: 3;
}

.slider img:nth-child(2) {
    animation: mainSlide2 15s ease-in-out infinite;
    z-index: 2;
}

.slider img:nth-child(3) {
    animation: mainSlide3 15s ease-in-out infinite;
    z-index: 1;
}

/* Main Slider Animation - Slide 1 (0-5 seconds) */
@keyframes mainSlide1 {
    0% { 
        opacity: 1;
        transform: translateX(0) scale(1);
        z-index: 3;
    }
    30% { 
        opacity: 1;
        transform: translateX(0) scale(1);
        z-index: 3;
    }
    33.33% { 
        opacity: 0;
        transform: translateX(-100%) scale(0.9);
        z-index: 1;
    }
    95% {
        opacity: 0;
        transform: translateX(100%) scale(1.1);
        z-index: 1;
    }
    100% { 
        opacity: 1;
        transform: translateX(0) scale(1);
        z-index: 3;
    }
}

/* Main Slider Animation - Slide 2 (5-10 seconds) */
@keyframes mainSlide2 {
    0% { 
        opacity: 0;
        transform: scale(1.2);
        z-index: 1;
    }
    30% { 
        opacity: 0;
        transform: scale(1.2);
        z-index: 1;
    }
    33.33% { 
        opacity: 1;
        transform: scale(1);
        z-index: 3;
    }
    63.33% { 
        opacity: 1;
        transform: scale(1);
        z-index: 3;
    }
    66.66% { 
        opacity: 0;
        transform: scale(0.8);
        z-index: 1;
    }
    100% { 
        opacity: 0;
        transform: scale(1.2);
        z-index: 1;
    }
}

/* Main Slider Animation - Slide 3 (10-15 seconds) */
@keyframes mainSlide3 {
    0% { 
        opacity: 0;
        transform: translateY(100%);
        z-index: 1;
    }
    63.33% { 
        opacity: 0;
        transform: translateY(100%);
        z-index: 1;
    }
    66.66% { 
        opacity: 1;
        transform: translateY(0);
        z-index: 3;
    }
    96.66% { 
        opacity: 1;
        transform: translateY(0);
        z-index: 3;
    }
    100% { 
        opacity: 0;
        transform: translateY(-100%);
        z-index: 1;
    }
}

/* ===== ADS SLIDER (RIGHT SIDE) - 20 SECOND CYCLE ===== */
.sliders2 {
    grid-column: 2;
    grid-row: 1;
    height: 450px;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.ads-slider-wrapper {
    position: relative;
    height: 100%;
    width: 100%;
}

.ad-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Each slide shows for 5 seconds in a 20 second cycle */
/* Slide 1 starts at 2 seconds offset (0-5 seconds) */
.ad-slide:nth-child(1) {
    animation: adSlide1 20s ease-in-out 2s infinite;
    z-index: 4;
}

/* Slide 2 (5-10 seconds) */
.ad-slide:nth-child(2) {
    animation: adSlide2 20s ease-in-out 2s infinite;
    z-index: 3;
}

/* Slide 3 (10-15 seconds) */
.ad-slide:nth-child(3) {
    animation: adSlide3 20s ease-in-out 2s infinite;
    z-index: 2;
}

/* Slide 4 (15-20 seconds) */
.ad-slide:nth-child(4) {
    animation: adSlide4 20s ease-in-out 2s infinite;
    z-index: 1;
}

/* Ads Slider Animation - Slide 1 (0-5 seconds) */
@keyframes adSlide1 {
    0% { 
        opacity: 1;
        transform: translateX(0);
        z-index: 4;
    }
    23% { 
        opacity: 1;
        transform: translateX(0);
        z-index: 4;
    }
    25% { 
        opacity: 0;
        transform: translateX(-100%);
        z-index: 1;
    }
    98% {
        opacity: 0;
        transform: translateX(100%);
        z-index: 1;
    }
    100% { 
        opacity: 1;
        transform: translateX(0);
        z-index: 4;
    }
}

/* Ads Slider Animation - Slide 2 (5-10 seconds) */
@keyframes adSlide2 {
    0% { 
        opacity: 0;
        transform: translateY(100%);
        z-index: 1;
    }
    23% { 
        opacity: 0;
        transform: translateY(100%);
        z-index: 1;
    }
    25% { 
        opacity: 1;
        transform: translateY(0);
        z-index: 4;
    }
    48% { 
        opacity: 1;
        transform: translateY(0);
        z-index: 4;
    }
    50% { 
        opacity: 0;
        transform: translateY(-100%);
        z-index: 1;
    }
    100% { 
        opacity: 0;
        transform: translateY(100%);
        z-index: 1;
    }
}

/* Ads Slider Animation - Slide 3 (10-15 seconds) */
@keyframes adSlide3 {
    0% { 
        opacity: 0;
        transform: scale(0.7) rotate(5deg);
        z-index: 1;
    }
    48% { 
        opacity: 0;
        transform: scale(0.7) rotate(5deg);
        z-index: 1;
    }
    50% { 
        opacity: 1;
        transform: scale(1) rotate(0deg);
        z-index: 4;
    }
    73% { 
        opacity: 1;
        transform: scale(1) rotate(0deg);
        z-index: 4;
    }
    75% { 
        opacity: 0;
        transform: scale(1.3) rotate(-5deg);
        z-index: 1;
    }
    100% { 
        opacity: 0;
        transform: scale(0.7) rotate(5deg);
        z-index: 1;
    }
}

/* Ads Slider Animation - Slide 4 (15-20 seconds) */
@keyframes adSlide4 {
    0% { 
        opacity: 0;
        transform: translateX(100%);
        z-index: 1;
    }
    73% { 
        opacity: 0;
        transform: translateX(100%);
        z-index: 1;
    }
    75% { 
        opacity: 1;
        transform: translateX(0);
        z-index: 4;
    }
    98% { 
        opacity: 1;
        transform: translateX(0);
        z-index: 4;
    }
    100% { 
        opacity: 0;
        transform: translateX(-100%);
        z-index: 1;
    }
}

/* Ad Content Styling */
.ad-slide h3 {
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 18px;
    border-bottom: 2px solid #6c757d;
    padding-bottom: 12px;
}

.ad-slide h4 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
    margin-top: 20px;
}

.ad-slide p {
    font-size: 14px;
    line-height: 1.6;
    color: #495057;
    margin-bottom: 12px;
}

.ad-slide ul {
    list-style: none;
    padding-left: 0;
    margin-top: 12px;
}

.ad-slide ul li {
    font-size: 13px;
    color: #6c757d;
    padding: 6px 0;
    padding-left: 22px;
    position: relative;
}

.ad-slide ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #6c757d;
    font-weight: bold;
    font-size: 14px;
}

/* Progress Bar for Main Slider */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.slider-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #6c757d, #495057);
    animation: mainProgress 15s infinite linear;
}

@keyframes mainProgress {
    0% { width: 0%; }
    33.33% { width: 100%; }
    33.34% { width: 0%; }
    66.66% { width: 100%; }
    66.67% { width: 0%; }
    100% { width: 100%; }
}

/* Progress Bar for Ads Slider */
.ads-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: rgba(108, 117, 125, 0.2);
    z-index: 10;
}

.ads-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #6c757d, #495057);
    animation: adsProgress 20s 2s infinite linear;
}

@keyframes adsProgress {
    0% { width: 0%; }
    25% { width: 100%; }
    25.1% { width: 0%; }
    50% { width: 100%; }
    50.1% { width: 0%; }
    75% { width: 100%; }
    75.1% { width: 0%; }
    100% { width: 100%; }
}

/* ===== CALL TO ACTION BUTTONS ===== */
.call-to-action-btns {
    grid-column: 1 / 3;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    border-top: 1px solid #dee2e6;
}

.call-to-action-btns button {
    padding: 18px 15px;
    background-color: #6c757d;
    color: white;
    border: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.call-to-action-btns button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.call-to-action-btns button:hover::before {
    width: 300px;
    height: 300px;
}

.call-to-action-btns button:last-child {
    border-right: none;
}

.call-to-action-btns button:hover {
    background-color: #495057;
    transform: translateY(-2px);
}

/* ===== SECTION CONTAINERS ===== */
.featuredjoblistings,
.employees_section,
.workers_section,
.training_centers_section,
.services_section {
    max-width: 1400px;
    margin: 0 auto 40px;
    padding: 40px 30px;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.featuredjoblistings h2,
.employees_section h2,
.workers_section h2,
.training_centers_section h2,
.services_section h2 {
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid #dee2e6;
}

/* ===== JOB CARDS ===== */
.jobs_container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.job_card {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 4px;
    border-left: 3px solid #6c757d;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.job_card:hover {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    border-left-color: #495057;
    transform: translateY(-3px);
}

.job_card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
}

.job_card p {
    font-size: 14px;
    line-height: 1.6;
    color: #6c757d;
}

/* ===== EMPLOYEE & WORKER CARDS ===== */
.employees_container,
.workers_container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.employee_card,
.worker_card {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 4px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.employee_card:hover,
.worker_card:hover {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.employee_pic,
.worker_pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #6c757d;
    margin: 0 auto 15px;
    border: 3px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    font-weight: 600;
}

.employee_card h3,
.worker_card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.employee_card p,
.worker_card p {
    font-size: 14px;
    color: #6c757d;
}

/* ===== TRAINING CENTER CARDS ===== */
.training_container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.training_card {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 3px solid #6c757d;
}

.training_card:hover {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.training_card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
}

.training_card p {
    font-size: 14px;
    line-height: 1.6;
    color: #495057;
    margin-bottom: 8px;
}

.training_card p:last-child {
    font-weight: 500;
    color: #6c757d;
    margin-top: 10px;
}

/* ===== SERVICE CARDS ===== */
.services_container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.service_card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.service_card:hover {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.service_card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
}

.service_card p {
    font-size: 14px;
    line-height: 1.6;
    color: #6c757d;
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 1024px) {
    .main {
        margin-top: 140px;
    }
    
    .complicatedslider {
        grid-template-columns: 55% 45%;
        grid-template-rows: 400px auto;
    }
    
    .slider {
        height: 400px;
    }
    
    .sliders2 {
        height: 400px;
    }
    
    .ad-slide {
        padding: 30px 20px;
    }
    
    .call-to-action-btns {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .main {
        margin-top: 280px;
    }
    
    .complicatedslider {
        grid-template-columns: 1fr;
        grid-template-rows: 300px 300px auto;
        gap: 1px;
    }
    
    .slider {
        grid-column: 1;
        grid-row: 1;
        height: 300px;
    }
    
    .sliders2 {
        grid-column: 1;
        grid-row: 2;
        height: 300px;
    }
    
    .ad-slide {
        padding: 25px 20px;
    }
    
    .ad-slide h3 {
        font-size: 20px;
    }
    
    .ad-slide h4 {
        font-size: 16px;
    }
    
    .call-to-action-btns {
        grid-column: 1;
        grid-row: 3;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featuredjoblistings,
    .employees_section,
    .workers_section,
    .training_centers_section,
    .services_section {
        padding: 30px 20px;
        margin-bottom: 30px;
    }
    
    .jobs_container,
    .employees_container,
    .workers_container,
    .training_container,
    .services_container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media screen and (max-width: 480px) {
    .complicatedslider {
        grid-template-rows: 250px 250px auto;
    }
    
    .slider {
        height: 250px;
    }
    
    .sliders2 {
        height: 250px;
    }
    
    .ad-slide {
        padding: 20px 15px;
    }
    
    .ad-slide h3 {
        font-size: 18px;
    }
    
    .ad-slide h4 {
        font-size: 15px;
    }
    
    .call-to-action-btns {
        grid-template-columns: 1fr;
    }
    
    .call-to-action-btns button {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }
}

/* ===== COMBINED NEWS & PARTNERS SLIDER SECTION ===== */
.news_partners_slider_section {
    background-color: #ffffff;
    margin: 0 auto 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 60% 40%; /* News 60%, Partners 40% */
    grid-template-rows: 450px;
    gap: 2px;
}

/* ===== NEWS SLIDER (LEFT SIDE) ===== */
.news_slider_container {
    position: relative;
    overflow: hidden;
    background-color: #f8f9fa;
}

/* News slides wrapper */
.news_slider_wrapper {
    position: relative;
    height: 100%;
    width: 100%;
}

.news_slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: grid;
    grid-template-columns: 45% 55%;
}

/* News slide animations - 16 second cycle */
.news_slide:nth-child(1) {
    animation: newsSlide1 16s ease-in-out infinite;
    z-index: 4;
}

.news_slide:nth-child(2) {
    animation: newsSlide2 16s ease-in-out infinite;
    z-index: 3;
}

.news_slide:nth-child(3) {
    animation: newsSlide3 16s ease-in-out infinite;
    z-index: 2;
}

.news_slide:nth-child(4) {
    animation: newsSlide4 16s ease-in-out infinite;
    z-index: 1;
}

@keyframes newsSlide1 {
    0% { opacity: 1; transform: translateX(0); z-index: 4; }
    22% { opacity: 1; transform: translateX(0); z-index: 4; }
    25% { opacity: 0; transform: translateX(-100%); z-index: 1; }
    98% { opacity: 0; transform: translateX(100%); z-index: 1; }
    100% { opacity: 1; transform: translateX(0); z-index: 4; }
}

@keyframes newsSlide2 {
    0% { opacity: 0; transform: scale(1.2); z-index: 1; }
    22% { opacity: 0; transform: scale(1.2); z-index: 1; }
    25% { opacity: 1; transform: scale(1); z-index: 4; }
    47% { opacity: 1; transform: scale(1); z-index: 4; }
    50% { opacity: 0; transform: scale(0.8); z-index: 1; }
    100% { opacity: 0; transform: scale(1.2); z-index: 1; }
}

@keyframes newsSlide3 {
    0% { opacity: 0; transform: translateY(100%); z-index: 1; }
    47% { opacity: 0; transform: translateY(100%); z-index: 1; }
    50% { opacity: 1; transform: translateY(0); z-index: 4; }
    72% { opacity: 1; transform: translateY(0); z-index: 4; }
    75% { opacity: 0; transform: translateY(-100%); z-index: 1; }
    100% { opacity: 0; transform: translateY(100%); z-index: 1; }
}

@keyframes newsSlide4 {
    0% { opacity: 0; transform: translateX(100%); z-index: 1; }
    72% { opacity: 0; transform: translateX(100%); z-index: 1; }
    75% { opacity: 1; transform: translateX(0); z-index: 4; }
    97% { opacity: 1; transform: translateX(0); z-index: 4; }
    100% { opacity: 0; transform: translateX(-100%); z-index: 1; }
}

/* News Image */
.news_image {
    background-color: #e5e5e5;
    position: relative;
}

.news_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news_image .news_label {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #6c757d;
    color: white;
    padding: 8px 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
}

/* News Content */
.news_content {
    padding: 40px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #f8f9fa;
}

.news_content .date {
    font-size: 13px;
    color: #6c757d;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.news_content h3 {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.3;
}

.news_content p {
    font-size: 14px;
    line-height: 1.7;
    color: #495057;
    margin-bottom: 20px;
}

.news_content .read_more_btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: #6c757d;
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.news_content .read_more_btn:hover {
    background-color: #495057;
    transform: translateX(5px);
}

/* News Progress Bar */
.news_progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: rgba(108, 117, 125, 0.2);
    z-index: 10;
}

.news_progress_bar {
    height: 100%;
    background: linear-gradient(90deg, #6c757d, #495057);
    animation: newsProgress 16s infinite linear;
}

@keyframes newsProgress {
    0% { width: 0%; }
    25% { width: 100%; }
    25.1% { width: 0%; }
    50% { width: 100%; }
    50.1% { width: 0%; }
    75% { width: 100%; }
    75.1% { width: 0%; }
    100% { width: 100%; }
}

/* ===== PARTNERS SLIDER (RIGHT SIDE) ===== */
.partners_slider_container {
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
}

.partners_slider_wrapper {
    position: relative;
    height: 100%;
    width: 100%;
}

.partner_slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #ffffff;
}

/* Partner slide animations - 20 second cycle with 2s offset */
.partner_slide:nth-child(1) {
    animation: partnerSlide1 20s ease-in-out 2s infinite;
    z-index: 4;
}

.partner_slide:nth-child(2) {
    animation: partnerSlide2 20s ease-in-out 2s infinite;
    z-index: 3;
}

.partner_slide:nth-child(3) {
    animation: partnerSlide3 20s ease-in-out 2s infinite;
    z-index: 2;
}

.partner_slide:nth-child(4) {
    animation: partnerSlide4 20s ease-in-out 2s infinite;
    z-index: 1;
}

@keyframes partnerSlide1 {
    0% { opacity: 1; transform: translateX(0); z-index: 4; }
    22% { opacity: 1; transform: translateX(0); z-index: 4; }
    25% { opacity: 0; transform: translateX(-100%); z-index: 1; }
    98% { opacity: 0; transform: translateX(100%); z-index: 1; }
    100% { opacity: 1; transform: translateX(0); z-index: 4; }
}

@keyframes partnerSlide2 {
    0% { opacity: 0; transform: translateY(100%); z-index: 1; }
    22% { opacity: 0; transform: translateY(100%); z-index: 1; }
    25% { opacity: 1; transform: translateY(0); z-index: 4; }
    47% { opacity: 1; transform: translateY(0); z-index: 4; }
    50% { opacity: 0; transform: translateY(-100%); z-index: 1; }
    100% { opacity: 0; transform: translateY(100%); z-index: 1; }
}

@keyframes partnerSlide3 {
    0% { opacity: 0; transform: scale(0.7) rotate(5deg); z-index: 1; }
    47% { opacity: 0; transform: scale(0.7) rotate(5deg); z-index: 1; }
    50% { opacity: 1; transform: scale(1) rotate(0deg); z-index: 4; }
    72% { opacity: 1; transform: scale(1) rotate(0deg); z-index: 4; }
    75% { opacity: 0; transform: scale(1.3) rotate(-5deg); z-index: 1; }
    100% { opacity: 0; transform: scale(0.7) rotate(5deg); z-index: 1; }
}

@keyframes partnerSlide4 {
    0% { opacity: 0; transform: translateX(100%); z-index: 1; }
    72% { opacity: 0; transform: translateX(100%); z-index: 1; }
    75% { opacity: 1; transform: translateX(0); z-index: 4; }
    97% { opacity: 1; transform: translateX(0); z-index: 4; }
    100% { opacity: 0; transform: translateX(-100%); z-index: 1; }
}

/* Partner Content */
.partner_slide h3 {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.3;
    border-bottom: 3px solid #6c757d;
    padding-bottom: 15px;
}

.partner_slide .partner_logo {
    width: 80px;
    height: 80px;
    background-color: #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 32px;
    color: #6c757d;
    font-weight: 700;
}

.partner_slide p {
    font-size: 14px;
    line-height: 1.7;
    color: #495057;
    margin-bottom: 20px;
}

.partner_slide ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.partner_slide ul li {
    font-size: 13px;
    color: #6c757d;
    padding: 6px 0;
    padding-left: 22px;
    position: relative;
}

.partner_slide ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #6c757d;
    font-weight: bold;
    font-size: 14px;
}

.partner_slide .learn_more_btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: #6c757d;
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.partner_slide .learn_more_btn:hover {
    background-color: #495057;
    transform: translateX(5px);
}

/* Partners Progress Bar */
.partners_progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: rgba(108, 117, 125, 0.2);
    z-index: 10;
}

.partners_progress_bar {
    height: 100%;
    background: linear-gradient(90deg, #6c757d, #495057);
    animation: partnersProgress 20s 2s infinite linear;
}

@keyframes partnersProgress {
    0% { width: 0%; }
    25% { width: 100%; }
    25.1% { width: 0%; }
    50% { width: 100%; }
    50.1% { width: 0%; }
    75% { width: 100%; }
    75.1% { width: 0%; }
    100% { width: 100%; }
}

/* Section Headers */
.news_header,
.partners_header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(44, 62, 80, 0.95);
    color: white;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: 600;
    z-index: 5;
    border-bottom: 2px solid #6c757d;
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 1024px) {
    .news_partners_slider_section {
        grid-template-columns: 55% 45%;
        grid-template-rows: 400px;
    }
    
    .news_slide {
        grid-template-columns: 40% 60%;
    }
    
    .news_content,
    .partner_slide {
        padding: 30px 25px;
    }
}

@media screen and (max-width: 768px) {
    .news_partners_slider_section {
        grid-template-columns: 1fr;
        grid-template-rows: 350px 350px;
        gap: 1px;
    }
    
    .news_slide {
        grid-template-columns: 1fr;
        grid-template-rows: 40% 60%;
    }
    
    .news_image {
        height: 100%;
    }
    
    .news_content,
    .partner_slide {
        padding: 25px 20px;
    }
    
    .news_content h3,
    .partner_slide h3 {
        font-size: 18px;
    }
}

@media screen and (max-width: 480px) {
    .news_partners_slider_section {
        grid-template-rows: 300px 300px;
    }
    
    .news_content h3,
    .partner_slide h3 {
        font-size: 16px;
    }
    
    .news_content p,
    .partner_slide p {
        font-size: 13px;
    }
}