/* About Us Page Styles */

/* About Hero Section */
.about-hero {
    padding: 140px 0 70px;
    background-color: #1e2a38;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/pattern-bg.svg');
    background-size: 500px;
    background-position: center;
    opacity: 0.1;
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.about-hero-content h1 {
    color: #fff;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 20px;
}

.about-hero-content h1:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--main-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.about-hero-image {
    margin-top: 30px;
    max-width: 450px;
    width: 100%;
}

.about-hero-image img {
    width: 100%;
    height: auto;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* About Main Section */
.about-main {
    padding: 80px 0;
    background-color: #fff;
    position: relative;
}

.about-main-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: 24px;
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Our Goals Section */
.our-goals {
    padding: 80px 0;
    background-color: #f8f8f8;
    position: relative;
}

.our-goals::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/pattern-bg.svg');
    background-size: 500px;
    background-position: center;
    opacity: 0.05;
    z-index: 1;
}

.goals-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.goal-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    transition: all 0.3s ease;
    text-align: center;
}

.goal-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.goal-icon {
    width: 90px;
    height: 90px;
    background: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 2.8rem; /* تكبير الأيقونة */
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.goal-icon i {
    color: #2a3283;
    font-size: 2.5rem; /* تكبير الأيقونة نفسها */
}

.goal-card h2 {
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    position: relative;
    padding-bottom: 15px;
}

.goal-card h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--main-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.goal-card p {
    color: #555;
    font-size: 16px;
    line-height: 1.8;
}

/* Our Team Section */
.our-team {
    padding: 80px 0;
    background-color: #fff;
}

.team-wrapper {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    transform: translateY(0);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.member-image {
    height: 280px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.member-info {
    padding: 25px;
    text-align: center;
}

.member-info h3 {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
}

.member-info p {
    margin-bottom: 15px;
    color: #666;
    font-size: 16px;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.member-social a {
    width: 36px;
    height: 36px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    transition: all 0.3s ease;
}

.member-social a:hover {
    background-color: #1a1a1a;
    color: var(--main-color);
}

.view-more-team {
    margin-top: 50px;
    text-align: center;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.contact-info {
    padding-right: 40px;
}

.contact-info h2 {
    margin-bottom: 20px;
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    position: relative;
    padding-bottom: 15px;
}

.contact-info h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--main-color);
    bottom: 0;
    right: 0;
}

.contact-info > p {
    margin-bottom: 30px;
    color: #555;
    font-size: 16px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-map {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        padding-right: 0;
        text-align: center;
    }
    
    .contact-info h2:after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .goals-wrapper {
        flex-direction: column;
        align-items: center;
    }
    
    .goal-card {
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .about-hero-content h1 {
        font-size: 36px;
    }
    
    .about-text p {
        font-size: 16px;
    }
    
    .team-wrapper {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
    
    .member-image {
        height: 240px;
    }
}

@media (max-width: 576px) {
    .about-hero-content h1 {
        font-size: 30px;
    }
    
    .about-hero {
        padding: 120px 0 50px;
    }
    
    .about-main, .our-goals, .our-team, .contact-section {
        padding: 50px 0;
    }
    
    .goal-card {
        padding: 30px;
    }
    
    .contact-map {
        height: 300px;
    }
} 