/* =========================================
   Executive Measures Limited - Premium International Design
   Sophisticated · Modern · World-Class
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Premium Color Palette - Navy & Burgundy */
  --accent: #700416;
  --accent-light: #8b1538;
  --accent-dark: #4a0310;
  --navy: #04224c;
  --navy-light: #0a3a7a;
  --navy-medium: #152238;
  --burgundy: #700416;
  --burgundy-light: #8b1538;
  --charcoal: #1a1a1a;

  /* Neutral Tones */
  --white: #ffffff;
  --off-white: #fafbfc;
  --silver: #e8eaed;
  --platinum: #d4d7dc;
  --slate: #5a6474;
  --graphite: #3a3a3a;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #04224c 0%, #0a3a7a 35%, #04224c 65%, #021630 100%);
  --gradient-accent: linear-gradient(135deg, #700416 0%, #8b1538 50%, #700416 100%);
  --gradient-dark: linear-gradient(180deg, #04224c 0%, #021630 100%);
  --gradient-overlay: linear-gradient(135deg, rgba(4, 34, 76, 0.95) 0%, rgba(10, 58, 122, 0.9) 100%);
  --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 251, 252, 1) 100%);

  /* Shadows */
  --shadow-subtle: 0 2px 8px rgba(4, 34, 76, 0.04);
  --shadow-card: 0 4px 20px rgba(4, 34, 76, 0.08);
  --shadow-hover: 0 12px 40px rgba(4, 34, 76, 0.12);
  --shadow-glow: 0 0 60px rgba(112, 4, 22, 0.15);
  --shadow-accent: 0 4px 30px rgba(112, 4, 22, 0.25);

  /* Typography */
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;

  /* Spacing */
  --section-padding: 120px;
  --container-max: 1320px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   Base Styles
   ========================================= */

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--off-white);
  color: var(--graphite);
  line-height: 1.75;
  font-size: 16px;
  font-weight: 400;
  overflow-x: hidden;
}

::selection {
  background: var(--accent);
  color: var(--navy);
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  margin-bottom: 1.5rem;
  color: var(--slate);
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--accent-dark);
}

/* =========================================
   Header & Navigation
   ========================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 165, 92, 0.1);
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(10, 22, 40, 0.99);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

/* Logo - Made More Visible */
.site-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.site-logo img {
  height: 70px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.3) contrast(1.1);
  transition: var(--transition-fast);
}

.site-logo:hover img {
  filter: brightness(1.4) contrast(1.1);
  transform: scale(1.02);
}

/* Navigation - Centered */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.5rem;
  justify-content: center;
}

.main-nav a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-radius: 6px;
  transition: var(--transition-fast);
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transform: translateX(-50%);
  transition: var(--transition-fast);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
  background: rgba(201, 165, 92, 0.15);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 24px;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  width: 26px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* =========================================
   Hero Section
   ========================================= */

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  background-image: url('../images/hero-bg.png');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 60px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(4, 34, 76, 0.85) 0%, rgba(112, 4, 22, 0.75) 100%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--off-white) 0%, transparent 100%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 1.25rem;
  line-height: 1.3;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero h1 span {
  color: var(--white);
  font-weight: 700;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  max-width: 720px;
  margin: 0 auto 2rem;
  line-height: 1.75;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-cta .btn {
  padding: 0.85rem 1.75rem;
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

/* =========================================
   Buttons
   ========================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--navy);
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(201, 165, 92, 0.35);
  color: var(--navy);
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-card);
}

.btn-dark:hover {
  background: var(--navy-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  color: var(--white);
}

/* =========================================
   Sections
   ========================================= */

.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-dark {
  background: var(--gradient-hero);
  color: var(--white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.75);
}

.section-heading {
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
}

.section-heading::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gradient-accent);
  margin: 1.5rem auto 0;
  border-radius: 2px;
}

