/* ══════════════════════════════════════════════════════════════
   RESCEV AVUKATLIK VE DANIŞMANLIK OFİSİ - Ultra Premium Theme
   Elegant • Professional • Luxurious
   ══════════════════════════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
  /* Primary Colors - Brand Teal Green */
  --primary: #1a3a32;
  --primary-light: #234a40;
  --primary-dark: #122820;
  --primary-rgb: 26, 58, 50;
  
  /* Accent Colors - Premium Gold */
  --accent: #c9a962;
  --accent-light: #ddc07a;
  --accent-gold: #c9a962;
  --accent-gold-light: #e0c987;
  --accent-glow: rgba(201, 169, 98, 0.25);
  
  /* Hukuk Yeşili (Law Teal) - Brand Colors */
  --law-green: #1a3a32;
  --law-green-light: #2a5548;
  --law-green-dark: #122820;
  --law-green-darker: #0c1c16;
  --law-green-glow: rgba(26, 58, 50, 0.4);
  --law-green-rgb: 26, 58, 50;
  --law-green-accent: #c9a962;
  
  /* Background Colors */
  --bg-cream: #faf9f7;
  --bg-light: #f5f4f2;
  --bg-warm: #f0ede8;
  --bg-dark: #1a1a1a;
  
  /* Text Colors */
  --text: #1a1a1a;
  --text-light: #ffffff;
  --text-muted: #6b6b6b;
  --text-subtle: #9a9a9a;
  --white: #ffffff;
  
  /* Borders */
  --border: rgba(255, 255, 255, 0.08);
  --border-light: rgba(0, 0, 0, 0.06);
  --border-green: rgba(26, 107, 71, 0.15);
  
  /* Premium Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 35px 60px -15px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 40px rgba(26, 107, 71, 0.1);
  --shadow-green: 0 10px 40px -10px rgba(26, 107, 71, 0.25);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
  
  /* Border Radius */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-2xl: 40px;
  
  /* Transitions */
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* Spacing */
  --section-padding: clamp(4rem, 8vw, 7rem);
}

/* ══════════════════════════════════════════════════════════════
   CUSTOM TYPOGRAPHY - El Yazısı & Premium Fonts
   ══════════════════════════════════════════════════════════════ */

/* Script/Handwriting Font Classes */
.font-script {
  font-family: 'Great Vibes', 'Pinyon Script', cursive !important;
}

.font-script-alt {
  font-family: 'Pinyon Script', 'Great Vibes', cursive !important;
}

.font-elegant {
  font-family: 'Cormorant Garamond', 'Source Serif 4', Georgia, serif !important;
  font-weight: 500;
}

.font-serif {
  font-family: 'Cormorant Garamond', 'Source Serif 4', Georgia, serif !important;
}

/* Script Headings - El Yazısı Başlıklar */
.heading-script {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--law-green);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.heading-script-sm {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--law-green);
}

/* Elegant Taglines */
.tagline-script {
  font-family: 'Great Vibes', cursive;
  font-size: 1.8rem;
  color: var(--law-green);
  display: inline-block;
  position: relative;
}

.tagline-script::before,
.tagline-script::after {
  content: '~';
  color: var(--law-green-light);
  margin: 0 0.5rem;
  opacity: 0.5;
}

/* Script Text with Underline */
.script-underline {
  font-family: 'Great Vibes', cursive;
  position: relative;
  display: inline-block;
}

.script-underline::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--law-green), transparent);
}

/* Premium Quote Styles */
.quote-script {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-style: italic;
  color: var(--text-muted);
  position: relative;
  padding-left: 2rem;
}

.quote-script::before {
  content: '"';
  font-family: 'Great Vibes', cursive;
  font-size: 4rem;
  color: var(--law-green);
  position: absolute;
  left: 0;
  top: -1rem;
  opacity: 0.3;
}

/* Section Title with Script Accent */
.section-title-fancy {
  position: relative;
  display: inline-block;
}

.section-title-fancy .main-text {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--text);
}

.section-title-fancy .script-accent {
  font-family: 'Great Vibes', cursive;
  font-size: 1.2em;
  color: var(--law-green);
  display: block;
  margin-top: -0.3em;
}

/* Signature Style */
.signature-style {
  font-family: 'Pinyon Script', 'Great Vibes', cursive;
  font-size: 2.5rem;
  color: var(--law-green);
  transform: rotate(-3deg);
  display: inline-block;
}

/* Card Script Labels */
.card-script-label {
  font-family: 'Great Vibes', cursive;
  font-size: 1.3rem;
  color: var(--law-green);
  margin-bottom: 0.5rem;
}

/* Decorative Divider with Script */
.divider-script {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.divider-script .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
  max-width: 150px;
}

.divider-script .text {
  font-family: 'Great Vibes', cursive;
  font-size: 1.5rem;
  color: var(--law-green);
}

