html, body {
  width: 100%;
  overflow-x: hidden; /* Prevent sideways scroll */
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;600;700&family=Open+Sans:wght@400;500;600&display=swap');

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Dark Theme Colors */
  --primary-bg: #0a0a0a;
  --secondary-bg: #111111;
  --card-bg: #1a1a1a;
  --accent-bg: #222222;

  --primary-text: #ffffff;
  --secondary-text: #b0b0b0;
  --muted-text: #808080;

  --gold-primary: #d4af37;
  --gold-secondary: #b8941f;
  --gold-light: #f4e4a6;

  --accent-blue: #1e40af;
  --accent-purple: #7c3aed;
  --accent-green: #059669;

  --border-color: #333333;
  --border-light: #444444;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.6);

  --gradient-primary: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
  --gradient-hero: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 50%, var(--card-bg) 100%);

  /* Modern Fonts */
  --font-primary: "Nunito Sans", sans-serif;
  --font-secondary: "Lora", serif;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
}
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-primary);
  background: var(--primary-bg);
  color: var(--primary-text);
  line-height: 1.6;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 600;
}



.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
}

@media (min-width: 768px) {
  .container {
    margin: 50px auto;
    padding: 50px;
  }
}

/* Loading Screen */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-content {
  text-align: center;
}

.loading-logo {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: pulse 2s infinite;
}

.loading-text {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold-primary);
  margin-bottom: 2rem;
}

.loading-bar {
  width: 200px;
  height: 4px;
  background: var(--border-color);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}

.loading-progress {
  height: 100%;
  background: var(--gradient-primary);
  width: 0%;
  animation: loading 2s ease-in-out infinite;
}

@keyframes loading {
  0% {
    width: 0%;
  }
  50% {
    width: 70%;
  }
  100% {
    width: 100%;
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Cursor Follower */
/* .cursor-follower {
    position: fixed;
    width: 20px;
    height: 20px;
    background: var(--gold-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    opacity: 0;
}

.cursor-follower.active {
    opacity: 0.6;
    transform: scale(1.5);
} */

/* ================================
   NAVIGATION (Desktop & Mobile)
   ================================ */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1200px;
  background: #0a0a0a;
  border-radius: 50px;
  z-index: 1000;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
}

/* NAV CONTAINER */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 2rem;
  box-sizing: border-box;
}

/* LOGO */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--primary-text);
  text-decoration: none;
}

.nav-logo img {
  border-radius: 50%;
}

.logo-icon {
  font-size: 1.5rem;
}

/* NAV LINKS */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.nav-link {
  color: var(--secondary-text);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-primary);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* CTA BUTTON */
.nav-cta .cta-button {
  background: var(--gradient-primary);
  color: var(--primary-bg);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-md);
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.nav-cta .cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  z-index: 1001;
  background: none;
  border: none;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary-text);
  transition: all var(--transition-normal);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* SCROLLED NAVBAR */
.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  box-shadow: var(--shadow-md);
}

/* ================================
   MOBILE NAVIGATION
   ================================ */
@media (max-width: 900px) {
  .navbar {
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    border-radius: 0;
  }

  .nav-container {
    padding: 0.75rem 1rem;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 60px;       /* directly below navbar */
    right: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 999;
    text-align: center;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 0.5rem 0;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  /* CTA inside dropdown */
  .nav-cta {
    display: block;
    width: 100%;
    margin-top: 1rem;
  }

  .nav-cta .cta-button {
    display: block;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 900px) {
  .nav-cta {
    display: block;
    width: 100%;
    margin-top: 1rem;
  }

  .nav-cta .cta-button {
    display: block;
    width: 100%;
    text-align: center;
  }
}



/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
  margin: 0;
  padding: 0;
  width: 100%;
}


.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.shape {
  position: absolute;
  background: linear-gradient(45deg, var(--gold-primary), var(--gold-secondary));
  opacity: 0.1;
  animation: float 20s infinite linear;
}

.shape-1 {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 150px;
  height: 150px;
  border-radius: var(--border-radius-lg);
  top: 60%;
  right: 15%;
  animation-delay: -5s;
}

.shape-3 {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  top: 80%;
  left: 20%;
  animation-delay: -10s;
}

.shape-4 {
  width: 120px;
  height: 120px;
  border-radius: var(--border-radius-md);
  top: 10%;
  right: 30%;
  animation-delay: -15s;
}

.shape-5 {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  top: 40%;
  left: 50%;
  animation-delay: -8s;
}

@keyframes float {
  0% {
    transform: translateY(100vh) rotate(0deg);
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
  }
}

.particles-container {
  position: absolute;
  width: 100%;
  height: 100%;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--gold-primary);
  border-radius: 50%;
  opacity: 0.6;
  animation: particle-float 15s infinite linear;
}

