/* ============================================================
   Rfif v1.0.0 — Homepage Styles (Bento Modern Design)
   Conditionally loaded only on the front page.
   RTL Arabic theme · Cairo font · Warm Ember palette
   Uses both new + legacy CSS variable names for safety.
   ============================================================ */

/* ============================================================
   §0  KEYFRAMES
   ============================================================ */
@keyframes hero-float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -20px) scale(1.05); }
  50% { transform: translate(-10px, 25px) scale(0.97); }
  75% { transform: translate(-25px, -10px) scale(1.03); }
}
@keyframes hero-float-orb-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  30% { transform: translate(-20px, 15px) scale(1.04); }
  60% { transform: translate(15px, -20px) scale(0.96); }
}
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.35); }
  50% { box-shadow: 0 0 0 10px rgba(234, 88, 12, 0); }
}
@keyframes team-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes fade-up {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   §1  HERO SECTION
   Full-width gradient mesh · centered content · hidden .hero-visual
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
    rgba(12, 10, 9, 0.97) 0%,
    rgba(28, 25, 23, 0.94) 35%,
    rgba(194, 65, 12, 0.72) 100%);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: radial-gradient(circle at 1px 1px, rgba(251, 146, 60, 0.5) 1px, transparent 0);
  background-size: 32px 32px;
}
/* Gradient mesh glow spots */
.hero-bg-overlay::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  top: -10%;
  left: -5%;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-bg-overlay::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  bottom: -15%;
  right: -8%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 10;
  padding: 8rem 0 7rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}
.hero-text {
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(234, 88, 12, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(234, 88, 12, 0.3);
  color: var(--accent-light, var(--gold-light));
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 2rem;
  animation: pulse-badge 3s ease-in-out infinite;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-badge:hover {
  background: rgba(234, 88, 12, 0.2);
  border-color: rgba(234, 88, 12, 0.5);
}
.hero-badge svg {
  width: 16px;
  height: 16px;
}
.hero-title {
  font-size: 3.75rem;
  font-weight: 900;
  color: var(--white, #fff);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
}
.hero-title .text-gold {
  color: var(--accent, var(--gold));
  background: linear-gradient(135deg, #EA580C, #FB923C, #FDBA74);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-description {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.15rem;
  line-height: 1.85;
  margin-bottom: 2.25rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-buttons .btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #EA580C, #C2410C);
  color: var(--white, #fff);
  padding: 1rem 2.25rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 24px rgba(234, 88, 12, 0.3);
}
.hero-buttons .btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(234, 88, 12, 0.4);
}
.hero-buttons .btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--white, #fff);
  padding: 1rem 2.25rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero-buttons .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}
.hero-buttons .btn-gold svg,
.hero-buttons .btn-outline svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-buttons .btn-gold:hover svg {
  transform: translateX(3px);
}
.hero-buttons .btn-outline:hover svg {
  transform: translateX(3px);
}
.hero-trust-badges {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 0.45rem 0.9rem;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.trust-badge:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.14);
}
.trust-badge svg {
  width: 14px;
  height: 14px;
  color: var(--accent-light, var(--gold-light));
}
.trust-badge span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.8rem;
  font-weight: 500;
}
/* Decorative floating orb behind hero text */
.hero-content::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  top: 15%;
  right: 20%;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: hero-float-orb 12s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}
.hero-content::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  bottom: 20%;
  left: 15%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  animation: hero-float-orb-2 15s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}
/* Hide old circle decoration completely */
.hero-visual {
  display: none !important;
}
.hero-circle-wrapper,
.hero-circle-outer,
.hero-circle-middle,
.hero-circle-inner,
.hero-float-card,
.hero-float-card.float-top,
.hero-float-card.float-bottom,
.hero-float-card.float-side {
  display: none !important;
}
.float-value,
.float-label {
  /* kept for CSS safety; parent is display:none */
}
/* Wave divider with warm gradient */
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  z-index: 11;
  line-height: 0;
}
.hero-wave svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ============================================================
   §2  SECTION COMMON
   ============================================================ */