/* Animated Script Text */
.script-animate {
  font-family: 'Great Vibes', cursive;
  background: linear-gradient(90deg, var(--law-green), var(--law-green-light), var(--law-green));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: scriptShimmer 3s ease-in-out infinite;
}

@keyframes scriptShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Diamond Pattern Background */
.diamond-pattern {
  background-color: var(--primary);
  background-image: 
    linear-gradient(135deg, rgba(255,255,255,0.03) 25%, transparent 25%),
    linear-gradient(225deg, rgba(255,255,255,0.03) 25%, transparent 25%),
    linear-gradient(45deg, rgba(255,255,255,0.03) 25%, transparent 25%),
    linear-gradient(315deg, rgba(255,255,255,0.03) 25%, transparent 25%);
  background-size: 40px 40px;
  background-position: 0 0, 20px 0, 20px -20px, 0 20px;
}

/* ══════════════════════════════════════════════════════════════
   PREMIUM BACKGROUNDS & PATTERNS
   ══════════════════════════════════════════════════════════════ */

/* Animated Gradient Background */
.bg-animated-gradient {
  background: linear-gradient(-45deg, #0f3d26, #1a5f3c, #1a1a1a, #2a2a2a);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Elegant Mesh Gradient */
.bg-mesh {
  background-color: #f8f9fa;
  background-image: 
    radial-gradient(at 40% 20%, rgba(26, 95, 60, 0.08) 0px, transparent 50%),
    radial-gradient(at 80% 0%, rgba(26, 95, 60, 0.05) 0px, transparent 50%),
    radial-gradient(at 0% 50%, rgba(111, 207, 151, 0.06) 0px, transparent 50%),
    radial-gradient(at 80% 50%, rgba(26, 95, 60, 0.04) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(111, 207, 151, 0.08) 0px, transparent 50%),
    radial-gradient(at 80% 100%, rgba(26, 95, 60, 0.05) 0px, transparent 50%);
}

/* Subtle Grid Pattern */
.bg-grid {
  background-color: #fafafa;
  background-image: 
    linear-gradient(rgba(26, 95, 60, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 95, 60, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* Noise Texture Overlay */
.bg-noise::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
}

/* Floating Orbs Background */
.bg-orbs {
  position: relative;
  overflow: hidden;
}

.bg-orbs::before,
.bg-orbs::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: orbFloat 20s ease-in-out infinite;
}

.bg-orbs::before {
  width: 400px;
  height: 400px;
  background: rgba(26, 95, 60, 0.15);
  top: -200px;
  left: -100px;
}

.bg-orbs::after {
  width: 350px;
  height: 350px;
  background: rgba(111, 207, 151, 0.1);
  bottom: -150px;
  right: -100px;
  animation-delay: -10s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(50px, 30px) scale(1.1); }
  50% { transform: translate(0, 60px) scale(1); }
  75% { transform: translate(-30px, 30px) scale(0.95); }
}

/* Elegant Lines Pattern */
.bg-lines {
  background-color: #fff;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 35px,
    rgba(26, 95, 60, 0.02) 35px,
    rgba(26, 95, 60, 0.02) 70px
  );
}

/* ── Base & Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
}

/* scroll-behavior moved to body.loaded section */

body {
  font-family: 'Source Sans 3', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg-cream);
  line-height: 1.75;
  overflow-x: hidden;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Premium Selection */
::selection {
  background: var(--law-green);
  color: white;
}

/* Page load animation */
body:not(.loaded) {
  overflow: hidden;
}

body.loaded {
  animation: pageLoad 0.6s ease-out;
}

@keyframes pageLoad {
  from { opacity: 0.8; }
  to { opacity: 1; }
}

/* Smooth scrolling for the whole page */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* ══════════════════════════════════════════════════════════════
   PREMIUM TYPOGRAPHY
   ══════════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--primary);
}

h1 { 
  font-size: clamp(2.5rem, 6vw, 4rem); 
  font-weight: 700;
  letter-spacing: -0.03em;
}
h2 { 
  font-size: clamp(1.875rem, 4vw, 2.75rem); 
  font-weight: 600;
}
h3 { 
  font-size: clamp(1.4rem, 3vw, 1.875rem); 
  font-weight: 600;
}
h4 {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 600;
}

p {
  line-height: 1.8;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.7;
  font-weight: 400;
  color: var(--text-muted);
}

.text-accent { color: var(--accent) !important; }
.text-law-green { color: var(--law-green) !important; }
.text-gold { color: var(--accent-gold) !important; }
.bg-law-green { background-color: var(--law-green) !important; }
.bg-cream { background-color: var(--bg-cream) !important; }
.bg-warm { background-color: var(--bg-warm) !important; }

/* ══════════════════════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════════════════════ */

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

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

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

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

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

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

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px var(--accent-glow); }
  50% { box-shadow: 0 0 40px var(--accent-glow), 0 0 60px var(--accent-glow); }
}

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

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

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

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

@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.02); opacity: 0.95; }
}