@keyframes particle-float {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-100px) translateX(50px);
    opacity: 0;
  }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative; /* instead of absolute */
  z-index: 2;
  padding: 3rem;
  width: 100%; /* take full width */
  max-width: 100%; /* no limit */
  margin: 0; /* remove auto-centering */
}


.hero-text {
  animation: slideInLeft 1s ease-out;
}

.hero-badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-xl);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-family: var(--font-primary);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.title-line {
  display: block;
}

.highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--secondary-text);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-primary);
  display: block;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted-text);
  margin-top: 0.25rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: 1rem 2rem;
  border-radius: var(--border-radius-md);
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--primary-bg);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-text);
  border: 2px solid var(--border-light);
}

.btn-secondary:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  transform: translateY(-2px);
}

.hero-image {
  animation: slideInRight 1s ease-out;
}

.image-container {
  position: relative;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow);
}

.image-container:hover .hero-img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(212, 175, 55, 0.1), rgba(30, 64, 175, 0.1));
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.image-container:hover .image-overlay {
  opacity: 1;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--muted-text);
  animation: bounce 2s infinite;
}

.scroll-text {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--gold-primary);
  border-bottom: 2px solid var(--gold-primary);
  transform: rotate(45deg);
  margin: 0 auto;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Section Styles */
section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-xl);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  backdrop-filter: blur(10px);
}

.section-title {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-text);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--secondary-text);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* About Section */
.about {
  background: var(--secondary-bg);
  padding: 5rem 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Text Blocks */
.text-block {
  margin-bottom: 2rem;
}

.text-block h3 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--gold-primary);
}

.text-block p {
  color: var(--secondary-text);
  line-height: 1.7;
}

/* Credentials */
.credentials {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.credential {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--card-bg);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.credential:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-primary);
}

/* Rounded Images for Credentials */
.credential-img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-primary);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.credential-img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
}

.credential-text h4 {
  font-family: var(--font-primary);
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--primary-text);
}

.credential-text p {
  color: var(--secondary-text);
  font-size: 0.875rem;
}

/* Visual Card */
.about-visual {
  position: relative;
  width: 60%;   /* reduced from 75% to 60% */
  margin: 0 auto;
}

.visual-card {
  position: relative;
  width: 100%;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow);
}


.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 2rem;
  transform: translateY(100%);
  transition: transform var(--transition-normal);
}

.visual-card:hover .card-overlay {
  transform: translateY(0);
}

.visual-card:hover .about-img {
  transform: scale(1.05);
}

.overlay-content h4 {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary-text);
}

.overlay-content p {
  color: var(--secondary-text);
}

/* Responsive */
@media (max-width: 900px) {
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-visual {
    width: 100%;
  }

  .credentials {
    align-items: center;
  }
}


/* Practice Areas */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 per row */
  gap: 2rem;
}

.practice-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.practice-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.3);
}

.practice-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 2px solid var(--gold-primary);
}

.practice-card h3 {
  font-family: var(--font-secondary);
  font-size: 1.25rem;
  color: #e2e8f0;
  margin-bottom: 0.75rem;
}

.practice-card p {
  color: #94a3b8;
  margin-bottom: 1rem;
  line-height: 1.5;
  font-size: 0.95rem;
}

.service-list {
  list-style: none;
  margin-bottom: 1.25rem;
}

.service-list li {
  color: var(--secondary-text);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  padding-left: 1.5rem;
}

.service-list li:last-child {
  border-bottom: none;
}

.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold-primary);
  font-weight: bold;
}

/* Know More Button */
.know-more-btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: var(--gradient-primary);
  color: var(--primary-bg);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--border-radius-md);
  transition: all 0.3s ease;
}

.know-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}


