/* ==========================================================================
   ABRAHAM'S TAX SERVICES - HIGH-END CORPORATE STYLESHEET
   Domain: abrahamstaxservices.com | Location: Deer Park, TX
   Color Palette:
     - Imperial Navy: #0A2540
     - Dark Navy: #061727
     - Gold Metallic: #D4AF37, #C5A059, #F9E79F
     - Emerald Green: #107C41
     - Pearl White / Light Gray: #FFFFFF, #F8FAFC, #F1F5F9
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary-navy: #0A2540;
  --primary-dark: #061727;
  --navy-light: #133963;
  --navy-card: #0e3052;
  --gold-metallic: #D4AF37;
  --gold-dark: #B88A22;
  --gold-light: #F9E79F;
  --gold-accent: #C5A059;
  --emerald-green: #107C41;
  --emerald-light: #169b52;
  --bg-white: #FFFFFF;
  --bg-pearl: #F8FAFC;
  --bg-slate: #F1F5F9;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --text-light: #E2E8F0;
  --border-light: #E2E8F0;
  --border-gold: rgba(212, 175, 55, 0.35);
  --shadow-sm: 0 2px 4px rgba(10, 37, 64, 0.06);
  --shadow-md: 0 6px 18px rgba(10, 37, 64, 0.1);
  --shadow-lg: 0 12px 30px rgba(10, 37, 64, 0.15);
  --shadow-gold: 0 4px 15px rgba(212, 175, 55, 0.28);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset & Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1.25;
}

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

ul {
  list-style: none;
}

img, svg, video {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Metallic Gold Gradients & Text */
.gold-text {
  background: linear-gradient(180deg, #F9E79F 0%, #D4AF37 55%, #A8811C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 800;
}

.emerald-text {
  color: var(--emerald-green);
  font-weight: 700;
}

/* ==========================================================================
   TOP NOTIFICATION BAR
   ========================================================================== */
.top-bar {
  background-color: var(--primary-dark);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  font-size: 0.85rem;
  color: var(--text-light);
  padding: 8px 0;
  position: relative;
  z-index: 101;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.top-bar-item svg {
  width: 15px;
  height: 15px;
  fill: var(--gold-metallic);
  flex-shrink: 0;
}

.top-bar-item a:hover {
  color: var(--gold-metallic);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Bilingual Language Switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 20px;
  padding: 2px 4px;
  font-size: 0.78rem;
  font-weight: 600;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-light);
  padding: 3px 10px;
  border-radius: 16px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-heading);
}

.lang-btn.active {
  background: var(--gold-metallic);
  color: var(--primary-dark);
  font-weight: 800;
}

.lang-btn:hover:not(.active) {
  color: var(--gold-light);
}

/* ==========================================================================
   MAIN CORPORATE NAVBAR
   ========================================================================== */
.main-header {
  background: rgba(10, 37, 64, 0.98);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--gold-metallic);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

/* Logo styling */
.brand-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 60px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  transition: var(--transition);
}

/* Main Navigation: EXACTLY 5 LINKS */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.93rem;
  font-weight: 600;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 8px 4px;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, #F9E79F, #D4AF37);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-light);
}

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

/* CTA Button in Header */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-cta-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #F9E79F 0%, #D4AF37 50%, #B88A22 100%);
  color: var(--primary-dark);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow-gold);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-cta-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.45);
  background: linear-gradient(135deg, #FFFFFF 0%, #F9E79F 40%, #D4AF37 100%);
  color: var(--primary-navy);
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 105;
}

.hamburger-line {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background-color: var(--gold-metallic);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Drawer (Strictly NO duplicated logo inside) */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: var(--primary-navy);
  border-left: 2px solid var(--gold-metallic);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  transition: right 0.35s ease-in-out;
  overflow-y: auto;
}

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

.drawer-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 25px;
}

.drawer-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold-metallic);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.drawer-close-btn:hover {
  background: var(--gold-metallic);
  color: var(--primary-dark);
}

.drawer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.drawer-nav-item a {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border-left: 3px solid transparent;
  transition: var(--transition);
}

.drawer-nav-item a:hover,
.drawer-nav-item a.active {
  background: rgba(212, 175, 55, 0.15);
  border-left-color: var(--gold-metallic);
  color: var(--gold-light);
}

.drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--emerald-green);
  color: #FFFFFF;
  padding: 13px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
}

.drawer-call-btn:hover {
  background: var(--emerald-light);
}

.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   HERO BANNER SECTION WITH VIDEO BACKGROUND
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  overflow: hidden;
  background-color: var(--primary-navy);
}

/* Background video */
.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
  opacity: 0.85;
}

/* Dark elegant corporate overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 37, 64, 0.88) 0%, rgba(13, 44, 84, 0.75) 100%);
  z-index: 1;
}

/* Hero Content (Floating over overlay z-index: 2) */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 960px;
  padding: 60px 20px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.18);
  border: 1px solid var(--gold-metallic);
  border-radius: 30px;
  padding: 6px 18px;
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #E2E8F0;
  max-width: 780px;
  margin: 0 auto 36px;
  font-weight: 400;
  line-height: 1.6;
}

/* Trust Badges */
.trust-badges-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #FFFFFF;
}

.trust-badge-item svg {
  width: 18px;
  height: 18px;
  fill: var(--gold-metallic);
}

/* Hero CTA Buttons */
.hero-cta-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #F9E79F 0%, #D4AF37 50%, #B88A22 100%);
  color: var(--primary-dark);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 16px 36px;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: var(--transition);
}

.btn-primary-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.6);
  background: linear-gradient(135deg, #FFFFFF 0%, #F9E79F 40%, #D4AF37 100%);
}

.btn-outline-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid #FFFFFF;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 15px 34px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(5px);
  transition: var(--transition);
}

.btn-outline-hero:hover {
  background: #FFFFFF;
  color: var(--primary-navy);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   PAGE HERO (FOR SUBPAGES: about, services, forms, contact)
   ========================================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #0d3056 100%);
  position: relative;
  padding: 70px 0 60px;
  color: #FFFFFF;
  border-bottom: 3px solid var(--gold-metallic);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 450px;
  height: 100%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gold-light);
  margin-bottom: 15px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.page-breadcrumb a {
  color: #CBD5E1;
}

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

.page-hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.page-hero-subtitle {
  font-size: 1.15rem;
  color: #CBD5E1;
  line-height: 1.6;
}

/* ==========================================================================
   GENERIC SECTION WRAPPERS & HEADINGS
   ========================================================================== */
.section {
  padding: 80px 0;
}

.section-alt {
  background-color: var(--bg-slate);
}

.section-dark {
  background-color: var(--primary-navy);
  color: #FFFFFF;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-metallic);
  background: rgba(212, 175, 55, 0.12);
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 12px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 16px;
}

.section-dark .section-title {
  color: #FFFFFF;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.section-dark .section-description {
  color: #CBD5E1;
}

/* ==========================================================================
   SERVICES GRID (7 SERVICES SPECIFICATION)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.service-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-metallic);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 175, 55, 0.4);
}

.service-card:hover::before {
  height: 6px;
  background: linear-gradient(90deg, var(--emerald-green), var(--gold-metallic));
}

.service-icon-box {
  width: 62px;
  height: 62px;
  border-radius: var(--radius-sm);
  background: rgba(10, 37, 64, 0.05);
  border: 1px solid rgba(10, 37, 64, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--primary-navy);
  transition: var(--transition);
}

.service-card:hover .service-icon-box {
  background: var(--primary-navy);
  color: var(--gold-metallic);
  border-color: var(--gold-metallic);
}

.service-icon-box svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.service-card-media {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 30px;
  align-items: center;
}

.service-detail-img-box {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--border-gold);
  box-shadow: var(--shadow-md);
  height: 240px;
}

.service-detail-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-detail-img-box img {
  transform: scale(1.04);
}

@media (max-width: 900px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
  }
  .service-detail-img-box {
    height: 220px;
  }
}

.service-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary-navy);
}

.service-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-forms-pill {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--emerald-green);
  background: rgba(16, 124, 65, 0.08);
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 20px;
}

.service-card-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--primary-navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-card-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
  fill: var(--gold-metallic);
}

.service-card-link:hover {
  color: var(--gold-dark);
}

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

/* ==========================================================================
   FEATURE / IN-PERSON OFFICE BLOCK (DEER PARK, TX)
   ========================================================================== */
