/* MOBILE-FIRST GLOBAL STYLES */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-family: "Tajawal","Cairo",system-ui,sans-serif;
  background-color: #ffffff;
  color: #000;
  direction: rtl;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

/* === HEADER (mobile priority) === */
.main-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 8px 30px rgba(0,0,0,.05);
  z-index: 1000;
  padding: .5rem 1rem;
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  text-align: center;
}

.logo {
  font-weight: 700;
  font-size: 1rem;
  color: #000;
}

.whatsapp-top {
  background-color: #25d366;
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  padding: .5rem .8rem;
  border-radius: .6rem;
  box-shadow: 0 8px 20px rgba(37,211,102,.4);
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  font-size: .8rem;
}

.nav-menu a {
  color: #000;
  text-decoration: none;
  font-weight: 500;
}

/* === HERO (mobile-first) === */
.hero {
  position: relative;
  padding-top: 160px; /* header space + hero spacing on mobile */
  padding-bottom: 3rem;
  text-align: center;
  color: #fff;
  overflow: hidden;
  opacity: 0;
  animation: heroFadeIn 1s ease forwards;
}

@keyframes heroFadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("./assets/hero-bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-dark-layer {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 1;
}

.hero-color-glow {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% -10%, rgba(255,215,0,.22) 0%, rgba(0,0,0,0) 70%),
    radial-gradient(circle at 20% 100%, rgba(195,0,0,.22) 0%, rgba(0,0,0,0) 70%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  margin: 0 auto;
  max-width: 20rem;
  padding: 0 1rem;
}

.hero-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: .75rem;
  text-shadow: 0 10px 30px rgba(0,0,0,.6);
}

.hero-sub {
  font-size: .9rem;
  line-height: 1.6;
  color: #fff;
  text-shadow: 0 10px 30px rgba(0,0,0,.7);
  margin-bottom: 1.5rem;
}

.btn-cta {
  display: inline-block;
  background: linear-gradient(90deg,#c30000 0%,#ff3b3b 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  padding: .8rem 1rem;
  border-radius: .8rem;
  box-shadow: 0 16px 30px rgba(195,0,0,.5);
  transition: all .2s;
}
.btn-cta:hover {
  box-shadow: 0 24px 50px rgba(195,0,0,.7);
  transform: translateY(-2px);
}

/* === SECTION TITLE === */
.section-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #000;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}
.section-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg,#c30000 0%,#ffd700 100%);
  border-radius: 999px;
  margin: .5rem auto 0;
  box-shadow: 0 8px 16px rgba(195,0,0,.3);
}
.section-title.light {
  color: #fff;
}
.section-title.light::after {
  background: linear-gradient(90deg,#ffd700 0%,#c30000 100%);
  box-shadow: 0 8px 16px rgba(255,215,0,.3);
}

/* === SERVICES / OFFERS (mobile-first stacked cards) === */
.services-section {
  background-color: #fff;
  padding: 2.5rem 1rem 2rem;
}

.offers-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.offer-card {
  background-color: #fff;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 1rem;
  box-shadow: 0 24px 40px rgba(0,0,0,.05);
  padding: 1.25rem 1rem 1rem;
  transition: all .2s;
}
.offer-card:hover {
  box-shadow: 0 32px 60px rgba(0,0,0,.08);
  transform: translateY(-2px);
  border-color: rgba(195,0,0,.4);
}

.featured-offer {
  background: radial-gradient(circle at 0% 0%, rgba(255,215,0,.08) 0%, rgba(255,255,255,0) 60%), #fff;
  border: 1px solid rgba(195,0,0,.4);
  box-shadow: 0 40px 80px rgba(195,0,0,.08), 0 20px 40px rgba(0,0,0,.06);
}

.offer-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: .5rem;
}

.offer-badge {
  background-color: #c30000;
  color: #fff;
  font-size: .7rem;
  font-weight: 600;
  padding: .3rem .5rem;
  border-radius: .5rem;
  box-shadow: 0 20px 30px rgba(195,0,0,.4);
  margin-bottom: .5rem;
}

