/* ============================================
   سوريال جروب للاستشارات المتكاملة
   Design System — Shwra-inspired Premium Legal
   ============================================ */

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

/* === CSS Custom Properties === */
:root {
  /* Primary Palette */
  --gold: #DDB669;
  --gold-light: #F5E6C4;
  --gold-dark: #B8943E;
  --gold-gradient: linear-gradient(135deg, #DDB669 0%, #C9A04E 50%, #DDB669 100%);

  /* Dark Palette */
  --dark-teal: #173039;
  --dark-teal-light: #1E3D48;
  --dark-teal-darker: #0F2028;

  /* Neutrals */
  --white: #FFFFFF;
  --off-white: #FFF8EA;
  --cream: #FDF7EC;
  --light-gray: #F9FAFB;
  --gray-100: #F2F4F7;
  --gray-200: #EAECF0;
  --gray-300: #D0D5DD;
  --gray-400: #98A2B3;
  --gray-500: #667085;
  --gray-600: #475467;
  --gray-700: #344054;
  --gray-800: #1D2939;
  --gray-900: #101828;

  /* Semantic */
  --success: #12B76A;
  --warning: #F79009;
  --error: #F04438;
  --info: #2E90FA;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-md: 0 4px 6px -2px rgba(16, 24, 40, 0.03), 0 12px 16px -4px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 8px 24px rgba(16, 24, 40, 0.12);
  --shadow-xl: 0 20px 50px rgba(16, 24, 40, 0.15);
  --shadow-gold: 0 8px 30px rgba(221, 182, 105, 0.3);

  /* Typography */
  --font-primary: 'Cairo', 'Tajawal', sans-serif;
  --font-heading: 'Cairo', sans-serif;

  /* Spacing */
  --container-max: 1280px;
  --section-padding: 80px 0;
  --section-padding-mobile: 48px 0;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-bounce: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  direction: rtl;
  text-align: right;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

ul, ol {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* === Container === */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 35px;
  }
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark-teal);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: clamp(1rem, 2vw, 1.25rem); }

.section-badge {
  display: inline-block;
  background: rgba(221, 182, 105, 0.15);
  color: var(--gold);
  padding: 6px 24px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  margin-top: 8px;
}

.section-header p {
  max-width: 600px;
  margin: 12px auto 0;
  color: var(--gray-500);
  font-size: 1.05rem;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--dark-teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--dark-teal-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-gold {
  background: var(--gold-gradient);
  color: var(--white);
}

.btn-gold:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--dark-teal);
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 48px;
  font-size: 1.1rem;
  border-radius: var(--radius-md);
}

.btn-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: var(--radius-full);
}

/* === Animations === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(221, 182, 105, 0.4); }
  50% { box-shadow: 0 0 0 15px rgba(221, 182, 105, 0); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }

/* ======================================
   NAVBAR
   ====================================== */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background: var(--cream);
  padding: 12px 0;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(253, 247, 236, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  padding: 8px 0;
}

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

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-logo {
  width: 48px;
  height: 48px;
  background: var(--gold-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 900;
  font-size: 1.4rem;
  box-shadow: var(--shadow-sm);
}

.navbar-brand-text {
  display: flex;
  flex-direction: column;
}

.navbar-brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--dark-teal);
  line-height: 1.2;
}

.navbar-brand-sub {
  font-size: 0.7rem;
  color: var(--gold);
  font-weight: 500;
}

/* Logo Image Styles */
.navbar-logo-img {
  height: 55px;
  width: auto;
  object-fit: contain;
  transition: height var(--transition-base);
}

.navbar.scrolled .navbar-logo-img {
  height: 42px;
}

.footer-logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-700);
  position: relative;
  padding: 4px 0;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition-base);
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--gold);
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
  width: 100%;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-700);
  padding: 4px 0;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.nav-dropdown-toggle:hover {
  color: var(--gold);
}

.nav-dropdown-toggle svg {
  width: 10px;
  height: 10px;
  transition: transform var(--transition-fast);
}

