/* =========================================================
   Digital Craft — Portfolio & Digital Services (RTL Arabic)
   Fonts: Cairo | Framework: Bootstrap 5 RTL
   ========================================================= */

:root {
  --brand-color: #fc6200;
  --brand-dark: #d95400;
  --brand-soft: #fff1e7;
  --alt-brand-color: #215667;
  --alt-brand-dark: #16404e;
  --alt-brand-deep: #0e2f3a;
  --light-color: #f7f7f7;
  --text-color: #4a4a4a;
  --heading-color: #1c2b33;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 6px 18px rgba(14, 47, 58, 0.08);
  --shadow-md: 0 14px 40px rgba(14, 47, 58, 0.12);
  --shadow-brand: 0 12px 30px rgba(252, 98, 0, 0.30);
  --transition: all 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Cairo', sans-serif;
  color: var(--text-color);
  background-color: var(--white);
  line-height: 1.9;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cairo', sans-serif;
  color: var(--heading-color);
  font-weight: 800;
  line-height: 1.5;
}

a { text-decoration: none; transition: var(--transition); }
img { max-width: 100%; }
::selection { background: var(--brand-color); color: #fff; }

.material-icons-round { vertical-align: middle; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--light-color); }
::-webkit-scrollbar-thumb { background: var(--alt-brand-color); border-radius: 20px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-color); }

/* ---------- Preloader ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--alt-brand-deep);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.loader-ring {
  width: 64px; height: 64px; border-radius: 50%;
  border: 4px solid rgba(255,255,255,.15);
  border-top-color: var(--brand-color);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Buttons ---------- */
.btn-brand {
  background: linear-gradient(135deg, var(--brand-color), #ff8a3d);
  color: #fff;
  border: none;
  padding: 0.8rem 2.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow-brand);
  transition: var(--transition);
}
.btn-brand:hover {
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(252, 98, 0, 0.40);
}
.btn-outline-light-custom {
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.5);
  color: #fff;
  padding: 0.8rem 2.2rem;
  border-radius: 50px;
  font-weight: 700;
  display: inline-flex; align-items: center; gap: 8px;
  backdrop-filter: blur(6px);
  transition: var(--transition);
}
.btn-outline-light-custom:hover { background: #fff; color: var(--alt-brand-color); transform: translateY(-4px); }

.btn-alt {
  background: var(--alt-brand-color);
  color: #fff;
  padding: 0.7rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  display: inline-flex; align-items: center; gap: 8px;
  transition: var(--transition);
}
.btn-alt:hover { background: var(--brand-color); color: #fff; transform: translateY(-3px); }

/* ---------- Navbar ---------- */
.navbar-custom {
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 1030;
  padding: 1.1rem 0;
  background: transparent;
  transition: var(--transition);
}
.navbar-custom .navbar-brand {
  font-weight: 900;
  font-size: 1.5rem;
  color: #fff;
  display: flex; align-items: center; gap: 8px;
}
/* logo image: white over transparent navbar (dark hero), full color after scroll */
.navbar-custom .brand-logo {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: var(--transition);
}
.navbar-custom.scrolled .brand-logo { filter: none; height: 46px; }
.footer-logo { height: 60px; width: auto; filter: brightness(0) invert(1); }
.footer .footer-logo-link:hover { padding-right: 0; }
@media (max-width: 575.98px) { .navbar-custom .brand-logo { height: 42px; } }

.navbar-custom .navbar-brand .logo-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--brand-color), #ff8a3d);
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.navbar-custom .nav-link {
  color: rgba(255,255,255,0.92);
  font-weight: 700;
  margin: 0 0.4rem;
  position: relative;
  padding: 0.4rem 0.2rem;
}
.navbar-custom .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 0; height: 2.5px;
  border-radius: 4px;
  background: var(--brand-color);
  transition: var(--transition);
}
.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after { width: 100%; }
.navbar-custom .nav-link:hover, .navbar-custom .nav-link.active { color: var(--brand-color); }