@keyframes rotateSubtle {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes borderGlow {
  0%, 100% { 
    border-color: rgba(26, 95, 60, 0.3);
    box-shadow: 0 0 10px rgba(26, 95, 60, 0.1);
  }
  50% { 
    border-color: rgba(111, 207, 151, 0.5);
    box-shadow: 0 0 25px rgba(26, 95, 60, 0.2);
  }
}

/* Smooth scroll reveal animations */
.animate-fade-up {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.animate-fade-left {
  animation: fadeInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.animate-fade-right {
  animation: fadeInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.animate-scale {
  animation: scaleIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.animate-slide-up {
  animation: slideInFromBottom 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.animate-bounce {
  animation: gentleBounce 2s ease-in-out infinite;
}
.animate-breathe {
  animation: breathe 4s ease-in-out infinite;
}
.animate-glow {
  animation: borderGlow 3s ease-in-out infinite;
}

/* Staggered delays for smoother flow */
.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }
.delay-4 { animation-delay: 0.4s; opacity: 0; }
.delay-5 { animation-delay: 0.5s; opacity: 0; }
.delay-6 { animation-delay: 0.6s; opacity: 0; }
.delay-7 { animation-delay: 0.7s; opacity: 0; }
.delay-8 { animation-delay: 0.8s; opacity: 0; }

/* Scroll-triggered animations (with JS) */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="left"] {
  transform: translateX(-30px);
}

[data-animate="left"].animated {
  transform: translateX(0);
}

[data-animate="right"] {
  transform: translateX(30px);
}

[data-animate="right"].animated {
  transform: translateX(0);
}

[data-animate="scale"] {
  transform: scale(0.9);
}

[data-animate="scale"].animated {
  transform: scale(1);
}

/* ══════════════════════════════════════════════════════════════
   NAVBAR - Premium Glass Effect
   ══════════════════════════════════════════════════════════════ */

.navbar-law {
  background: linear-gradient(180deg, rgba(26, 58, 50, 0.98) 0%, rgba(18, 40, 32, 0.97) 100%);
  backdrop-filter: saturate(180%) blur(25px);
  -webkit-backdrop-filter: saturate(180%) blur(25px);
  border-bottom: 1px solid rgba(201, 169, 98, 0.15);
  padding: 0.4rem 0;
  transition: var(--transition);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.navbar-law.scrolled {
  padding: 0.25rem 0;
  background: rgba(18, 40, 32, 0.99);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.navbar-law .navbar-brand {
  transition: var(--transition);
  display: flex;
  align-items: center;
  padding: 0;
}

.navbar-law .navbar-brand .navbar-logo {
  height: 95px;
  width: auto;
  transition: var(--transition);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.navbar-law.scrolled .navbar-brand .navbar-logo {
  height: 70px;
}

.navbar-law .navbar-brand:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

@media (max-width: 991px) {
  .navbar-law .navbar-brand .navbar-logo {
    height: 55px;
  }
}

.navbar-law .nav-link {
  color: rgba(255, 255, 255, 0.75) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.6rem 1rem !important;
  position: relative;
  transition: var(--transition-fast);
  letter-spacing: 0.04em;
}

.navbar-law .nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #c9a962, transparent);
  transition: var(--transition);
  transform: translateX(-50%);
  border-radius: 2px;
}

.navbar-law .nav-link:hover,
.navbar-law .nav-link:focus {
  color: var(--white) !important;
}

.navbar-law .nav-link:hover::before {
  width: 100%;
}

.navbar-law .dropdown-menu {
  background: rgba(15, 15, 15, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  margin-top: 0.75rem;
  padding: 0.5rem 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
}

.navbar-law .dropdown-item {
  color: rgba(255, 255, 255, 0.75);
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  transition: var(--transition-fast);
  border-radius: var(--radius-xs);
  margin: 0 0.5rem;
}

.navbar-law .dropdown-item:hover {
  background: rgba(26, 107, 71, 0.15);
  color: var(--law-green-accent);
  transform: translateX(4px);
}

.navbar-law .dropdown-divider {
  border-color: rgba(255, 255, 255, 0.08);
  margin: 0.5rem 1rem;
}

.navbar-law .dropdown-header {
  color: var(--law-green-accent);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.75rem 1.25rem 0.5rem;
}

.navbar-law .navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
}

.navbar-law .navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(26, 107, 71, 0.3);
}

/* Also support nav-elite class for legacy */
.nav-elite { 
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.98) 0%, rgba(17, 17, 17, 0.95) 100%);
  backdrop-filter: saturate(180%) blur(20px);
}
.nav-elite .nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  transition: var(--transition-fast);
}
.nav-elite .nav-link:hover { color: #fff !important; }

/* ══════════════════════════════════════════════════════════════
   HERO SECTION - Dramatic & Elegant
   ══════════════════════════════════════════════════════════════ */

.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--primary);
  overflow: hidden;
}

/* Diamond Pattern Background - like business card */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(135deg, rgba(255,255,255,0.04) 25%, transparent 25%),
    linear-gradient(225deg, rgba(255,255,255,0.04) 25%, transparent 25%),
    linear-gradient(45deg, rgba(255,255,255,0.04) 25%, transparent 25%),
    linear-gradient(315deg, rgba(255,255,255,0.04) 25%, transparent 25%);
  background-size: 50px 50px;
  background-position: 0 0, 25px 0, 25px -25px, 0 25px;
  pointer-events: none;
}

