/* ========================================
   تصفيف - TASFIF Valet Parking Website
   White & Purple Premium RTL Design
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&display=swap');

/* ── CSS Variables ── */
:root {
  --purple: #4B1D8E;
  --purple-light: #6B3FA0;
  --purple-dark: #3A1570;
  --purple-gradient: linear-gradient(135deg, #4B1D8E 0%, #6B3FA0 50%, #3A1570 100%);
  --purple-soft: rgba(75, 29, 142, 0.08);
  --purple-softer: rgba(75, 29, 142, 0.04);

  --bg-primary: #ffffff;
  --bg-secondary: #f8f7fc;
  --bg-card: #ffffff;
  --bg-dark: #1a1032;
  --bg-dark-2: #2a1a4a;

  --text-primary: #1a1a2e;
  --text-secondary: #5a5a7a;
  --text-muted: #9a9ab0;
  --text-on-dark: #ffffff;
  --text-on-purple: #ffffff;

  --border: #e8e5f0;
  --border-light: #f0edf5;
  --shadow-sm: 0 2px 8px rgba(75, 29, 142, 0.06);
  --shadow-md: 0 4px 20px rgba(75, 29, 142, 0.08);
  --shadow-lg: 0 8px 40px rgba(75, 29, 142, 0.12);
  --shadow-xl: 0 16px 60px rgba(75, 29, 142, 0.15);

  --font-family: 'Tajawal', sans-serif;
  --fs-hero: clamp(2.5rem, 5vw, 4.5rem);
  --fs-h1: clamp(2rem, 4vw, 3rem);
  --fs-h2: clamp(1.5rem, 3vw, 2.2rem);
  --fs-h3: clamp(1.2rem, 2vw, 1.5rem);
  --fs-body: 1.05rem;
  --fs-small: 0.9rem;

  --section-padding: clamp(60px, 10vw, 120px) 0;
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --transition: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-family);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul,
ol {
  list-style: none;
}

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

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
  width: 100%;
}

/* ── Section Title ── */
.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: var(--fs-h1);
  font-weight: 800;
  color: var(--purple);
  margin-bottom: 0.75rem;
}

.section-title p {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.section-title .line {
  width: 80px;
  height: 3px;
  background: var(--purple-gradient);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 14px 36px;
  border-radius: var(--radius-xl);
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--purple-gradient);
  color: var(--text-on-purple);
  box-shadow: 0 4px 20px rgba(75, 29, 142, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(75, 29, 142, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--purple);
  border: 2px solid var(--purple);
}

.btn-outline:hover {
  background: var(--purple);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(75, 29, 142, 0.25);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.9rem;
}

/* ══════════════════════════════════════════
   PAGE HERO (for inner pages)
   ══════════════════════════════════════════ */
.page-hero {
  background: var(--purple-gradient);
  padding: 9rem 1rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-hero {
    padding: 7rem 1rem 3rem;
  }
}

@media (max-width: 480px) {
  .page-hero {
    padding: 6.5rem 1rem 2.5rem;
  }
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='white' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}

.page-hero h1 {
  font-size: var(--fs-h1);
  font-weight: 900;
  color: #fff;
  position: relative;
}

.page-hero .breadcrumb {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-small);
  margin-top: 0.5rem;
  position: relative;
}

.page-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
}

.page-hero .breadcrumb a:hover {
  color: #fff;
}

/* ══════════════════════════════════════════
   HEADER / NAVIGATION
   ══════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 1001;
}

.logo img {
  height: 100px;
  width: auto;
}

.header.scrolled .logo img {
  height: 84px;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links a {
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--purple);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  width: 0;
  height: 2px;
  background: var(--purple);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 60%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-social {
  display: flex;
  gap: 0.5rem;
}

.header-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
}

.header-social a:hover {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
  transform: translateY(-2px);
}

/* Phone Icon Button */
.btn-phone-header {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--purple);
  color: var(--purple);
  background: transparent;
  transition: var(--transition);
}

.btn-phone-header:hover {
  background: var(--purple);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(75, 29, 142, 0.3);
}

/* Language Toggle */
.header-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1001;
}

.lang-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 50%;
  border: 2px solid var(--purple);
  background: transparent;
  color: var(--purple);
  font-family: var(--font-family);
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  position: relative;
  width: 40px;
  height: 40px;
}

.lang-toggle svg {
  width: 20px;
  height: 20px;
}

.lang-toggle:hover {
  background: var(--purple);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(75, 29, 142, 0.3);
}

/* LTR Support */
html[dir="ltr"] {
  direction: ltr;
}

