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

:root {
  /* Color Palette */
  --color-white: #FFFFFF;
  --color-deep-blue: #1E3A5F;
  --color-light-blue: #4F8CFF;
  --color-light-blue-muted: rgba(79, 140, 255, 0.1);
  --color-light-blue-contrast: #93C5FD;
  --color-charcoal: #1F1F1F;
  
  /* Additional UI helper colors */
  --color-bg-light: #E6EFFC;
  --color-border: #E5E9F0;
  --color-text-muted: #5A6E85;
  --color-gradient-blue: linear-gradient(135deg, #1E3A5F 0%, #0F1E33 100%);
  --color-gradient-accent: linear-gradient(135deg, #4F8CFF 0%, #1E3A5F 100%);

  /* Fonts */
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout and Spacing */
  --container-max-width: 1200px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  
  --shadow-sm: 0 2px 4px rgba(30, 58, 95, 0.04);
  --shadow-md: 0 10px 20px rgba(30, 58, 95, 0.06);
  --shadow-lg: 0 20px 40px rgba(30, 58, 95, 0.1);
  --shadow-accent: 0 8px 24px rgba(79, 140, 255, 0.25);
  
  /* Header & Footer specific variables */
  --color-header-bg: rgba(255, 255, 255, 0.85);
  --color-header-bg-scrolled: rgba(255, 255, 255, 0.95);
  --color-header-border: rgba(229, 233, 240, 0.8);
  --color-footer-bg: #1F1F1F;
}

[data-theme="dark"] {
  --color-white: #0B132B;
  --color-deep-blue: #F8FAFC;
  --color-light-blue-muted: rgba(147, 197, 253, 0.1);
  --color-charcoal: #E2E8F0;
  --color-bg-light: #1C2541;
  --color-border: #3A506B;
  --color-text-muted: #94A3B8;
  --color-gradient-blue: linear-gradient(135deg, #0B132B 0%, #050A18 100%);
  --color-gradient-accent: linear-gradient(135deg, #93C5FD 0%, #1C2541 100%);
  
  /* Dark theme overrides */
  --color-header-bg: rgba(11, 19, 43, 0.85);
  --color-header-bg-scrolled: rgba(11, 19, 43, 0.95);
  --color-header-border: rgba(58, 80, 107, 0.8);
  --color-footer-bg: #050A18;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--color-charcoal);
  background-color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-deep-blue);
}

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

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

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* Section Common Styling */
section {
  padding: 7rem 0;
  position: relative;
}

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

.section-bg-dark {
  background: var(--color-gradient-blue);
  color: #FFFFFF;
}

.section-bg-dark h1,
.section-bg-dark h2,
.section-bg-dark h3,
.section-bg-dark h4 {
  color: #FFFFFF;
}

.section-bg-gradient-blue {
  background: linear-gradient(135deg, #E6EFFC 0%, #F5F9FF 100%);
  color: var(--color-charcoal);
  position: relative;
  overflow: hidden;
}

.section-bg-gradient-blue::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 80%, rgba(79, 140, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

[data-theme="dark"] .section-bg-gradient-blue {
  background: linear-gradient(135deg, #1C2541 0%, #0B132B 100%);
}

[data-theme="dark"] .section-bg-gradient-blue::before {
  background: radial-gradient(circle at 20% 80%, rgba(147, 197, 253, 0.05) 0%, transparent 60%);
}

.section-title-wrapper {
  margin-bottom: 4rem;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.subtitle {
  font-family: var(--font-headings);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-light-blue);
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

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

.section-bg-dark .section-description {
  color: rgba(255, 255, 255, 0.7);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--color-header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-header-border);
  transition: var(--transition-normal);
}

header.scrolled {
  padding: 0.75rem 0;
  box-shadow: var(--shadow-sm);
  background-color: var(--color-header-bg-scrolled);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  transition: var(--transition-normal);
}

header.scrolled .container {
  height: 60px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-deep-blue);
}

.logo span {
  color: var(--color-light-blue);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-charcoal);
  position: relative;
  padding: 0.25rem 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-light-blue);
  transition: var(--transition-normal);
}

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

.cta-button {
  background-color: var(--color-deep-blue);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--color-deep-blue);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.cta-button:hover {
  background-color: var(--color-light-blue);
  border-color: var(--color-light-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.cta-button.secondary {
  background-color: transparent;
  color: var(--color-deep-blue);
  border: 2px solid var(--color-deep-blue);
  box-shadow: none;
}

.cta-button.secondary:hover {
  background-color: var(--color-deep-blue);
  color: var(--color-white);
}

.cta-button.white {
  background-color: var(--color-white);
  color: var(--color-deep-blue);
  border-color: var(--color-white);
}

.cta-button.white:hover {
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

/* Theme Toggle Button */
.theme-toggle {
  background: none;
  border: none;
  color: var(--color-deep-blue);
  cursor: pointer;
  padding: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-fast);
  outline: none;
}

.theme-toggle:hover {
  background-color: var(--color-light-blue-muted);
  color: var(--color-light-blue);
  transform: scale(1.08);
}

.theme-toggle svg {
  transition: transform var(--transition-fast);
}

.theme-toggle:active svg {
  transform: rotate(45deg) scale(0.9);
}

/* Toggle Sun/Moon icons depending on active theme */
.theme-toggle .sun-icon {
  display: none;
}

.theme-toggle .moon-icon {
  display: block;
}

[data-theme="dark"] .theme-toggle .sun-icon {
  display: block;
}

[data-theme="dark"] .theme-toggle .moon-icon {
  display: none;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-deep-blue);
  position: absolute;
  left: 0;
  transition: var(--transition-normal);
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 11px; }
.menu-toggle span:nth-child(3) { top: 22px; }

.menu-toggle.active span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* Hero Section */
.hero {
  padding-top: 11rem;
  padding-bottom: 8rem;
  background: linear-gradient(to bottom, rgba(230, 239, 252, 0.3) 0%, rgba(255, 255, 255, 0.75) 100%), url('../hero-bg-light.jpg') no-repeat center center / cover;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: background var(--transition-normal);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--color-charcoal);
  transition: color var(--transition-normal);
}

.hero-title span {
  background: var(--color-gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.hero-text {
  font-size: clamp(1.1rem, 2.5vw, 1.25rem);
  color: var(--color-text-muted);
  max-width: 760px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
  transition: color var(--transition-normal);
}

/* Dark theme overrides for Hero */
[data-theme="dark"] .hero {
  background: linear-gradient(to bottom, rgba(11, 19, 43, 0.8) 0%, rgba(5, 10, 24, 0.95) 100%), url('../hero-bg-dark.jpg') no-repeat center center / cover;
}

[data-theme="dark"] .hero-title {
  color: #FFFFFF;
}

[data-theme="dark"] .hero-text {
  color: rgba(255, 255, 255, 0.75);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Animated graphic component in Hero */
.hero-graphic {
  position: relative;
  width: 100%;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.graphic-container {
  width: 320px;
  height: 320px;
  position: relative;
}

.graphic-circle {
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.circle-outer {
  width: 320px;
  height: 320px;
  border: 1px dashed rgba(30, 58, 95, 0.15);
  animation: rotateClockwise 40s linear infinite;
}

.circle-mid {
  width: 240px;
  height: 240px;
  border: 1px solid rgba(79, 140, 255, 0.25);
  animation: rotateCounterClockwise 25s linear infinite;
}

.circle-inner {
  width: 160px;
  height: 160px;
  background: var(--color-gradient-blue);
  box-shadow: var(--shadow-lg);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #FFFFFF;
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 0.05em;
}

.circle-inner::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 8px solid rgba(79, 140, 255, 0.15);
  animation: pulseGlow 3s ease-in-out infinite;
}

.graphic-node {
  position: absolute;
  width: 48px;
  height: 48px;
  background-color: var(--color-white);
  border: 2px solid var(--color-light-blue);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-deep-blue);
}

.node-1 { top: -20px; left: calc(50% - 24px); }
.node-2 { bottom: 40px; left: -20px; }
.node-3 { bottom: 40px; right: -20px; }

/* Grid / Flex Layouts */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(79, 140, 255, 0.4);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background-color: var(--color-light-blue-muted);
  color: var(--color-light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: var(--transition-normal);
}

.service-card:hover .card-icon {
  background-color: var(--color-light-blue);
  color: var(--color-white);
  transform: scale(1.05);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

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

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-light-blue);
  transition: var(--transition-fast);
}

.learn-more svg {
  transition: var(--transition-fast);
}

.learn-more:hover {
  color: var(--color-deep-blue);
}

.learn-more:hover svg {
  transform: translateX(4px);
}

/* Quote/Slogan Section */
.slogan-section {
  text-align: center;
  background: var(--color-gradient-blue);
  color: #FFFFFF;
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.slogan-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 80%, rgba(79, 140, 255, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.slogan-content {
  max-width: 850px;
  margin: 0 auto;
}

.slogan-section .subtitle {
  color: var(--color-light-blue-contrast);
}

.slogan-title {
  color: #FFFFFF;
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 2rem;
}

/* About Grid - 6 Pillars */
.about-pillars-intro {
  margin-bottom: 4rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--color-deep-blue);
  transition: var(--transition-normal);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(79, 140, 255, 0.2);
}

.pillar-card:hover::before {
  background-color: var(--color-light-blue);
  width: 6px;
}

.pillar-number {
  font-family: var(--font-headings);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(30, 58, 95, 0.08);
  line-height: 1;
  margin-bottom: 0.5rem;
  transition: var(--transition-normal);
}

.pillar-card:hover .pillar-number {
  color: rgba(79, 140, 255, 0.18);
}

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

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

/* Contact Grid & Map components */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: start;
}

.contact-info-panel {
  background: var(--color-gradient-blue);
  color: var(--color-white);
  padding: 4rem 3rem;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.contact-info-panel h3 {
  color: #FFFFFF;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.contact-info-panel .section-description {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 3rem;
}

.info-details {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.info-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-light-blue);
}

.info-text h4 {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.info-text p, .info-text a {
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 500;
  overflow-wrap: break-word;
  word-break: break-word;
}

.info-text a:hover {
  color: var(--color-light-blue);
}

.incorporation-box {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

/* Contact Form */
.contact-form-wrapper {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 4rem 3.5rem;
  box-shadow: var(--shadow-md);
}

.contact-form-wrapper h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.contact-form-wrapper p {
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
}

.form-group {
  margin-bottom: 1.75rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-deep-blue);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.2rem;
  border: 1.5px solid var(--color-border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-charcoal);
  background-color: var(--color-bg-light);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  background-color: var(--color-white);
  border-color: var(--color-light-blue);
  box-shadow: 0 0 0 4px rgba(79, 140, 255, 0.15);
}

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

.form-submit-btn {
  width: 100%;
  justify-content: center;
  padding: 1rem;
  margin-top: 1rem;
}

.form-feedback {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 6px;
  font-size: 0.95rem;
  display: none;
}

.form-feedback.success {
  display: block;
  background-color: rgba(34, 197, 94, 0.1);
  color: #15803d;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-feedback.error {
  display: block;
  background-color: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Styled Map / Graphic in Contact page */
.office-map-visual {
  margin-top: 3rem;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  height: 280px;
  background: radial-gradient(circle at 50% 50%, rgba(79, 140, 255, 0.08) 0%, transparent 70%), var(--color-bg-light);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-grid-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(30, 58, 95, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 58, 95, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
}

.map-location-marker {
  position: relative;
  z-index: 2;
  text-align: center;
}

.marker-point {
  width: 20px;
  height: 20px;
  background-color: var(--color-light-blue);
  border: 4px solid var(--color-white);
  border-radius: 50%;
  box-shadow: var(--shadow-accent);
  margin: 0 auto;
  position: relative;
}

.marker-point::after {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  width: 32px;
  height: 32px;
  border: 2px solid var(--color-light-blue);
  border-radius: 50%;
  animation: pulseGlow 2s infinite;
}

.marker-label {
  margin-top: 0.75rem;
  background-color: var(--color-deep-blue);
  color: var(--color-white);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-family: var(--font-headings);
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

/* Footer Section */
footer {
  background-color: var(--color-footer-bg);
  color: rgba(255, 255, 255, 0.75);
  padding: 5rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(2, 0.8fr);
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo-col p {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-col-title {
  font-family: var(--font-headings);
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.footer-links a:hover {
  color: var(--color-light-blue);
  transform: translateX(2px);
  display: inline-block;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

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

/* Scroll Animation Classes */
.reveal {
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

/* Service Detail Page Layout */
.services-detail-intro {
  padding-top: 10rem;
  padding-bottom: 4rem;
  background: radial-gradient(circle at 10% 20%, rgba(79, 140, 255, 0.05) 0%, transparent 40%);
}

.services-list-container {
  padding: 4rem 0 8rem;
}

.service-detail-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  margin-bottom: 8rem;
}

.service-detail-block:last-child {
  margin-bottom: 0;
}

.service-detail-block:nth-child(even) {
  direction: rtl;
}

.service-detail-block:nth-child(even) .service-detail-content {
  direction: ltr;
}

.service-detail-block:nth-child(even) .service-detail-visual {
  direction: ltr;
}

.service-detail-content h2 {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.service-detail-content .service-long-desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.service-key-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.service-key-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 1rem;
}

.feature-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--color-light-blue-muted);
  color: var(--color-light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.service-detail-visual {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  height: 380px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-visual-grid {
  width: 70%;
  height: 70%;
  border: 1px dashed rgba(30, 58, 95, 0.12);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-node-center {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  background: var(--color-gradient-accent);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: var(--shadow-accent);
}

.visual-ring-animation {
  position: absolute;
  width: 130px;
  height: 130px;
  border: 2px solid rgba(79, 140, 255, 0.15);
  border-radius: 50%;
  animation: pulseGlow 4s infinite;
}

/* About Page Specific Layout */
.about-hero {
  padding-top: 11rem;
  padding-bottom: 6rem;
  background: radial-gradient(circle at 90% 10%, rgba(30, 58, 95, 0.05) 0%, transparent 45%);
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin-bottom: 6rem;
  align-items: start;
}

.about-intro-left h2 {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
}

.about-intro-right p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.firm-stat-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 3rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-top: 4rem;
}

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

.stat-val {
  font-family: var(--font-headings);
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-light-blue);
  line-height: 1;
}

.stat-lbl {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-deep-blue);
  margin-top: 0.5rem;
}

/* Legal Pages Styling */
.legal-container {
  padding-top: 10rem;
  padding-bottom: 8rem;
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.legal-meta {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1rem;
}

.legal-body h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
}

.legal-body p {
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.legal-body ul {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.legal-body li {
  margin-bottom: 0.5rem;
}

/* Keyframes animations */
@keyframes rotateClockwise {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rotateCounterClockwise {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes pulseGlow {
  0% { transform: scale(0.95); opacity: 0.5; }
  50% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.5; }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-graphic {
    height: 300px;
  }
  
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .service-detail-block {
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 6rem;
  }
  
  .service-detail-block:nth-child(even) {
    direction: ltr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding: 5rem 0;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background-color: var(--color-bg-light);
    border-left: 1px solid var(--color-border);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 3rem;
    gap: 2rem;
    transition: var(--transition-normal);
    z-index: 1000;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .header-actions {
    display: none;
  }
  
  .nav-menu .cta-button {
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
  }
  
  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .firm-stat-box {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-info-panel {
    padding: 3rem 1.5rem;
  }
  
  .contact-form-wrapper {
    padding: 2.5rem 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