/* navbar after scroll */
.navbar-custom.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 0.6rem 0;
}
.navbar-custom.scrolled .navbar-brand { color: var(--alt-brand-color); }
.navbar-custom.scrolled .nav-link { color: var(--heading-color); }
.navbar-custom.scrolled .nav-link:hover,
.navbar-custom.scrolled .nav-link.active { color: var(--brand-color); }
.navbar-custom .navbar-toggler { border: none; box-shadow: none; }
.navbar-custom .navbar-toggler .material-icons-round { color: #fff; font-size: 2rem; }
.navbar-custom.scrolled .navbar-toggler .material-icons-round { color: var(--alt-brand-color); }

@media (max-width: 991.98px) {
  .navbar-custom .navbar-collapse {
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 1rem 1.4rem;
    margin-top: 0.8rem;
    box-shadow: var(--shadow-md);
  }
  .navbar-custom .nav-link { color: var(--heading-color) !important; }
}

/* ---------- Hero (Glassmorphism) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  background: linear-gradient(135deg, var(--alt-brand-deep) 0%, var(--alt-brand-color) 55%, #2d7088 100%);
  overflow: hidden;
  padding: 9rem 0 6rem;
}
.hero.hero-inner { min-height: 62vh; padding: 9rem 0 5rem; }

/* floating gradient blobs behind the glass */
.hero::before, .hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: float 9s ease-in-out infinite alternate;
}
.hero::before {
  width: 420px; height: 420px;
  background: radial-gradient(circle, var(--brand-color), transparent 70%);
  top: -90px; left: -90px;
}
.hero::after {
  width: 380px; height: 380px;
  background: radial-gradient(circle, #4db6d2, transparent 70%);
  bottom: -110px; right: -70px;
  animation-delay: 2.5s;
}
@keyframes float {
  from { transform: translateY(0) scale(1); }
  to   { transform: translateY(40px) scale(1.12); }
}

.hero .shape-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.12) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
}

.glass-card {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 26px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.hero-glass { padding: 3rem; position: relative; z-index: 2; }

.hero h1 {
  color: #fff;
  font-weight: 900;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
}
.hero h1 .text-brand-grad {
  background: linear-gradient(90deg, var(--brand-color), #ffb27a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.lead-text { color: rgba(255,255,255,0.85); font-size: 1.15rem; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  border-radius: 50px;
  padding: 0.35rem 1.1rem;
  font-weight: 700; font-size: 0.9rem;
  backdrop-filter: blur(8px);
}
.hero-badge .material-icons-round { color: var(--brand-color); font-size: 1.2rem; }

.hero-img-wrap { position: relative; z-index: 2; }
.hero-img-wrap img {
  border-radius: 26px;
  box-shadow: 0 25px 70px rgba(0,0,0,0.35);
  animation: heroFloat 5s ease-in-out infinite alternate;
}
@keyframes heroFloat { from { transform: translateY(0); } to { transform: translateY(-18px); } }

.glass-mini {
  position: absolute;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(14px);
  border-radius: 16px;
  padding: 0.8rem 1.2rem;
  color: #fff;
  font-weight: 700;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  animation: heroFloat 4s ease-in-out infinite alternate;
}
.glass-mini .material-icons-round {
  background: var(--brand-color);
  border-radius: 10px;
  padding: 6px;
}
.glass-mini.pos-1 { top: 8%; right: -20px; animation-delay: .8s; }
.glass-mini.pos-2 { bottom: 10%; left: -20px; animation-delay: 1.6s; }
.glass-mini small { display:block; font-weight: 400; opacity:.8; font-size:.75rem; line-height:1.3; }

/* hero wave divider */
.hero-wave {
  position: absolute; bottom: -1px; left: 0; right: 0;
  line-height: 0; z-index: 3;
}
.hero-wave svg { width: 100%; height: 70px; display: block; }

/* breadcrumb inside inner hero */
.breadcrumb-glass {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
  border-radius: 50px;
  padding: 0.4rem 1.3rem;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}
.breadcrumb-glass a { color: #ffb27a; }
.breadcrumb-glass a:hover { color: var(--brand-color); }

/* ---------- Section helpers ---------- */
.section { padding: 5.5rem 0; }
.section-light { background: var(--light-color); }
.section-dark {
  background: linear-gradient(135deg, var(--alt-brand-deep), var(--alt-brand-color));
  color: rgba(255,255,255,0.85);
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }

.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--brand-color);
  background: var(--brand-soft);
  font-weight: 800;
  border-radius: 50px;
  padding: 0.25rem 1.2rem;
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}
.section-dark .section-tag { background: rgba(252,98,0,0.15); }
.section-title { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 0.8rem; }
.section-sub { max-width: 640px; margin: 0 auto; }

.img-frame { position: relative; }
.img-frame img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  object-fit: cover;
}
.img-frame::after {
  content: '';
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 2.5px solid var(--brand-color);
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0.55;
}

