/* ═══════════════════════════════════════
   شركة أسس الترافع - Global Styles
═══════════════════════════════════════ */

:root {
  --primary-dk: #4a4f74;
  --primary:    #2d324d;
  --accent:     #b09580;
  --accent-lt:  #e0d4c8;
  --white:      #ffffff;
  --bg:         #f8f7f5;
  --bg-dark:    #1a1c2e;
  --text:       #2d324d;
  --text-light: #6b7280;
  --glass:      rgba(255,255,255,0.08);
  --glass-bd:   rgba(176,149,128,0.2);
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:  0 8px 30px rgba(0,0,0,0.08);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.12);
  --shadow-xl:  0 30px 80px rgba(0,0,0,0.18);
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  40px;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Tajawal', sans-serif;
  background: var(--bg);
  color: var(--text);
  direction: rtl;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══════════════════════════════════════
   LOADER
═══════════════════════════════════════ */
.loader {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dk) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-logo {
  width: 120px;
  height: 120px;
  animation: loaderPulse 2s ease-in-out infinite;
}
.loader-logo svg { width: 100%; height: 100%; }

.loader-text {
  margin-top: 24px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-lt);
  letter-spacing: 2px;
}

.loader-bar {
  width: 160px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  margin-top: 20px;
  overflow: hidden;
}
.loader-bar span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-lt));
  border-radius: 10px;
  animation: loaderProgress 1.8s ease forwards;
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.8; }
}
@keyframes loaderProgress {
  to { width: 100%; }
}

/* ═══════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  transition: color 0.3s;
}
.navbar.scrolled .nav-logo { color: var(--primary-dk); }

.nav-logo svg {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 2px 8px rgba(176,149,128,0.3));
}

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

.nav-link {
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  border-radius: 50px;
  transition: var(--transition);
  position: relative;
}
.navbar.scrolled .nav-link { color: var(--primary-dk); }

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
  background: rgba(176,149,128,0.1);
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-lt)) !important;
  color: var(--primary-dk) !important;
  margin-right: 8px;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(176,149,128,0.35);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar.scrolled .nav-toggle span { background: var(--primary-dk); }

/* ═══════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 80px;
  overflow: hidden;
  background: linear-gradient(165deg, var(--primary-dk) 0%, var(--primary) 40%, #1a1d30 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M60 0L0 60l60 60 60-60L60 0zm0 115.4L4.6 60 60 4.6 115.4 60 60 115.4z' fill='%23b09580' fill-opacity='0.03'/%3E%3C/svg%3E"),
    radial-gradient(ellipse 80% 50% at 80% 0%, rgba(83,89,130,0.3) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 20% 100%, rgba(176,149,128,0.15) 0%, transparent 50%);
  background-size: 120px 120px, auto, auto;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}
.blob-1 {
  width: 600px; height: 600px;
  top: -200px; right: -150px;
  background: radial-gradient(circle, rgba(83,89,130,0.5) 0%, transparent 70%);
}
.blob-2 {
  width: 500px; height: 500px;
  bottom: -150px; left: -100px;
  background: radial-gradient(circle, rgba(176,149,128,0.25) 0%, transparent 70%);
}
.blob-3 {
  width: 300px; height: 300px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(83,89,130,0.2) 0%, transparent 70%);
}

/* Decorative floating rings & dots */
.float-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(176,149,128,0.12);
  pointer-events: none;
  animation: floatRing 10s ease-in-out infinite;
}
.float-ring::before {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 1px solid rgba(176,149,128,0.08);
}
.float-ring::after {
  content: '';
  position: absolute;
  inset: 24px;
  border-radius: 50%;
  border: 1px solid rgba(176,149,128,0.05);
}
.ring-1 { width: 200px; height: 200px; top: 12%; left: 6%; animation-delay: 0s; }
.ring-2 { width: 160px; height: 160px; bottom: 18%; right: 8%; animation-delay: -4s; opacity: 0.7; }
.ring-3 { width: 120px; height: 120px; top: 55%; left: 18%; animation-delay: -7s; opacity: 0.5; }

.float-dot {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(176,149,128,0.2);
  pointer-events: none;
  animation: floatDot 6s ease-in-out infinite;
}
.dot-1 { top: 20%; right: 12%; animation-delay: -1s; }
.dot-2 { top: 45%; left: 8%; width: 6px; height: 6px; animation-delay: -3s; }
.dot-3 { bottom: 30%; left: 25%; animation-delay: -5s; }
.dot-4 { top: 65%; right: 20%; width: 5px; height: 5px; animation-delay: -2s; }