.section {
  padding: 6rem 0;
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-badge {
  display: inline-block;
  color: var(--accent, var(--gold));
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-badge.has-bg {
  background: rgba(234, 88, 12, 0.08);
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  border: 1px solid rgba(234, 88, 12, 0.15);
}
.section-title {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--primary, var(--navy));
  margin-bottom: 1rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.section-title .text-gold {
  color: var(--accent, var(--gold));
}
.section-divider {
  width: 4rem;
  height: 4px;
  background: linear-gradient(90deg, var(--accent, var(--gold)), var(--accent-light, var(--gold-light)));
  margin: 0 auto;
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(234, 88, 12, 0.2);
}
.section-description {
  color: var(--text-muted, #78716C);
  max-width: 620px;
  margin: 1rem auto 0;
  font-size: 1rem;
  line-height: 1.85;
}

/* ============================================================
   §3  SERVICES OVERVIEW  (Bento Grid — Why Choose Us)
   2×2 bento · first card spans 2 cols · warm border-left accent
   ============================================================ */
.services-overview {
  background: var(--white, #fff);
}
.services-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.service-overview-card {
  background: var(--white, #fff);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  text-align: right;
  box-shadow: 0 1px 8px rgba(28, 25, 23, 0.04);
  border: 1px solid rgba(28, 25, 23, 0.06);
  border-right: 4px solid var(--accent, var(--gold));
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}
.service-overview-card:first-child {
  grid-column: 1 / -1;
}
.service-overview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(28, 25, 23, 0.08), 0 2px 12px rgba(234, 88, 12, 0.06);
  border-right-color: var(--accent-dark, var(--gold-dark));
}
.service-overview-card .card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(234, 88, 12, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-overview-card:hover .card-icon {
  background: linear-gradient(135deg, #EA580C, #C2410C);
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.25);
}
.service-overview-card .card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent, var(--gold));
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-overview-card:hover .card-icon svg {
  color: var(--white, #fff);
}
.service-overview-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary, var(--navy));
  margin-bottom: 0.7rem;
  transition: color 0.3s ease;
}
.service-overview-card:hover h3 {
  color: var(--accent-dark, var(--gold-dark));
}
.service-overview-card p {
  color: var(--text-muted, #78716C);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ============================================================
   §4  ABOUT SECTION
   Asymmetric 45/55 · no frame · warm off-white bg
   ============================================================ */
.about-section {
  background: var(--bg-alt, var(--cream));
  position: relative;
  overflow: hidden;
}
.about-grid {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: 4rem;
  align-items: center;
}
.about-image-wrapper {
  position: relative;
}
.about-image-frame {
  display: none;
}
.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(28, 25, 23, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.about-image:hover {
  box-shadow: 0 20px 56px rgba(28, 25, 23, 0.15);
  transform: translateY(-4px);
}
.about-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.about-image:hover img {
  transform: scale(1.03);
}
.about-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 10, 9, 0.45), transparent 55%);
}
.about-exp-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #EA580C, #C2410C);
  color: var(--white, #fff);
  padding: 1.2rem 1.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(234, 88, 12, 0.35);
  text-align: center;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.about-exp-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(234, 88, 12, 0.45);
}
.about-exp-badge .exp-number {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}
.about-exp-badge .exp-text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}
.about-success-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--white, #fff);
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(28, 25, 23, 0.1);
  text-align: center;
  border: 1px solid rgba(234, 88, 12, 0.08);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.about-success-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(28, 25, 23, 0.14);
}
.about-success-badge .success-number {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--secondary, var(--brown));
  line-height: 1;
}
.about-success-badge .success-text {
  font-size: 0.72rem;
  color: var(--text-muted, #78716C);
  font-weight: 500;
}
.about-text h2 {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary, var(--navy));
  margin-bottom: 1.5rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.about-text h2 .text-gold {
  color: var(--accent, var(--gold));
}
.about-text .text-divider {
  width: 4rem;
  height: 5px;
  background: linear-gradient(90deg, var(--accent, var(--gold)), var(--accent-light, var(--gold-light)));
  margin-bottom: 1.5rem;
  border-radius: 3px;
  box-shadow: 0 2px 10px rgba(234, 88, 12, 0.18);
}
.about-text p {
  color: var(--text-muted, #78716C);
  margin-bottom: 1.2rem;
  font-weight: 300;
  line-height: 1.85;
}
.about-features {
  margin: 2rem 0 2.5rem;
}
.about-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.about-feature-item:hover {
  transform: translateX(4px);
}
.about-feature-item .check-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(13, 148, 136, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-feature-item .check-icon svg {
  width: 14px;
  height: 14px;
  color: var(--secondary, var(--brown));
}
.about-feature-item span {
  font-weight: 600;
  color: var(--primary, var(--navy));
  font-size: 0.95rem;
}
.about-cta .btn-navy {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary, var(--navy));
  color: var(--white, #fff);
  padding: 1rem 2rem;
  border-radius: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(28, 25, 23, 0.15);
}
.about-cta .btn-navy:hover {
  background: var(--primary-light, var(--navy-light));
  box-shadow: 0 12px 40px rgba(28, 25, 23, 0.25);
  transform: translateY(-3px);
  color: var(--white, #fff);
}
.about-cta .btn-navy svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.about-cta .btn-navy:hover svg {
  transform: translateX(3px);
}

/* ============================================================
   §5  CONTENT BLOCKS
   3-column · orange gradient top border · white cards
   ============================================================ */
.content-blocks-section {
  background: var(--white, #fff);
  position: relative;
}
.content-blocks-section .section-header {
  margin-bottom: 4rem;
}
.content-blocks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.content-block-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.content-block-card:hover {
  transform: translateY(-6px);
}
.content-block-frame {
  background: var(--white, #fff);
  border: 1px solid rgba(28, 25, 23, 0.06);
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, #EA580C, #FB923C) 1;
  border-radius: 0;
  border-top-right-radius: 16px;
  border-top-left-radius: 16px;
  padding: 2.25rem 2rem;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 12px rgba(28, 25, 23, 0.04);
}
.content-block-card:hover .content-block-frame {
  box-shadow: 0 16px 48px rgba(28, 25, 23, 0.08);
}
.content-block-frame::before,
.content-block-frame::after {
  display: none;
}
.content-block-heading {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary, var(--navy));
  margin-bottom: 1rem;
  line-height: 1.5;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}
.content-block-card:hover .content-block-heading {
  color: var(--accent-dark, var(--gold-dark));
}
.content-block-text {
  color: var(--text-muted, #78716C);
  font-size: 0.95rem;
  line-height: 1.9;
  font-weight: 400;
  position: relative;
  z-index: 1;
}
.content-block-text p {
  margin-bottom: 0.75rem;
}
.content-block-text p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   §6  TEAM SECTION
   Horizontal scroll carousel · circular images · orange ring
   ============================================================ */
.team-section {
  background: var(--bg-alt, var(--cream));
  overflow: hidden;
}
.team-carousel-wrapper {
  width: 100%;
  overflow: hidden;
  margin: 2rem 0 3rem;
  direction: ltr;
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.team-carousel-wrapper::-webkit-scrollbar {
  display: none;
}
.team-carousel-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 2.5rem;
  width: max-content;
  direction: ltr;
  animation: team-scroll 35s linear infinite;
}
.team-carousel-track:hover {
  animation-play-state: paused;
}
.team-member-card {
  flex-shrink: 0;
  width: 160px;
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.team-member-card:hover {
  transform: scale(1.06);
}
.team-member-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--accent, var(--gold));
  box-shadow: 0 6px 24px rgba(234, 88, 12, 0.18);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 0 auto;
  position: relative;
}
.team-member-card:hover .team-member-image {
  border-color: var(--accent-dark, var(--gold-dark));
  box-shadow: 0 12px 36px rgba(234, 88, 12, 0.28);
}
.team-member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.team-member-card:hover .team-member-image img {
  transform: scale(1.08);
}
.team-member-name {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary, var(--navy));
  line-height: 1.4;
  transition: color 0.3s ease;
}
.team-member-name::before {
  display: none;
}
.team-member-card:hover .team-member-name {
  color: var(--accent-dark, var(--gold-dark));
}
.team-static-grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.team-placeholder {
  text-align: center;
  padding: 3rem 2rem;
  background: rgba(234, 88, 12, 0.03);
  border-radius: 20px;
  border: 2px dashed rgba(234, 88, 12, 0.2);
  margin-bottom: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.team-placeholder-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(234, 88, 12, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
}
.team-placeholder-icon svg {
  width: 36px;
  height: 36px;
  color: var(--accent, var(--gold));
}
.team-placeholder p {
  color: var(--text-muted, #78716C);
  font-size: 0.95rem;
  line-height: 1.8;
  font-weight: 500;
}
.team-cta {
  text-align: center;
  margin-top: 1rem;
}
.team-cta .btn-navy {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary, var(--navy));
  color: var(--white, #fff);
  padding: 1rem 2.5rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(28, 25, 23, 0.15);
}
.team-cta .btn-navy:hover {
  background: var(--primary-light, var(--navy-light));
  box-shadow: 0 12px 40px rgba(28, 25, 23, 0.25);
  transform: translateY(-3px);
  color: var(--white, #fff);
}
.team-cta .btn-navy svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.team-cta .btn-navy:hover svg {
  transform: translateX(3px);
}

/* ============================================================
   §7  SERVICES DETAIL
   3-column (2 tablet, 1 mobile) · top gradient hover · circle icon
   ============================================================ */
.services-detail {
  background: var(--white, #fff);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.service-card {
  background: var(--white, #fff);
  border: 1px solid rgba(28, 25, 23, 0.05);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 1px 8px rgba(28, 25, 23, 0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #EA580C, #FB923C);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(28, 25, 23, 0.08), 0 4px 16px rgba(234, 88, 12, 0.1);
  border-color: transparent;
}
.service-card:hover::before {
  opacity: 1;
}
.service-card .service-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(234, 88, 12, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, #EA580C, #C2410C);
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.2);
}
.service-card .service-icon svg {
  width: 32px;
  height: 32px;
  color: var(--accent, var(--gold));
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover .service-icon svg {
  color: var(--white, #fff);
}
.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary, var(--navy));
  margin-bottom: 0.9rem;
  transition: color 0.3s ease;
}
.service-card:hover h3 {
  color: var(--accent-dark, var(--gold-dark));
}
.service-card p {
  color: var(--text-muted, #78716C);
  font-size: 0.88rem;
  line-height: 1.75;
  flex-grow: 1;
}
.service-card .service-line {
  width: 3rem;
  height: 3px;
  background: rgba(28, 25, 23, 0.08);
  margin: 1.5rem auto 0;
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover .service-line {
  width: 4.5rem;
  background: linear-gradient(90deg, var(--accent, var(--gold)), var(--accent-light, var(--gold-light)));
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.18);
}

/* ============================================================
   §8  STATS SECTION
   Dark background · large numbers · orange tinted icon circles
   ============================================================ */
.stats-section {
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}
.stats-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-dark, var(--navy-dark)), var(--primary, var(--navy)), var(--primary-light, var(--navy-light)));
}
.stats-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23EA580C' fill-opacity='0.3' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}
.stats-content {
  position: relative;
  z-index: 10;
}
.stats-grid,
.stats-content .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}
.stat-item {
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.stat-item:hover {
  transform: translateY(-4px);
}
.stat-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(234, 88, 12, 0.1);
  border: 1px solid rgba(234, 88, 12, 0.08);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.stat-item:hover .stat-icon {
  background: rgba(234, 88, 12, 0.2);
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.15);
}
.stat-icon svg {
  width: 32px;
  height: 32px;
  color: var(--accent-light, var(--gold-light));
}
.stat-number {
  font-size: 3.25rem;
  font-weight: 900;
  color: var(--white, #fff);
  line-height: 1;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}
.stat-label {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  font-size: 0.92rem;
}

/* ============================================================
   §9  BLOG SECTION (Homepage)
   Magazine-style 2-column · orange pill category · hover lift + zoom
   ============================================================ */
.blog-section {
  background: var(--white, #fff);
}
.blog-section .blog-grid {
  grid-template-columns: repeat(2, 1fr);
  max-width: 100%;
  gap: 2rem;
}
.blog-section .blog-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--white, #fff);
  border: 1px solid rgba(28, 25, 23, 0.06);
  box-shadow: 0 2px 12px rgba(28, 25, 23, 0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.blog-section .blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(28, 25, 23, 0.1);
}
.blog-section .blog-card-image {
  overflow: hidden;
  position: relative;
}
.blog-section .blog-card-image img {
  height: 240px;
  object-fit: cover;
  display: block;
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.blog-section .blog-card:hover .blog-card-image img {
  transform: scale(1.06);
}
.blog-section .blog-card-category {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent, var(--gold));
  color: var(--white, #fff);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  z-index: 2;
}
.blog-section .blog-card-content {
  padding: 1.5rem;
}
.blog-section .blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
  font-size: 0.78rem;
  color: var(--text-muted, #78716C);
}
.blog-section .blog-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary, var(--navy));
  margin-bottom: 0.6rem;
  line-height: 1.5;
  transition: color 0.3s ease;
}
.blog-section .blog-card:hover h3 {
  color: var(--accent-dark, var(--gold-dark));
}
.blog-section .blog-card-excerpt {
  font-size: 0.85rem;
  color: var(--text-muted, #78716C);
  line-height: 1.7;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1rem;
}
.blog-section .blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent, var(--gold));
  text-decoration: none;
  transition: all 0.3s ease;
}
.blog-section .blog-card-link:hover {
  color: var(--accent-dark, var(--gold-dark));
  gap: 0.6rem;
}
.blog-section .blog-card-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}
.blog-section .blog-card-link:hover svg {
  transform: translateX(-3px);
}

/* ============================================================
   §10  CTA SECTION
   Bold dark-to-orange gradient · centered text · pattern overlay
   ============================================================ */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-dark, var(--navy-dark)) 0%, var(--primary, var(--navy)) 40%, rgba(194, 65, 12, 0.7) 100%);
}
.cta-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1'%3E%3Ccircle cx='40' cy='40' r='30'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-content {
  position: relative;
  z-index: 10;
  text-align: center;
}
.cta-content h2 {
  font-size: 3rem;
  font-weight: 900;
  color: var(--white, #fff);
  margin-bottom: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.cta-content h2 .text-navy {
  color: var(--primary, var(--navy));
  opacity: 0.7;
}
.cta-content p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
  line-height: 1.85;
}
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-buttons .btn-navy {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white, #fff);
  color: var(--primary-dark, var(--navy-dark));
  padding: 1rem 2rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.cta-buttons .btn-navy:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}
.cta-buttons .btn-navy svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.cta-buttons .btn-navy:hover svg {
  transform: translateX(3px);
}
.cta-buttons .btn-white-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white, #fff);
  padding: 1rem 2rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.cta-buttons .btn-white-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}
.cta-buttons .btn-white-outline svg {
  width: 20px;
  height: 20px;
}

/* ============================================================
   §11  CONTACT SECTION
   Clean grid · info cards right · map left · warm background
   ============================================================ */
.contact-section {
  background: var(--bg-alt, var(--cream));
  overflow-x: hidden;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}
.contact-form-wrapper {
  background: var(--white, #fff);
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid rgba(28, 25, 23, 0.06);
  box-shadow: 0 4px 20px rgba(28, 25, 23, 0.05);
}
.contact-form-wrapper h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary, var(--navy));
  margin-bottom: 1.5rem;
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-form .form-group {
  margin-bottom: 1.5rem;
}
.contact-form label {
  display: block;
  font-weight: 600;
  color: var(--primary, var(--navy));
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-color, #E7E5E4);
  border-radius: 12px;
  background: var(--white, #fff);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark, #1C1917);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  direction: inherit;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent, var(--gold));
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1), 0 4px 16px rgba(234, 88, 12, 0.05);
}
.contact-form textarea {
  resize: none;
  height: 140px;
}
.contact-form input[type="email"] {
  direction: ltr;
  text-align: right;
}
.contact-form .btn-submit {
  width: 100%;
  background: linear-gradient(135deg, #EA580C, #C2410C);
  color: var(--white, #fff);
  padding: 1rem;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 16px rgba(234, 88, 12, 0.2);
}
.contact-form .btn-submit:hover {
  background: linear-gradient(135deg, #C2410C, #9A3412);
  box-shadow: 0 12px 40px rgba(234, 88, 12, 0.3);
  transform: translateY(-2px);
}
.contact-form .btn-submit svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.contact-form .btn-submit:hover svg {
  transform: translateX(3px);
}
.contact-info-side {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--white, #fff);
  color: var(--primary, var(--navy));
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(28, 25, 23, 0.06);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 10px rgba(28, 25, 23, 0.04);
}
.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(28, 25, 23, 0.1);
  border-color: rgba(234, 88, 12, 0.15);
}
.contact-info-card .info-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(234, 88, 12, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.contact-info-card:hover .info-icon {
  background: linear-gradient(135deg, #EA580C, #C2410C);
}
.contact-info-card .info-icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent, var(--gold));
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.contact-info-card:hover .info-icon svg {
  color: var(--white, #fff);
}
.contact-info-card h4 {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.2rem;
  color: var(--primary, var(--navy));
}
.contact-info-card p {
  color: var(--text-muted, #78716C);
  font-size: 0.85rem;
  line-height: 1.6;
}
.contact-map-placeholder {
  border-radius: 16px;
  overflow: hidden;
  height: 200px;
  background: var(--white, #fff);
  text-align: center;
  box-shadow: 0 2px 12px rgba(28, 25, 23, 0.04);
  border: 1px solid rgba(28, 25, 23, 0.06);
  position: relative;
}
.contact-map-placeholder svg {
  width: 40px;
  height: 40px;
  color: var(--accent, var(--gold));
  margin-bottom: 0.5rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.contact-map-placeholder p {
  font-weight: 600;
  color: var(--primary, var(--navy));
  font-size: 0.9rem;
}
.contact-map-placeholder span {
  color: var(--text-muted, #78716C);
  font-size: 0.75rem;
}
.contact-map-wrapper {
  border-radius: 20px;
  overflow: hidden;
  min-height: 400px;
  box-shadow: 0 8px 32px rgba(28, 25, 23, 0.08);
  position: relative;
}
.contact-map-wrapper iframe {
  display: block;
}

/* ============================================================
   §12  SCROLL ANIMATIONS
   ============================================================ */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   §13  RESPONSIVE — TABLET  (max-width: 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.75rem; }
  .hero-description { max-width: 500px; }
  .services-overview-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-image img { height: 420px; }
  .content-blocks-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
  .content-block-frame { padding: 2rem 1.75rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid, .stats-content .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .blog-section .blog-grid { grid-template-columns: 1fr 1fr; }
  .cta-content h2 { font-size: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map-wrapper { min-height: 320px; }
}

/* ============================================================
   §14  RESPONSIVE — MOBILE  (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {
  .hero-section { min-height: auto; }
  .hero-content { padding: 6rem 0 5rem; }
  .hero-title { font-size: 2.2rem; }
  .hero-description { font-size: 1rem; max-width: 100%; }
  .hero-buttons .btn-gold,
  .hero-buttons .btn-outline { padding: 0.85rem 1.5rem; font-size: 0.95rem; }
  .hero-buttons { justify-content: center; }
  .hero-trust-badges { justify-content: center; }
  .hero-content::before { width: 250px; height: 250px; right: 10%; }
  .hero-content::after { width: 180px; height: 180px; left: 5%; }
  .section { padding: 4rem 0; }
  .section-header { margin-bottom: 3rem; }
  .section-title { font-size: 1.75rem; }
  .services-overview-grid { grid-template-columns: 1fr; }
  .service-overview-card:first-child { grid-column: 1; }
  .about-text h2 { font-size: 2rem; }
  .about-image img { height: 350px; }
  .about-grid { gap: 2.5rem; }
  .content-blocks-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .content-block-frame { padding: 1.75rem 1.5rem; }
  .content-block-heading { font-size: 1.15rem; }
  .content-block-text { font-size: 0.9rem; }
  .team-member-card { width: 140px; }
  .team-member-image { width: 100px; height: 100px; }
  .team-carousel-track { gap: 1.5rem; }
  .team-member-name { font-size: 0.82rem; }
  .team-placeholder { padding: 2rem 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .stat-number { font-size: 2.5rem; }
  .stat-icon { width: 56px; height: 56px; }
  .stat-icon svg { width: 26px; height: 26px; }
  .blog-section .blog-grid { grid-template-columns: 1fr; }
  .blog-section .blog-card-image img { height: 220px; }
  .cta-section { padding: 4rem 0; }
  .cta-content h2 { font-size: 2rem; }
  .cta-content p { font-size: 1rem; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .contact-map-wrapper { min-height: 260px; }
}

/* ============================================================
   §15  RESPONSIVE — SMALL  (max-width: 480px)
   ============================================================ */
@media (max-width: 480px) {
  .hero-content { padding: 5rem 0 4rem; }
  .hero-title { font-size: 1.75rem; }
  .hero-description { font-size: 0.92rem; line-height: 1.7; }
  .hero-trust-badges { flex-direction: column; align-items: center; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn-gold,
  .hero-buttons .btn-outline { width: 100%; justify-content: center; }
  .section { padding: 3.25rem 0; }
  .section-header { margin-bottom: 2.25rem; }
  .section-title { font-size: 1.5rem; }
  .section-description { font-size: 0.92rem; }
  .service-overview-card { padding: 1.5rem 1.25rem; }
  .about-text h2 { font-size: 1.65rem; }
  .about-image img { height: 260px; }
  .about-exp-badge { bottom: 12px; right: 12px; padding: 0.9rem 1rem; }
  .about-exp-badge .exp-number { font-size: 1.75rem; }
  .about-success-badge { top: 12px; left: 12px; }
  .content-block-frame { padding: 1.5rem 1.25rem; }
  .content-block-heading { font-size: 1.05rem; }
  .stat-number { font-size: 2rem; }
  .stats-grid, .stats-content .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .blog-section .blog-card-content { padding: 1.15rem; }
  .blog-section .blog-card h3 { font-size: 1rem; }
  .cta-content h2 { font-size: 1.6rem; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn-navy,
  .cta-buttons .btn-white-outline { width: 100%; justify-content: center; }
  .contact-form-wrapper { padding: 1.75rem; }
  .contact-info-card { padding: 1rem 1.15rem; }
  .contact-map-wrapper { min-height: 220px; border-radius: 14px; }
}