/* ---------- Cards ---------- */
.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  border: 1px solid #eef1f3;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--brand-color), var(--alt-brand-color));
  transform: scaleX(0);
  transform-origin: right;
  transition: var(--transition);
}
.feature-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); }
.feature-card:hover::before { transform: scaleX(1); }

.icon-box {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: var(--brand-soft);
  color: var(--brand-color);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
  transition: var(--transition);
}
.icon-box .material-icons-round { font-size: 2rem; }
.feature-card:hover .icon-box {
  background: var(--brand-color);
  color: #fff;
  transform: rotate(-8deg) scale(1.06);
}
.icon-box.alt { background: rgba(33,86,103,0.10); color: var(--alt-brand-color); }
.feature-card:hover .icon-box.alt { background: var(--alt-brand-color); color: #fff; }

/* service image card */
.service-img-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 100%;
  border: 1px solid #eef1f3;
  transition: var(--transition);
}
.service-img-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); }
.service-img-card .img-holder { overflow: hidden; height: 220px; position: relative; }
.service-img-card .img-holder img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.service-img-card:hover .img-holder img { transform: scale(1.1); }
.service-img-card .img-holder .float-icon {
  position: absolute;
  bottom: -28px; right: 24px;
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--brand-color), #ff8a3d);
  color: #fff;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-brand);
  z-index: 2;
}
.service-img-card .card-body-custom { padding: 2.4rem 1.6rem 1.8rem; }
.link-more {
  color: var(--brand-color);
  font-weight: 800;
  display: inline-flex; align-items: center; gap: 4px;
}
.link-more:hover { color: var(--alt-brand-color); gap: 10px; }