@keyframes floatRing {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
}
@keyframes floatDot {
  0%, 100% { transform: translateY(0); opacity: 0.2; }
  50% { transform: translateY(-12px); opacity: 0.5; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(176,149,128,0.12);
  border: 1px solid rgba(176,149,128,0.25);
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-lt);
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
}
.hero-badge svg { width: 20px; height: 20px; stroke: var(--accent); }

.hero-title {
  margin-bottom: 24px;
}
.hero-line {
  display: block;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.5;
}
.hero-line strong {
  color: var(--accent-lt);
}
.hero-sub {
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 500;
  color: var(--accent-lt);
  opacity: 0.95;
  margin-top: 8px;
  line-height: 1.5;
}
.hero-sub2 {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  color: var(--accent);
  opacity: 0.85;
  margin-top: 4px;
  line-height: 1.5;
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-lt));
  color: var(--primary-dk);
  box-shadow: 0 8px 30px rgba(176,149,128,0.35);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 45px rgba(176,149,128,0.45);
}
.btn-primary svg { width: 22px; height: 22px; }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.25);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-3px);
}

.btn-light {
  background: var(--white);
  color: var(--primary-dk);
  box-shadow: var(--shadow-md);
}
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-light svg { width: 22px; height: 22px; }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-3px);
}
.btn-outline-light svg { width: 20px; height: 20px; }

/* Hero Trust badges */
.hero-trust {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(176,149,128,0.15);
  padding: 12px 24px;
  border-radius: 50px;
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.trust-item:hover {
  background: rgba(176,149,128,0.1);
  border-color: rgba(176,149,128,0.3);
  transform: translateY(-2px);
}
.trust-item svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  flex-shrink: 0;
}

/* Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll a {
  display: block;
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 25px;
  position: relative;
}
.hero-scroll a span {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: scrollDot 2s ease infinite;
}
@keyframes scrollDot {
  0% { top: 8px; opacity: 1; }
  100% { top: 30px; opacity: 0; }
}

/* ═══════════════════════════════════════
   SECTION COMMON STYLES
═══════════════════════════════════════ */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(176,149,128,0.12), rgba(176,149,128,0.05));
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 8px 24px;
  border-radius: 50px;
  border: 1px solid rgba(176,149,128,0.2);
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--primary-dk);
  margin-bottom: 16px;
  line-height: 1.5;
}
.section-title span {
  color: var(--accent);
}
.section-desc {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════
   ABOUT SECTION
═══════════════════════════════════════ */
.about {
  padding: 120px 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.about::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(176,149,128,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.about-image { position: relative; }
.about-img-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 480px;
  margin: 0 auto;
}
.about-img-inner {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-dk) 0%, var(--primary) 100%);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image-slider {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.slide-img.active {
  opacity: 1;
}

.about-logo-watermark {
  position: absolute;
  width: 150%;
  height: auto;
  opacity: 0.2;
  filter: drop-shadow(0 0 40px rgba(224,212,200,0.25));
}
.about-img-icon {
  position: relative;
  z-index: 1;
  width: 120px;
  height: 120px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(176,149,128,0.2);
}
.about-img-icon svg { width: 60px; height: 60px; }

.about-img-accent {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--accent);
  border-radius: var(--radius-xl);
  z-index: -1;
  opacity: 0.4;
}

.about-content { }
.about-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary-dk);
  margin-bottom: 20px;
  line-height: 1.5;
}
.about-text {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 20px;
  text-align: justify;
}

.about-vision {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: linear-gradient(135deg, rgba(176,149,128,0.08), rgba(176,149,128,0.02));
  padding: 24px;
  border-radius: var(--radius-md);
  border-right: 4px solid var(--accent);
  margin: 32px 0;
}
.vision-icon {
  width: 56px;
  height: 56px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.vision-icon svg { width: 28px; height: 28px; }
.about-vision h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-dk);
  margin-bottom: 6px;
}
.about-vision p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

.about-features {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.af-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  padding: 12px 20px;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(176,149,128,0.15);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dk);
}
.af-item svg { width: 22px; height: 22px; stroke: var(--accent); }

/* ═══════════════════════════════════════
   SERVICES SECTION
═══════════════════════════════════════ */
.services {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--white) 100%);
}