.section-subheading {
  text-align: center;
  color: var(--slate);
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 4rem;
}

.section-dark .section-subheading {
  color: rgba(255, 255, 255, 0.7);
}

/* =========================================
   Cards
   ========================================= */

.card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(228, 231, 236, 0.6);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-smooth);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(201, 165, 92, 0.2);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(201, 165, 92, 0.1) 0%, rgba(201, 165, 92, 0.05) 100%);
  border-radius: 12px;
  margin-bottom: 1.5rem;
  color: var(--accent-dark);
  font-size: 1.75rem;
}

.card h3 {
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.card p {
  color: var(--slate);
  margin-bottom: 0;
  line-height: 1.7;
}

/* =========================================
   Services Grid
   ========================================= */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  border: 1px solid rgba(228, 231, 236, 0.5);
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-hover);
}

.service-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.service-card:hover .service-card-image img {
  transform: scale(1.08);
}

.service-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.8) 0%, transparent 60%);
}

.service-card-body {
  padding: 2rem;
}

.service-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.service-card .btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
}

/* Services List Inline (used in services.php) */
.services-list-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.services-list-inline span {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(201, 165, 92, 0.1);
  border: 1px solid rgba(201, 165, 92, 0.3);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent-dark);
  transition: var(--transition-fast);
}

.services-list-inline span:hover {
  background: rgba(201, 165, 92, 0.2);
  transform: translateY(-2px);
}

/* Service Image (alternate style for services.php) */
.service-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.service-card:hover .service-image img {
  transform: scale(1.08);
}

/* Service Body */
.service-body {
  padding: 2rem;
}

.service-body h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  color: var(--navy);
}

.service-body p {
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Service Link */
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.service-link:hover {
  color: var(--navy);
  gap: 0.75rem;
}

.service-link::after {
  content: '→';
}

/* Section Header (used in pages) */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h1,
.section-header h2 {
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-header h1::after,
.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gradient-accent);
  margin: 1rem auto 0;
  border-radius: 2px;
}

.section-header p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--slate);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* =========================================
   Blog Cards
   ========================================= */

.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(228, 231, 236, 0.5);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(201, 165, 92, 0.3);
}

.blog-card h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-card h2 a {
  color: var(--navy);
  transition: var(--transition-fast);
}

.blog-card h2 a:hover {
  color: var(--accent-dark);
}

.blog-meta {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-dark);
  background: rgba(201, 165, 92, 0.1);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.blog-excerpt {
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.7;
  flex-grow: 1;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 1rem;
  transition: var(--transition-fast);
}

.blog-read-more:hover {
  color: var(--accent-dark);
  gap: 0.75rem;
}

/* Single Blog */
.blog-single {
  max-width: 800px;
  margin: 0 auto;
}

.blog-single h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.blog-single .blog-meta {
  margin-bottom: 2rem;
}

.blog-featured-image {
  margin: 2rem 0 3rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.blog-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-single h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--silver);
}

.blog-single p {
  font-size: 1.05rem;
  line-height: 1.85;
}

.blog-tags {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--silver);
}

.blog-tags-title {
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1rem;
}

.blog-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.blog-tag {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  background: var(--off-white);
  border: 1px solid var(--silver);
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--slate);
  transition: var(--transition-fast);
}

.blog-tag:hover {
  background: rgba(201, 165, 92, 0.1);
  border-color: var(--accent);
  color: var(--accent-dark);
}

/* =========================================
   About Section
   ========================================= */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-hover);
}

.about-image::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: 2rem;
  right: -2rem;
  bottom: -2rem;
  background: var(--gradient-accent);
  border-radius: 20px;
  z-index: -1;
  opacity: 0.2;
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content p {
  font-size: 1.05rem;
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin: 4rem 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--slate);
  font-weight: 500;
}