/* ---------- Stats counters ---------- */
.stats-band {
  background: linear-gradient(135deg, var(--alt-brand-deep), var(--alt-brand-color));
  border-radius: 26px;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.stats-band::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(252,98,0,0.4), transparent 70%);
  top: -120px; left: -80px;
  filter: blur(40px);
}
.stat-item { text-align: center; color: #fff; position: relative; z-index: 1; }
.stat-item .num {
  font-size: 2.6rem; font-weight: 900;
  color: #fff; line-height: 1.2;
}
.stat-item .num span.plus { color: var(--brand-color); }
.stat-item .label { color: rgba(255,255,255,0.75); font-weight: 600; }
.stat-item .material-icons-round { color: var(--brand-color); font-size: 2.2rem; margin-bottom: .4rem; }

/* ---------- Steps / process ---------- */
.step-card {
  text-align: center;
  padding: 2rem 1.4rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  height: 100%;
  position: relative;
  transition: var(--transition);
  border: 1px solid #eef1f3;
}
.step-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.step-num {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--alt-brand-color), #2d7088);
  color: #fff;
  font-weight: 900; font-size: 1.3rem;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 10px 24px rgba(33,86,103,0.35);
}
.step-card:hover .step-num { background: linear-gradient(135deg, var(--brand-color), #ff8a3d); }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid #eef1f3;
  height: 100%;
  position: relative;
  transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.testimonial-card .quote-icon {
  position: absolute;
  top: 1.4rem; left: 1.6rem;
  color: var(--brand-soft);
  font-size: 3.4rem;
  transform: scaleX(-1);
}
.testimonial-card .stars { color: #ffb400; display: flex; gap: 2px; margin-bottom: .8rem; }
.testimonial-card .stars .material-icons-round { font-size: 1.2rem; }
.client-meta { display: flex; align-items: center; gap: 14px; margin-top: 1.4rem; }
.client-meta img {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--brand-soft);
}
.client-meta h6 { margin: 0; font-weight: 800; }
.client-meta small { color: var(--brand-color); font-weight: 700; }

/* ---------- Accordion (FAQ) ---------- */
.accordion-custom .accordion-item {
  border: 1px solid #eef1f3;
  border-radius: var(--radius-sm) !important;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.accordion-custom .accordion-button {
  font-weight: 800;
  font-family: 'Cairo', sans-serif;
  color: var(--heading-color);
  padding: 1.2rem 1.4rem;
}
.accordion-custom .accordion-button:not(.collapsed) {
  background: var(--brand-soft);
  color: var(--brand-color);
  box-shadow: none;
}
.accordion-custom .accordion-button:focus { box-shadow: none; }

/* ---------- Booking form ---------- */
.booking-section {
  position: relative;
  background: linear-gradient(135deg, var(--alt-brand-deep) 0%, var(--alt-brand-color) 60%, #2d7088 100%);
  overflow: hidden;
}
.booking-section::before {
  content: '';
  position: absolute;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(252,98,0,0.45), transparent 70%);
  top: -140px; right: -120px;
  filter: blur(60px);
}
.booking-card {
  position: relative; z-index: 2;
  padding: 2.6rem;
}
.booking-card .form-label { color: #fff; font-weight: 700; }
.booking-card .form-control,
.booking-card .form-select {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 0.8rem 1.1rem;
  font-family: 'Cairo', sans-serif;
  transition: var(--transition);
}
.booking-card .form-control::placeholder { color: rgba(255,255,255,0.55); }
.booking-card .form-control:focus,
.booking-card .form-select:focus {
  background: rgba(255,255,255,0.16);
  border-color: var(--brand-color);
  box-shadow: 0 0 0 4px rgba(252,98,0,0.22);
  color: #fff;
}
.booking-card .form-select option { color: var(--heading-color); }
.booking-card .invalid-feedback { color: #ffb27a; font-weight: 600; }

/* thanks message */
.thanks-message {
  display: none;
  text-align: center;
  padding: 3rem 1.5rem;
  animation: popIn 0.6s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}
.thanks-message.show { display: block; }
@keyframes popIn {
  0% { opacity: 0; transform: scale(0.7); }
  100% { opacity: 1; transform: scale(1); }
}
.success-icon {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1.4rem;
  box-shadow: 0 0 0 12px rgba(34,197,94,0.20), 0 16px 40px rgba(34,197,94,0.35);
  animation: pulseGreen 2s ease-in-out infinite;
}
.success-icon .material-icons-round { font-size: 3.2rem; }
@keyframes pulseGreen {
  0%, 100% { box-shadow: 0 0 0 10px rgba(34,197,94,0.18), 0 16px 40px rgba(34,197,94,0.30); }
  50% { box-shadow: 0 0 0 20px rgba(34,197,94,0.06), 0 16px 40px rgba(34,197,94,0.30); }
}
.thanks-message h3 { color: #fff; }
.thanks-message p { color: rgba(255,255,255,0.8); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--brand-color), #ff8a3d);
  border-radius: 26px;
  padding: 3.2rem 2.5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-brand);
}
.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.18) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}
.cta-banner h3 { color: #fff; position: relative; z-index: 1; }
.cta-banner p { position: relative; z-index: 1; opacity: 0.92; }
.cta-banner .btn-white {
  background: #fff; color: var(--brand-color);
  border-radius: 50px; padding: 0.8rem 2.2rem;
  font-weight: 800;
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  transition: var(--transition);
}
.cta-banner .btn-white:hover { background: var(--alt-brand-color); color: #fff; transform: translateY(-4px); }

/* ---------- Contact info cards ---------- */
.contact-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid #eef1f3;
  height: 100%;
  transition: var(--transition);
}
.contact-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.contact-card a { color: var(--text-color); font-weight: 600; }
.contact-card a:hover { color: var(--brand-color); }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  line-height: 0;
}
.map-frame iframe { width: 100%; height: 420px; border: 0; filter: saturate(0.85); }

/* ---------- Timeline (about) ---------- */
.timeline { position: relative; padding-right: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  right: 9px; top: 6px; bottom: 6px;
  width: 3px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--brand-color), var(--alt-brand-color));
}
.timeline-item { position: relative; padding-bottom: 2rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  right: -2rem; top: 8px;
  width: 21px; height: 21px;
  border-radius: 50%;
  background: #fff;
  border: 5px solid var(--brand-color);
  box-shadow: 0 0 0 5px var(--brand-soft);
}
.timeline-item h5 { margin-bottom: 0.2rem; }
.timeline-item .year { color: var(--brand-color); font-weight: 900; font-size: 0.95rem; }

