/* ==========================================================================
   Capital Book Works - Redesigned Premium Styling System
   Color Palette: Midnight Deep, Metallic Gold Gradients, Warm Off-White
   ========================================================================== */

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

/* CSS Variables */
:root {
  --primary-dark: #070B19;       /* Deep Midnight */
  --secondary-dark: #0F172A;     /* Rich Slate Navy */
  --light-navy: #1E293B;         /* Slate Grey Dark */
  
  /* Metallic Gold Gradient & Accents */
  --accent-gold: #D4AF37;        /* Warm Gold */
  --accent-gold-light: #FAF8F2;  /* Light Gold Tint */
  --accent-gold-gradient: linear-gradient(135deg, #F6EACE 0%, #D4AF37 50%, #AC872B 100%);
  --accent-gold-glow: rgba(212, 175, 55, 0.4);
  
  --bg-light: #FAF9F6;           /* Alabaster Warm White */
  --bg-white: #FFFFFF;
  --text-dark: #1E293B;          /* Dark Slate Text */
  --text-muted: #64748B;         /* Muted Slate Text */
  --text-light: #F1F5F9;         /* Very Light Grey */
  
  --border-light: #E2E8F0;
  --border-gold: rgba(212, 175, 55, 0.18);
  
  /* Shadows */
  --shadow-sm: 0 4px 10px rgba(7, 11, 25, 0.02);
  --shadow-md: 0 12px 30px rgba(7, 11, 25, 0.05);
  --shadow-lg: 0 24px 50px rgba(7, 11, 25, 0.08);
  
  /* Radiuses */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1200px;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

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

ul {
  list-style: none;
}

input, textarea, select, button {
  font-family: inherit;
  font-size: inherit;
}

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

.section {
  padding: 7rem 0;
  position: relative;
}

.section-bg-alt {
  background-color: var(--bg-white);
  border-top: 1px solid rgba(7, 11, 25, 0.03);
  border-bottom: 1px solid rgba(7, 11, 25, 0.03);
}

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

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

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

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3.5rem; }

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  letter-spacing: -0.01em;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-gold-gradient);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.section-title.left::after {
  margin: 0.75rem 0 0;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-navy .section-subtitle {
  color: var(--text-light);
  opacity: 0.8;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.25rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--accent-gold-gradient);
  color: var(--primary-dark);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.45);
  background: linear-gradient(135deg, #FFFFFF 0%, #D4AF37 100%);
}

.btn-secondary {
  background-color: var(--primary-dark);
  color: var(--bg-white);
  border-color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
}

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

.btn-outline-gold {
  background-color: transparent;
  color: var(--accent-gold);
  border: 2px solid var(--accent-gold);
}

.btn-outline-gold:hover {
  background: var(--accent-gold-gradient);
  color: var(--primary-dark);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--bg-white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
  background-color: var(--bg-white);
  color: var(--primary-dark);
  border-color: var(--bg-white);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.btn-group {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Header & Floating Navigation */
.header {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
  max-width: var(--max-width);
  border-radius: var(--radius-md);
  background: rgba(7, 11, 25, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.15);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  z-index: 1000;
}

.header.scrolled {
  top: 0.5rem;
  width: calc(100% - 1.5rem);
  background: rgba(7, 11, 25, 0.95);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 175, 55, 0.25);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 74px;
  padding: 0 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--bg-white);
}

.logo span {
  background: var(--accent-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--accent-gold);
}

.logo-icon {
  width: 30px;
  height: 30px;
  stroke: var(--accent-gold);
  stroke-width: 2.5;
  fill: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold-gradient);
  transition: var(--transition);
}

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

.nav-btn {
  margin-left: 0.5rem;
}

.nav-btn .btn {
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--bg-white);
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* Page Hero Header (Inner Pages) */
.inner-hero {
  background-color: var(--primary-dark);
  color: var(--bg-white);
  padding: 11rem 0 6rem;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--accent-gold);
}