.offer-title-row {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.offer-icon {
  font-size: 1.3rem;
  line-height: 1;
}
.offer-title {
  font-size: 1rem;
  font-weight: 700;
  color: #000;
  line-height: 1.4;
}

.offer-desc {
  font-size: .85rem;
  color: #444;
  line-height: 1.5;
  margin-top: .5rem;
  margin-bottom: 1rem;
}

.offer-features {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  color: #000;
  font-size: .85rem;
  line-height: 1.7;
  font-weight: 500;
}
.offer-features li {
  margin-bottom: .4rem;
}

.offer-extra-note {
  font-size: .75rem;
  color: #666;
  line-height: 1.5;
  font-weight: 500;
  margin-bottom: .5rem;
}

.offer-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: #000;
  background: #fff8e1;
  border: 1px solid #ffd700;
  border-radius: .6rem;
  padding: .4rem .8rem;
  line-height: 1.2;
  box-shadow: 0 20px 30px rgba(255,215,0,.25);
  text-align: center;
  margin-bottom: 1rem;
}

.offer-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: linear-gradient(90deg,#c30000 0%,#ff3b3b 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  padding: .8rem 1rem;
  border-radius: 999px;
  box-shadow: 0 20px 40px rgba(195,0,0,.4);
  transition: all .2s;
}
.offer-btn:hover {
  box-shadow: 0 28px 50px rgba(195,0,0,.5);
  transform: translateY(-2px);
}

.offer-note {
  margin-top: .6rem;
  text-align: center;
  font-size: .7rem;
  color: #666;
  line-height: 1.4;
}

/* === STATS SECTION (mobile centered) === */
.stats-section {
  background-color: #111;
  background-image: radial-gradient(circle at 20% 20%, rgba(195,0,0,.4) 0%, rgba(0,0,0,0) 60%);
  color: #fff;
  text-align: center;
  padding: 2.5rem 1rem;
}

.section-title.light {
  margin-bottom: 1.5rem;
}

.stats-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 20rem;
  margin: 0 auto;
}

.stat-box {
  background-color: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 1rem;
  padding: 1rem 1rem;
  min-width: 100%;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0,0,0,.7);
  transition: all .22s ease;
}
.stat-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 40px 70px rgba(0,0,0,.9);
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 20px 40px rgba(195,0,0,.6);
}
.stat-label {
  margin-top: .4rem;
  font-size: .8rem;
  color: #bbb;
  line-height: 1.5;
}

/* === TESTIMONIALS (fade-in slider) === */
.testimonials-section {
  background-color: #fff;
  padding: 2.5rem 1rem;
  text-align: center;
  direction: rtl;
}

.testi-intro {
  color: #444;
  font-size: .8rem;
  line-height: 1.6;
  max-width: 20rem;
  margin: -1rem auto 2rem;
}

/* wrapper that shows one card at a time */
.testi-wrapper {
  position: relative;
  max-width: 22rem;
  margin: 0 auto;
  min-height: 160px;
}

/* each testimonial card */
.testi-card {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  margin: 0 auto;
  width: 100%;
  background-color: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 1rem;
  box-shadow: 0 24px 40px rgba(0,0,0,.05);
  padding: 1.25rem 1rem;
  text-align: right;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .6s ease, transform .6s ease;
  direction: rtl;
}

.testi-card.active {
  opacity: 1;
  transform: translateY(0);
}

.testi-card .testi-name {
  font-weight: 600;
  font-size: .9rem;
  color: #000;
  margin-bottom: .4rem;
  text-align: right;
}
.testi-card .testi-text {
  font-size: .8rem;
  line-height: 1.6;
  color: #444;
  text-align: right;
}

/* pagination dots */
.slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .4rem;
  margin-top: 1.5rem;
}
.slider-dots .dot {
  width: .5rem;
  height: .5rem;
  background: rgba(0,0,0,.15);
  border-radius: 999px;
  transition: all .2s;
}
.slider-dots .dot.active {
  background: #c30000;
  box-shadow: 0 10px 20px rgba(195,0,0,.4);
}