/* ---------- Skill bars ---------- */
.skill-bar { margin-bottom: 1.4rem; }
.skill-bar .d-flex { font-weight: 700; color: var(--heading-color); }
.skill-track {
  height: 10px;
  background: #e9eef1;
  border-radius: 50px;
  overflow: hidden;
  margin-top: 6px;
}
.skill-fill {
  height: 100%;
  width: 0;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--alt-brand-color), var(--brand-color));
  transition: width 1.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--alt-brand-deep);
  color: rgba(255,255,255,0.72);
  padding: 4.5rem 0 0;
  position: relative;
}
.footer h5 { color: #fff; font-weight: 800; margin-bottom: 1.3rem; position: relative; padding-bottom: 0.6rem; }
.footer h5::after {
  content: '';
  position: absolute; bottom: 0; right: 0;
  width: 42px; height: 3px;
  border-radius: 4px;
  background: var(--brand-color);
}
.footer a { color: rgba(255,255,255,0.72); }
.footer a:hover { color: var(--brand-color); padding-right: 6px; }
.footer .footer-links li { margin-bottom: 0.7rem; list-style: none; display: flex; align-items: center; gap: 6px; }
.footer .footer-links { padding: 0; margin: 0; }
.footer .footer-links .material-icons-round { font-size: 1rem; color: var(--brand-color); }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  transition: var(--transition);
}
.social-links a:hover { background: var(--brand-color); transform: translateY(-4px); padding-right: 0; }

/* ---------- Navbar dropdown ---------- */
.navbar-custom .dropdown-menu {
  border: none;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 0.6rem;
  margin-top: 0.6rem;
  min-width: 250px;
  animation: ddFade .25s ease;
}
@keyframes ddFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.navbar-custom .dropdown-item {
  font-weight: 700;
  color: var(--heading-color);
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
  display: flex; align-items: center; gap: 10px;
  transition: var(--transition);
}
.navbar-custom .dropdown-item .material-icons-round {
  color: var(--brand-color);
  background: var(--brand-soft);
  border-radius: 8px; padding: 5px; font-size: 1.3rem;
  transition: var(--transition);
}
.navbar-custom .dropdown-item:hover,
.navbar-custom .dropdown-item.active {
  background: var(--brand-soft);
  color: var(--brand-color);
}
.navbar-custom .dropdown-item:hover .material-icons-round {
  background: var(--brand-color); color: #fff;
}
.navbar-custom .dropdown-toggle::after { margin-right: 0.4rem; vertical-align: middle; }
@media (min-width: 992px) {
  .navbar-custom .dropdown:hover .dropdown-menu { display: block; }
}
@media (max-width: 991.98px) {
  .navbar-custom .dropdown-menu { box-shadow: none; background: var(--light-color); margin: 0.3rem 0; }
}