/* Subtle gradient overlay */
.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--white) 0%, transparent 100%);
  pointer-events: none;
}

/* Subtle accent glow with brand gold */
.hero-pattern {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(201, 169, 98, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(201, 169, 98, 0.06) 0%, transparent 40%);
  pointer-events: none;
}

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

.hero-section h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-section .lead {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  line-height: 1.8;
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(26, 95, 60, 0.15);
  border: 1px solid rgba(26, 95, 60, 0.4);
  border-radius: 50px;
  color: #6fcf97;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

/* Logo decoration - scales and laurels */
.hero-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.hero-logo .scales-icon {
  font-size: 3.5rem;
  color: #6fcf97;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 30px rgba(26, 95, 60, 0.5);
}

.hero-logo .brand-name {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--white);
  text-transform: uppercase;
}

.hero-logo .brand-tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Decorative laurel wreath effect */
.hero-decor {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 35%;
  height: 60%;
  background: 
    radial-gradient(ellipse at center, rgba(192, 192, 192, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════
   PREMIUM PAGE HERO (Interior Pages)
   ══════════════════════════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--law-green-darker) 50%, var(--primary-dark) 100%);
  padding: calc(var(--section-padding) + 80px) 0 var(--section-padding);
  margin-top: 0;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(26, 107, 71, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(60, 184, 120, 0.1) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 0%, rgba(26, 107, 71, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(60, 184, 120, 0.3), transparent);
}

/* Diamond pattern overlay */
.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
}

.page-hero .lead {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  font-weight: 400;
  max-width: 600px;
  margin-bottom: 0;
}

.page-hero .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0 0 1rem 0;
}

.page-hero .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.page-hero .breadcrumb-item a:hover {
  color: var(--law-green-accent);
}

.page-hero .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

.page-hero .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.4);
}

/* Laurel branches */
.laurel-left, .laurel-right {
  color: rgba(111, 207, 151, 0.35);
  font-size: 4rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.laurel-left { left: -3rem; }
.laurel-right { right: -3rem; transform: translateY(-50%) scaleX(-1); }

@media (max-width: 991px) {
  .hero-section {
    min-height: 70vh;
    text-align: center;
  }
  .hero-section .lead {
    margin: 0 auto;
  }
  .hero-decor {
    display: none;
  }
}

/* ══════════════════════════════════════════════════════════════
   SECTION STYLES
   ══════════════════════════════════════════════════════════════ */

section {
  position: relative;
}

.section-sand {
  background: var(--sand);
}

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

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-gradient {
  background: linear-gradient(180deg, var(--white) 0%, var(--sand) 100%);
}

/* ══════════════════════════════════════════════════════════════
   SECTION TRANSITIONS - Smooth Flow
   ══════════════════════════════════════════════════════════════ */

/* Elegant Wave transition */
.section-wave {
  position: relative;
}

.section-wave::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 0;
  right: 0;
  height: 80px;
  background: inherit;
  clip-path: ellipse(60% 100% at 50% 100%);
}

/* Curved wave with SVG-like shape */
.section-curve {
  position: relative;
  margin-top: 0;
}

.section-curve::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 0;
  right: 0;
  height: 100px;
  background: inherit;
  clip-path: path('M0,100 C150,20 350,20 500,100 C650,180 850,180 1000,100 L1000,100 L0,100 Z');
  clip-path: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath d='M0,100 Q360,0 720,50 T1440,100'/%3E%3C/svg%3E");
}

/* Double wave effect */
.section-wave-double {
  position: relative;
}

.section-wave-double::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent 0%, inherit 100%);
}

/* Diagonal transition */
.section-diagonal {
  position: relative;
  margin-top: 80px;
}

.section-diagonal::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 0;
  right: 0;
  height: 80px;
  background: inherit;
  clip-path: polygon(0 100%, 100% 30%, 100% 100%, 0 100%);
}

/* Reverse diagonal */
.section-diagonal-reverse {
  position: relative;
  margin-top: 80px;
}

.section-diagonal-reverse::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 0;
  right: 0;
  height: 80px;
  background: inherit;
  clip-path: polygon(0 30%, 100% 100%, 100% 100%, 0 100%);
}

/* Smooth fade transition */
.section-fade-in {
  position: relative;
}

.section-fade-in::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent 0%, inherit 100%);
  pointer-events: none;
}

/* Slant transition */
.section-slant {
  position: relative;
  margin-top: 60px;
}

