/* ====================== RESET ====================== */
* {
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
}

body {
  margin: 0;
  background: #F9F9F7;
}

/* ====================== HERO (HOME ONLY) ====================== */
.hero {
  position: relative;
  height: 260px;
  overflow: visible;
}

.hero video {
  width: 100%;
  height: auto;
  min-height: 100%;
  object-fit: contain;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

/* ====================== HERO BOTTOM ====================== */
.hero-bottom {
  position: absolute;
  bottom: -140px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
  z-index: 10;
}

/* LOGO */
.logo-circle {
  width: 110px;
  height: 110px;
  background: #fff;
  border-radius: 50%;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.logo-circle img {
  width: 65px;
}

/* BRAND NAME */
.brand-name {
  font-size: 26px;
  font-weight: bold;
  margin: 6px 0 12px;
  color: #C79A34;
}

/* ====================== SOCIAL ICONS ====================== */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.social-icons a {
  width: 44px;
  height: 44px;
  background: #C79A34;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #001E3D;
  font-size: 18px;
  text-decoration: none;
}

/* ====================== MAIN CONTENT (HOME) ====================== */
.container {
  width: 92%;
  max-width: 450px;
  margin: 200px auto 20px;
}

/* ====================== ACCORDION ====================== */
.accordion {
  margin-bottom: 15px;
}

.accordion-btn {
  width: 100%;
  padding: 18px;
  border: none;
  border-radius: 18px;
  background: #00529B;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

/* الزر الأصفر */
.accordion:nth-child(even) .accordion-btn {
  background: #C79A34;
}

/* ======================
   ACCORDION CONTENT (NEW COLORS)
====================== */
.accordion-content {
  display: none;
  padding: 15px;
  margin-top: 10px;
  border-radius: 15px;
  color: #fff;
}

/* محتوى مع زر أخضر */
.accordion:nth-child(odd) .accordion-content {
  background: #00529B;
}

/* محتوى مع زر أصفر */
.accordion:nth-child(even) .accordion-content {
  background: #C79A34;
}

/* النصوص جوه المحتوى */
.accordion-content p,
.accordion-content li {
  color: #fff;
  line-height: 1.7;
}

.work-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
}


/* ======================
   OUR GOALS IMAGE
====================== */
.goals-image-wrapper {
  width: 100%;
  margin-top: 15px;
}

.goals-image-wrapper img {
  width: 100%;
  height: auto;          /* الطول الطبيعي */
  display: block;
  border-radius: 12px;   /* نفس روح التصميم */
}


/* الصور */
.full-img {
  width: 100%;
  border-radius: 15px;
  margin-top: 10px;
}

/* ====================== CONTACT LIST (HOME) ====================== */
.contact-list a {
  display: block;
  padding: 12px;
  background: #00529B;
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  margin-bottom: 10px;
  text-align: center;
}

/* ====================== FLOATING BUTTONS ====================== */
.floating-share {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 55px;
  height: 55px;
  background: #00529B;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
  z-index: 1000;
}

.floating-lang {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 55px;
  height: 55px;
  background: #C79A34;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #001E3D;
  font-weight: bold;
  cursor: pointer;
  z-index: 1000;
}

/* ====================== QR MODAL ====================== */
.qr-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.qr-card {
  background: #fff;
  padding: 25px;
  border-radius: 20px;
  text-align: center;
  width: 90%;
  max-width: 320px;
  position: relative;
}

.qr-card img {
  margin: 15px 0;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
}

/* ====================== TEAM PAGES ONLY ====================== */
.team-page {
  background: #F9F9F7;
}

.team-page .hero,
.team-page .hero-bottom,
.team-page .logo-circle,
.team-page .brand-name,
.team-page .social-icons {
  display: none !important;
}

.team-page .profile-card-page {
  background: #fff;
  width: 90%;
  max-width: 420px;
  margin: 40px auto;
  padding: 40px 20px;
  border-radius: 25px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

.team-page .profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 15px;
  display: block;
}

.team-page .position {
  color: #777;
  margin-bottom: 20px;
}

.team-page .actions {
  display: grid;
  gap: 12px;
}

.team-page .action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  border-radius: 30px;
  background: #00529B;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

.team-page .btn-value {
  font-size: 13px;
  opacity: 0.9;
}

.team-page .save-contact {
  display: block;
  margin-top: 20px;
  padding: 14px;
  border-radius: 30px;
  background: #000;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

.team-page a {
  color: inherit;
  text-decoration: none;
}

/* ====================== OUR WORK SECTION ====================== */
.work-item {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 15px;
  margin-bottom: 18px;
}

.work-item h4 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #001E3D;
  text-align: center;
}

.work-item p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
  text-align: center;
  color: #333;
}

.work-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

/* RTL */
body[dir="rtl"] .work-item h4,
body[dir="rtl"] .work-item p {
  text-align: center;
}

/* SUPPLIER BOX */
.supplier-box {
  margin-bottom: 25px;
}

.supplier-box h3 {
  margin-bottom: 10px;
  color: #001E3D;
  font-size: 20px;
  text-align: center;
}



/* ======================
   OUR GOALS FULL IMAGE
====================== */
.goals-content {
  padding: 15px;
  background: #C79A34; /* نفس لون الزر */
  border-radius: 15px;
}

.goals-full-image {
  width: 100%;
  height: auto;        /* الطول الطبيعي */
  display: block;
  border-radius: 12px;
}

/* ======================
   ABOUT US FULL IMAGE
====================== */
.about-content {
  padding: 15px;
  background: #00529B; /* نفس لون About Us */
  border-radius: 15px;
}

.about-full-image {
  width: 100%;
  height: auto;        /* الطول الطبيعي */
  display: block;
  border-radius: 12px;
}


/* ====================== RESPONSIVE ====================== */
@media (max-width: 768px) {
  .hero {
    height: auto;
  }

  .hero video {
    width: 100vw;
    height: auto;
    max-height: 60vh;
    object-fit: contain;
  }
}



/* ===== iNTACT Theme ===== */
body{
    color:#001E3D;
}
.brand-name{
    color:#00529B;
}
.accordion-btn{
    font-weight:600;
    transition:.3s;
}
.accordion-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 20px rgba(0,30,61,.15);
}
.social-icons a:hover,
.floating-share:hover,
.floating-lang:hover{
    transform:scale(1.08);
    transition:.3s;
}



