/* Fullscreen dark overlay */
.loader-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, #0f2612 0%, #020804 60%, #000000 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.4s ease;
  -webkit-animation: loading-center-absolute 1.5s infinite;
	animation: loading-center-absolute 1.5s infinite;
}

/* Shared loader styling */
.loader {
  width: 140px;
  height: 140px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loader img {
  max-width: 100%;
  max-height: 100%;
  display: block;
  border-radius: 16px;
  box-shadow:
    0 0 20px rgba(255, 215, 0, 0.5),
    0 0 40px rgba(0, 0, 0, 0.8);
}
/* Simple spinning animation */
.loader-spin img {
  animation: spin 1.6s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg) scale(1);
  }
  to {
    transform: rotate(360deg) scale(1);
  }
}
/* Pulsing + glow animation */
.loader-pulse img {
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0% {
    transform: scale(0.92);
    box-shadow:
      0 0 10px rgba(255, 215, 0, 0.4),
      0 0 25px rgba(0, 0, 0, 0.8);
  }
  50% {
    transform: scale(1.05);
    box-shadow:
      0 0 20px rgba(255, 215, 0, 0.8),
      0 0 45px rgba(255, 215, 0, 0.6);
  }
  100% {
    transform: scale(0.92);
    box-shadow:
      0 0 10px rgba(255, 215, 0, 0.4),
      0 0 25px rgba(0, 0, 0, 0.8);
  }
}
/* Flag-like wave animation */
.loader-wave img {
  transform-origin: center;
  animation: wave 1.6s ease-in-out infinite;
}
/* Optional: slight 3D perspective container */
.loader-wave {
  perspective: 800px;
}
@keyframes wave {
  0% {
    transform: perspective(800px) rotateY(-8deg);
    filter: brightness(0.95) saturate(1.1);
  }
  50% {
    transform: perspective(800px) rotateY(8deg);
    filter: brightness(1.05) saturate(1.2);
  }
  100% {
    transform: perspective(800px) rotateY(-8deg);
    filter: brightness(0.95) saturate(1.1);
  }
}
.loader-text {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  color: #f7d35c; /* golden yellow like the stars/arrows */
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  opacity: 0.85;
  animation: textPulse 1.6s ease-in-out infinite;
}
@keyframes textPulse {
  0%   { opacity: 0.4; }
  50%  { opacity: 1; }
  100% { opacity: 0.4; }
}
 #message {
    margin-top: 10px;
    color: green;
    display: none;
    font-weight: bold;
  }
  .crop-container{
	  width:650px;
	  height:450px;
	  overflow: hidden;
  }
  .crop-container img{
	  width:100%;
	  height: 100%;
	  object-fit: cover;
	  object-position:center;
  }
       .section-wrapper {
            max-width: 1100px;
            margin: 40px auto;
            padding: 0 15px;
        }

        .section-title {
            text-align: center;
            margin-bottom: 25px;
            color: #2f3b3a;
            font-size: 26px;
            letter-spacing: 0.5px;
        }

        .cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 20px;
        }
        .doc-card {
            background-color: #ffffff;
            border-radius: 10px;
            border: 1px solid #e0e0e0;
            box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
            padding: 18px 18px 20px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
            position: relative;
            overflow: hidden;
        }
        .doc-card::before {
            content: "";
            position: absolute;
            top: 0;
            right: 0;
            width: 6px;
            height: 100%;
            background: linear-gradient(180deg, #c9a14a, #2f6f60);
            opacity: 0.9;
        }
        .doc-icon {
            width: 40px;
            height: 40px;
            border-radius: 8px;
            background: rgba(201, 161, 74, 0.08);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #c9a14a;
            font-size: 20px;
            margin-bottom: 10px;
        }
        .doc-title {
            font-size: 17px;
            font-weight: 700;
            color: #2f3b3a;
            margin-bottom: 8px;
            line-height: 1.5;
        }
        .doc-desc {
            font-size: 14px;
            color: #555;
            line-height: 1.6;
            margin-bottom: 16px;
        }
        .doc-footer {
            display: flex;
            justify-content: flex-end;
        }
        .doc-btn {
            font-size: 13px;
            padding: 7px 14px;
            border-radius: 20px;
            border: 1px solid #c9a14a;
            background: linear-gradient(135deg, #c9a14a, #2f6f60);
            color: #fff;
            text-decoration: none;
            cursor: pointer;
            transition: opacity 0.2s ease, transform 0.1s ease;
        }
        .doc-btn:hover {
            opacity: 0.9;
            transform: translateY(-1px);
        }
        .doc-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
            border-color: #c9a14a;
        }
.announcement-bar {
    width: 100%;
    background: linear-gradient(90deg, #c9a14a, #2f6f60);
    color: #fff;
    padding: 8px 0;
    overflow: hidden;
    position: relative;
    font-family: "Tahoma";
}
.announcement-track {
    white-space: nowrap;
    display: inline-block;
    animation: scroll 40s linear infinite;
	animation-duration: 40s; /* بطيء بدون تأخير */
    font-size: 15px;
    font-weight: 600;
}
.announcement-item {
    display: inline-block;
    margin-left: 30px;
}
@keyframes scroll {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
.centers-section {
    background: #f8f9f8;
}
.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #1f4f2e; /* أخضر غامق */
}
.section-desc {
    max-width: 700px;
    margin: auto;
    color: #555;
}
.center-card {
    background: #fff;
    border: 2px solid #1f4f2e33; /* أخضر شفاف */
    border-radius: 12px;
    padding: 25px 15px;
    text-align: center;
    transition: 0.3s ease;
    height: 100%;
}
.center-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: #1f4f2e;
}
.center-img img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 2px solid #1f4f2e55;
}
.center-title {
    font-size: 20px;
    font-weight: 600;
    color: #1f4f2e;
    margin-bottom: 15px;
}
.center-btn {
    display: inline-block;
    padding: 8px 20px;
    background: #1f4f2e;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
}
.center-btn:hover {
    background: #27663b;
}
/* على الشاشات الكبيرة: 4 كروت */
@media (min-width: 1200px) {
    .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}
