/*
 * about.css - Styles for the About Us page
 * This file relies on the shared styles from style.css
 */

/* General container for this page */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Page Hero Section */
.page-hero {
  position: relative;
  background: url('../images/ourstory.jpg') no-repeat center center/cover;
  color: #f7f6f6;
  text-align: center;
  padding: 150px 20px 80px;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.726); /* درجة التعتيم */
  z-index: 0;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 50%, rgba(112, 112, 112, 0.822) 100%);
  z-index: 2;
}

.page-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.page-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

.page-hero h1,
.page-hero p {
  position: relative;
  z-index: 1;
}

/* Story Section */
.story-section {
    padding: 80px 0;
    background-color:none; /* Light background for contrast */
}

.story-container {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.story-text {
    flex: 1;
    min-width: 300px;
}

.story-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #000;
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #0a0a0a;
}

.story-image {
    flex: 1;
    min-width: 300px;
}

.story-image img {
    width: 100%;
    border-radius: 20px; /* Same border-radius as the rest of the project */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Mission & Vision Section */
.mission-vision {
    padding: 80px 0;
}

.mission-vision-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.mission-vision .box {
    background-color: #e9e1e1; /* Same color as the service cards */
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    flex: 1;
    min-width: 280px;
}

.mission-vision .box i {
    font-size: 3rem;
    color: #ff6a00; /* Accent orange color from the project */
    margin-bottom: 20px;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background-color:none;
    text-align: center;
}

.team-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #000;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.team-card {
    padding: 20px;
}

.team-image-placeholder {
    width: 120px;
    height: 120px;
    background-color: #e9e1e1;
    border-radius: 50%;
    margin: 0 auto 20px;
    /* You can replace this with a temporary image */
    background-image: url("../images/man.jpg"); 
    background-size: cover;
}

.team-card h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
    color: #0f0f0f;
}

.team-card p {
    color: #0c0c0c;
    font-size: 0.9rem;
}

/* Simple adjustments for smaller screens */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2.5rem;
    }
    .story-container {
        flex-direction: column;
        text-align: center;
    }
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}