/* =========================================
   Contact Section
   ========================================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-info h2 {
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 165, 92, 0.1);
  border-radius: 12px;
  color: var(--accent-dark);
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-item p {
  margin-bottom: 0;
  color: var(--slate);
}

/* Contact Form */
.contact-form {
  background: var(--white);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(228, 231, 236, 0.5);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--navy);
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid var(--silver);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--off-white);
  color: var(--graphite);
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(201, 165, 92, 0.1);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* =========================================
   Breadcrumb
   ========================================= */

.breadcrumb {
  background: var(--gradient-dark);
  padding: 8rem 0 3rem;
  margin-top: 0;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}

.breadcrumb-list a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-fast);
}

.breadcrumb-list a:hover {
  color: var(--accent);
}

.breadcrumb-list .separator {
  color: rgba(255, 255, 255, 0.4);
}

.breadcrumb-list .current {
  color: var(--accent);
  font-weight: 500;
}

/* Page Section (Inner Pages) */
.page-section {
  padding-top: 4rem;
}

/* =========================================
   Footer
   ========================================= */

.site-footer {
  background: var(--gradient-hero);
  color: rgba(255, 255, 255, 0.8);
  padding: 5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
  height: 60px;
  margin-bottom: 1.5rem;
  filter: brightness(1.1);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 300px;
  line-height: 1.7;
}

.footer-column h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer-column a:hover {
  color: var(--accent);
  padding-left: 0.25rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  transition: var(--transition-fast);
}

.social-links a:hover {
  background: var(--accent);
  color: var(--navy);
  transform: translateY(-3px);
}

/* =========================================
   Feature Boxes
   ========================================= */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.feature-box:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(201, 165, 92, 0.3);
  transform: translateY(-8px);
}

.feature-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 165, 92, 0.15);
  border-radius: 16px;
  color: var(--accent);
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

.feature-box h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-box p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

/* =========================================
   Testimonials
   ========================================= */

.testimonial-card {
  background: var(--white);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: var(--shadow-card);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: Georgia, serif;
  font-size: 6rem;
  color: var(--accent-light);
  position: absolute;
  top: 1rem;
  left: 2rem;
  line-height: 1;
  opacity: 0.5;
}

.testimonial-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--graphite);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author-info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.testimonial-author-info p {
  color: var(--slate);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* =========================================
   CTA Section
   ========================================= */

.cta-section {
  background: var(--gradient-hero);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 165, 92, 0.15) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  position: relative;
  z-index: 1;
}

/* =========================================
   Responsive Design
   ========================================= */

@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }

  /* Mobile Navigation */
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    transition: var(--transition-smooth);
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.3);
  }

  .main-nav.active {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    width: 100%;
    gap: 0.25rem;
  }

  .main-nav a {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 8px;
  }

  .menu-toggle {
    display: flex;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding: 8rem 0 6rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-cta .btn {
    width: 100%;
  }

  /* Blog Grid */
  .blog-list {
    grid-template-columns: 1fr;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    margin-bottom: 2rem;
  }

  .footer-brand p {
    max-width: none;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
  }

  /* Stats */
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  /* About */
  .about-image::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }

  .card {
    padding: 1.75rem;
  }

  .blog-card {
    padding: 1.5rem;
  }

  .contact-form {
    padding: 2rem 1.5rem;
  }
}

/* =========================================
   Utility Classes
   ========================================= */

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-gold {
  color: var(--accent);
}

.text-navy {
  color: var(--navy);
}

.text-white {
  color: var(--white);
}

.bg-navy {
  background: var(--navy);
}

.bg-gold {
  background: var(--accent);
}

.bg-white {
  background: var(--white);
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: 0.5rem !important;
}

.mb-2 {
  margin-bottom: 1rem !important;
}

.mb-3 {
  margin-bottom: 1.5rem !important;
}

.mb-4 {
  margin-bottom: 2rem !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.mt-1 {
  margin-top: 0.5rem !important;
}

.mt-2 {
  margin-top: 1rem !important;
}

.mt-3 {
  margin-top: 1.5rem !important;
}

.mt-4 {
  margin-top: 2rem !important;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--off-white);
}