/* على الشاشات المتوسطة: 3 كروت */
@media (min-width: 992px) and (max-width: 1199px) {
    .col-md-4 {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}
/* على الشاشات الصغيرة: كرتين */
@media (min-width: 576px) and (max-width: 991px) {
    .col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}
/* على الموبايل: كرت واحد */
@media (max-width: 575px) {
    .col-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
  .events-content p {
    display: -webkit-box;
    -webkit-line-clamp: 4; /* عدد الأسطر */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 90px; /* حتى تبقى البطاقات بنفس الارتفاع */
}
 .event-text {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
}

.event-text.expanded {
    -webkit-line-clamp: unset;
    display: block;
}
.accordion-button {
    background-color: #1f5c4d !important;
    color: #fff !important;
    font-weight: bold;
}

.accordion-button:not(.collapsed) {
    background-color: #c89b3c !important;
    color: #fff !important;
}

.accordion-body {
    background-color: #f8f9fa;
    color: #333;
}
/* مربع 1:1 */
.img-1-1 {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.img-1-1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* مستطيل 3:4 */
.img-3-4 {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.img-3-4 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.contact-form input,
.contact-form textarea {
    border-radius: 8px;
    border: 1px solid #ccc;
    padding: 12px;
    transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #bfa34f; /* ذهبي ناعم */
    box-shadow: 0 0 5px rgba(191,163,79,0.4);
}

.btn-default {
    background: #bfa34f;
    color: #fff;
    padding: 10px 25px;
    border-radius: 6px;
    transition: 0.3s;
}

.btn-default:hover {
    background: #a8923f;
}
#responseMsg .alert {
    border-radius: 8px;
    padding: 12px 18px;
    font-size: 15px;
}
#responseMsg .alert {
    background: #bfa34f;
    color: #fff;
    border: none;
    font-size: 15px;
}
#responseMsg .alert-danger {
    background: #c0392b;
}
.success-box {
    background: #e8f8f0;
    border-right: 5px solid #2ecc71;
    padding: 15px 20px;
    border-radius: 8px;
    color: #1e7e34;
    font-weight: 600;
    font-size: 16px;
    margin-top: 15px;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.6s forwards;
}

.error-box {
    background: #fdecea;
    border-right: 5px solid #e74c3c;
    padding: 15px 20px;
    border-radius: 8px;
    color: #c0392b;
    font-weight: 600;
    font-size: 16px;
    margin-top: 15px;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.6s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.success-box {
    background: #e8f8f0;
    border-right: 5px solid #2ecc71;
    padding: 15px 20px;
    border-radius: 8px;
    color: #1e7e34;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.6s forwards;
}

.error-box {
    background: #fdecea;
    border-right: 5px solid #e74c3c;
    padding: 15px 20px;
    border-radius: 8px;
    color: #c0392b;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.6s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.library-item {
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 0 8px #ddd;
}
.library-item .thumb img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}
.library-item .title {
    font-size: 16px;
    margin-bottom: 10px;
    color: #0a4d3c;
}
.library-card {
    display: block;
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 0 10px #ddd;
    transition: 0.3s;
}
.library-card img {
    width: 80px;
    margin-bottom: 15px;
}
.library-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px #ccc;
}
.library-card h4 {
    color: #0a4d3c;
    font-size: 18px;
    margin-top: 10px;
}

