/* ========================================
   SITHOLE NI & ASSOCIATES INC.
   Design System & Global Styles
   Black & White Professional Theme
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
  --primary-dark: #000000;
  --grey-dark: #1A1A1A;
  --grey-mid: #4A4A4A;
  --grey-light: #F5F5F5;
  --white: #FFFFFF;
  --body-text: #1A1A1A;
  --subtle-grey: #6B6B6B;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.18);
  --transition: 0.3s ease;
  --max-width: 1200px;
  --section-padding: 60px 0;
  --section-padding-lg: 100px 0;
}

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

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--body-text);
  line-height: 1.8;
  background: var(--white);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: 'Lora', serif;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: var(--body-text);
}

.section-subtitle {
  color: var(--subtle-grey);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

.gold-line {
  width: 60px;
  height: 3px;
  background: var(--primary-dark);
  margin: 16px auto;
  display: block;
}

.gold-line-left {
  width: 60px;
  height: 3px;
  background: var(--primary-dark);
  margin: 16px 0;
  display: block;
}

.section-heading {
  text-align: center;
  margin-bottom: 50px;
}

.section-heading h2 {
  margin-bottom: 0;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-block;
  background: var(--primary-dark);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid var(--primary-dark);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary:hover {
  background: var(--grey-dark);
  border-color: var(--grey-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--white);
  padding: 14px 32px;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid var(--white);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-dark {
  display: inline-block;
  background: var(--white);
  color: var(--primary-dark);
  padding: 14px 32px;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid var(--white);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-dark:hover {
  background: var(--grey-light);
  border-color: var(--grey-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 10px 0;
}

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

.navbar-logo img {
  height: 50px;
  width: auto;
}

/* On transparent navbar, show white logo */
.navbar .navbar-logo .logo-scrolled {
  display: none;
}
.navbar .navbar-logo .logo-transparent {
  display: block;
}

/* Hide entire navbar on home page until scrolled */
.navbar.navbar-home:not(.scrolled) {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(-100%);
}

/* On scrolled navbar, show black logo */
.navbar.scrolled .navbar-logo .logo-scrolled {
  display: block;
}
.navbar.scrolled .navbar-logo .logo-transparent {
  display: none;
}

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

.nav-links a {
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  position: relative;
  padding: 4px 0;
  transition: color var(--transition);
}

.navbar.scrolled .nav-links a {
  color: var(--body-text);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--white);
  transition: width var(--transition);
}

.navbar.scrolled .nav-links a::after {
  background: var(--primary-dark);
}

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

.nav-links a.active {
  color: var(--white);
  font-weight: 600;
}

.navbar.scrolled .nav-links a.active {
  color: var(--primary-dark);
}

.nav-cta {
  margin-left: 12px;
}

.nav-cta .btn-primary {
  padding: 10px 24px;
  font-size: 0.8rem;
}

/* On transparent nav, invert button */
.navbar:not(.scrolled) .nav-cta .btn-primary {
  background: var(--white);
  color: var(--primary-dark);
  border-color: var(--white);
}

.navbar:not(.scrolled) .nav-cta .btn-primary:hover {
  background: var(--grey-light);
  border-color: var(--grey-light);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
  border-radius: 2px;
}

.navbar.scrolled .hamburger span {
  background: var(--primary-dark);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--primary-dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.4s ease;
}

.mobile-nav.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav a {
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  transition: color var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--grey-light);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-canva {
  background-color: #000000;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.8s ease-in-out;
}

.hero-video.fade-out {
  opacity: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.hero-canva::before {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 100vh;
}

.hero-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-left {
  align-items: center;
  text-align: center;
  padding-right: 40px;
}

.hero-right {
  align-items: flex-start;
  text-align: left;
  padding-left: 40px;
}

.hero-logo-large {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--white);
  text-decoration: none;
  transition: opacity var(--transition);
}

.hero-logo-large:hover {
  opacity: 0.9;
}

.logo-icon-only {
  height: 600px;
  width: auto;
  max-width: 100%;
  margin-bottom: 24px;
}

.hero-logo-text {
  font-family: 'Lora', serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 2px;
}

.hero-logo-tagline {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 3px;
  margin-top: 12px;
  opacity: 0.8;
}