.inner-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.inner-hero-title {
  font-size: 3.25rem;
  margin-bottom: 1rem;
  color: var(--bg-white);
  letter-spacing: -0.02em;
}

.breadcrumbs {
  display: flex;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
  opacity: 0.8;
}

.breadcrumbs a {
  color: var(--accent-gold);
}

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

/* Home Hero Section */
.hero-home {
  background-color: var(--primary-dark);
  color: var(--bg-white);
  padding: 14rem 0 9rem;
  position: relative;
  overflow: hidden;
}

/* glowing Mesh gradients in Hero */
.hero-home::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, rgba(7, 11, 25, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
}

.hero-home::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(30, 41, 59, 0.5) 0%, rgba(7, 11, 25, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 5rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.75rem;
  color: var(--bg-white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero-content h1 span {
  background: var(--accent-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--accent-gold);
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-light);
  opacity: 0.9;
  margin-bottom: 2.25rem;
  line-height: 1.75;
}

.hero-bullets {
  margin-bottom: 2.75rem;
}

.hero-bullet-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.85rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--bg-white);
}

.hero-bullet-icon {
  width: 22px;
  height: 22px;
  stroke: var(--accent-gold);
  stroke-width: 3;
  fill: none;
  flex-shrink: 0;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-gold);
  background-color: var(--secondary-dark);
}

.hero-image-frame::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 30px rgba(212, 175, 55, 0.15);
  pointer-events: none;
}

.hero-image-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: var(--transition);
}

.hero-image-frame:hover img {
  transform: scale(1.04);
}

.hero-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background-color: var(--bg-white);
  color: var(--primary-dark);
  padding: 1.35rem 2.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 5px solid var(--accent-gold);
  z-index: 5;
  border: 1px solid rgba(7, 11, 25, 0.05);
  border-left: 5px solid var(--accent-gold);
}

.hero-badge-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent-gold);
  background: var(--accent-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-badge-subtitle {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Stats Section */
.stats-strip {
  background-color: var(--bg-white);
  padding: 3.5rem 0;
  margin-top: -3.5rem;
  position: relative;
  z-index: 10;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(7, 11, 25, 0.02);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stats-item {
  border-right: 1px solid var(--border-light);
}

.stats-item:last-child {
  border-right: none;
}

.stats-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--accent-gold);
  background: var(--accent-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.35rem;
}

.stats-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Section: About Intro */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-intro-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

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

/* Grid & Cards (Services, Why Choose Us, Industries) */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.card {
  background-color: var(--bg-white);
  border: 1px solid rgba(7, 11, 25, 0.05);
  border-radius: var(--radius-md);
  padding: 3rem 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-gold-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

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

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

.card-icon-container {
  width: 64px;
  height: 64px;
  background-color: var(--accent-gold-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  color: var(--accent-gold);
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.card-icon {
  width: 34px;
  height: 34px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--accent-gold);
}

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

.card-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  transition: var(--transition);
}

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

/* Why Choose Us Section */
.why-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 5rem;
  align-items: center;
}

.why-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.why-feature-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2.25rem 2rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.why-feature-card:hover {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: var(--accent-gold);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.why-feature-icon {
  width: 38px;
  height: 38px;
  stroke: var(--accent-gold);
  stroke-width: 2.2;
  fill: none;
  margin-bottom: 1.25rem;
}

.why-feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: var(--bg-white);
}

.why-feature-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  opacity: 0.8;
  line-height: 1.55;
}

/* Process Section */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 12%;
  width: 76%;
  height: 2px;
  background-color: var(--border-light);
  z-index: 1;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 2;
}

.process-step-num {
  width: 66px;
  height: 66px;
  background-color: var(--bg-white);
  border: 3px solid var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.75rem;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.process-step:hover .process-step-num {
  background: var(--accent-gold-gradient);
  border-color: transparent;
  color: var(--primary-dark);
  transform: scale(1.12);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35);
}

