.coop {
    width: 100%;
    display: flex;
    justify-content: center;
}

.coop-container {
    width: 75%;
}

.coop-header {
    background: #004B6A;
    /* background: linear-gradient(326deg, rgba(39, 74, 102, 1) 0%, rgba(243, 123, 116, 1) 100%); */
    padding: 60px 40px;
    text-align: center;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
    margin-top: 40px;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

.coop-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.coop-logo {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 36px;
    font-weight: 800;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.coop-logo:hover {
    transform: scale(1.05);
}

.coop-container .description {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    /* margin: 40px auto; */
    /* max-width: 1200px; */
    /* padding: 40px; */
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    line-height: 2;
    font-size: 18px;
    color: #2d3748;
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
}

.coop-container .description .container {
    width: 100%;
    margin-bottom: 0;
}

.coop-container .description .container .section-title {
    text-align: right;
    position: static;
    margin: 0;
}

.coop-container .description .container .section-title::after {
    width: 0;
}

.coop-container .description .container .section-title::before {
    width: 0;
}



.coop-container .description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #004B6A;
    /* background: linear-gradient(270deg, rgba(39, 74, 102, 1) 0%, rgba(243, 123, 116, 1) 55%); */
    border-radius: 20px 20px 0 0;
}

.social-share {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.social-share span {
    color: #4a5568;
    font-weight: 600;
    font-size: 16px;
}

.social-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

#facebook {
    background-color: #1877F2;
}

#whatsapp {
    background-color: #25D366;
}

#x {
    background-color: black;
}

#linkedin {
    background-color: #0A66C2;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.social-btn:hover::before {
    left: 100%;
}

.social-btn:hover {
    cursor: pointer;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 800;
    color: #2d3748;
    margin: 80px 0 50px;
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #f093fb, #f5576c);
    border-radius: 2px;
}

/* ------------- */
.coop .slider-container {
    width: 100%;
    position: relative;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;

}

.coop .slider-wrapper {
    overflow: hidden;
    position: relative;
    height: 400px;
}

.coop .slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
    direction: ltr;
    /* Keep track LTR for proper flex direction */
}

.coop .slide-group {
    min-width: 100%;
    /* display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr); */
    display: flex;
    gap: 15px;
    /* padding: 30px; */
    /* flex-shrink: 0; */
    direction: rtl;
    /* Content inside groups should be RTL */
}

.coop .slide-item {
    background: linear-gradient(135deg, #004B6A, #74b9ff);
    border-radius: 15px;
    border: 5px solid #004B6A;
    color: white;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    max-width: 300px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    /* min-height: 150px; */
    position: relative;
    overflow: hidden;
    /* Added styles for link behavior */
    text-decoration: none;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    /* margin: 40px 0; */
}

.coop .slide-item img {

    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Added styles for title overlay */
.coop .slide-item .title {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 10px;
    margin: 15px;
    text-align: center;
    backdrop-filter: blur(5px);
}

/* Different colors for each group */
.coop .slide-group:nth-child(1) .coop .slide-item {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
}

.coop .slide-group:nth-child(2) .coop .slide-item {
    background: linear-gradient(45deg, #4ecdc4, #44a08d);
}

.coop .slide-group:nth-child(3) .coop .slide-item {
    background: linear-gradient(45deg, #a8e6cf, #7fcdcd);
}

.controls {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    align-items: center;
    direction: rtl;
    margin-top: 10px;
    /* margin-bottom: 50px; */
}

.nav-btn {
    /* background: #667eea; */
    background-color: #004B6A;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.nav-btn:hover {
    background: #5a6fd8;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.nav-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: scale(1);
    box-shadow: none;
}

.indicators {
    display: flex;
    gap: 10px;
    direction: ltr;
    /* Keep indicators in original order */
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator1 {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    /* background: #667eea; */
    background-color: #004B6A;
    transform: scale(1.3);
}

.indicator1.active {
    /* background: #667eea; */
    background-color: #004B6A;
    transform: scale(1.3);
}

.coop .slide-counter {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 15px;
    border-radius: 20px;
    font-weight: bold;
    color: #333;
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .coop .slide-group {
        padding: 20px;
        gap: 15px;
    }

    .coop .slide-item {
        font-size: 18px;
        min-height: 120px;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .image {
        width: 100%;
        height: auto !important;
    }
}







.about-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 50px;
    margin: 100px 0;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.about-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.about-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.about-card:hover img {
    transform: scale(1.05);
}

.about-card-content {
    padding: 30px;
}

.about-card h3 {
    color: #2d3748;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.about-card p {
    color: #718096;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 16px;
}

.read-more-btn {
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    background-color: #004B6A;
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.read-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.read-more-btn:hover::before {
    left: 100%;
}

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

@media (max-width: 768px) {
    .coop {
        padding: 40px 15px;
    }

    .coop-header {
        padding: 40px 20px;
    }

    .coop-logo {
        font-size: 28px;
        padding: 15px 30px;
    }

    .coop-container .description {
        padding: 30px 20px;
        font-size: 16px;
    }

    .news-slide {
        min-width: 300px;
        height: 240px;
    }

    .nav-button {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

    .about-section {
        padding: 40px 20px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .social-share {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 28px;
        margin: 60px 0 40px;
    }

}