.nav-dropdown:hover .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--white);
  min-width: 260px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
  padding: 8px 0;
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.nav-dropdown-menu a:hover {
  background: var(--gold);
  color: var(--white);
}

.nav-dropdown-menu a::after {
  display: none;
}

.nav-dropdown-menu .dropdown-icon {
  width: 36px;
  height: 36px;
  background: var(--light-gray);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background var(--transition-fast);
}

.nav-dropdown-menu a:hover .dropdown-icon {
  background: rgba(255,255,255,0.2);
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.mobile-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--dark-teal);
  border-radius: 2px;
  transition: all var(--transition-base);
}

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

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

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

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--white);
  box-shadow: var(--shadow-xl);
  z-index: 999;
  padding: 80px 24px 24px;
  transition: right var(--transition-base);
  overflow-y: auto;
}

.mobile-menu.open {
  right: 0;
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu-links a,
.mobile-menu-links .mobile-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.mobile-menu-links a:hover,
.mobile-menu-links .mobile-dropdown-toggle:hover {
  background: var(--cream);
  color: var(--gold);
}

.mobile-dropdown-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.mobile-dropdown-content.open {
  max-height: 500px;
}

.mobile-dropdown-content a {
  padding-right: 40px;
  font-size: 0.9rem;
}

@media (max-width: 1024px) {
  .navbar-links,
  .navbar-cta {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }
}

/* ======================================
   PROMO BAR
   ====================================== */
.promo-bar {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(221, 182, 105, 0.2) 0%, rgba(221, 182, 105, 0.8) 100%);
  padding: 12px 0;
  display: none;
}

@media (min-width: 768px) {
  .promo-bar {
    display: block;
  }
}

.promo-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.promo-bar p {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark-teal);
}

.promo-bar .btn {
  padding: 8px 24px;
  font-size: 0.8rem;
  border-radius: var(--radius-full);
}

/* ======================================
   HERO SECTION
   ====================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--off-white);
  padding-top: 120px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -25%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(221, 182, 105, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(23, 48, 57, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 2;
}

.hero-content {
  flex: 1;
  max-width: 700px;
}

.hero-title {
  margin-bottom: 20px;
}

.hero-title .highlight {
  font-size: clamp(2.5rem, 6vw, 5rem);
  display: block;
  line-height: 1.3;
  margin-bottom: 8px;
  padding-bottom: 4px;
  font-weight: 700;
  /* Premium gold gradient text */
  background: linear-gradient(
    120deg,
    #8B6914 0%,
    #DDB669 25%,
    #FCEABB 40%,
    #F5D98E 50%,
    #DDB669 60%,
    #B8943E 75%,
    #8B6914 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gold-shimmer 4s ease-in-out infinite;
  /* Subtle text shadow glow (on the container) */
  filter: drop-shadow(0 2px 8px rgba(221, 182, 105, 0.25));
  position: relative;
}

@keyframes gold-shimmer {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}

.hero-title .subtitle-text {
  font-size: clamp(1.3rem, 3vw, 2.2rem);
  color: var(--dark-teal);
  line-height: 1.4;
}

.hero-description {
  font-size: clamp(0.95rem, 1.5vw, 1.2rem);
  color: var(--gray-500);
  max-width: 550px;
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.hero-visual {
  width: 100%;
  max-width: 480px;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.1));
}

.hero-decoration {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--gold-gradient);
  opacity: 0.1;
  z-index: -1;
}

.hero-decoration-1 {
  top: -20px;
  right: -30px;
  width: 150px;
  height: 150px;
}

.hero-decoration-2 {
  bottom: 40px;
  left: -40px;
  width: 100px;
  height: 100px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 4px;
}

@media (max-width: 1024px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-description {
    margin: 0 auto 32px;
  }

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

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

  .hero-image {
    order: -1;
    display: none;
  }

  .about-image {
    display: none;
  }

  .hero-visual {
    max-width: 320px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 100px;
  }

  .hero-stats {
    gap: 20px;
  }

  .hero-stat-number {
    font-size: 1.6rem;
  }

  .hero-cta .btn {
    width: 100%;
  }
}