/* tablet+ tweaks */
@media (min-width:768px){
  .testi-wrapper {
    max-width: 28rem;
  }
  .testi-card {
    font-size: .9rem;
  }
}
/* === CONTACT === */
.contact-section {
  background-color: #fff;
  padding: 2.5rem 1rem 4rem;
  text-align: center;
}

.contact-text {
  color: #444;
  font-size: .9rem;
  line-height: 1.6;
  max-width: 20rem;
  margin: 0 auto 1.5rem;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.whatsapp-main {
  background-color: #25d366;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  padding: .9rem 1.2rem;
  border-radius: .8rem;
  box-shadow: 0 20px 40px rgba(37,211,102,.4);
  min-width: 230px;
  text-align: center;
  transition: all .2s;
}
.whatsapp-main:hover {
  filter: brightness(1.05);
  box-shadow: 0 26px 50px rgba(37,211,102,.5);
}

.phone-line {
  color: #000;
  font-weight: 700;
  font-size: 1rem;
}

/* === FOOTER === */
.footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  font-size: .8rem;
  padding: 1.5rem 1rem 4rem;
}
.footer-inner {
  max-width: 20rem;
  margin: 0 auto;
  line-height: 1.4;
}

/* === FLOATING WHATSAPP BUTTON (sticky bottom-right mobile) === */



/* === DESKTOP / TABLET UPGRADES === */
@media (min-width: 768px) {

  .header-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: right;
  }

  .logo { font-size: 1.1rem; }
  .nav-menu { font-size: .9rem; }

  .hero {
    padding-top: 200px;
    padding-bottom: 4rem;
  }

  .hero-title {
    font-size: 1.8rem;
  }
  .hero-sub {
    font-size: 1rem;
  }

  .offers-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .offer-card {
    width: calc(50% - .5rem);
    max-width: 320px;
  }
  .featured-offer {
    order: -1; /* keep featured visible first */
    width: 100%;
    max-width: 360px;
  }

  .stats-wrapper {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 700px;
  }
  .stat-box {
    max-width: 200px;
  }

  .testi-slider {
    max-width: 28rem;
  }
  .testi-card {
    text-align: right;
  }
  .testi-name,
  .testi-text {
    text-align: right;
  }

  .footer {
    padding-bottom: 2rem;
  }

  
}

@media (min-width: 1024px) {
  .hero-title { font-size: 2rem; }
  .hero-sub { font-size: 1.05rem; }
}

/* === PACKS (Ad Campaign Packs) === */
.packs-section {
  background-color: #fff;
  padding: 2.5rem 1rem 2rem;
  text-align: center;
}
.packs-intro {
  color: #444;
  font-size: .8rem;
  line-height: 1.6;
  max-width: 20rem;
  margin: -1rem auto 2rem;
}
.packs-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 20rem;
  margin: 0 auto;
}
.pack-card {
  background-color: #fff;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 1rem;
  box-shadow: 0 24px 40px rgba(0,0,0,.05);
  padding: 1.25rem 1rem 1rem;
  text-align: center;
  transition: all .2s;
}
.pack-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 32px 60px rgba(0,0,0,.08);
  border-color: rgba(195,0,0,.4);
}
.pack-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  margin-bottom: .5rem;
  font-weight: 700;
  color: #000;
}
.pack-icon {
  font-size: 1.1rem;
}
.pack-name {
  font-size: 1rem;
  font-weight: 700;
}
.pack-detail {
  font-size: .8rem;
  color: #444;
  line-height: 1.5;
  margin-bottom: .5rem;
}
.pack-reach {
  font-size: .8rem;
  color: #000;
  line-height: 1.5;
  margin-bottom: 1rem;
}
.pack-reach strong {
  font-size: .9rem;
  font-weight: 600;
  color: #000;
}
.pack-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: #000;
  background: #fff8e1;
  border: 1px solid #ffd700;
  border-radius: .6rem;
  padding: .4rem .8rem;
  line-height: 1.2;
  box-shadow: 0 20px 30px rgba(255,215,0,.25);
  text-align: center;
  margin: 0 auto 1rem;
  display: inline-block;
  min-width: 8rem;
}
.pack-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: linear-gradient(90deg,#c30000 0%,#ff3b3b 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  padding: .8rem 1rem;
  border-radius: 999px;
  box-shadow: 0 20px 40px rgba(195,0,0,.4);
  transition: all .2s;
}
.pack-btn:hover {
  box-shadow: 0 28px 50px rgba(195,0,0,.5);
  transform: translateY(-2px);
}