.hero-pre-heading {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  letter-spacing: 4px;
  font-weight: 400;
  color: var(--white);
  opacity: 0.9;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-heading {
  color: var(--white);
  font-size: 4.8rem;
  font-weight: 400;
  margin-bottom: 40px;
  line-height: 1.1;
  font-family: 'Lora', serif;
  letter-spacing: -2px;
}

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--white);
  padding: 14px 40px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 1px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

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

@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    justify-content: center;
    gap: 60px;
    padding-top: 100px;
  }

  .hero-left, .hero-right {
    padding: 0;
    align-items: center;
    text-align: center;
  }

  .logo-icon-only {
    height: auto;
    max-height: 450px;
  }

  .hero-logo-text {
    font-size: 1.8rem;
  }

  .hero-heading {
    font-size: 3.2rem;
  }
}

@keyframes fadeUpItemCenter {
  0% { opacity: 0; transform: translateX(-50%) translateY(30px); }
  100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

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

.scroll-arrow {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--white);
  font-size: 1.5rem;
  opacity: 0;
  animation: fadeUpItemCenter 1s cubic-bezier(0.2, 0.8, 0.2, 1) 2.2s forwards, 
             bounceArrow 2.5s ease-in-out 3.2s infinite;
  cursor: pointer;
}

/* ========================================
   PAGE BANNER (inner pages)
   ======================================== */
.page-banner {
  background: var(--primary-dark);
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 60%);
}

.page-banner h1 {
  color: var(--white);
  font-size: 2.8rem;
  position: relative;
}

.breadcrumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--white);
}

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

.breadcrumb span {
  color: rgba(255,255,255,0.4);
}

/* ========================================
   TWO-COLUMN LAYOUT
   ======================================== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.two-col-text h2 {
  margin-bottom: 16px;
}

.two-col-text p {
  margin-bottom: 16px;
}

.two-col-img {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.two-col-img img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 8px;
}

.read-more-link {
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}

.read-more-link:hover {
  gap: 12px;
}

/* ========================================
   SECTIONS
   ======================================== */
section {
  padding: var(--section-padding);
}

.section-light {
  background: var(--grey-light);
}

.section-dark {
  background: var(--grey-dark);
}

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

.section-dark .section-subtitle {
  color: rgba(255,255,255,0.6);
}

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

/* ========================================
   WHY CHOOSE US CARDS
   ======================================== */
.why-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.why-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all var(--transition);
}

.why-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}

.why-card-icon {
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 16px;
}

.why-card h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.why-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ========================================
   PRACTICE AREAS GRID
   ======================================== */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.practice-card {
  background: var(--white);
  border-radius: 8px;
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  text-align: center;
  border: 1px solid rgba(0,0,0,0.06);
}

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

.practice-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--grey-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: var(--primary-dark);
}

.practice-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.practice-card p {
  color: var(--subtle-grey);
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

/* ========================================
   APPROACH / PROCESS
   ======================================== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
}

.process-step {
  text-align: center;
}

.process-step-number {
  font-family: 'Lora', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--grey-mid);
  margin-bottom: 12px;
  line-height: 1;
}

.process-step h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.process-step p {
  color: var(--subtle-grey);
  font-size: 0.9rem;
}

/* ========================================
   CTA BANNER
   ======================================== */
.cta-banner {
  background: var(--primary-dark);
  padding: 80px 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 32px;
}

/* ========================================
   ABOUT PAGE - COMMITMENT QUOTE
   ======================================== */
.commitment-quote {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.commitment-quote blockquote {
  font-family: 'Lora', serif;
  font-size: 1.6rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.6;
  margin-bottom: 30px;
  position: relative;
  padding: 0 20px;
}

.commitment-quote blockquote::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--white);
  position: absolute;
  top: -20px;
  left: -10px;
  line-height: 1;
  opacity: 0.4;
}

/* ========================================
   ABOUT PAGE - APPROACH COLUMNS
   ======================================== */
.approach-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.approach-col {
  text-align: center;
  padding: 32px 24px;
}

.approach-col-icon {
  font-size: 2.5rem;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.approach-col h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 12px;
}

/* ========================================
   WHY CHOOSE US PAGE — ALTERNATING ROWS
   ======================================== */