.content-image{

    width:100%;
    display:block;
    border-radius:18px;
    margin:15px auto;

    box-shadow:0 8px 20px rgba(0,0,0,.15);

}

.accordion-content img{

    width:100%;
    border-radius:18px;
    display:block;

    margin-top:15px;

}

/* ==== FINAL IMAGE FIX ==== */
.accordion-content{
  display:none;
  padding:8px !important;
  overflow:hidden !important;
  border-radius:18px;
}
.accordion-content img,
.about-full-image,
.goals-full-image,
.content-image,
.full-img{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  margin:0 auto !important;
  padding:0 !important;
  border:0 !important;
  object-fit:contain !important;
  border-radius:12px !important;
}
.accordion-content *{max-width:100%;}


/* ===== ChatGPT Responsive Patch ===== */
.container{
  width:min(94%,480px)!important;
  max-width:480px!important;
  margin:220px auto 24px!important;
}
.accordion{width:100%!important;}
.accordion-content{
  overflow:hidden!important;
  padding:10px!important;
  box-sizing:border-box!important;
}
.accordion-content img,
.content-image,
.full-img,
.about-full-image,
.goals-full-image{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  margin:0 auto 12px!important;
  object-fit:contain!important;
  border-radius:12px!important;
}
img{max-width:100%;height:auto;}



.hero-cover{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}