:root{
    --brand1:#02aeee;
    --brand2:#fb8e0d;
    --ink:#0b1220;
    --muted:#6b7280;
}

body{
    color: var(--ink);
    background: radial-gradient(1200px 600px at 15% 10%, rgba(2,174,238,.15), transparent 55%),
                radial-gradient(1000px 500px at 85% 20%, rgba(251,142,13,.12), transparent 55%),
                linear-gradient(180deg, #ffffff, #f7fbff);
    overflow-x: hidden;
    font-family: "Tajawal", sans-serif !important;
    font-weight: 500;
    font-style: normal;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

.page-wrap {
  overflow-x: clip;
}

@supports not (overflow: clip) {
  .page-wrap { overflow-x: hidden; }
}

.nav-glass{
    backdrop-filter: blur(12px);
    background: rgba(255,255,255,.75);
    border-bottom: 1px solid rgba(0,0,0,.06);
}

.brand-badge{
    width: 40px; height: 40px;
    display: grid; place-items:center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand1), var(--brand2));
    color: #fff;
    box-shadow: 0 12px 30px rgba(2,174,238,.18);
}

.btn-brand{
    background: linear-gradient(135deg, var(--brand1), var(--brand2));
    border: none;
    color: #fff;
    box-shadow: 0 12px 26px rgba(2,174,238,.18);
}
.btn-brand:hover{ opacity: .95; color:#fff; }

.blob{
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(38px);
  opacity: .35;
  animation: floaty 10s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

.blob.one{
  top: -220px;
  left: 0;
  transform: translateX(-55%);
  background: radial-gradient(circle at 30% 30%, rgba(2,174,238,.65), transparent 60%);
}

.blob.two{
  top: 80px;
  right: 0;
  transform: translateX(55%);
  background: radial-gradient(circle at 30% 30%, rgba(251,142,13,.65), transparent 60%);
  animation-delay: 1.2s;
}

@media (max-width: 576px){
  .blob{
    width: 360px;
    height: 360px;
    filter: blur(30px);
    opacity: .28;
  }
  .blob.one{ top: -180px; transform: translateX(-60%); }
  .blob.two{ top: 40px;  transform: translateX(60%); }
}

@keyframes floaty{
    0%,100%{ transform: translate(0,0) scale(1); }
    50%{ transform: translate(0,18px) scale(1.03); }
}

img, video, iframe {
  max-width: 100%;
}

/* Card polish */
.soft-card{
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 18px;
    background: rgba(255,255,255,.86);
    box-shadow: 0 20px 45px rgba(15,23,42,.06);
}
.pill{
    display:inline-flex; align-items:center; gap:.5rem;
    padding: .4rem .7rem;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,.06);
    background: rgba(255,255,255,.7);
    color: var(--muted);
    font-size: .9rem;
}
.feature-item{ display:flex; gap:.75rem; align-items:flex-start; }
.feature-icon{
    width: 36px; height:36px;
    border-radius: 12px;
    display:grid; place-items:center;
    background: rgba(2,174,238,.12);
    color: var(--brand1);
    flex: 0 0 36px;
}

/* Form */
.form-control, .form-select{
    border-radius: 12px;
    border-color: rgba(0,0,0,.10);
    padding: .72rem .9rem;
}
.form-control:focus, .form-select:focus{
    border-color: rgba(2,174,238,.65);
    box-shadow: 0 0 0 .2rem rgba(2,174,238,.18);
}

.page-wrap{ position: relative; z-index: 1; }

.hero-slide { min-height: 420px; border-radius: 20px; overflow: hidden; }
.hero-bg { position:absolute; inset:0; background-size:cover; background-position:center; transform: scale(1.05); }
.hero-overlay { position:absolute; inset:0; background: linear-gradient(90deg, rgba(0,0,0,.65), rgba(0,0,0,.15)); }
.hero-content { position:relative; z-index:2; }

.blob {
  pointer-events: none !important;
}

.modal {
  z-index: 3000 !important;
}

.modal-backdrop {
  z-index: 2990 !important;
}

.modal,
.modal * {
  pointer-events: auto !important;
}

.soft-card {
  transition: transform .18s ease, box-shadow .18s ease;
}
.soft-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 26px 60px rgba(15,23,42,.10);
}

.portfolio-tile img,
.portfolio-tile video {
    transition: transform .35s ease, filter .35s ease;
}

.portfolio-tile:hover img,
.portfolio-tile:hover video {
    transform: scale(1.08);
    filter: saturate(1.05);
}

.portfolio-tile {
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 18px 40px rgba(15, 23, 42, .06);
}

.portfolio-chip {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, .75);
    border: 1px solid rgba(0, 0, 0, .06);
}