.alt-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid #eee;
  position: relative;
}

.alt-row:last-child {
  border-bottom: none;
}

.alt-row.reverse .alt-row-text {
  order: 2;
}

.alt-row.reverse .alt-row-img {
  order: 1;
}

.alt-row-number {
  font-family: 'Lora', serif;
  font-size: 6rem;
  font-weight: 700;
  color: rgba(0,0,0,0.06);
  position: absolute;
  top: 40px;
  left: 0;
  line-height: 1;
  z-index: 0;
}

.alt-row.reverse .alt-row-number {
  left: auto;
  right: 0;
}

.alt-row-text {
  position: relative;
  z-index: 1;
}

.alt-row-text h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.alt-row-text p {
  font-size: 1rem;
  line-height: 1.9;
}

.alt-row-img img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

/* ========================================
   PRACTICE AREAS PAGE — SIDEBAR LAYOUT
   ======================================== */
.practice-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: flex-start;
}

.practice-sidebar {
  position: sticky;
  top: 100px;
}

.practice-sidebar a {
  display: block;
  padding: 12px 20px;
  color: var(--body-text);
  font-weight: 500;
  font-size: 0.9rem;
  border-left: 3px solid transparent;
  transition: all var(--transition);
  margin-bottom: 4px;
}

.practice-sidebar a:hover,
.practice-sidebar a.active {
  color: var(--primary-dark);
  border-left-color: var(--primary-dark);
  background: var(--grey-light);
  font-weight: 600;
}

.practice-section {
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid #eee;
}

.practice-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.practice-section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  padding-left: 20px;
  border-left: 4px solid var(--primary-dark);
}

.practice-section .intro-text {
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.practice-section .service-list {
  margin-bottom: 24px;
}

.practice-section .service-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.95rem;
}

.practice-section .service-list li::before {
  content: '✓';
  color: var(--primary-dark);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.practice-section .closing-text {
  font-style: italic;
  color: var(--subtle-grey);
  border-left: 3px solid var(--grey-mid);
  padding-left: 20px;
  margin-top: 16px;
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  margin-bottom: 16px;
}

.contact-info .intro-text {
  margin-bottom: 28px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grey-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-detail-text {
  font-size: 0.95rem;
}

.contact-detail-text strong {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
}

.office-hours {
  margin-top: 28px;
  padding: 20px;
  background: var(--grey-light);
  border-radius: 8px;
}

.office-hours h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 1rem;
}

.map-container {
  margin-top: 32px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.map-container iframe {
  width: 100%;
  height: 280px;
  border: none;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.06);
}

.contact-form-wrapper h3 {
  margin-bottom: 24px;
  font-size: 1.4rem;
}

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

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

.form-group label .required {
  color: #c0392b;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--body-text);
  background: var(--white);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-dark);
}

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

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #c0392b;
}

.form-error-msg {
  color: #c0392b;
  font-size: 0.8rem;
  margin-top: 4px;
  display: none;
}

.form-group.error .form-error-msg {
  display: block;
}

.form-success {
  display: none;
  background: #27ae60;
  color: var(--white);
  padding: 16px 20px;
  border-radius: 4px;
  text-align: center;
  margin-top: 16px;
  font-weight: 500;
}