.section-slant::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 60px;
  background: inherit;
  transform: skewY(-2deg);
  transform-origin: top left;
}

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--law-green), var(--law-green-light));
  border-radius: 3px;
}

.section-title-center::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Silver variant */
.section-title.title-silver::after {
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
}

/* ══════════════════════════════════════════════════════════════
   PREMIUM BUTTONS
   ══════════════════════════════════════════════════════════════ */

.btn-law {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  border-radius: var(--radius-md);
  border: none;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: var(--white) !important;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}

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

.btn-law:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255,255,255,0.15);
  color: var(--white) !important;
}

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

/* Primary Green Button */
.btn-law-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  border-radius: var(--radius-md);
  border: none;
  background: linear-gradient(135deg, var(--law-green-light) 0%, var(--law-green) 100%);
  color: var(--white) !important;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(26, 107, 71, 0.3), inset 0 1px 0 rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
}

.btn-law-green::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.6s ease;
}

.btn-law-green:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, var(--law-green) 0%, var(--law-green-dark) 100%);
  box-shadow: 0 12px 40px rgba(26, 107, 71, 0.4), inset 0 1px 0 rgba(255,255,255,0.2);
  color: var(--white) !important;
}

.btn-law-green:hover::before {
  left: 100%;
}

/* Outline Green Button */
.btn-outline-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  border-radius: var(--radius-md);
  border: 2px solid var(--law-green);
  background: transparent;
  color: var(--law-green) !important;
  text-decoration: none;
  transition: var(--transition);
}

.btn-outline-green:hover {
  background: var(--law-green);
  color: var(--white) !important;
  box-shadow: 0 8px 30px rgba(26, 107, 71, 0.3);
  transform: translateY(-2px);
}

.btn-outline-law {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  border-radius: var(--radius-md);
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary) !important;
  text-decoration: none;
  transition: var(--transition);
}

.btn-outline-law:hover {
  background: var(--primary);
  color: var(--white) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  border-radius: var(--radius-md);
  border: none;
  background: var(--white);
  color: var(--primary) !important;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.btn-white:hover {
  background: var(--bg-cream);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
  color: var(--law-green) !important;
}

/* Law Green Button */
.btn-law-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  border: none;
  background: linear-gradient(135deg, var(--law-green) 0%, var(--law-green-dark) 100%);
  color: var(--white) !important;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(26, 95, 60, 0.3);
  position: relative;
  overflow: hidden;
}

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

.btn-law-green:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--law-green-light) 0%, var(--law-green) 100%);
  box-shadow: 0 8px 25px rgba(26, 95, 60, 0.4);
  color: var(--white) !important;
}

.btn-law-green:hover::before {
  left: 100%;
}

.btn-outline-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  border: 2px solid var(--law-green);
  background: transparent;
  color: var(--law-green) !important;
  text-decoration: none;
  transition: var(--transition);
}

.btn-outline-green:hover {
  background: var(--law-green);
  color: var(--white) !important;
  box-shadow: var(--shadow-green);
}

/* ══════════════════════════════════════════════════════════════
   CARDS - Elegant with Hover Effects
   ══════════════════════════════════════════════════════════════ */

.card-law {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden;
}

.card-law:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(184, 134, 11, 0.2);
}

/* ══════════════════════════════════════════════════════════════
   PREMIUM SERVICE CARDS
   ══════════════════════════════════════════════════════════════ */
.service-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--law-green), var(--law-green-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(26, 107, 71, 0.02) 100%);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-card-hover), 0 0 40px rgba(26, 107, 71, 0.1);
  border-color: rgba(26, 107, 71, 0.1);
}

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

.service-card:hover::after {
  opacity: 1;
}

.service-card .icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-warm) 100%);
  border-radius: var(--radius-lg);
  font-size: 1.75rem;
  color: var(--law-green);
  transition: var(--transition);
  position: relative;
}

.service-card .icon::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, transparent, rgba(26, 107, 71, 0.1));
  border-radius: inherit;
  opacity: 0;
  transition: var(--transition);
}