#pfStage {
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#pfStage img,
#pfStage video {
    max-width: 100%;
    width: 100%;
    height: 520px;
    object-fit: contain;
    background: #0b1220;
}

.featured-card{
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.06);
  background: rgba(255,255,255,.86);
  box-shadow: 0 20px 45px rgba(15,23,42,.06);
  position: relative;
}

.featured-cover-wrap{ position: relative; }

.featured-carousel .carousel-control-prev,
.featured-carousel .carousel-control-next{
  width: 14%;
}

.featured-arrow{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(0,0,0,.08);
  backdrop-filter: blur(10px);
  color: #111827;
}

.featured-avatar-wrap{
  position: absolute;
  right: 18px;
  top: 178px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(255,255,255,.85);
  padding: 6px;
  box-shadow: 0 18px 40px rgba(15,23,42,.10);
  z-index: 3;
}

html[dir="rtl"] .featured-avatar-wrap{
  right: auto;
  left: 18px;
}

.featured-avatar{
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.featured-body{
  padding: 22px 18px 18px;
  padding-top: 42px;
}

.featured-name{
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.featured-rating{
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.featured-stars{ color: #f59e0b; letter-spacing:.5px; }
.featured-rating-count{ color: #6b7280; font-size: .9rem; }

.featured-bio{
  line-height: 1.8;
  min-height: 70px;
}

.featured-card{ transition: transform .18s ease, box-shadow .18s ease; }
.featured-card:hover{ transform: translateY(-3px); box-shadow: 0 26px 60px rgba(15,23,42,.10); }

.announcement-glow-card{
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,.06);
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 45px rgba(15,23,42,.06);
}

.announcement-inner{
  padding: 16px 18px;
  position: relative;
  z-index: 2;
}

.announcement-topline{
  position:absolute;
  left:0; right:0; top:0;
  height: 4px;
  background: var(--accent);
  opacity: .55;
  z-index: 2;
}

.announcement-glow{
  position:absolute;
  inset: -40px -80px auto -80px;
  height: 140px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 35%, transparent), transparent 70%);
  filter: blur(18px);
  opacity: .9;
  pointer-events: none;
  z-index: 1;
}

.announcement-icon{
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent) 10%, white);
  border: 1px solid rgba(0,0,0,.06);
  color: var(--accent);
}

.announcement-icon i{
  font-size: 1.35rem;
}

.announcement-thumb{
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid rgba(0,0,0,.06);
}

.announcement-close{
  height: 34px;
  width: 34px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
}

.dropzone-soft{
  position: relative;
  border: 1px dashed rgba(0,0,0,.16);
  border-radius: 16px;
  background: rgba(255,255,255,.72);
  padding: 14px;
  cursor: pointer;
  transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease;
}

.dropzone-soft:hover{
  border-color: rgba(2,174,238,.45);
  box-shadow: 0 18px 40px rgba(15,23,42,.06);
  transform: translateY(-1px);
}

.dropzone-soft.is-dragover{
  border-color: rgba(2,174,238,.8);
  box-shadow: 0 24px 60px rgba(2,174,238,.12);
}

.dropzone-input{
  position:absolute;
  inset:0;
  opacity:0;
  cursor:pointer;
}

.notif-badge{
  position:absolute;
  top: 2px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  line-height: 18px;
  text-align:center;
  border: 2px solid rgba(255,255,255,.9);
}
html[dir="rtl"] .notif-badge{
  right:auto;
  left:-4px;
}

.nav-toggle{
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  width: 52px;
  height: 44px;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px rgba(15,23,42,.06);
  padding: 0;
}

.nav-toggle:focus{
  outline: none;
  box-shadow: 0 0 0 .2rem rgba(2,174,238,.18), 0 14px 30px rgba(15,23,42,.06);
}

.nav-toggle-lines{
  width: 22px;
  height: 16px;
  position: relative;
  display: inline-block;
}

.nav-toggle-lines span{
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(11,18,32,.75);
  border-radius: 99px;
  transition: transform .18s ease, top .18s ease, opacity .18s ease, width .18s ease;
}

.nav-toggle-lines span:nth-child(1){ top: 0; width: 22px; }
.nav-toggle-lines span:nth-child(2){ top: 7px; width: 18px; }
.nav-toggle-lines span:nth-child(3){ top: 14px; width: 14px; }

.nav-toggle.is-open .nav-toggle-lines span:nth-child(1){
  top: 7px;
  transform: rotate(45deg);
  width: 22px;
}
.nav-toggle.is-open .nav-toggle-lines span:nth-child(2){
  opacity: 0;
}
.nav-toggle.is-open .nav-toggle-lines span:nth-child(3){
  top: 7px;
  transform: rotate(-45deg);
  width: 22px;
}