/* responsive for packs on tablet+ */
@media (min-width:768px){
  .packs-list{
    flex-direction:row;
    flex-wrap:wrap;
    justify-content:center;
  }
  .pack-card{
    width:calc(50% - .5rem);
    max-width:260px;
  }
}


/* === SOCIAL LINKS (footer) === */
.social-links{
  display:flex;
  flex-direction:column;
  gap:.6rem;
  margin-top:1rem;
  text-align:right;
}
.social-link{
  display:flex;
  align-items:center;
  gap:.5rem;
  color:#fff;
  text-decoration:none;
  font-size:.8rem;
  font-weight:500;
  line-height:1.4;
  transition:all .2s;
}
.social-link .icon{
  width:24px;
  height:24px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#111;
  border:1px solid rgba(255,255,255,.2);
  border-radius:.5rem;
  padding:.4rem;
}
.social-link:hover{
  filter:brightness(1.2);
  transform:translateY(-2px);
}

/* desktop layout: row icons */
@media(min-width:768px){
  .footer-inner{
    max-width:28rem;
  }
  .social-links{
    flex-direction:row;
    flex-wrap:wrap;
    justify-content:center;
    text-align:center;
  }
  .social-link{
    font-size:.8rem;
  }
}


/* === SOCIAL LINKS (footer) UPDATED === */
.social-links{
  display:flex;
  flex-wrap:wrap;
  flex-direction:row;
  justify-content:center;
  align-items:center;
  gap:1rem;
  margin-top:1rem;
  text-align:center;
}

.social-link{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-size:.8rem;
  font-weight:600;
  line-height:1.4;
  transition:all .2s;
}

.social-link .icon{
  width:48px;
  height:48px;
  border-radius:1rem;
  background:#111;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.2);
  transition:all .2s;
}

.svg-icon{
  width:24px;
  height:24px;
}