.service-card .icon i {
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.service-card:hover .icon {
  background: linear-gradient(135deg, var(--law-green) 0%, var(--law-green-light) 100%);
  color: var(--white);
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 10px 30px rgba(26, 107, 71, 0.3);
}

.service-card:hover .icon::before {
  opacity: 1;
}

/* Green variant card */
.service-card.card-green::before {
  background: linear-gradient(90deg, var(--law-green), var(--law-green-accent));
}

.service-card.card-green:hover {
  box-shadow: var(--shadow-card-hover), var(--shadow-green);
}

.service-card h4 {
  font-size: 1.3rem;
  margin-bottom: 0.85rem;
  color: var(--primary);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

/* Icon Cards (Features) */
.icon-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

/* Dark Icon Card - for seamless dark sections */
.icon-card-dark {
  background: rgba(26, 26, 26, 0.6);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid rgba(111, 207, 151, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.icon-card-dark:hover {
  transform: translateY(-8px);
  background: rgba(26, 95, 60, 0.15);
  border-color: rgba(111, 207, 151, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 40px rgba(26, 107, 71, 0.15);
}

.icon-card-dark h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.icon-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

/* Feature Card - Light Theme (Homepage Features) */
.feature-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  border: 1px solid rgba(26, 107, 71, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(26, 107, 71, 0.12);
  border-color: rgba(26, 107, 71, 0.2);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(26, 107, 71, 0.1), rgba(60, 184, 120, 0.08));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.feature-icon i {
  font-size: 1.75rem;
  color: var(--law-green);
}

.feature-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
}

.icon-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* Blog Cards */
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.blog-card .card-img-top {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: var(--transition);
}

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

.blog-card .card-img-wrapper {
  overflow: hidden;
}

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

.blog-card .card-title {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  transition: var(--transition-fast);
}

.blog-card:hover .card-title {
  color: var(--accent);
}

.blog-card .card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.blog-card .card-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* Team Cards */
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg), 0 0 30px var(--accent-glow);
}

.team-card .team-img-wrapper {
  overflow: hidden;
  position: relative;
}

.team-card .team-img-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.7) 0%, transparent 100%);
  opacity: 0;
  transition: var(--transition);
}

.team-card:hover .team-img-wrapper::after {
  opacity: 1;
}

.team-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: var(--transition);
}

.team-card:hover img {
  transform: scale(1.08);
}

.team-card .team-info {
  padding: 1.5rem;
  text-align: center;
}

.team-card h5 {
  margin-bottom: 0.25rem;
  font-size: 1.2rem;
}

.team-card .team-title {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Sidebar Card */
/* ══════════════════════════════════════════════════════════════
   PREMIUM SIDEBAR CARDS
   ══════════════════════════════════════════════════════════════ */
.sidebar-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.sidebar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--law-green), var(--law-green-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.sidebar-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

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

.sidebar-card h4 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 2px solid var(--bg-warm);
  color: var(--primary);
}

.sidebar-card h4 i {
  color: var(--law-green);
}

/* ══════════════════════════════════════════════════════════════
   LEGAL DISCLAIMER
   ══════════════════════════════════════════════════════════════ */

.legal-disclaimer {
  background: linear-gradient(135deg, rgba(26, 95, 60, 0.08) 0%, rgba(26, 95, 60, 0.04) 100%);
  border-left: 4px solid var(--law-green);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.5rem 2rem;
}

.legal-disclaimer p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-disclaimer strong {
  color: var(--law-green-dark);
}

.legal-disclaimer i {
  color: var(--law-green);
}

/* ══════════════════════════════════════════════════════════════
   FORMS
   ══════════════════════════════════════════════════════════════ */

.form-control,
.form-select {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--law-green);
  box-shadow: 0 0 0 4px var(--law-green-glow);
}

.form-label {
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.5rem;
}

/* ══════════════════════════════════════════════════════════════
   FOOTER - Premium Dark
   ══════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════
   PREMIUM FOOTER
   ══════════════════════════════════════════════════════════════ */
.footer-law {
  background: linear-gradient(180deg, var(--primary) 0%, #050505 100%);
  color: rgba(255, 255, 255, 0.7);
  padding: 5rem 0 2.5rem;
  position: relative;
}

.footer-law::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--law-green-dark) 20%, 
    var(--law-green) 40%, 
    var(--law-green-accent) 50%, 
    var(--law-green) 60%, 
    var(--law-green-dark) 80%, 
    transparent 100%);
}

.footer-law::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 0%, rgba(26, 107, 71, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(26, 107, 71, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

.footer-law .container {
  position: relative;
  z-index: 1;
}

.footer-law h5 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-law h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--law-green-accent), transparent);
  border-radius: 2px;
}

.footer-law a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-law a:hover {
  color: var(--law-green-accent);
  transform: translateX(3px);
}

.footer-law .footer-brand {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  letter-spacing: 0.1em;
}

.footer-law .footer-brand::before {
  content: '';
  display: block;
  width: 3px;
  height: 24px;
  background: linear-gradient(180deg, var(--law-green-accent), var(--law-green));
  border-radius: 2px;
}

.footer-law .footer-desc {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 320px;
}

.footer-law .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-law .footer-links li {
  margin-bottom: 0.75rem;
}

.footer-law .footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.footer-law .footer-links a::before {
  content: '';
  display: block;
  width: 0;
  height: 1px;
  background: var(--law-green-accent);
  transition: var(--transition-fast);
}

.footer-law .footer-links a:hover::before {
  width: 12px;
}

.footer-law .footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
  font-size: 0.95rem;
}

.footer-law .footer-contact-item i {
  color: var(--law-green-accent);
  margin-top: 0.25rem;
  font-size: 0.9rem;
}

.footer-law .footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-law .footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-law .footer-bottom a:hover {
  color: var(--law-green-accent);
}