.office-feature-box {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #0d2f52 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  color: #FFFFFF;
  padding: 50px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.office-feature-text h3 {
  font-size: 2.2rem;
  color: #FFFFFF;
  margin-bottom: 18px;
}

.office-feature-text p {
  color: #CBD5E1;
  font-size: 1.05rem;
  margin-bottom: 25px;
}

.office-info-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.office-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.office-info-item svg {
  width: 22px;
  height: 22px;
  fill: var(--gold-metallic);
  flex-shrink: 0;
}

.office-feature-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border: 2px solid var(--gold-metallic);
}

.office-feature-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.office-feature-image:hover img {
  transform: scale(1.04);
}

/* ==========================================================================
   ABOUT PAGE ELEMENTS & PILLARS
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image-stack {
  position: relative;
}

.about-main-img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border-gold);
}

.experience-badge {
  position: absolute;
  bottom: -25px;
  right: -25px;
  background: var(--primary-navy);
  color: #FFFFFF;
  border: 2px solid var(--gold-metallic);
  padding: 24px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.experience-badge .years {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--gold-metallic);
  line-height: 1;
  display: block;
}

.experience-badge .label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.pillar-card {
  background: #FFFFFF;
  padding: 30px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.pillar-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-metallic);
  box-shadow: var(--shadow-md);
}

.pillar-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold-metallic);
  margin-bottom: 8px;
}

.pillar-card h4 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

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

/* Institutional Gratitude Message Box */
.gratitude-box {
  background: linear-gradient(135deg, rgba(16, 124, 65, 0.08) 0%, rgba(212, 175, 55, 0.12) 100%);
  border-left: 5px solid var(--gold-metallic);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 30px 35px;
  margin: 50px 0;
}

.gratitude-box blockquote {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-navy);
  font-style: italic;
  margin-bottom: 12px;
}

.gratitude-box cite {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold-dark);
  display: block;
}

/* ==========================================================================
   FORMS PAGE (ONLINE FORMS & CLIENT INTAKE)
   ========================================================================== */
.form-container-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  padding: 45px;
  max-width: 860px;
  margin: 0 auto;
}

.form-header-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 20px;
  margin-bottom: 35px;
}

.form-header-badge h3 {
  font-size: 1.6rem;
  color: var(--primary-navy);
}

.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--emerald-green);
  background: rgba(16, 124, 65, 0.1);
  padding: 6px 14px;
  border-radius: 20px;
}

.form-step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-circle {
  width: 28px;
  height: 28px;
  background: var(--primary-navy);
  color: var(--gold-metallic);
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 22px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background-color: #FFFFFF;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-navy);
  box-shadow: 0 0 0 3px rgba(10, 37, 64, 0.12);
}

/* File Upload Zone */
.file-dropzone {
  border: 2px dashed rgba(10, 37, 64, 0.3);
  background-color: var(--bg-slate);
  border-radius: var(--radius-md);
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.file-dropzone:hover,
.file-dropzone.dragover {
  border-color: var(--gold-metallic);
  background-color: rgba(212, 175, 55, 0.05);
}

.file-dropzone svg {
  width: 44px;
  height: 44px;
  fill: var(--primary-navy);
  margin: 0 auto 12px;
}

.file-dropzone-text {
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 6px;
}

.file-dropzone-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.file-list-preview {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.file-preview-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
}

/* Digital Signature Canvas */
.signature-wrapper {
  background: #FFFFFF;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 12px;
}

#signaturePad {
  width: 100%;
  height: 180px;
  background: #FAFAFA;
  border: 1px dashed #CBD5E1;
  border-radius: var(--radius-sm);
  cursor: crosshair;
  touch-action: none;
}

.signature-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.btn-clear-sig {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: #475569;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-clear-sig:hover {
  background: #E2E8F0;
  color: var(--primary-navy);
}

.sig-status {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Consent Checkbox */
.checkbox-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 25px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.checkbox-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--gold-metallic);
  cursor: pointer;
}