/* ======================================
   FEATURES SECTION (لماذا نحن)
   ====================================== */
.features {
  padding: var(--section-padding);
  background: var(--white);
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
}

.features-col {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.feature-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.features-col:last-child .feature-card {
  text-align: right;
}

.feature-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: linear-gradient(135deg, var(--gold-light), var(--cream));
  color: var(--gold-dark);
  box-shadow: var(--shadow-sm);
}

.feature-content h4 {
  margin-bottom: 6px;
  font-size: 1.05rem;
  color: var(--dark-teal);
}

.feature-content p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.features-center-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.features-phone-img,
.features-logo-img {
  max-width: 280px;
  width: 100%;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.08));
  animation: float 6s ease-in-out infinite;
}

/* Diamond line separator */
.diamond-line {
  width: 90%;
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.diamond-line::before,
.diamond-line::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to left, var(--gold), transparent);
}

.diamond-line::after {
  background: linear-gradient(to right, var(--gold), transparent);
}

.diamond-line .diamond {
  width: 10px;
  height: 10px;
  background: var(--gold);
  transform: rotate(45deg);
  border-radius: 2px;
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .features-center-image {
    order: -1;
  }

  .features-phone-img {
    max-width: 250px;
  }

  .feature-card {
    text-align: right !important;
  }
}

/* ======================================
   SERVICES SECTION
   ====================================== */
.services {
  padding: var(--section-padding);
  background: var(--light-gray);
  overflow: hidden;
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--gold-light);
}

.service-card-icon {
  background: var(--light-gray);
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 32px;
  font-size: 3.5rem;
  min-height: 140px;
  transition: background var(--transition-base);
}

.service-card:hover .service-card-icon {
  background: var(--cream);
}

.service-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--dark-teal);
}

.service-card-body p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
  flex: 1;
  text-align: justify;
}

.service-card-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 16px;
  transition: gap var(--transition-fast);
}

.service-card-link:hover {
  gap: 14px;
}

.service-card-link svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.service-card-link:hover svg {
  transform: translateX(-4px);
}

.service-card-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--gold);
  color: var(--white);
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  margin-top: 16px;
  transition: all var(--transition-base);
}

.service-card-btn:hover {
  background: var(--gold-dark);
  box-shadow: var(--shadow-gold);
}

/* ======================================
   PRACTICE AREAS
   ====================================== */
.practice-areas {
  padding: var(--section-padding);
  background: var(--dark-teal);
  position: relative;
  overflow: hidden;
}

.practice-areas::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at top right, rgba(221, 182, 105, 0.06) 0%, transparent 60%);
}

.practice-areas .section-header h2 {
  color: var(--white);
}

.practice-areas .section-header p {
  color: var(--gray-400);
}

.practice-areas .section-badge {
  background: rgba(221, 182, 105, 0.15);
}

.practice-areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  position: relative;
  z-index: 1;
}

.practice-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all var(--transition-base);
  cursor: pointer;
}

.practice-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(221, 182, 105, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.practice-card-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: rgba(221, 182, 105, 0.1);
}

.practice-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.practice-card h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.practice-card p {
  color: var(--gray-400);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ======================================
   ABOUT SECTION
   ====================================== */
.about {
  padding: var(--section-padding);
  background: var(--white);
}

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

.about-image {
  position: relative;
}

.about-img-main {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.about-img-decoration {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 140px;
  height: 140px;
  background: var(--gold-gradient);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.3;
}

.about-text h2 {
  margin-bottom: 24px;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--dark-teal);
}

.about-feature-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

/* ======================================
   STATS / COUNTER SECTION
   ====================================== */
.stats {
  padding: 60px 0;
  background: var(--gold-gradient);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 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='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' 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/g%3E%3C/svg%3E");
}

.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  color: var(--white);
}

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.stat-number span {
  font-size: 0.5em;
  opacity: 0.8;
}

.stat-label {
  font-size: 0.95rem;
  opacity: 0.9;
  font-weight: 500;
}