html[dir="ltr"] .nav-links a::after {
  right: auto;
  left: 50%;
  transform: translateX(-50%);
}

html[dir="ltr"] .footer-links a:hover {
  padding-right: 0;
  padding-left: 10px;
}

html[dir="ltr"] .footer-col h4::after {
  right: auto;
  left: 0;
}

html[dir="ltr"] .blog-card-image .blog-date {
  right: auto;
  left: 1rem;
}

html[dir="ltr"] .blog-card:hover .read-more .arrow {
  transform: translateX(5px);
}

html[dir="ltr"] .nav {
  right: auto;
  left: -100%;
}

html[dir="ltr"] .nav.active {
  left: 0;
  right: auto;
}

html[dir="ltr"] .nav {
  border-left: none;
  border-right: 1px solid var(--border);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
  background: none;
  border: none;
}

.menu-toggle span {
  width: 28px;
  height: 2.5px;
  background: var(--purple);
  border-radius: 3px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ══════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-secondary);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(75, 29, 142, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(75, 29, 142, 0.04) 0%, transparent 50%);
}

/* Particles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-particles .particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--purple);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 8s infinite;
}

.hero-particles .particle:nth-child(1) {
  right: 10%;
  top: 20%;
  animation-delay: 0s;
}

.hero-particles .particle:nth-child(2) {
  right: 30%;
  top: 60%;
  animation-delay: 2s;
}

.hero-particles .particle:nth-child(3) {
  right: 60%;
  top: 30%;
  animation-delay: 4s;
}

.hero-particles .particle:nth-child(4) {
  right: 80%;
  top: 70%;
  animation-delay: 1s;
}

.hero-particles .particle:nth-child(5) {
  right: 50%;
  top: 50%;
  animation-delay: 3s;
}

.hero-particles .particle:nth-child(6) {
  right: 20%;
  top: 80%;
  animation-delay: 5s;
}

@keyframes particleFloat {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0);
  }

  20% {
    opacity: 0.4;
    transform: translateY(-30px) scale(1);
  }

  80% {
    opacity: 0.15;
    transform: translateY(-100px) scale(0.5);
  }

  100% {
    opacity: 0;
    transform: translateY(-150px) scale(0);
  }
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  animation: fadeInRight 1s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  background: var(--purple-soft);
  border: 1px solid rgba(75, 29, 142, 0.15);
  border-radius: var(--radius-xl);
  color: var(--purple);
  font-size: var(--fs-small);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--purple);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.hero-content h1 {
  font-size: var(--fs-hero);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.hero-content h1 .highlight {
  color: var(--purple);
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 2.5rem;
  max-width: 550px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInLeft 1s ease-out 0.3s both;
}

.hero-visual-card {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-xl);
  background: #fff;
}

.hero-visual-card .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: var(--transition-slow);
}

.hero-visual-card:hover .hero-img {
  transform: scale(1.05);
}

/* Floating stats */
.hero-float-stat {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: float 4s ease-in-out infinite;
  box-shadow: var(--shadow-md);
}

.hero-float-stat .stat-icon {
  width: 40px;
  height: 40px;
  background: var(--purple-soft);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.hero-float-stat .stat-info h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--purple);
}

.hero-float-stat .stat-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hero-float-stat.top-left {
  top: 0;
  right: -20px;
}

.hero-float-stat.bottom-right {
  bottom: 20px;
  left: -20px;
  animation-delay: 2s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ══════════════════════════════════════════
   ABOUT SECTION
   ══════════════════════════════════════════ */
.about {
  padding: var(--section-padding);
  background: var(--bg-primary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image-card {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.about-image-card .about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: var(--transition-slow);
}

.about-image-card:hover .about-img {
  transform: scale(1.05);
}

.about-experience-badge {
  position: absolute;
  bottom: -20px;
  left: 30px;
  background: var(--purple-gradient);
  color: #fff;
  padding: 1.2rem 2rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: 0 10px 30px rgba(75, 29, 142, 0.3);
}

.about-experience-badge h3 {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.about-experience-badge span {
  font-size: 0.85rem;
  font-weight: 600;
}

.about-content h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.about-content h2 .highlight {
  color: var(--purple);
}

.about-content .subtitle {
  color: var(--purple);
  font-size: var(--fs-body);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.about-content p {
  color: var(--text-secondary);
  line-height: 2;
  margin-bottom: 2rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--purple-softer);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.about-feature-item:hover {
  border-color: rgba(75, 29, 142, 0.2);
  background: var(--purple-soft);
}

.about-feature-item .icon {
  color: var(--purple);
  font-size: 1.2rem;
}

.about-feature-item span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* ══════════════════════════════════════════
   HERO FULLWIDTH SECTION
   ══════════════════════════════════════════ */
.hero-fullwidth {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-bottom: 80px;
}

.hero-fullwidth-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-fullwidth-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.55);
}

.hero-fullwidth-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(75, 29, 142, 0.88) 0%, rgba(58, 21, 112, 0.75) 40%, rgba(26, 16, 50, 0.85) 100%);
  z-index: 1;
}

.hero-fullwidth .container {
  position: relative;
  z-index: 2;
}

.hero-fullwidth-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 10rem 1rem 3rem;
}