/* platform colors */
.facebook .icon{
  background:#1877f2;
  border:none;
  color:#fff;
}
.instagram .icon{
  background: radial-gradient(circle at 30% 30%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border:none;
  color:#fff;
}
.tiktok .icon{
  background:#000;
  border:1px solid rgba(255,255,255,.3);
  color:#fff;
}
.gmail .icon{
  background:#d93025;
  border:none;
  color:#fff;
}

/* hover animation */
.social-link:hover .icon{
  transform:scale(1.08);
  box-shadow:0 20px 40px rgba(255,255,255,.2);
  filter:brightness(1.1);
}

/* text color */
.social-text{
  color:#fff;
  margin-top:.4rem;
  font-size:.7rem;
}

/* responsive tweaks for wider screens */
@media(min-width:768px){
  .social-links{
    flex-wrap:nowrap;
  }
}


/* UPDATED TIKTOK + ICON CIRCLE STYLE */
.social-link .icon{
  width:56px;
  height:56px;
  border-radius:9999px;
  background:#111;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.2);
  padding:.6rem;
  transition:all .2s;
}

.facebook .icon{
  background:#1877f2;
  border:none;
  color:#fff;
}
.instagram .icon{
  background: radial-gradient(circle at 30% 30%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border:none;
  color:#fff;
}
.tiktok .icon{
  background:#000;
  border:none;
  color:#fff;
}
.gmail .icon{
  background:#d93025;
  border:none;
  color:#fff;
}

/* make sure TikTok svg is fully visible */
.tiktok-svg{
  width:28px;
  height:28px;
  opacity:1;
  display:block;
  transform:none;
}

.social-link:hover .icon{
  transform:scale(1.08);
  box-shadow:0 20px 40px rgba(255,255,255,.2);
  filter:brightness(1.1);
}

/* === LOGO IMAGE === */
.logo-img{
  width:140px;
  height:auto;
  vertical-align:middle;
  margin-right:.5rem;
}
@media(max-width:768px){
  .logo-img{
    width:120px;
    margin-top:.3rem;
  }
}


/* === MOBILE SPACING TUNING / RESPONSIVE POLISH === */
.services-section,
.packs-section,
.stats-section,
.testimonials-section,
.contact-section{
  padding:2rem 1rem 1.5rem;
}
.stats-section{
  padding:2rem 1rem;
}
.contact-section{
  padding:2rem 1rem 2rem;
}

/* tighter section titles on mobile */
.section-title{
  margin-bottom:1.25rem;
}

/* ensure cards stack clean on mobile */
.offers-list,
.packs-list{
  flex-direction:column;
  flex-wrap:nowrap;
  gap:1rem;
}
.pack-card{
  width:100%;
  max-width:20rem;
  margin:0 auto;
  text-align:center;
}

/* CTA buttons thumb-friendly */
.offer-btn,
.pack-btn,
.whatsapp-main,
.whatsapp-top{
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}

/* testimonial spacing tighten */
.testimonials-section .testi-intro{
  margin:-.5rem auto 1.5rem;
}

/* social icons already circular: just ensure visible on small screens */
.social-links{
  flex-wrap:wrap;
  justify-content:center;
  row-gap:1rem;
  column-gap:1rem;
}

/* prevent text overlap in hero on very small screens */
@media(max-width:360px){
  .hero-title{font-size:1.3rem;}
  .hero-sub{font-size:.85rem;}
}


/* === FAQ SECTION (الأسئلة الشائعة) === */
.faq-section{
  background-color:#fff;
  padding:2rem 1rem 2rem;
  direction:rtl;
  text-align:right;
  max-width:600px;
  margin:0 auto;
}
.faq-list{
  display:flex;
  flex-direction:column;
  gap:1rem;
}
.faq-item{
  background-color:#fff;
  border:1px solid rgba(0,0,0,.07);
  border-radius:1rem;
  box-shadow:0 24px 40px rgba(0,0,0,.05);
  overflow:hidden;
}
.faq-question{
  width:100%;
  background:none;
  border:0;
  outline:0;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:.75rem;
  text-align:right;
  font-size:.9rem;
  font-weight:700;
  color:#000;
  padding:1rem 1rem;
  cursor:pointer;
  line-height:1.4;
}
.faq-icon{
  font-weight:700;
  font-size:1.2rem;
  color:#c30000;
  min-width:1.5rem;
  text-align:center;
  line-height:1;
}
.faq-answer{
  display:none;
  font-size:.8rem;
  color:#444;
  line-height:1.6;
  padding:0 1rem 1rem;
}
.faq-answer ul{
  margin-top:.5rem;
  padding-right:1rem;
  list-style:none;
}
.faq-answer li{
  margin-bottom:.4rem;
  font-size:.8rem;
  line-height:1.5;
  color:#444;
}

/* active/open state */
.faq-item.active .faq-answer{
  display:block;
}
.faq-item.active .faq-icon{
  color:#000;
  transform:rotate(45deg);
  transition:transform .2s;
}

/* spacing on bigger screens to stay elegant */
@media(min-width:768px){
  .faq-section{
    max-width:680px;
    padding:2.5rem 1rem 2rem;
  }
  .faq-question{
    font-size:1rem;
  }
  .faq-answer{
    font-size:.9rem;
  }
}

/* === MASERVICES ENHANCEMENTS 2025-11-01 === */
/* === PORTFOLIO SECTION (بعض من أعمالنا 🎬) === */
.portfolio-section {
  background-color: #fff;
  padding: 2.5rem 1rem 2rem;
  text-align: center;
  direction: rtl;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}
@media(min-width:600px){
  .portfolio-grid{
    grid-template-columns: repeat(2,1fr);
  }
}
@media(min-width:992px){
  .portfolio-grid{
    grid-template-columns: repeat(3,1fr);
  }
}

.portfolio-item {
  background-color: #000;
  border-radius: 1rem;
  border: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 24px 40px rgba(0,0,0,.05);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  overflow: hidden;
  border-radius: inherit;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
}

/* Lightbox modal for portfolio videos */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 1000;
}
.lightbox-overlay.active {
  display: flex;
}
.lightbox-content {
  background: #000;
  border-radius: 1rem;
  max-width: 90%;
  width: 800px;
  max-height: 80vh;
  position: relative;
  box-shadow: 0 40px 80px rgba(0,0,0,.6);
}
.lightbox-video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 1rem;
  overflow: hidden;
}
.lightbox-video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.lightbox-close {
  position: absolute;
  top: .5rem;
  left: .5rem;
  background: #fff;
  border: none;
  border-radius: .5rem;
  padding: .4rem .6rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
}