/* ══════════════════════════════════════════════════════════════
   PREMIUM PROSE & CONTENT
   ══════════════════════════════════════════════════════════════ */

.prose {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text);
}

.prose p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.prose p:first-of-type {
  font-size: 1.1rem;
  line-height: 1.9;
}

.prose h2 {
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.prose h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--law-green), var(--law-green-accent));
  border-radius: 2px;
}

.prose h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.prose ul, .prose ol {
  margin-bottom: 1.5rem;
  padding-left: 0;
}

.prose li {
  margin-bottom: 0.6rem;
  padding-left: 1.75rem;
  position: relative;
  list-style: none;
}

.prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--law-green), var(--law-green-accent));
  border-radius: 50%;
}

.prose ol {
  counter-reset: prose-counter;
}

.prose ol li {
  counter-increment: prose-counter;
}

.prose ol li::before {
  content: counter(prose-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  background: var(--law-green);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.prose strong {
  color: var(--primary);
  font-weight: 600;
}

.prose a {
  color: var(--law-green);
  text-decoration: underline;
  text-decoration-color: rgba(26, 107, 71, 0.3);
  text-underline-offset: 3px;
  transition: var(--transition-fast);
}

.prose a:hover {
  text-decoration-color: var(--law-green);
}

/* Dark Theme Prose Overrides - for dark section backgrounds */
.blog-detail-section .prose {
  color: rgba(255, 255, 255, 0.85);
}

.blog-detail-section .prose p {
  color: rgba(255, 255, 255, 0.75);
}

.blog-detail-section .prose p:first-of-type {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
}

.blog-detail-section .prose h2 {
  color: #fff;
}

.blog-detail-section .prose h3 {
  color: var(--law-green-accent);
}

.blog-detail-section .prose strong {
  color: #fff;
}

.blog-detail-section .prose li {
  color: rgba(255, 255, 255, 0.75);
}

.blog-detail-section .prose blockquote {
  background: rgba(26, 95, 60, 0.1);
  border-left: 4px solid var(--law-green);
  padding: 1.5rem;
  border-radius: 0 8px 8px 0;
  margin: 2rem 0;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
}

/* Blog Content Card Enhancement */
.blog-content-card {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-content-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

.content-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  background: var(--law-green);
  border-radius: 50%;
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* Grid for blog/cards */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.grid .card {
  grid-column: span 12;
}

@media (min-width: 768px) {
  .grid .card { grid-column: span 6; }
}

@media (min-width: 992px) {
  .grid .card { grid-column: span 4; }
}

/* Spacing utilities */
/* ══════════════════════════════════════════════════════════════
   PREMIUM SECTION SPACING
   ══════════════════════════════════════════════════════════════ */
.py-section {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  position: relative;
}

.py-section-sm {
  padding-top: calc(var(--section-padding) * 0.6);
  padding-bottom: calc(var(--section-padding) * 0.6);
}

.py-section-lg {
  padding-top: calc(var(--section-padding) * 1.3);
  padding-bottom: calc(var(--section-padding) * 1.3);
}

@media (max-width: 768px) {
  .py-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}

/* Page shell for min-height */
.page-shell {
  min-height: calc(100vh - 80px);
}

/* Section Titles */
.section-title {
  position: relative;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  font-weight: 600;
  color: var(--primary);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--law-green), var(--law-green-accent));
  border-radius: 2px;
}

.section-title.text-center::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Premium Alert Box */
.alert-law-green {
  background: linear-gradient(135deg, rgba(26, 107, 71, 0.08) 0%, rgba(60, 184, 120, 0.05) 100%);
  border: 1px solid rgba(26, 107, 71, 0.15);
  border-left: 4px solid var(--law-green);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem 1.5rem;
  color: var(--text);
  font-size: 0.95rem;
}

.alert-law-green i {
  color: var(--law-green);
}

/* Premium Content Lists */
.content-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.content-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.content-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--law-green), var(--law-green-accent));
  border-radius: 50%;
}

/* Info Card */
.info-card {
  background: linear-gradient(135deg, rgba(26, 107, 71, 0.06) 0%, rgba(26, 107, 71, 0.02) 100%);
  border-left: 4px solid var(--law-green);
  padding: 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* ══════════════════════════════════════════════════════════════
   PREMIUM REGION CARDS
   ══════════════════════════════════════════════════════════════ */
.region-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.region-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--law-green), var(--law-green-accent));
  transform: scaleX(0);
  transform-origin: center;
  transition: var(--transition);
}

.region-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(26, 107, 71, 0.1);
  text-decoration: none;
}

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

.region-card h5 {
  color: var(--primary);
  margin-bottom: 0.25rem;
  transition: var(--transition-fast);
}

.region-card:hover h5 {
  color: var(--law-green);
}

.region-card i {
  transition: var(--transition);
}

.region-card:hover i {
  transform: scale(1.15);
}

.region-card small {
  font-size: 0.8rem;
}

/* City variant */
.region-card.region-city {
  border-left: 3px solid transparent;
}

