/* About section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

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

.about-content h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #2c3e50;
}

/* Partners section */
.partners {
    background: #f9f9f9;
}

.partners-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Leadership section */
.leadership {
    background: #fff;
}

.leader-profile {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.leader-profile img {
   border: 5px solid #fff;
}

.leader-content h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.leader-content .position {
    color: #3498db;
    font-weight: 500;
    margin-bottom: 20px;
}

/* Core Values animation */
.value {
    position: relative;
    #padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.value::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #3498db, #2ecc71);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.value:hover {
    transform: translateY(-10px);
}

.value:hover::before {
    opacity: 0.1;
}

.value * {
    position: relative;
    z-index: 1;
}

/* Services Details */
.service-details {
    padding: 60px 0;
    background: #f9f9f9;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-item:nth-child(even) {
    direction: rtl;
}

.service-item img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.service-item-x img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-content {
    #direction: ltr;
    padding: 20px;
}

.service-content h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.8em;
}

/* Map styles */
.map {
    margin-top: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-container,
    .service-item {
        grid-template-columns: 1fr;
    }

    .service-item:nth-child(even) {
        direction: ltr;
    }

    .about-content {
        text-align: center;
    }
}