/* === ABOUT SECTION (نبذة عن MASERVICES) === */
.about-section {
  background-color: #fff;
  padding: 2.5rem 1rem 2rem;
  text-align: center;
  direction: rtl;
}
.about-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}
@media(min-width:768px){
  .about-inner{
    flex-direction: row;
    text-align: right;
    gap: 2rem;
  }
}
.about-text {
  flex: 1;
}
.about-desc {
  color: #444;
  font-size: .9rem;
  line-height: 1.6;
}
.about-media {
  flex-shrink: 0;
}
.about-logo-circle {
  width: 120px;
  height: 120px;
  border-radius: 1rem;
  background: radial-gradient(circle at 0% 0%, rgba(255,215,0,.15) 0%, rgba(0,0,0,0) 60%), #111;
  border: 1px solid rgba(255,215,0,.4);
  box-shadow: 0 24px 40px rgba(0,0,0,.5);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-logo-circle img {
  max-width: 70%;
  height: auto;
  object-fit: contain;
  filter: brightness(1.2);
}

/* === COUNTDOWN TIMER INSIDE PACK إنطلاقة === */
.offer-deadline {
  background-color: rgba(255,215,0,.08);
  border: 1px solid rgba(195,0,0,.15);
  border-radius: .75rem;
  padding: .75rem 1rem;
  margin: .75rem 0 1rem;
  text-align: center;
}
.deadline-label {
  font-size: .8rem;
  font-weight: 600;
  color: #000;
  margin-bottom: .4rem;
}
.countdown {
  font-size: .8rem;
  font-weight: 700;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  color: #000;
  line-height: 1.4;
}
.countdown span {
  font-size: 1rem;
  font-weight: 700;
  min-width: 2ch;
  display: inline-block;
  text-align: center;
}

/* === TESTIMONIALS SLIDER (آراء عملائنا) === */
.testimonials-section {
  background-color: #fff;
  padding: 2.5rem 1rem;
  text-align: center;
  direction: rtl;
}
.testi-slider {
  position: relative;
  max-width: 20rem;
  margin: 0 auto;
  min-height: 10rem;
}
.testi-slide {
  background-color: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 1rem;
  box-shadow: 0 24px 40px rgba(0,0,0,.05);
  padding: 1.25rem 1rem;
  text-align: right;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .6s ease, transform .6s ease;
  position: absolute;
  inset: 0;
  direction: rtl;
  line-height: 1.5;
}
.testi-slide.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
}
.testi-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .5rem;
}
.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: .75rem;
  background-color: #111;
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(0,0,0,.4);
}
.testi-name-stars {
  display: flex;
  flex-direction: column;
}
.testi-name {
  font-weight: 600;
  font-size: .9rem;
  color: #000;
  text-align: right;
}
.testi-stars {
  font-size: .7rem;
  color: #ffc107;
  line-height: 1;
  text-align: right;
}
.testi-text {
  font-size: .8rem;
  color: #333;
  line-height: 1.5;
  text-align: right;
}
.slider-dots {
  display: flex;
  justify-content: center;
  gap: .4rem;
  margin-top: 1rem;
}
.dot {
  width: 8px;
  height: 8px;
  background-color: rgba(0,0,0,.15);
  border-radius: 50%;
  transition: all .2s;
}
.dot.active {
  background-color: rgba(195,0,0,1);
  box-shadow: 0 12px 24px rgba(195,0,0,.4);
  transform: scale(1.2);
}