.nav-mobile-actions{
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-icon-btn{
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 30px rgba(15,23,42,.06);
  color: rgba(11,18,32,.85);
  text-decoration: none;
}

.nav-icon-btn i{
  font-size: 1.1rem;
}

.nav-icon-btn .notif-badge{
  top: 2px;
  right: 2px;
}
html[dir="rtl"] .nav-icon-btn .notif-badge{
  right:auto;
  left:2px;
}

.notif-dropdown{
  width: 340px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 50px rgba(15,23,42,.12);
}

.notif-list{ max-height: 360px; overflow:auto; }

.notif-item{ padding: 12px 14px; white-space: normal; }
.notif-item:hover{ background: rgba(2,174,238,.08); }

.notif-dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 6px;
  flex: 0 0 10px;
}
.notif-dot.is-unread{ background: #ef4444; }
.notif-dot.is-read{ background: rgba(0,0,0,.15); }

.nav-bell-btn::after{ display:none; }

/* My Requests - modern clean cards */
.req-card { border-radius: 18px; }

.req-avatar{
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid rgba(0,0,0,.06);
}

.req-status{
  display:inline-flex;
  align-items:center;
  padding: .35rem .6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .78rem;
  border: 1px solid rgba(0,0,0,.06);
}

.req-chips{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
}

.req-chip{
  display:inline-flex;
  align-items:center;
  gap: 6px;
  padding: .45rem .65rem;
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(0,0,0,.06);
  color: rgba(11,18,32,.75);
  font-size: .85rem;
}

.req-chip-price{
  background: rgba(2,174,238,.10);
  border-color: rgba(2,174,238,.18);
}

.req-delivery{
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255,255,255,.70);
}

.accordion-button{
  border-radius: 16px !important;
}
.accordion-item{
  background: transparent;
  border: none;
}
.accordion-button:focus{
  box-shadow: 0 0 0 .2rem rgba(2,174,238,.18);
}

.chat-shell{
  height: 520px;
  overflow: auto;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  padding: 14px;
}

.chat-empty{
  height: 100%;
  display: grid;
  place-items: center;
  padding: 40px 12px;
}

.chat-row{
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  align-items: flex-end;
}

.chat-row.is-me{
  flex-direction: row-reverse;
}

.chat-avatar{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: .9rem;
  border: 1px solid rgba(0,0,0,.06);
  background: rgba(255,255,255,.90);
  color: rgba(11,18,32,.85);
  flex: 0 0 34px;
}

.chat-row.is-me .chat-avatar{
  background: rgba(2,174,238,.14);
  color: rgba(2,174,238,1);
  border-color: rgba(2,174,238,.18);
}

.chat-bubble{
  max-width: min(78%, 560px);
  border-radius: 16px;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,.06);
  background: rgba(255,255,255,.92);
  box-shadow: 0 14px 30px rgba(15,23,42,.05);
}

.chat-row.is-me .chat-bubble{
  background: linear-gradient(135deg, rgba(2,174,238,.18), rgba(251,142,13,.10));
  border-color: rgba(2,174,238,.22);
}

.chat-meta{
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: .78rem;
  color: rgba(11,18,32,.55);
  margin-bottom: 6px;
}

.chat-row.is-me .chat-meta{
  color: rgba(11,18,32,.65);
}

.chat-sender{
  font-weight: 800;
}

.chat-time{
  opacity: .85;
}

.chat-body{
  font-size: .95rem;
  color: rgba(11,18,32,.85);
  word-break: break-word;
}

.chat-row.is-me .chat-body{
  color: rgba(11,18,32,.90);
}

.chat-text{
  white-space: pre-wrap;
}

.chat-link{
  text-decoration: none;
  word-break: break-word;
}

.chat-link:hover{
  text-decoration: underline;
}

.chat-composer{
  position: sticky;
  bottom: 0;
}

.featured-cover-frame{
  height: 240px;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #0b1220;
}

.featured-cover-frame::before{
  content: "";
  position: absolute;
  inset: -30px;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  filter: blur(22px);
  transform: scale(1.2);
  opacity: .40;
  pointer-events: none;
}

.featured-cover-frame::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.28));
  pointer-events:none;
}

.featured-cover-img{
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 10px;
}

.featured-carousel .carousel-control-prev,
.featured-carousel .carousel-control-next{
  width: 18%;
}
@media (min-width: 992px){
  .featured-carousel .carousel-control-prev,
  .featured-carousel .carousel-control-next{
    width: 14%;
  }
}

@media (max-width: 576px){
  .featured-cover-img{ padding: 6px; }
}

.featured-carousel {
  position: relative;
}

.featured-carousel .carousel-control-prev,
.featured-carousel .carousel-control-next {
  z-index: 10;
  opacity: 1;
  pointer-events: auto;
}

.featured-avatar-wrap {
  pointer-events: none;
}