@media (max-width: 768px) {
  .hero-fullwidth-content {
    padding: 8rem 1rem 3rem;
  }
}

@media (max-width: 480px) {
  .hero-fullwidth-content {
    padding: 7rem 1rem 2rem;
  }
}

/* Heading */
.hero-fullwidth-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.5;
  animation: fadeInUp 0.8s ease-out 0.15s both;
}

.hero-fullwidth-content h1 .highlight {
  background: linear-gradient(135deg, #d4a5ff 0%, #f0d0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Paragraph */
.hero-fullwidth-content p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.9;
  margin-bottom: 2.5rem;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease-out 0.3s both;
  text-align: center;
}

/* Buttons */
.hero-fullwidth-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0;
  animation: fadeInUp 0.8s ease-out 0.45s both;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #6B3FA0 0%, #4B1D8E 100%);
  color: #fff;
  box-shadow: 0 4px 25px rgba(75, 29, 142, 0.4);
  padding: 16px 48px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  border: none;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 35px rgba(75, 29, 142, 0.5);
  background: linear-gradient(135deg, #4B1D8E 0%, #3A1570 100%);
}

.btn-hero-outline {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 14px 36px;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ══════════════════════════════════════════
   STATS SECTION
   ══════════════════════════════════════════ */
.stats {
  padding: 4rem 0;
  background: var(--purple-gradient);
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-card {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}

.stat-card:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.stat-card .stat-number {
  font-size: 2.8rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-card .stat-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  font-weight: 500;
}

/* ══════════════════════════════════════════
   SERVICES SECTION
   ══════════════════════════════════════════ */
.services {
  padding: var(--section-padding);
  background: var(--bg-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 3px;
  background: var(--purple-gradient);
  transform: scaleX(0);
  transform-origin: right;
  transition: var(--transition-slow);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(75, 29, 142, 0.2);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: var(--purple-soft);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--purple-gradient);
  transform: scale(1.1);
}

.service-card:hover .service-icon svg {
  filter: brightness(0) invert(1);
}

.service-card h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.service-card:hover h3 {
  color: var(--purple);
}

.service-card p {
  color: var(--text-secondary);
  font-size: var(--fs-small);
  line-height: 1.8;
}

/* ══════════════════════════════════════════
   BLOG SECTION
   ══════════════════════════════════════════ */
.blog {
  padding: var(--section-padding);
  background: var(--bg-primary);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-slow);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.blog-card-image {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}

.blog-card-image .blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.blog-card:hover .blog-img {
  transform: scale(1.05);
}

.blog-card-image .blog-date {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--purple-gradient);
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.6;
  transition: var(--transition);
}

.blog-card:hover .blog-card-body h3 {
  color: var(--purple);
}

.blog-card-body p {
  color: var(--text-secondary);
  font-size: var(--fs-small);
  line-height: 1.8;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-body .read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--purple);
  font-weight: 600;
  font-size: 0.9rem;
}

.blog-card-body .read-more:hover {
  gap: 0.75rem;
}

.blog-card-body .read-more .arrow {
  transition: var(--transition);
}

.blog-card:hover .read-more .arrow {
  transform: translateX(-5px);
}

/* ══════════════════════════════════════════
   CONTACT SECTION
   ══════════════════════════════════════════ */
.contact {
  padding: var(--section-padding);
  background: var(--bg-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  font-size: var(--fs-h2);
  font-weight: 800;
  margin-bottom: 1rem;
}

.contact-info h3 .highlight {
  color: var(--purple);
}

.contact-info>p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-item .contact-icon {
  width: 50px;
  height: 50px;
  background: var(--purple-soft);
  border: 1px solid rgba(75, 29, 142, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-item:hover .contact-icon {
  background: var(--purple-gradient);
}

.contact-item:hover .contact-icon svg {
  filter: brightness(0) invert(1);
}

.contact-item-text h4 {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.contact-item-text span {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.contact-social {
  display: flex;
  gap: 0.75rem;
}

.contact-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
}

.contact-social a:hover {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(75, 29, 142, 0.25);
}

/* Contact Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.contact-form h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--purple);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 0.95rem;
  transition: var(--transition);
  direction: rtl;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(75, 29, 142, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.contact-form .btn {
  width: 100%;
  justify-content: center;
  padding: 1rem;
  font-size: 1.05rem;
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.footer {
  background: var(--bg-dark);
  padding: 4rem 0 0;
  color: var(--text-on-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #fff;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 2px;
  background: var(--purple-light);
  border-radius: 2px;
}

.footer-about .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-about .footer-logo img {
  height: 45px;
  filter: brightness(0) invert(1);
}

.footer-about p {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--fs-small);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
  transform: translateY(-3px);
}

.footer-links a {
  display: block;
  padding: 0.4rem 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--fs-small);
  transition: var(--transition);
}

.footer-links a:hover {
  color: #fff;
  padding-right: 10px;
}

.footer-contact-info .contact-item {
  margin-bottom: 1rem;
}

.footer-contact-info .contact-item .icon {
  color: var(--purple-light);
  font-size: 1rem;
  min-width: 20px;
}

.footer-contact-info .contact-item span {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--fs-small);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: var(--fs-small);
}

.footer-bottom .heart {
  color: var(--purple-light);
}

/* Phone Float */
.phone-float {
  position: fixed;
  bottom: 7.5rem;
  right: 2rem;
  width: 52px;
  height: 52px;
  background: var(--purple-gradient);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 20px rgba(75, 29, 142, 0.3);
  z-index: 999;
  transition: var(--transition);
}

html[dir="ltr"] .phone-float {
  right: auto;
  left: 2rem;
}

.phone-float:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 8px 30px rgba(75, 29, 142, 0.4);
}

/* Gallery */
.gallery-section {
  padding: var(--section-padding);
  background: var(--bg-primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 4/3;
  border: 1px solid var(--border);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(75, 29, 142, 0);
  transition: var(--transition);
}

.gallery-item:hover::after {
  background: rgba(75, 29, 142, 0.2);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: var(--radius-md);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-close:hover {
  transform: scale(1.2);
}

/* ══════════════════════════════════════════
   SCROLL TO TOP & WHATSAPP
   ══════════════════════════════════════════ */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 48px;
  height: 48px;
  background: var(--purple-gradient);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(75, 29, 142, 0.3);
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(75, 29, 142, 0.4);
}

.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  z-index: 999;
  transition: var(--transition);
  animation: whatsappPulse 2s infinite;
}

html[dir="ltr"] .whatsapp-float {
  right: auto;
  left: 2rem;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-4px);
}

@keyframes whatsappPulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  }

  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6);
  }
}