/* === CLIENTS / PARTNERS SECTION === */
.clients-section {
  background-color: #fff;
  padding: 2rem 1rem 2rem;
  text-align: center;
  direction: rtl;
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 1rem;
  max-width: 20rem;
  margin: 0 auto;
}
@media(min-width:768px){
  .clients-grid{
    max-width: 36rem;
    grid-template-columns: repeat(3,1fr);
  }
}
.client-logo {
  background-color: #fff;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: .75rem;
  box-shadow: 0 24px 40px rgba(0,0,0,.05);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(1);
  opacity: .8;
  min-height: 60px;
  font-size: .8rem;
  font-weight: 600;
  color: #000;
  transition: all .2s;
}
.client-logo:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* === FLOATING CTA BUTTON (update style to gold theme) === */
.floating-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  background-color: #ffd700;
  color: #000;
  font-weight: 600;
  font-size: .8rem;
  line-height: 1.4;
  text-decoration: none;
  padding: .8rem 1rem;
  border-radius: .8rem;
  box-shadow: 0 20px 40px rgba(255,215,0,.4);
  z-index: 999;
  transition: all .2s;
}
.floating-whatsapp:hover {
  filter: brightness(1.05);
  box-shadow: 0 26px 50px rgba(255,215,0,.5);
}

/* responsive tweaks for new sections */
@media(min-width:768px){
  .portfolio-section,
  .about-section,
  .clients-section{
    padding: 3rem 1rem 2.5rem;
  }
}

/* === MASERVICES EXTRA ENHANCEMENTS BLOCK === */
/* === EXTRA SERVICES SECTION === */
.extra-services-section{
  background-color:#fff;
  padding:2.5rem 1rem 2rem;
  text-align:center;
  direction:rtl;
}
.extra-services-grid{
  max-width:1200px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr;
  gap:1rem;
}
@media(min-width:600px){
  .extra-services-grid{
    grid-template-columns:repeat(2,1fr);
  }
}
@media(min-width:992px){
  .extra-services-grid{
    grid-template-columns:repeat(3,1fr);
  }
}
.extra-card{
  background-color:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:1rem;
  box-shadow:0 24px 40px rgba(0,0,0,.05);
  padding:1.25rem 1rem;
  text-align:right;
  direction:rtl;
  line-height:1.5;
}
.extra-icon{
  font-size:1.2rem;
  line-height:1;
  margin-bottom:.5rem;
}
.extra-title{
  font-size:.95rem;
  font-weight:600;
  color:#000;
  margin-bottom:.4rem;
  text-align:right;
}
.extra-desc{
  font-size:.8rem;
  color:#333;
  line-height:1.5;
  margin-bottom:.75rem;
  text-align:right;
}
.extra-btn{
  display:inline-block;
  background-color:#111;
  color:#fff;
  border-radius:.6rem;
  font-size:.8rem;
  font-weight:600;
  padding:.6rem .9rem;
  line-height:1.4;
  text-decoration:none;
  text-align:center;
  box-shadow:0 24px 40px rgba(0,0,0,.4);
  transition:all .2s;
}
.extra-btn:hover{
  filter:brightness(1.05);
  box-shadow:0 28px 50px rgba(0,0,0,.5);
}
/* === BACK TO TOP BUTTON === */
.back-to-top{
  position:fixed;
  left:1rem;
  bottom:1rem;
  background-color:#111;
  color:#fff;
  font-weight:600;
  font-size:.8rem;
  line-height:1;
  border:none;
  border-radius:.8rem;
  padding:.7rem .8rem;
  box-shadow:0 20px 40px rgba(0,0,0,.5);
  cursor:pointer;
  opacity:0;
  pointer-events:none;
  z-index:998;
  transition:all .2s;
}
.back-to-top.show{
  opacity:1;
  pointer-events:auto;
}