::-webkit-scrollbar-thumb {
  background: var(--navy);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--navy-light);
}

/* Print Styles */
@media print {

  .site-header,
  .site-footer,
  .menu-toggle,
  .btn {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }
}

/* =========================================
   About Page Styles
   ========================================= */

.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text h1 {
  color: var(--navy);
  margin-bottom: 2rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.about-text p {
  color: var(--slate);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-block {
  background: var(--white);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  border-left: 4px solid var(--accent);
}

.about-block h3 {
  color: var(--navy);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.about-block p {
  color: var(--slate);
  margin: 0;
  line-height: 1.7;
}

.values-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.values-list li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--slate);
}

.values-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.about-image-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.about-image-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================================
   Contact Page Styles
   ========================================= */

.contact-section {
  background: var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h1 {
  color: var(--navy);
  margin-bottom: 1rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.contact-info>p {
  color: var(--slate);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(112, 4, 22, 0.1);
  border-radius: 12px;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-item h3,
.contact-item h4 {
  color: var(--navy);
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.contact-item p {
  color: var(--slate);
  margin: 0;
  line-height: 1.6;
}

.contact-item a {
  color: var(--accent);
  transition: var(--transition-fast);
}

.contact-item a:hover {
  color: var(--navy);
}

.contact-form-wrapper {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}

.contact-form-wrapper h3 {
  color: var(--navy);
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.875rem 1rem;
  border: 1px solid var(--silver);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-fast);
  background: var(--off-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(112, 4, 22, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-full {
  width: 100%;
}

.form-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--slate);
  margin-top: 1rem;
}

/* =========================================
   Page Section Styles
   ========================================= */

.page-section {
  padding-top: 140px;
}

.section-alt {
  background: var(--off-white);
}

/* =========================================
   Button Text Color Fix (White on Burgundy)
   ========================================= */

.btn-primary {
  background: var(--gradient-accent);
  color: var(--white) !important;
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(112, 4, 22, 0.35);
  color: var(--white) !important;
}

/* =========================================
   Responsive Design
   ========================================= */

@media (max-width: 1200px) {
  :root {
    --section-padding: 80px;
  }
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .main-nav ul {
    gap: 0.25rem;
  }

  .main-nav a {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }

  /* Mobile Menu */
  .menu-toggle {
    display: flex !important;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    justify-content: flex-start;
    padding: 80px 2rem 2rem;
    transition: right 0.3s ease;
    z-index: 999;
  }

  .main-nav.active {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  .main-nav a {
    display: block;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1rem;
  }

  /* Hero Mobile */
  .hero {
    min-height: 70vh;
    padding-top: 100px;
    padding-bottom: 40px;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 280px;
  }

  /* Services Mobile */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-list-inline {
    gap: 0.5rem;
  }

  .services-list-inline span {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
  }

  /* Features Mobile */
  .features-grid {
    grid-template-columns: 1fr;
  }

  /* About Mobile */
  .about-grid {
    gap: 2rem;
  }

  .about-text h1 {
    font-size: 1.5rem;
  }

  .values-list {
    grid-template-columns: 1fr;
  }

  /* Contact Mobile */
  .contact-grid {
    gap: 2rem;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }

  /* Footer Mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-links {
    justify-content: center;
  }

  /* Blog Mobile */
  .blog-list {
    grid-template-columns: 1fr;
  }

  /* CTA Section Mobile */
  .cta-section h2 {
    font-size: 1.5rem;
  }

  .cta-section p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .site-logo img {
    height: 50px;
  }

  .hero h1 {
    font-size: 1.25rem;
  }

  .section-heading {
    font-size: 1.5rem;
  }

  .about-block {
    padding: 1.5rem;
  }

  .contact-form-wrapper {
    padding: 1.25rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}