/* ---------- Hero social bar (animated) ---------- */
.hero-social {
  display: flex; align-items: center; gap: 12px;
  margin-top: 1.6rem; flex-wrap: wrap;
}
.hero-social .hs-label {
  color: rgba(255,255,255,0.7);
  font-weight: 700; font-size: 0.9rem;
  display: inline-flex; align-items: center; gap: 6px;
}
.hero-social .hs-label::after {
  content: ''; width: 26px; height: 2px;
  background: var(--brand-color); border-radius: 4px; display: inline-block;
}
.hero-social-links { display: flex; gap: 10px; }
.hs-icon {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(8px);
  overflow: hidden;
  transition: var(--transition);
  animation: hsPop .5s backwards;
}
.hs-icon svg { width: 20px; height: 20px; position: relative; z-index: 2; transition: var(--transition); }
/* sliding color fill on hover */
.hs-icon::before {
  content: ''; position: absolute; inset: 0;
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(0.22,0.61,0.36,1);
  z-index: 1;
}
.hs-icon:hover { color: #fff; transform: translateY(-6px) scale(1.08); border-color: transparent; box-shadow: 0 12px 26px rgba(0,0,0,0.3); }
.hs-icon:hover::before { transform: translateY(0); }
.hs-icon:hover svg { transform: scale(1.12); }
.hs-icon.facebook::before { background: #1877f2; }
.hs-icon.instagram::before { background: radial-gradient(circle at 30% 110%, #fdf497, #fd5949 45%, #d6249f 70%, #285aeb 100%); }
.hs-icon.tiktok::before { background: #000; }
.hs-icon.youtube::before { background: #ff0000; }
.hs-icon:nth-child(1){animation-delay:.05s}.hs-icon:nth-child(2){animation-delay:.15s}.hs-icon:nth-child(3){animation-delay:.25s}.hs-icon:nth-child(4){animation-delay:.35s}
@keyframes hsPop { from { opacity: 0; transform: translateY(14px) scale(.8); } to { opacity: 1; transform: none; } }
.hero-social.center { justify-content: center; }

/* ---------- Hero portrait (inner pages) ---------- */
.hero-portrait {
  position: relative;
  z-index: 2;
  max-width: 380px;
  margin: 0 auto;
}
.hero-portrait img {
  width: 100%;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 25px 70px rgba(0,0,0,0.4);
  animation: heroFloat 5s ease-in-out infinite alternate;
}
.hero-portrait .glass-mini {
  position: absolute;
  z-index: 3;
}
.hero-portrait .glass-mini.pos-1 { top: 10%; right: -16px; animation-delay: .8s; }
.hero-portrait .glass-mini.pos-2 { bottom: 8%; left: -16px; animation-delay: 1.6s; }
@media (max-width: 991.98px) {
  .hero-portrait { max-width: 300px; margin-top: 2.2rem; }
}
@media (max-width: 767.98px) {
  .hero-portrait { max-width: 240px; }
  .hero-portrait .glass-mini { display: none; }
}

/* footer social brand colors on hover */
.social-links a.facebook:hover { background: #1877f2; }
.social-links a.instagram:hover { background: radial-gradient(circle at 30% 110%, #fdf497, #fd5949 45%, #d6249f 70%, #285aeb 100%); }
.social-links a.tiktok:hover { background: #000; }
.social-links a.youtube:hover { background: #ff0000; }
.social-links a svg { width: 19px; height: 19px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 1.3rem 0;
  margin-top: 3.5rem;
  text-align: center;
  font-size: 0.95rem;
}
.footer-bottom .brand-name { color: var(--brand-color); font-weight: 800; }

/* ---------- Back to top & WhatsApp ---------- */
.back-to-top {
  position: fixed;
  bottom: 26px; left: 26px;
  width: 48px; height: 48px;
  background: var(--brand-color);
  color: #fff;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-brand);
  opacity: 0; visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 1020;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--alt-brand-color); color: #fff; }

.whatsapp-float {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 56px; height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(37,211,102,0.4);
  z-index: 1020;
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); color: #fff; }
.whatsapp-float svg { width: 30px; height: 30px; }

/* ---------- Reveal-on-scroll animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(46px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.reveal-right { transform: translateX(60px); }
.reveal.reveal-left { transform: translateX(-60px); }
.reveal.reveal-zoom { transform: scale(0.85); }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .15s; }
.delay-2 { transition-delay: .3s; }
.delay-3 { transition-delay: .45s; }
.delay-4 { transition-delay: .6s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive tweaks ---------- */

/* prevent any horizontal scroll on mobile (blurred blobs / negative offsets) */
html, body { max-width: 100%; overflow-x: hidden; }

/* Tablets and below */
@media (max-width: 991.98px) {
  .hero { min-height: auto; padding: 8.5rem 0 5.5rem; }
  .hero.hero-inner { min-height: auto; padding: 8.5rem 0 5rem; }
  .hero-img-wrap { max-width: 540px; margin: 0 auto; }
  .stats-band { padding: 2.4rem 1.4rem; }
  .map-frame iframe { height: 340px; }
  /* booking CTA button inside collapsed mobile menu */
  .navbar-custom .navbar-collapse .btn-brand {
    margin-top: 0.6rem;
    width: 100%;
    justify-content: center;
    box-shadow: none;
  }
}

/* Phones */
@media (max-width: 767.98px) {
  .section { padding: 3.6rem 0; }
  .hero { padding: 7.2rem 0 4.5rem; }
  .hero.hero-inner { padding: 7.2rem 0 4rem; }
  .hero-glass { padding: 1.6rem 1.3rem; }
  .hero h1 { font-size: clamp(1.55rem, 6.5vw, 2.1rem); }
  .hero p.lead-text { font-size: 1rem; }
  .hero-badge { font-size: 0.8rem; padding: 0.3rem 0.9rem; }
  .breadcrumb-glass { flex-wrap: wrap; justify-content: center; font-size: 0.9rem; }

  /* smaller, lighter blobs = no overflow + better performance */
  .hero::before { width: 240px; height: 240px; top: -60px; left: -60px; filter: blur(50px); }
  .hero::after { width: 220px; height: 220px; bottom: -70px; right: -50px; filter: blur(50px); }

  .glass-mini { display: none; }
  .img-frame::after { display: none; }

  .btn-brand, .btn-outline-light-custom, .btn-alt {
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
  }
  .hero .d-flex.flex-wrap.gap-3 a { flex: 1 1 auto; justify-content: center; }

  .section-title { font-size: clamp(1.35rem, 5.5vw, 1.8rem); }
  .section-tag { font-size: 0.85rem; }

  .stats-band { padding: 2rem 1rem; border-radius: 20px; }
  .stat-item .num { font-size: 1.9rem; }
  .stat-item .label { font-size: 0.85rem; line-height: 1.5; }
  .stat-item .material-icons-round { font-size: 1.8rem; }

  .feature-card { padding: 1.7rem 1.3rem; }
  .step-card { padding: 1.7rem 1.2rem; }
  .testimonial-card { padding: 1.7rem 1.4rem; }
  .icon-box { width: 56px; height: 56px; }

  .service-img-card .img-holder { height: 190px; }
  .service-img-card .card-body-custom { padding: 2.2rem 1.3rem 1.5rem; }

  .booking-card { padding: 1.5rem 1.1rem; border-radius: 20px; }
  .booking-card .form-control, .booking-card .form-select { padding: 0.7rem 0.95rem; }
  .thanks-message { padding: 2rem 0.8rem; }
  .success-icon { width: 80px; height: 80px; }
  .success-icon .material-icons-round { font-size: 2.6rem; }
  .thanks-message h3 { font-size: 1.25rem; }

  .cta-banner { padding: 2.2rem 1.3rem; text-align: center; border-radius: 20px; }
  .map-frame iframe { height: 280px; }

  .timeline { padding-right: 1.7rem; }
  .timeline-item::before { right: -1.7rem; width: 18px; height: 18px; border-width: 4px; }

  .accordion-custom .accordion-button { padding: 1rem 1.1rem; font-size: 0.98rem; }

  .footer { padding-top: 3.2rem; }
  .footer-bottom { margin-top: 2.4rem; font-size: 0.85rem; }
  .footer-logo { height: 50px; }

  .back-to-top { width: 42px; height: 42px; bottom: 20px; left: 18px; }
  .whatsapp-float { width: 50px; height: 50px; bottom: 20px; right: 18px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

/* Very small phones */
@media (max-width: 399.98px) {
  .hero h1 { font-size: 1.45rem; }
  .hero-glass { padding: 1.3rem 1rem; }
  .stat-item .num { font-size: 1.6rem; }
  .navbar-custom .brand-logo { height: 36px; }
}