.announcement-bar,
.announcement-bar * {
    color: #fff !important;
}
.announcement-bar a {
    color: #c9a14a !important;
    text-decoration: underline;
}
.herobody {
	 margin: 0;
    font-family: "Cairo", sans-serif;
    background-color: #0d1f1f;
    background-image: 
        linear-gradient(135deg, rgba(212,175,55,0.06) 0%, transparent 40%),
        linear-gradient(225deg, rgba(212,175,55,0.05) 0%, transparent 50%);
    color: white;
	
}
    /* HERO SECTION */
    .hero {
        height: 30vh;
        background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.7)),
                    url('hero.jpg') center/cover no-repeat;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        border-bottom: 2px solid #d4af37;
    }

    .hero-title {
        position: relative;
        font-size: 3.2rem;
        font-weight: 700;
        opacity: 0;
        transform: translateY(30px);
        transition: 1s ease;
        color: #d4af37;
        letter-spacing: 2px;
        text-shadow: 0 0 12px rgba(212,175,55,0.6);
    }

    .hero.show .hero-title {
        opacity: 1;
        transform: translateY(0);
    }

    /* GRID */
    .team-section {
        padding: 70px 40px;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 35px;
    }
   .card {
        background: #0f2f2f;
        border: 1px solid rgba(212,175,55,0.4);
        border-radius: 14px;
        padding: 20px;
        text-align: center;
        opacity: 0;
        transform: translateY(40px) scale(0.95);
        transition: 0.8s ease;
        box-shadow: 0 0 18px rgba(0,0,0,0.4);
		 position: relative;
        overflow: hidden;
    }
    .card.show {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    .card img {
        width: 100%;
        height: 240px;
        object-fit: cover;
        border-radius: 12px;
        margin-bottom: 15px;
        border: 2px solid rgba(212,175,55,0.5);
		  transition: 0.5s ease;
    }

    .card h3 {
        margin: 0;
        color: #d4af37;
        font-size: 1.3rem;
        margin-bottom: 5px;
    }
    .card p {
        opacity: 0.85;
        font-size: 0.95rem;
        color: #194224;
    }
.info-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 40, 40, 0.45); /* أخضر شفاف */
    color: #d4af37; /* ذهبي */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    font-size: 1rem;
    opacity: 0;
    transition: 0.4s ease;
    border-radius: 12px;
}
	.card {
    background: #0f2f2f;
    border: 1px solid rgba(212,175,55,0.4);
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: 0.8s ease, box-shadow 0.4s ease, transform 0.4s ease;
    box-shadow: 0 0 18px rgba(0,0,0,0.4);
    cursor: pointer;
}
.card .info-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 47, 47, 0.85); /* أخضر غامق شفاف */
    color: #d4af37; /* ذهبي */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    font-size: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s ease;
    border-radius: 12px;
}