/* ══════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content p {
    margin: 0 auto 2.5rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-card:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    height: 100svh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    transition: var(--transition-slow);
    z-index: 1000;
    border-right: 1px solid var(--border);
  }

  .nav.active {
    left: 0;
  }

  html[dir="ltr"] .nav {
    left: auto;
    right: -100%;
    border-right: none;
    border-left: 1px solid var(--border);
  }

  html[dir="ltr"] .nav.active {
    left: auto;
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
  }

  .logo img {
    height: 65px;
  }

  .header.scrolled .logo img {
    height: 55px;
  }

  .nav-links a {
    padding: 1rem;
    font-size: 1.1rem;
    text-align: center;
    width: 100%;
    border-bottom: 1px solid var(--border-light);
  }

  .nav-cta {
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
  }

  .header-social {
    justify-content: center;
  }

  .menu-toggle {
    display: flex;
  }

  .overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 999;
  }

  .overlay.active {
    display: block;
  }

  .services-grid,
  .blog-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .about-features,
  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-card::after {
    display: none !important;
  }

  .phone-float {
    bottom: 7.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
  }

  html[dir="ltr"] .phone-float {
    right: auto;
    left: 1.5rem;
  }

  .whatsapp-float {
    right: 1.5rem;
    bottom: 2rem;
    width: 52px;
    height: 52px;
  }

  html[dir="ltr"] .whatsapp-float {
    right: auto;
    left: 1.5rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-features {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-fullwidth-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-hero-primary,
  .btn-hero-outline {
    width: 100%;
    justify-content: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .phone-float {
    bottom: 7rem;
    right: 1rem;
    width: 44px;
    height: 44px;
  }

  html[dir="ltr"] .phone-float {
    right: auto;
    left: 1rem;
  }

  .whatsapp-float {
    right: 1rem;
    bottom: 1.5rem;
    width: 48px;
    height: 48px;
  }

  html[dir="ltr"] .whatsapp-float {
    right: auto;
    left: 1rem;
  }
}