/* Submit Button */
.btn-submit-gold {
  width: 100%;
  background: linear-gradient(135deg, #F9E79F 0%, #D4AF37 50%, #B88A22 100%);
  color: var(--primary-dark);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 16px 24px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-submit-gold:hover {
  background: linear-gradient(135deg, #FFFFFF 0%, #F9E79F 40%, #D4AF37 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.5);
}

/* ==========================================================================
   CONTACT PAGE (CONTACT & APPOINTMENTS)
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
}

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

.contact-card-box {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.contact-card-box h4 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-card-box h4 svg {
  width: 22px;
  height: 22px;
  fill: var(--gold-metallic);
}

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

.contact-detail-row svg {
  width: 20px;
  height: 20px;
  fill: var(--primary-navy);
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-detail-row:last-child {
  margin-bottom: 0;
}

.contact-detail-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-detail-val {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-navy);
}

.contact-detail-val a:hover {
  color: var(--gold-dark);
}

/* Office Hours Highlight Box */
.hours-highlight-box {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #0d2e52 100%);
  border: 2px solid var(--gold-metallic);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-md);
}

.hours-highlight-box h4 {
  color: var(--gold-light);
  font-size: 1.25rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hours-highlight-box h4 svg {
  width: 22px;
  height: 22px;
  fill: var(--gold-metallic);
}

.hours-schedule {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
}

.hours-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hours-day {
  font-weight: 600;
  color: #CBD5E1;
}

.hours-time {
  font-weight: 700;
  color: #FFFFFF;
}

/* Map Section */
.map-container {
  margin-top: 40px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--border-gold);
  height: 380px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   FOOTER (CORPORATE & PRESTIGIOUS)
   ========================================================================== */
.main-footer {
  background-color: var(--primary-dark);
  color: #FFFFFF;
  padding: 70px 0 25px;
  border-top: 3px solid var(--gold-metallic);
  font-size: 0.92rem;
}

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

.footer-col h5 {
  color: var(--gold-metallic);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background-color: var(--gold-metallic);
}

.footer-brand-logo {
  height: 54px;
  width: auto;
  max-width: 240px;
  margin-bottom: 18px;
  object-fit: contain;
}

.footer-bio {
  color: #94A3B8;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Footer Links: strictly 5 links */
.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  color: #CBD5E1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-links-list a:hover {
  color: var(--gold-light);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #CBD5E1;
  margin-bottom: 14px;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  fill: var(--gold-metallic);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-item a:hover {
  color: var(--gold-light);
}

/* Disclaimer & Bottom Bar */
.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  font-size: 0.8rem;
  color: #64748B;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.82rem;
  color: #94A3B8;
}

/* WhatsApp Floating Action Pill */
.floating-whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25D366;
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 99;
  transition: var(--transition);
}

.floating-whatsapp svg {
  width: 24px;
  height: 24px;
  fill: #FFFFFF;
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.55);
}

/* ==========================================================================
   MODAL CONFIRMATION DIALOG (FOR FORM SUBMISSIONS)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 37, 64, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 2px solid var(--gold-metallic);
  box-shadow: var(--shadow-lg);
  max-width: 500px;
  width: 90%;
  padding: 35px 30px;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-icon-success {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(16, 124, 65, 0.12);
  color: var(--emerald-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.modal-icon-success svg {
  width: 36px;
  height: 36px;
  fill: currentColor;
}

.modal-title {
  font-size: 1.5rem;
  color: var(--primary-navy);
  margin-bottom: 12px;
}

.modal-message {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.modal-ref-code {
  font-family: var(--font-heading);
  background: var(--bg-slate);
  padding: 10px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 25px;
  border: 1px dashed var(--gold-metallic);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE-FIRST BREAKPOINTS)
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-menu {
    display: none; /* Handled by mobile drawer */
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .header-actions .btn-cta-gold {
    display: none;
  }

  .office-feature-box {
    grid-template-columns: 1fr;
    padding: 35px 25px;
  }

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

  .experience-badge {
    position: static;
    margin-top: 20px;
    display: inline-block;
  }

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

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

@media (max-width: 768px) {
  .top-bar-info {
    justify-content: center;
  }
  
  .top-bar .container {
    justify-content: center;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .brand-logo-img {
    height: 44px;
    max-width: 190px;
  }

  .form-container-card {
    padding: 25px 18px;
  }

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

  .floating-whatsapp span {
    display: none;
  }

  .floating-whatsapp {
    padding: 12px;
    border-radius: 50%;
  }
}