.card:hover .info-overlay {
    opacity: 1;
    transform: translateY(0);
}
.card:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: #d4af37;
    box-shadow: 0 0 18px rgba(212,175,55,0.4),
                0 0 28px rgba(212,175,55,0.25),
                0 0 38px rgba(212,175,55,0.15);
}


.card:hover img {
    transform: scale(1.06);
	filter: blur(4px) brightness(0.6) sepia(1) hue-rotate(90deg) saturate(2);
    transform: scale(1.05);
}
/* خلفية القسم */
.bg-recent-project2 {
    background: #defae9; /* أخضر باهت فاتح */
    padding: 80px 0;
}
   
/*.bg-recent-project2 {
	
  background: linear-gradient(135deg, #0f3d2e 0%, #145c3a 50%, #1b7a4a 100%);
    padding: 80px 0;
    position: relative;
}*/

/* عنوان القسم */
.section-header h2 {
    color: #1f4d23;
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.section-header p {
    color: #1f4d23;
    max-width: 750px;
    margin: auto;
    font-size: 17px;
    line-height: 1.8;
}

/* صندوق المبادرة 
.our-services-box {
    background: #ffffff;
    border-radius: 18px;
    padding: 25px;
    margin-bottom: 35px;
    transition: 0.4s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}*/
.our-services-box2 {
    background: #145c3a; /* أخضر غامق */
    border-radius: 18px;
    padding: 25px;
    margin-bottom: 35px;
    transition: 0.4s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    color: #fff;
}

/* تأثير اللمعة عند المرور 
.our-services-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.35);
}*/
.our-services-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(197,157,47,0.45);
}

/* الأيقونة */
.our-services-items img {
    width: 65px;
    height: 65px;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 6px rgba(255,215,0,0.4));
}
.our-services-content h4 a,
.our-services-content p,
.our-services-content a {
    color: #fff !important;
}

/* عنوان المبادرة 
.our-services-content h4 a {
    color: #145c3a;
    font-size: 21px;
    font-weight: 700;
    text-decoration: none;
}*/

/* النص 
.our-services-content p {
    color: #444;
    margin: 12px 0 18px;
    line-height: 1.7;
}*/

/* رابط اقرأ أكثر
.our-services-content a {
    color: #c59d2f;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
} */

.our-services-content a:hover {
    color: #a8841f;
}

/* حركة دخول البطاقات */
.fade-in {
    animation: fadeInUp 0.9s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.icon-animated {
    width: 65px;
    height: 65px;
    animation: pulseGlow 2s infinite ease-in-out;
    filter: drop-shadow(0 0 6px rgba(255,215,0,0.5));
}

@keyframes pulseGlow {
    0%   { transform: scale(1);   filter: drop-shadow(0 0 4px rgba(255,215,0,0.3)); }
    50%  { transform: scale(1.12); filter: drop-shadow(0 0 12px rgba(255,215,0,0.7)); }
    100% { transform: scale(1);   filter: drop-shadow(0 0 4px rgba(255,215,0,0.3)); }
}
.icon-rotate {
    width: 65px;
    height: 65px;
    animation: softRotate 6s linear infinite;
    filter: drop-shadow(0 0 5px rgba(255,215,0,0.4));
}

@keyframes softRotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.icon-hover-shake {
    width: 65px;
    height: 65px;
    transition: 0.3s;
}

.icon-hover-shake:hover {
    animation: shake 0.4s ease;
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    50% { transform: translateX(3px); }
    75% { transform: translateX(-3px); }
    100% { transform: translateX(0); }
}
.our-services-box {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(4px);
}
 .activity-box {
            background: #fff;
            border-radius: 10px;
            padding: 15px;
            margin-bottom: 25px;
            box-shadow: 0 0 10px #ddd;
        }
        .activity-box img {
            width: 100%;
            border-radius: 10px;
            margin-bottom: 15px;
        }
        .activity-title {
            font-size: 22px;
            font-weight: bold;
            color: #0a4d3c;
        }
        .pagination a {
            color: #0a4d3c;
            font-weight: bold;
        }
        .pagination .active a {
            background-color: #0a4d3c !important;
            border-color: #0a4d3c !important;
            color: #fff !important;
        }
.bg-about-greenforest{
	background: url(../../assets/images/bg5.WEBP) no-repeat fixed;
    background-size: cover;
    background-position: 100%;
}
.bg-recent-project2{
	background: url(../../assets/images/bg6.WEBP) no-repeat fixed;
    background-size: cover;
    background-position: 100%;
}


.lightcase-contentInner {
    max-width: 95% !important;
    max-height: 95% !important;
}
.full-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* يخلي الفيديو يغطي كامل المساحة */
    z-index: 1;
}
.bg-compaian-video {
    position: relative;
    height: 800px; /* حددي الارتفاع اللي بدك */
    overflow: hidden;
}