.form-success.show {
  display: block;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: var(--primary-dark);
  padding: 80px 0 0;
  color: rgba(255,255,255,0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-col h4 {
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-brand img {
  height: 180px;
  margin-bottom: 24px;
}

.footer-brand .tagline {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.7;
}

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

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.footer-contact-item i {
  color: var(--white);
  margin-top: 4px;
  flex-shrink: 0;
  opacity: 0.6;
}

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

.footer-bottom p {
  font-size: 0.85rem;
  color: #ffffff !important;
  font-weight: 300;
  margin-bottom: 0;
  opacity: 1 !important;
}

/* ========================================
   BACK TO TOP
   ======================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  border: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  box-shadow: var(--shadow-md);
  z-index: 900;
}

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

.back-to-top:hover {
  background: var(--grey-dark);
  transform: translateY(-3px);
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet Large */
@media (max-width: 1280px) {
  .why-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablet */
@media (max-width: 1024px) {
  section {
    padding: var(--section-padding);
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.7rem; }

  .hero h1 { font-size: 2.8rem; }

  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .two-col-img img {
    height: 450px;
  }

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

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

  .process-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

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

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

  .practice-sidebar {
    position: relative;
    top: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    background: var(--grey-light);
    padding: 16px;
    border-radius: 8px;
  }

  .practice-sidebar a {
    border-left: none;
    border-bottom: 2px solid transparent;
    padding: 8px 14px;
    font-size: 0.85rem;
  }

  .practice-sidebar a:hover,
  .practice-sidebar a.active {
    border-left-color: transparent;
    border-bottom-color: var(--primary-dark);
  }

  .alt-row {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 60px 0;
  }

  .alt-row.reverse .alt-row-text,
  .alt-row.reverse .alt-row-img {
    order: unset;
  }

  .alt-row-number {
    font-size: 4rem;
    position: relative;
    top: 0;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .approach-columns {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    height: 100dvh;
    min-height: 100dvh;
  }

  .hero-canva {
    background-position: center;
    animation: none !important;
    background-size: cover !important;
  }

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

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

  .page-banner {
    padding: 120px 0 40px;
  }

  .page-banner h1 {
    font-size: 2rem;
  }

  .why-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .process-steps {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .cta-banner h2 {
    font-size: 1.6rem;
  }

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

  .commitment-quote blockquote {
    font-size: 1.2rem;
  }

  .alt-row-img img {
    height: 400px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero h1 { font-size: 1.7rem; }

  .btn-primary,
  .btn-secondary,
  .btn-dark {
    padding: 12px 24px;
    font-size: 0.8rem;
  }
}

/* Desktop enhancements */
@media (min-width: 1024px) {
  section {
    padding: var(--section-padding-lg);
  }

  .hero h1 {
    font-size: 4rem;
  }
}

/* ========================================
   INTRO ANIMATIONS
   ======================================== */
.intro-curtain {
  position: fixed;
  inset: 0;
  background: var(--primary-dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: slideCurtainUp 1.2s cubic-bezier(0.8, 0, 0.2, 1) 0.8s forwards;
  pointer-events: none;
}

.intro-line {
  width: 0;
  height: 2px;
  background: var(--white);
  animation: expandLine 0.6s cubic-bezier(0.8, 0, 0.2, 1) 0.2s forwards;
}

@keyframes expandLine {
  0% { width: 0; opacity: 1; }
  100% { width: 150px; opacity: 0; }
}

@keyframes slideCurtainUp {
  0% { transform: translateY(0); }
  100% { transform: translateY(-100%); }
}

.anim-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUpItem 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-1 { animation-delay: 1.4s; }
.delay-2 { animation-delay: 1.6s; }
.delay-3 { animation-delay: 1.8s; }
.delay-4 { animation-delay: 2.0s; }
.delay-5 { animation-delay: 2.2s; }

@keyframes fadeUpItem {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Base subtle scale animation for the hero */
.hero-canva {
  animation: subtleZoomOut 6s ease-out forwards;
}

@keyframes subtleZoomOut {
  0% { background-size: 105%; }
  100% { background-size: 100%; }
}

/* ========================================
   DROPDOWN MENUS
   ======================================== */
.nav-links .dropdown {
  position: relative;
  display: inline-block;
  padding: 10px 0;
}

.nav-links .dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  background-color: var(--white);
  min-width: 260px;
  box-shadow: var(--shadow-lg);
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  padding: 12px 0;
  z-index: 1000;
  pointer-events: none;
  border-top: 3px solid var(--primary-dark);
}

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

.nav-links .dropdown-menu a {
  display: block;
  padding: 8px 24px;
  color: var(--body-text) !important;
  font-weight: 400;
  text-transform: none;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}

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

.nav-links .dropdown-menu a:hover,
.nav-links .dropdown-menu a.active {
  background-color: var(--grey-light);
  color: var(--primary-dark) !important;
  font-weight: 500;
}

/* Hide navbar at footer */
.navbar.hidden-navbar {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

/* Footer Social Icons */
.footer-socials {
    margin-bottom: 20px;
}
.social-icon {
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.social-icon:hover {
    opacity: 0.7;
    transform: translateY(-2px);
}