/* === MASERVICES LEAD CAPTURE ADDITIONS === */
/* === QUICK CONTACT FORM SECTION === */
.quick-contact-section{
  background-color:#fff;
  padding:2rem 1rem 2rem;
  direction:rtl;
  text-align:center;
}
.quick-contact-inner{
  max-width:400px;
  margin:0 auto;
  background-color:#fff;
  border:1px solid rgba(0,0,0,.07);
  border-radius:1rem;
  box-shadow:0 24px 40px rgba(0,0,0,.05);
  padding:1.25rem 1rem 1.5rem;
  text-align:right;
  line-height:1.5;
}
.quick-contact-title{
  text-align:center;
  font-size:1rem;
  font-weight:600;
  color:#000;
  margin-bottom:1rem;
}
.quick-contact-form{
  display:grid;
  grid-template-columns:1fr;
  gap:1rem;
}
.form-group{
  display:flex;
  flex-direction:column;
  gap:.4rem;
}
.form-label{
  font-size:.8rem;
  font-weight:600;
  color:#000;
  text-align:right;
  line-height:1.4;
}
.form-input{
  width:100%;
  background-color:#fff;
  color:#000;
  border:1px solid rgba(0,0,0,.15);
  border-radius:.6rem;
  font-size:.8rem;
  line-height:1.4;
  padding:.6rem .7rem;
  outline:none;
  box-shadow:0 0 0 rgba(0,0,0,0);
}
.form-input:focus{
  border-color:#111;
  box-shadow:0 0 0 3px rgba(0,0,0,.07);
}
.quick-send-btn{
  background-color:#111;
  color:#fff;
  font-weight:600;
  font-size:.8rem;
  line-height:1.4;
  border:none;
  border-radius:.6rem;
  padding:.7rem 1rem;
  cursor:pointer;
  text-align:center;
  box-shadow:0 24px 40px rgba(0,0,0,.4);
  transition:all .2s;
  width:100%;
}
.quick-send-btn:hover{
  filter:brightness(1.05);
  box-shadow:0 28px 50px rgba(0,0,0,.5);
}
@media(min-width:480px){
  .quick-contact-inner{
    padding:1.5rem 1.25rem 1.75rem;
  }
}
/* === LEAD WHATSAPP POPUP === */
.lead-popup-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.4);
  display:none;
  align-items:center;
  justify-content:center;
  padding:1rem;
  z-index:10000;
}
.lead-popup-overlay.active{
  display:flex;
  animation:fadeInOverlay .3s ease both;
}
@keyframes fadeInOverlay{
  0%{opacity:0;}
  100%{opacity:1;}
}
.lead-popup-card{
  background:rgba(255,255,255,.9);
  border-radius:1rem;
  border:1px solid rgba(255,215,0,.4);
  box-shadow:0 40px 80px rgba(0,0,0,.4);
  max-width:320px;
  width:100%;
  padding:1rem 1rem 1.25rem;
  position:relative;
  direction:rtl;
  text-align:right;
  line-height:1.5;
  color:#000;
  font-size:.85rem;
  animation:fadeInCard .4s ease both;
}
@keyframes fadeInCard{
  0%{opacity:0;transform:translateY(10px) scale(.96);}
  100%{opacity:1;transform:translateY(0) scale(1);}
}
.lead-popup-close{
  position:absolute;
  top:.5rem;
  left:.5rem;
  background:#fff;
  border:1px solid rgba(0,0,0,.15);
  border-radius:.5rem;
  font-size:1rem;
  line-height:1;
  font-weight:600;
  cursor:pointer;
  padding:.3rem .5rem;
  box-shadow:0 20px 40px rgba(0,0,0,.3);
}
.lead-popup-content{
  padding-top:.5rem;
  text-align:right;
}
.lead-popup-text{
  font-size:.8rem;
  line-height:1.5;
  color:#000;
  margin:0 0 .9rem;
  text-align:right;
}
.lead-popup-btn{
  display:block;
  text-align:center;
  background-color:#111;
  color:#fff;
  text-decoration:none;
  font-weight:600;
  font-size:.8rem;
  line-height:1.4;
  border-radius:.6rem;
  padding:.7rem 1rem;
  box-shadow:0 24px 40px rgba(0,0,0,.5);
  transition:all .2s;
}
.lead-popup-btn:hover{
  filter:brightness(1.05);
  box-shadow:0 28px 50px rgba(0,0,0,.55);
}
@media(min-width:480px){
  .lead-popup-card{
    max-width:360px;
    font-size:.9rem;
  }
}