.section-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* يخلي الفيديو يغطي كامل المساحة */
    cursor: pointer;
    z-index: 1;
}

/*.compaian-video-overlay {
    position: relative;
    z-index: 2;
    background: rgba(72, 142, 38, 0.74);
    width: 100%;
    height: 100%;
}*/
.compaian-video-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(72, 142, 38, 0.60); /* الأخضر الشفاف */
    overflow: hidden;
}

.compaian-video-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        rgba(255, 255, 255, 0.18) 1px,
        transparent 1px
    );
    background-size: 22px 22px; /* حجم النقاط */
    opacity: 0.35; /* شفافية النقوش */
    pointer-events: none;
}
.video-overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 3;
}

.video-overlay-content img {
    width: 100px;
    margin-bottom: 15px;
}

.video-overlay-content h3 {
    font-size: 30px;
    font-weight: 700;
    color: #fefefe;
    text-transform: uppercase;
}
.crop-container {
    border: 3px solid #c9a34e22;
    transition: transform .3s ease, box-shadow .3s ease;
}

.crop-container:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.crop-container {
    width: 100%;
    height: 250px; /* يمكنكِ تغييرها حسب ذوقك */
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}

.crop-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* أهم سطر */
    display: block;
}
.limited-text {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* عدد السطور */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 70px; /* حتى تبقى البطاقات بنفس الارتفاع */
}
 
.gallery-section {
    background: linear-gradient(135deg, #0f3d2e, #145c3a);
    padding: 70px 0;
    border-radius: 0 0 40px 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    position: relative;
    overflow: hidden;
}

/* زخرفة إسلامية شفافة */
.gallery-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../images/bg6.png');
    background-size: 300px;
    background-repeat: repeat;
   /* opacity: 0.08;  شفافية ناعمة */
    pointer-events: none;
}



        .gallery-title-main {
            text-align: center;
            color: #f9f9f9;
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 30px;
            letter-spacing: 1px;
        }

        .gallery-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px 20px;
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 25px;
        }

        .gallery-item {
            background: #ffffff;
            border-radius: 14px;
            overflow: hidden;
            box-shadow: 0 8px 20px rgba(0,0,0,0.15);
            transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
            border: 2px solid rgba(255, 215, 0, 0.25); /* لمسة ذهبية */
            position: relative;
        }

        /* توهّج ذهبي عند المرور */
        .gallery-item::before {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: 14px;
            background: radial-gradient(circle at top, rgba(255, 215, 0, 0.35), transparent 55%);
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
        }

        .gallery-item:hover::before {
            opacity: 1;
        }

        .gallery-item:hover {
            transform: translateY(-6px);
            box-shadow: 0 14px 30px rgba(0,0,0,0.25);
            border-color: rgba(255, 215, 0, 0.7);
        }

        .gallery-item img {
            width: 100%;
            height: 220px;
            object-fit: cover;
            display: block;
        }

        .gallery-caption {
            padding: 15px;
            text-align: center;
            font-size: 18px;
            font-weight: 600;
            color: #0f3d2e;
            background: #f7f7f7;
            border-top: 1px solid #eee;
        }

        /* لو حبيتي تضيفي مسافة تحت المعرض */
        .after-gallery-space {
            height: 60px;
        }
		
		.image-container {
  text-align: center;
}