@media (max-width: 768px) {
  .stats .container {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .stats .container {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .stat-number {
    font-size: 1.6rem;
  }
}

/* ======================================
   FAQ SECTION
   ====================================== */
.faq {
  padding: var(--section-padding);
  background: var(--light-gray);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: var(--gold-light);
}

.faq-item.active {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  width: 100%;
  cursor: pointer;
  text-align: right;
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark-teal);
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--gold);
}

.faq-toggle {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  font-size: 1.2rem;
  color: var(--gold);
}

.faq-item.active .faq-toggle {
  background: var(--gold);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-content {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.8;
}

/* ======================================
   CTA SECTION
   ====================================== */
.cta-section {
  padding: var(--section-padding);
  background: var(--dark-teal);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -25%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(221, 182, 105, 0.08) 0%, transparent 60%);
  border-radius: 50%;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-section p {
  color: var(--gray-400);
  max-width: 600px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ======================================
   CONTACT FORM
   ====================================== */
.contact {
  padding: var(--section-padding);
  background: var(--white);
}

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

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

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: var(--radius-md);
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--gold);
}

.contact-info-text h4 {
  margin-bottom: 4px;
}

.contact-info-text p {
  color: var(--gray-500);
  font-size: 0.95rem;
}

.contact-form {
  background: var(--light-gray);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--gray-200);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark-teal);
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--gray-700);
  background: var(--white);
  transition: all var(--transition-fast);
  direction: rtl;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(221, 182, 105, 0.15);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-form {
    padding: 24px;
  }
}

/* ======================================
   FOOTER
   ====================================== */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-top: 16px;
  color: var(--gray-400);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  font-size: 1rem;
  color: var(--gray-400);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-column h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 2px;
  background: var(--gold);
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column a {
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-column a::before {
  content: '←';
  opacity: 0;
  transition: all var(--transition-fast);
  font-size: 0.8rem;
}

.footer-column a:hover {
  color: var(--gold);
  padding-right: 8px;
}

.footer-column a:hover::before {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.85rem;
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--gold);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ======================================
   WHATSAPP FLOATING BUTTON
   ====================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-base);
  animation: pulse-gold 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: white;
}

/* ======================================
   SCROLL TO TOP
   ====================================== */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--gold-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

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

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

/* ======================================
   PAGE LOADER
   ====================================== */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--off-white);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s, visibility 0.5s;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  height: 80px;
  width: auto;
  animation: loader-pulse 1.5s ease-in-out infinite;
}

@keyframes loader-pulse {
  0%, 100% { opacity: 0.4; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 20px rgba(221, 182, 105, 0.4)); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ======================================
   UTILITIES
   ====================================== */
.text-gold { color: var(--gold); }
.text-white { color: var(--white); }
.text-dark { color: var(--dark-teal); }
.bg-cream { background: var(--cream); }
.bg-dark { background: var(--dark-teal); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-light);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* Selection */
::selection {
  background: var(--gold-light);
  color: var(--dark-teal);
}

/* ======================================
   TESTIMONIALS
   ====================================== */
.testimonials {
  padding: var(--section-padding);
  background: var(--cream);
}

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 4rem;
  color: var(--gold-light);
  font-family: Georgia, serif;
  line-height: 1;
}

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

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 1.1rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-author-info h5 {
  font-size: 0.95rem;
  color: var(--dark-teal);
}

.testimonial-author-info p {
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* ======================================
   PARTNERS / CLIENTS LOGOS
   ====================================== */
.partners {
  padding: 48px 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.partners-track {
  display: flex;
  gap: 48px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0.5;
}

.partners-track img {
  height: 40px;
  filter: grayscale(100%);
  transition: all var(--transition-base);
}

.partners-track img:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* Mobile responsive sections */
@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .practice-areas-grid {
    grid-template-columns: 1fr 1fr;
  }

  .testimonials-slider {
    grid-template-columns: 1fr;
  }

  section {
    padding: var(--section-padding-mobile);
  }
}