.region-card.region-city:hover {
  border-left-color: var(--law-green);
}

/* ══════════════════════════════════════════════════════════════
   SPECIFIC COMPONENTS
   ══════════════════════════════════════════════════════════════ */

/* Contact CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(26, 95, 60, 0.2) 0%, transparent 70%);
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 500px;
  margin: 0 auto 2rem;
}

/* Stats Section */
.stats-section {
  background: var(--sand);
  padding: 3rem 0;
}

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

.stat-number {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--law-green);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Image with overlay */
.img-overlay-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.img-overlay-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.img-overlay-wrapper:hover img {
  transform: scale(1.05);
}

.img-overlay-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(15, 23, 42, 0.3) 0%, transparent 60%);
}

/* Accent border card */
.accent-border-left {
  border-left: 4px solid var(--law-green);
  padding-left: 1.5rem;
}

/* ══════════════════════════════════════════════════════════════
   LAW GREEN ACCENT ELEMENTS
   ══════════════════════════════════════════════════════════════ */

/* Green icon wrapper */
.icon-green {
  color: var(--law-green) !important;
}

.icon-green-circle {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 95, 60, 0.1);
  border-radius: 50%;
  color: var(--law-green);
  transition: var(--transition);
}

.icon-green-circle:hover {
  background: var(--law-green);
  color: var(--white);
}

/* Green badge */
.badge-green {
  background: var(--law-green);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Green highlight text */
.highlight-green {
  color: var(--law-green);
  font-weight: 600;
}

/* Green link */
a.link-green {
  color: var(--law-green);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: var(--transition-fast);
}

a.link-green:hover {
  color: var(--law-green-dark);
  border-bottom-color: var(--law-green);
}

/* Alert green variant */
.alert-law-green {
  background: rgba(26, 95, 60, 0.1);
  border: 1px solid rgba(26, 95, 60, 0.2);
  border-left: 4px solid var(--law-green);
  color: var(--law-green-dark);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
}

.alert-law-green i {
  color: var(--law-green);
}

/* Navbar green accent on hover */
.navbar-law .nav-link:hover::before {
  background: var(--law-green);
}

/* Green glow card */
.card-glow-green:hover {
  box-shadow: var(--shadow-lg), 0 0 30px var(--law-green-glow);
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 991px) {
  .navbar-law .navbar-collapse {
    background: var(--primary);
    margin: 1rem -1rem -1rem;
    padding: 1rem;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }
  
  .navbar-law .nav-link {
    padding: 0.75rem 1rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .navbar-law .nav-link:last-child {
    border-bottom: none;
  }
  
  .navbar-law .nav-link::before {
    display: none;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  
  .hero-section {
    min-height: auto;
    padding: 4rem 0 5rem;
  }
  
  .page-hero {
    padding: calc(3.5rem + 70px) 0 3rem;
  }
  
  .page-hero h1 {
    font-size: 1.75rem;
  }
  
  .service-card,
  .icon-card {
    padding: 1.5rem;
  }
  
  .sidebar-card {
    padding: 1.5rem;
  }
  
  .region-card {
    padding: 1.25rem;
  }
  
  .footer-law {
    text-align: center;
    padding: 3.5rem 0 2rem;
  }
  
  .footer-law h5::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-law .footer-brand {
    justify-content: center;
  }
  
  .footer-law .footer-desc {
    margin: 0 auto 2rem;
  }
}

/* ══════════════════════════════════════════════════════════════
   PREMIUM HOVER EFFECTS & MICRO-INTERACTIONS
   ══════════════════════════════════════════════════════════════ */

/* Smooth image hover */
.img-hover {
  transition: var(--transition);
  overflow: hidden;
  border-radius: var(--radius-md);
}

.img-hover img {
  transition: var(--transition-slow);
}

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

/* Magnetic button effect */
.btn-magnetic {
  position: relative;
  transition: var(--transition);
}

.btn-magnetic:hover {
  transform: translateY(-3px);
}

/* Glow on hover */
.glow-hover {
  transition: var(--transition);
}

.glow-hover:hover {
  box-shadow: 0 0 40px rgba(26, 107, 71, 0.2);
}

/* Text reveal animation */
.text-reveal {
  overflow: hidden;
}

.text-reveal span {
  display: inline-block;
  transform: translateY(100%);
  animation: textReveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes textReveal {
  to { transform: translateY(0); }
}

/* Stagger children animations */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  animation: staggerFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.stagger-children > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-children > *:nth-child(6) { animation-delay: 0.6s; }

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

/* Parallax effect */
.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, var(--law-green) 0%, var(--law-green-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Shine effect */
.shine-effect {
  position: relative;
  overflow: hidden;
}

.shine-effect::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg, 
    transparent, 
    rgba(255,255,255,0.2), 
    transparent
  );
  transition: left 0.6s ease;
}

.shine-effect:hover::after {
  left: 100%;
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid var(--law-green);
  outline-offset: 3px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