.services-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 14px 32px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  border: 2px solid rgba(176,149,128,0.55);
  background: var(--white);
  color: var(--primary-dk);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 3px 10px rgba(0,0,0,0.07);
}
.tab-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(176,149,128,0.12);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(176,149,128,0.3);
}
.tab-btn.active {
  position: relative;
  color: var(--primary-dk);
  border-color: transparent;
  box-shadow: 0 8px 25px rgba(176,149,128,0.3);
  background: transparent;
  overflow: hidden;
}
.tab-btn.active::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-lt));
  border-radius: inherit;
  z-index: -1;
}

.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.5s ease; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid rgba(176,149,128,0.1);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-lt));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(176,149,128,0.2);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(176,149,128,0.1), rgba(176,149,128,0.05));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-lt));
  transform: scale(1.1);
}
.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent);
  transition: stroke 0.3s;
}
.service-card:hover .service-icon svg { stroke: var(--white); }

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-dk);
  margin-bottom: 12px;
  line-height: 1.5;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ═══════════════════════════════════════
   WHY US SECTION
═══════════════════════════════════════ */
.why-us {
  padding: 120px 0;
  background: var(--white);
  position: relative;
}
.why-us::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(74,79,116,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background: linear-gradient(135deg, var(--primary-dk) 0%, var(--primary) 100%);
  border-radius: var(--radius-md);
  padding: 40px 28px;
  text-align: center;
  color: var(--white);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 60%);
  pointer-events: none;
}
.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.why-icon {
  width: 72px;
  height: 72px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  border: 1px solid rgba(176,149,128,0.3);
}
.why-icon svg { width: 32px; height: 32px; stroke: var(--accent); }

.why-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.5;
}
.why-card p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* ═══════════════════════════════════════
   CTA BANNER
═══════════════════════════════════════ */
.cta-banner {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-dk) 0%, var(--primary) 50%, #1a1d30 100%);
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cta-ring {
  position: absolute;
  bottom: -40px;
  left: 5%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 2px solid rgba(176,149,128,0.12);
  opacity: 0.6;
  pointer-events: none;
}
.cta-ring::before {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1.5px solid rgba(176,149,128,0.08);
}
.cta-ring::after {
  content: '';
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  border: 1px solid rgba(176,149,128,0.05);
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.cta-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.5;
}
.cta-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════
   CONTACT SECTION
═══════════════════════════════════════ */
.contact {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--bg) 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Contact Form */
.contact-form-wrapper { }
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(176,149,128,0.12);
}
.form-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary-dk);
  margin-bottom: 6px;
  text-align: center;
}
.form-subtitle {
  font-size: 0.95rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 28px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-dk);
  margin-bottom: 8px;
}
.form-group .required { color: #e74c3c; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 2px solid rgba(176,149,128,0.15);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(176,149,128,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #a8a29e;
  font-size: 0.9rem;
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.7;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  position: relative;
}
.form-submit .btn-icon {
  width: 20px;
  height: 20px;
}
.form-submit .btn-loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--primary-dk);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.form-submit.loading .btn-text,
.form-submit.loading .btn-icon { display: none; }
.form-submit.loading .btn-loader { display: block; }

.form-status {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  display: none;
  animation: fadeIn 0.4s ease;
}
.form-status.success {
  display: block;
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.form-status.error {
  display: block;
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Contact Side (info + QR) */
.contact-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info { display: flex; flex-direction: column; gap: 20px; }

.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(176,149,128,0.1);
  transition: var(--transition);
}
.contact-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(-5px);
}

.contact-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(176,149,128,0.1), rgba(176,149,128,0.05));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon-wa {
  background: var(--white) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.contact-icon svg { width: 26px; height: 26px; stroke: var(--accent); }
.contact-icon-wa svg { stroke: none; }
.contact-icon svg circle[fill="#25D366"] { fill: #25D366; }

.contact-card h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary-dk);
  margin-bottom: 4px;
}
.contact-card a,
.contact-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}
.contact-card a:hover { color: var(--accent); }

