/* ====== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #e0e5e2; /* رمادي فاتح متناسق مع الأخضر */
    color: #1c1c1c;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ====== Header & Navigation ===== */
.header {
    background-color: #2e7d32; /* اللون الأساسي */
    color: white;
    padding: 15px 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.nav {
    display: flex;
    gap: 15px;
}

.nav a {
    color: white;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background 0.3s;
}

.nav a:hover {
    background-color: white;
    color: #2e7d32;
}

/* ===== Hamburger ===== */
.menu-toggle {
    display: none; /* مخفي على الكمبيوتر */
    font-size: 28px;
    cursor: pointer;
    color: white;
}

/* ====== Container ===== */
.container {
    background-color: rgba(255, 255, 255, 0.85); /* أبيض شبه شفاف */
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    margin: 40px auto;
    max-width: 1000px;
}

/* ===== Carousel ===== */
.carousel-container {
    width: 100%;
    max-width: 600px;
    height: 350px;
    margin: 30px auto;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
}

.carousel-slide {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex: 0 0 100%;
}

/* ===== Carousel Buttons ===== */
.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.6);
    color: white;
    border: none;
    padding: 8px 14px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 18px;
    z-index: 10;
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

.prev-btn:hover,
.next-btn:hover {
    background-color: #244c24;
}
/* ===== Testimonials / الشهادات ===== */
.testimonials {
  margin-bottom: 50px;
}

.testimonials .service-card {
  background: #f4f9f4;
  border: 1px solid #d6e7d6;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.testimonials .service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.1);
}

.testimonials .service-card p {
  font-style: italic;
  color: #2e7d32;
  margin-bottom: 10px;
}

.testimonials .service-card span {
  display: block;
  font-weight: bold;
  color: #1b5e20;
  margin-top: 5px;
}

/* Responsive */
@media (max-width: 768px) {
  .testimonials {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }
}


/* ====== Forms ===== */
input, select, textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #c8d6cf;
    background-color: #f0f5f2; /* متناسق مع الخلفية */
    font-size: 15px;
    transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #2e7d32;
    background-color: #ffffff;
    box-shadow: 0 0 8px rgba(46,125,50,0.2);
}

button {
    background-color: #2e7d32;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    font-weight: bold;
}

button:hover {
    background-color: #244c24;
    transform: translateY(-2px);
}

/* ====== Footer ===== */
.footer {
    background-color: #2e7d32;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

.footer p {
    margin: 5px 0;
}

/* ====== Mobile ===== */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav {
        display: none;
        flex-direction: column;
        background-color: #2e7d32;
        width: 100%;
        text-align: center;
        padding: 10px 0;
        margin-top: 10px;
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        margin: 5px 0;
        padding: 10px 0;
    }

    .carousel-container {
        height: 220px;
    }

    .container {
        width: 95%;
        padding: 25px;
    }
}

/* ===== Section Titles ===== */
.section-title {
    text-align: center;
    margin: 40px 0 20px;
    color: #2e7d32;
    font-size: 26px;
}

/* ===== Services Cards ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.service-card {
    background: rgba(255,255,255,0.9);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.service-card h3 {
    color: #2e7d32;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 15px;
    color: #555;
}

.duration {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    color: #1b5e20;
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(rgba(46,125,50,0.8), rgba(46,125,50,0.8)),
                url('poul1.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.hero h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 25px;
}

.hero-btn {
    background: white;
    color: #2e7d32;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.hero-btn:hover {
    background: #1b5e20;
    color: white;
}

/* ===== About Page ===== */
.about-intro {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    margin-bottom: 15px;
    color: #2c5f2d;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.mission-vision {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.mission-vision .box {
    flex: 1;
    background: #f4f9f4;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
}

.mission-vision h3 {
    margin-bottom: 10px;
    color: #2c5f2d;
}

.why-us h2 {
    margin-bottom: 20px;
    color: #2c5f2d;
}

.why-us ul {
    list-style: none;
    padding: 0;
}

.why-us li {
    background: #ffffff;
    margin-bottom: 10px;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* ===== Responsive Flex ===== */
@media (max-width: 768px) {
    .about-intro,
    .mission-vision {
        flex-direction: column;
    }
}