.process-step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* FAQ Section */
.faq-container {
  max-width: 850px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 1.75rem;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.faq-question svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent-gold);
  stroke-width: 2.5;
  fill: none;
  transition: var(--transition);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.75rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding-bottom: 1.75rem;
  transition: max-height 0.35s cubic-bezier(1, 0, 1, 0);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

/* Contact Page / Section Details */
.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.contact-info {
  background-color: var(--primary-dark);
  color: var(--bg-white);
  padding: 3.5rem;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--accent-gold);
}

.contact-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 90% 90%, rgba(212, 175, 55, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.contact-info h3 {
  color: var(--bg-white);
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.contact-info-list {
  margin-bottom: 2.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-info-icon-container {
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-info-icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.contact-info-text h4 {
  font-size: 0.85rem;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.contact-info-text p, .contact-info-text a {
  font-size: 1.05rem;
  color: var(--text-light);
  opacity: 0.9;
}

.contact-info-text a:hover {
  color: var(--accent-gold);
  opacity: 1;
}

.contact-form-wrapper {
  background-color: var(--bg-white);
  border: 1px solid rgba(7, 11, 25, 0.04);
  padding: 3.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.form-title {
  font-size: 1.95rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.form-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-full-width {
  grid-column: span 2;
}

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

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--border-light);
  background-color: #F8FAFC;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  color: var(--text-dark);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-gold);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}

.form-error-msg {
  color: #DC2626;
  font-size: 0.8rem;
  margin-top: 0.35rem;
  display: none;
}

.form-group.has-error .form-control {
  border-color: #DC2626;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

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

/* Success Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(7, 11, 25, 0.88);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

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

.modal-content {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 3.5rem;
  max-width: 520px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-gold);
  border-top: 6px solid var(--accent-gold);
  transform: scale(0.9);
  transition: var(--transition);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-icon {
  width: 68px;
  height: 68px;
  stroke: var(--accent-gold);
  stroke-width: 2.5;
  fill: none;
  margin: 0 auto 1.75rem;
  background-color: var(--accent-gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-title {
  font-size: 1.95rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

.modal-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2.25rem;
}

/* Detailed Pages Styling (About, Services, Industries, Legal) */
.lead-text {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 900px;
  margin-bottom: 3rem;
}

.about-vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
  margin: 4.5rem 0;
}

.vision-card {
  background-color: var(--bg-white);
  border: 1px solid rgba(7, 11, 25, 0.04);
  padding: 3rem 2.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.vision-card h3 {
  color: var(--accent-gold);
  font-size: 1.35rem;
  margin-bottom: 1.15rem;
}

.services-list-detail {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.service-detail-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 5rem;
  align-items: center;
}

.service-detail-row:nth-child(even) {
  grid-template-columns: 1.15fr 1fr;
}

.service-detail-row:nth-child(even) .service-detail-img-wrap {
  order: 2;
}

.service-detail-row:nth-child(even) .service-detail-text {
  order: 1;
}

.service-detail-img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  background-color: var(--bg-white);
}

.service-detail-text h3 {
  font-size: 1.95rem;
  margin-bottom: 1.35rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.service-detail-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* Call to Action Banner */
.cta-banner {
  background-color: var(--primary-dark);
  color: var(--bg-white);
  padding: 6.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--accent-gold);
  border-bottom: 4px solid var(--accent-gold);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: 2.65rem;
  margin-bottom: 1.25rem;
  color: var(--bg-white);
  letter-spacing: -0.01em;
}

.cta-banner p {
  font-size: 1.15rem;
  color: var(--text-light);
  opacity: 0.9;
  max-width: 650px;
  margin: 0 auto 2.25rem;
}

/* Legal Documents layout */
.legal-layout {
  background-color: var(--bg-white);
  border: 1px solid rgba(7, 11, 25, 0.03);
  border-radius: var(--radius-md);
  padding: 5rem 4.5rem;
  box-shadow: var(--shadow-sm);
  max-width: 950px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.6rem;
  margin: 2.75rem 0 1.15rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.6rem;
}

.legal-content p {
  color: var(--text-muted);
  margin-bottom: 1.35rem;
  font-size: 1.02rem;
  line-height: 1.7;
}

.legal-content ul {
  list-style: disc;
  margin-left: 2rem;
  margin-bottom: 1.75rem;
  color: var(--text-muted);
}

.legal-content li {
  margin-bottom: 0.6rem;
}

/* Footer styling */
.footer {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 6rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 0.9fr;
  gap: 5rem;
  margin-bottom: 4.5rem;
}

.footer-brand h3 {
  color: var(--bg-white);
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-brand h3 span {
  background: var(--accent-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--accent-gold);
}

.footer-brand p {
  font-size: 0.98rem;
  color: var(--text-light);
  opacity: 0.75;
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.35rem;
}

.footer-links h4, .footer-contact h4 {
  color: var(--accent-gold);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.75rem;
  font-weight: 700;
}

.footer-links-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.footer-links-list a {
  font-size: 0.98rem;
  opacity: 0.75;
}

.footer-links-list a:hover {
  opacity: 1;
  color: var(--accent-gold);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  font-size: 0.98rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent-gold);
  stroke-width: 2.2;
  fill: none;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.footer-contact-item a {
  opacity: 0.8;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  opacity: 0.7;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-legal-links {
  display: flex;
  gap: 1.75rem;
}

.footer-legal-links a:hover {
  color: var(--accent-gold);
  text-decoration: underline;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .header {
    width: calc(100% - 2rem);
    top: 1rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .hero-content {
    text-align: center;
  }
  .hero-content h1 {
    font-size: 3.25rem;
  }
  .hero-bullets {
    display: inline-block;
    text-align: left;
  }
  .hero-bullets .hero-bullet-item {
    justify-content: flex-start;
  }
  .btn-group {
    justify-content: center;
  }
  .hero-image-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }
  .hero-badge {
    left: 0;
    bottom: -15px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  .stats-item:nth-child(2) {
    border-right: none;
  }
  .about-intro-grid, .why-grid, .contact-layout {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .about-intro-image {
    max-width: 550px;
    margin: 0 auto;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3.5rem;
  }
  .process-grid::before {
    display: none;
  }
  .service-detail-row, .service-detail-row:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .service-detail-row:nth-child(even) .service-detail-img-wrap {
    order: 0;
  }
  .service-detail-row:nth-child(even) .service-detail-text {
    order: 0;
  }
  .about-vision-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header {
    background-color: var(--primary-dark);
    border-radius: 0;
    width: 100%;
    top: 0;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .header.scrolled {
    width: 100%;
    top: 0;
    border-radius: 0;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 74px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 74px);
    background-color: var(--primary-dark);
    flex-direction: column;
    align-items: center;
    padding-top: 3.5rem;
    gap: 2.75rem;
    transition: var(--transition);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-menu.active {
    left: 0;
  }
  .nav-btn {
    margin-left: 0;
    width: 80%;
  }
  .nav-btn .btn {
    width: 100%;
    padding: 0.9rem 2.25rem;
    font-size: 0.95rem;
  }
  .hero-content h1 {
    font-size: 2.75rem;
  }
  .section {
    padding: 5rem 0;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .stats-item {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1.75rem;
  }
  .stats-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .why-features {
    grid-template-columns: 1fr;
  }
  .contact-form-wrapper {
    padding: 2.5rem 1.75rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-full-width {
    grid-column: span 1;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-bottom {
    flex-direction: column-reverse;
    text-align: center;
  }
  .footer-legal-links {
    justify-content: center;
    flex-wrap: wrap;
  }
  .legal-layout {
    padding: 3rem 2rem;
  }
  .inner-hero-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
  .btn-group {
    flex-direction: column;
    width: 100%;
  }
  .btn-group .btn {
    width: 100%;
  }
}