.contact-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 20px 28px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(176,149,128,0.1);
  text-align: center;
}
.contact-social > span:first-child { font-size: 0.95rem; font-weight: 700; color: var(--primary-dk); }
.social-icons-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.social-icons-row a {
  width: 44px;
  height: 44px;
  background: var(--primary-dk);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.social-icons-row a:hover {
  background: var(--accent);
  transform: translateY(-3px);
}
.social-icons-row a svg { width: 22px; height: 22px; fill: var(--white); }
.social-handle {
  font-family: 'Arial', sans-serif !important;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* QR Code */
.contact-qr { }
.qr-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(176,149,128,0.15);
  position: sticky;
  top: 100px;
}
.qr-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-dk);
  margin-bottom: 24px;
}
.qr-box {
  width: 220px;
  height: 220px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 12px;
  border: 4px solid var(--primary-dk);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.qr-box::after {
  content: '';
  position: absolute;
  inset: -10px;
  border: 2px dashed var(--accent);
  border-radius: calc(var(--radius-md) + 6px);
  pointer-events: none;
  opacity: 0.5;
}
#wa-qr canvas,
#wa-qr img { width: 180px !important; height: 180px !important; }
.qr-card p { font-size: 0.9rem; color: var(--text-light); }
.qr-card p a { color: var(--accent); font-weight: 700; }
.qr-card p a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer { }
.footer-top {
  background: linear-gradient(135deg, var(--primary-dk) 0%, var(--primary) 100%);
  padding: 80px 0 40px;
  color: var(--white);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand { }
.footer-logo {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
}
.footer-logo svg { width: 100%; height: 100%; }
.footer-brand h3 {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 8px;
  line-height: 1.5;
}
.footer-brand p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--accent-lt);
}
.footer-links a,
.footer-contact a,
.footer-contact p {
  display: block;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
  transition: color 0.3s;
}
.footer-links a:hover,
.footer-contact a:hover { color: var(--accent); }

.footer-bottom {
  background: #141625;
  padding: 24px 0;
}
.footer-bottom .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--accent);
  transform: translateY(-2px);
}
.footer-social a svg { width: 16px; height: 16px; fill: var(--white); }

/* Scroll to top */
.scroll-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent), var(--accent-lt));
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(176,149,128,0.4);
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  color: var(--primary-dk);
}
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(176,149,128,0.5);
}
.scroll-top svg { width: 24px; height: 24px; }

/* ═══════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════ */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}
[data-aos="fade-left"] { transform: translateX(-30px); }
[data-aos="fade-left"].aos-animate { transform: translateX(0); }
[data-aos="fade-right"] { transform: translateX(30px); }
[data-aos="fade-right"].aos-animate { transform: translateX(0); }
[data-aos="zoom-in"] { transform: scale(0.9); }
[data-aos="zoom-in"].aos-animate { transform: scale(1); }
[data-aos="fade-down"] { transform: translateY(-20px); }
[data-aos="fade-down"].aos-animate { transform: translateY(0); }

/* ═══════════════════════════════════════
   BLOG SECTION
═══════════════════════════════════════ */
.blog-section {
  padding: 100px 0;
  background: var(--bg-warm);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: right;
  border: 1px solid var(--border);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}
.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-lt));
  opacity: 0;
  transition: opacity 0.4s ease;
}
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(74,79,116,0.12);
}
.blog-card:hover::before {
  opacity: 1;
}
.blog-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-lt));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.blog-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--white);
}
.blog-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dk);
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-card-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}
.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  transition: gap 0.3s ease, color 0.3s ease;
}
.blog-card-link:hover {
  gap: 10px;
  color: var(--primary-dk);
}

@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-image { order: -1; }
  .about-img-frame { max-width: 360px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .qr-card { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 100px 32px 32px;
    gap: 8px;
    transition: right 0.4s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    z-index: 999;
  }
  .nav-links.open { right: 0; }
  .nav-link {
    color: var(--primary-dk) !important;
    width: 100%;
    text-align: right;
    padding: 14px 20px;
  }
  .nav-cta { margin-right: 0; margin-top: 8px; }
  .nav-toggle { display: flex; }
  .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .hero-stats { gap: 24px; }
  .hstat-num { font-size: 1.8rem; }

  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom .container { gap: 12px; }

  .about-features { justify-content: center; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .hero { padding: 120px 16px 60px; }
  .about, .services, .why-us, .contact { padding: 80px 0; }
  .cta-banner { padding: 60px 0; }
  .container { padding: 0 16px; }
  .section-header { margin-bottom: 40px; }
  .services-tabs { flex-direction: column; width: 100%; }
  .tab-btn { width: 100%; }
}