/* Achievements – Horizontal Sliding Cards */
.achievements {
  background: var(--secondary-bg);
  padding: 4rem 2rem;
}

.achv-dots {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin: 1rem auto 2rem;
  flex-wrap: wrap;
}

.achv-dot {
  border: 2px solid var(--gold-primary);
  background: var(--card-bg);
  color: var(--primary-text);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--transition-normal), background var(--transition-normal), color var(--transition-normal), box-shadow var(--transition-normal);
}

.achv-dot:hover { transform: translateY(-2px); }

.achv-dot.active {
  background: var(--gold-primary);
  color: var(--primary-bg);
  box-shadow: var(--shadow-sm);
}

.achv-slider {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.achv-nav {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  color: var(--primary-text);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.achv-nav:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-sm);
  background: var(--accent-bg);
}

.achv-viewport {
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-xl);
  background: var(--card-bg);
  position: relative;
  /* Scroll-snap magic */
  scroll-behavior: smooth;
}

.achv-track {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem;
  /* Make it feel responsive and buttery */
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.achv-card {
  flex: 0 0 100%;
  scroll-snap-align: center;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.achv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-primary);
}

.achv-card h3 {
  color: var(--primary-text);
  font-family: var(--font-primary);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.achv-card p {
  color: var(--secondary-text);
  line-height: 1.6;
}

/* Larger screens show more of the next card for context */
@media (min-width: 900px) {
  .achv-card { flex-basis: 70%; }
}

@media (min-width: 1200px) {
  .achv-card { flex-basis: 60%; }
}
/* Testimonials */
.testimonials-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-track {
  display: flex;
  transition: transform var(--transition-slow);
}

.testimonial-card {
  min-width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  text-align: center;
  opacity: 0.7;
  transform: scale(0.95);
  transition: all var(--transition-normal);
}

.testimonial-card.active {
  opacity: 1;
  transform: scale(1);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-lg);
}

.testimonial-content {
  margin-bottom: 2rem;
}

.quote-icon {
  font-size: 4rem;
  color: var(--gold-primary);
  font-family: var(--font-primary);
  line-height: 1;
  margin-bottom: 1rem;
}

.testimonial-content p {
  font-size: 1.125rem;
  color: var(--secondary-text);
  line-height: 1.7;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-primary);
}

.author-info h4 {
  font-family: var(--font-primary);
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--primary-text);
}

.author-info p {
  color: var(--muted-text);
  font-size: 0.875rem;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.carousel-btn {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  color: var(--primary-text);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.carousel-btn:hover {
  background: var(--gold-primary);
  color: var(--primary-bg);
  transform: scale(1.1);
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.dot.active {
  background: var(--gold-primary);
  transform: scale(1.2);
}

/* =========================
   CONTACT SECTION
========================= */
.contact {
  background: var(--secondary-bg);
  padding: 4rem 2rem;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ====== Info Box ====== */
.info-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--secondary-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  transition: all 0.3s ease;
}

.info-item:hover {
  background: var(--card-bg);
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
}

.info-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.info-text h4 {
  color: var(--primary-text);
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.info-text p {
  color: var(--muted-text);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ====== Contact Form ====== */
.contact-form {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--secondary-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  color: var(--primary-text);
  font-family: inherit;
  transition: border var(--transition-normal), box-shadow var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* ====== Button ====== */
.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.9rem;
  background: var(--gradient-primary);
  color: var(--primary-bg);
  border: none;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* Button loading state */
.btn-loading {
  display: none;
}

.submit-btn.loading .btn-text {
  display: none;
}

.submit-btn.loading .btn-loading {
  display: inline;
}

/* Disclaimer text */
.form-disclaimer {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--muted-text);
  line-height: 1.4;
  text-align: center;
}

/* ====== Responsive ====== */
@media (max-width: 900px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-form {
    max-width: 100%;
    padding: 1.5rem;
  }
}


/* Footer */
.footer {
  background: var(--primary-bg);
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--primary-text);
}

.footer-description {
  color: var(--secondary-text);
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  color: var(--secondary-text);
  text-decoration: none;
  padding: 0.5rem;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-normal);
}

.social-link:hover {
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.1);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.link-group h4 {
  font-family: var(--font-primary);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-text);
}

.link-group ul {
  list-style: none;
}

.link-group li {
  margin-bottom: 0.5rem;
}

.link-group a {
  color: var(--secondary-text);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.link-group a:hover {
  color: var(--gold-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  text-align: center;
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.legal-links {
  display: flex;
  gap: 2rem;
}

.legal-links a {
  color: var(--secondary-text);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.legal-links a:hover {
  color: var(--gold-primary);
}

.disclaimer {
  font-size: 0.75rem;
  color: var(--muted-text);
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 {
  transition-delay: 0.1s;
}
.stagger-2 {
  transition-delay: 0.2s;
}
.stagger-3 {
  transition-delay: 0.3s;
}
.stagger-4 {
  transition-delay: 0.4s;
}

/* Enhanced responsive design for all sections */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
    max-width: 100%;
  }

  /* Hero section responsive - remove image and spread content */
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    padding: 0 1rem;
  }

  .hero-image {
    display: none; /* Remove image in mobile */
  }

  .hero-text {
    max-width: 100%;
    padding: 0;
  }

  .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .hero-stats {
    justify-content: center;
    gap: 2rem;
  }

  /* About section - remove image and remove side spaces */
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-visual {
    display: none; /* Remove image in mobile */
  }

  .about-text {
    max-width: 100%;
    padding: 0;
  }

  .container {
    padding: 0; /* Remove side spaces */
    margin: 0;
    max-width: 100%;
  }

  .about {
    padding: 4rem 1rem;
  }

  /* Practice areas - remove side gaps */
  .practice-areas {
    padding: 4rem 0;
  }

  .practice-areas .container {
    padding: 0 1rem;
    max-width: 100%;
  }

  .practice-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0;
  }

  .practice-card {
    margin: 0;
    padding: 2rem 1.5rem;
  }

  /* Achievements section - new card design for mobile */
  .achievements {
    padding: 4rem 1rem;
  }

  .timeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0;
  }

  .timeline-item {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
  }

  .timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }

  .timeline-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 1rem;
    text-align: center;
    background: linear-gradient(135deg, var(--accent-blue), #ff6b35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .timeline-content {
    text-align: center;
  }

  .timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-text);
  }

  .timeline-content p {
    color: var(--secondary-text);
    line-height: 1.6;
  }

  /* Contact section responsive */
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-info-card {
    order: 2;
  }

  .contact-form {
    order: 1;
    padding: 2rem 1.5rem;
  }

  .form-group {
    margin-bottom: 1.5rem;
  }

  .form-group label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 1rem;
    font-size: 1rem;
  }

  /* Testimonials responsive */
  .testimonials-carousel {
    padding: 0 1rem;
  }

  .testimonial-card {
    padding: 2rem 1.5rem;
  }

  /* Footer responsive */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer {
  background: var(--primary-bg);
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 0; /* remove bottom padding */
}

.footer-content {
  margin-bottom: 1rem; /* smaller gap */
}

.footer-legal {
  margin-bottom: 0; /* remove unnecessary gap */
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 1rem 0 0; /* reduce bottom padding */
  text-align: center;
}

.disclaimer {
  font-size: 0.75rem;
  color: var(--muted-text);
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 0; /* ensure no padding */
}


@media (max-width: 480px) {
  .section-title {
    font-size: 2rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .btn-primary,
  .btn-secondary {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .practice-card {
    padding: 1.5rem 1rem;
  }

  .timeline-item {
    padding: 1.5rem;
  }

  .contact-form {
    padding: 1.5rem 1rem;
  }

  .navbar {
    /* Consistent width calculation for small screens */
    width: calc(100vw - 10px);
    top: 5px;
  }

  .nav-container {
    padding: 0.5rem 1rem;
  }

  .nav-menu {
    top: 60px;
    /* Fixed small screen menu positioning to match navbar */
    width: calc(100vw - 10px);
    padding: 1.5rem;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-text: #ffffff;
    --secondary-text: #e0e0e0;
    --border-color: #555555;
    --gold-primary: #ffdd44;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .scroll-indicator {
    animation: none;
  }

  .floating-shapes .shape {
    animation: none;
  }

  .particle {
    animation: none;
  }
}

.footer-logo i,
.link-group i,
.social-link i {
  margin-right: 8px;
  color: var(--gold-primary);
}

