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

/* Base Styles & CSS Variables (White/Light Theme Defaults) */
:root {
  /* Core Colors & Backgrounds */
  --bg-color: #fff;
  --text-color: #333;
  --link-color: #007BFF;

  /* Header */
  --header-bg: rgba(255, 255, 255, 0.9);
  --header-text: #333;
  --header-shadow: rgba(0, 0, 0, 0.1); /* Generic shadow for reusability */

  /* Buttons */
  --btn-bg: #0056b3;
  --btn-bg-hover: #004494;
  --btn-text-color: #ffffff;

  /* Footer */
  --footer-bg: #333;
  --footer-text: #fff; /* Make footer text white for contrast */
  --footer-border: rgba(255, 255, 255, 0.1);

  /* Card General */
  --card-shadow: rgba(0, 0, 0, 0.1);
  --card-shadow-hover: rgba(0, 0, 0, 0.2);
  --card-border-color: #eee;

  /* Service Card Specific (Light Theme) */
  --service-card-bg: #ffffff;
  --service-card-border: #ddd;
  --service-card-text: #222;
  --service-card-paragraph: #555;
  --service-icon-color: #042c59; /* Link color is suitable */

  /* Flip Card Specific (Light Theme) */
  --flip-card-bg: transparent;
  --flip-card-border: #ffffff;
  --flip-card-shadow: rgba(0, 0, 0, 0.2);
  --flip-card-front-bg: #042c59;
  --flip-card-back-bg: #889cb3;
  --flip-card-text-shadow: rgba(0,0,0,0.3);

  /* Blog/Insight Card Specific (Light Theme) */
  --insight-card-bg: #f2f2f2;
  --insight-card-border: #eee;

  /* Contact Section Specific (Light Theme) */
  --contact-section-container-bg: #f2f2f2;
  --contact-item-bg-email: #e3f2fd;
  --contact-item-bg-phone: #e8f5e9;
  --contact-item-bg-location: #fff3e0;
  --contact-item-text-color: #090909;

  /* Typography */
  --base-font-size: 16px;
  --font-family-primary: 'Montserrat', sans-serif;
  --heading-font-size-hero: 48px;
  --paragraph-font-size-hero: 20px;
  --heading-font-size-h1: 2.5rem;
  --heading-font-size-h2: 2rem;
  --heading-font-size-h3: 1.5rem;
  --heading-font-size-h4: 1.35rem;
  --paragraph-font-size: 1rem;
  --small-text-size: 0.85rem;
  --line-height-base: 1.6;
}

body {
  font-family: var(--font-family-primary);
  line-height: var(--line-height-base);
  background: var(--bg-color);
  color: var(--text-color);
  font-size: var(--base-font-size);
  transition: background-color 0.3s ease, color 0.3s ease; /* Smooth theme transition */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* =========================================
   Cleaned up styles.css - Dark theme disabled
   ========================================= */

/* Make the page use flex layout for sticky footer */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Main content wrapper should grow to fill space */
main, .main-content {
  flex: 1 0 auto;
}

/* Footer always at the bottom, consistent height and alignment */
.site-footer {
  width: 100vw;
  margin-left: calc(50% - 50vw); /* Ensures true full-bleed even inside a .container */
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 3rem 1.5rem 2rem 1.5rem;
  border-top: 1px solid var(--footer-border);
  box-sizing: border-box;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
}

/* Header */
header {
  background: var(--header-bg);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 10px 0;
  box-shadow: 0 2px 4px var(--header-shadow);
  transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* Logo */
.logo img {
  height: 50px;
}

/* Navigation */
nav {
  flex: 1;
  text-align: center;
}

nav ul {
  display: flex; /* Default for desktop: show horizontal nav */
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin: 0 10px;
}

nav ul li a {
  text-decoration: none;
  color: var(--header-text);
  font-weight: 600;
  padding: 8px 12px;
  transition: color 0.3s;
  outline: none; /* Remove default outline for custom focus */
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--link-color);
}

/* Added focus state for accessibility */
nav ul li a:focus-visible {
  outline: 2px solid var(--link-color);
  outline-offset: 2px;
  border-radius: 4px;
}

/* =========================================
   Header layout and right-side alignment
   ========================================= */
header {
  width: 100%;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between; /* balances left logo and right nav */
  gap: clamp(12px, 3vw, 32px);
}

.logo a {
  display: inline-flex;
  align-items: center;
}

#nav-menu { margin-left: auto; }

#nav-menu ul {
  display: flex;
  align-items: center;
  justify-content: flex-end; /* align text to the right side */
  gap: clamp(10px, 2.2vw, 24px);
  text-align: right; /* ensure link text aligns right when wrapping */
}

#nav-menu a {
  display: inline-block;
  padding: 8px 10px;
}

@media (max-width: 900px) {
  .header-container { gap: 12px; }
  #nav-menu ul { gap: 12px; }
}

/* Header Controls (Hamburger & Theme Toggle) */
#menu-toggle,
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  margin-left: 5px;
  outline: none; /* Remove default outline */
  color: var(--header-text); /* Use header text color for toggle icons */
  transition: color 0.3s ease;
}

/* Hide menu toggle by default on larger screens */
#menu-toggle {
    display: none;
}

/* Added focus state for accessibility */
#menu-toggle:focus-visible,
.theme-toggle:focus-visible {
  outline: 2px solid var(--link-color);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Hero Section (symmetric layout) - 2025 Standards - Device Optimized */
.hero {
  position: relative;
  padding: clamp(1rem, 3vw, 2rem) 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0.02) 100%);
  color: var(--text-color);
  container-type: inline-size;
  min-height: 100vh;
  max-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-inner {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}
.hero-content,
.hero-media { 
  flex: 1 1 50%; 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  justify-content: center;
  height: 100%;
  overflow-y: auto;
}

.hero-content { 
  text-align: center; 
  padding: clamp(0.5rem, 2vw, 1rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(0.5rem, 2vw, 1rem);
  max-height: 100%;
}

.hero-media { 
  padding: clamp(0.5rem, 2vw, 1rem);
  display: none; /* Hide media on mobile for space optimization */
}
.hero-media img { max-width:100%; height:auto; max-height:420px; border-radius:8px; box-shadow:0 12px 30px rgba(0,0,0,0.12); aspect-ratio: 16/9; }
.eyebrow { font-weight:600; color: #0a66c2; margin-bottom:8px; }
.hero-content h1 { 
  font-size: clamp(1.5rem, 5vw, 2.5rem); 
  margin-bottom: clamp(0.5rem, 1.5vw, 1rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.lead { 
  margin: 0;
  color: rgba(0,0,0,0.72); 
  max-width: 100%;
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  line-height: 1.4;
  flex-shrink: 0;
}

.lead-secondary {
  margin: 0;
  color: rgba(0,0,0,0.65);
  max-width: 100%;
  font-size: clamp(0.8rem, 2vw, 1rem);
  line-height: 1.4;
  flex-shrink: 0;
}

.hero-features { 
  list-style: none; 
  padding: 0; 
  margin: 0;
  display: flex; 
  flex-direction: column; 
  gap: clamp(0.25rem, 1vw, 0.5rem); 
  align-items: flex-start;
  max-width: 100%;
  flex-shrink: 0;
  text-align: left;
}

.hero-features li { 
  display: flex; 
  align-items: flex-start; 
  gap: clamp(0.5rem, 1vw, 0.75rem); 
  color: rgba(0,0,0,0.72);
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  line-height: 1.3;
}

.feature-icon {
  flex-shrink: 0;
  margin-top: 0.125em;
}

.feature-text {
  flex: 1;
}

.hero-features li i { 
  color: #1da1f2; 
  min-width: 18px;
  font-size: 1rem;
}
.hero-ctas { 
  display: flex; 
  gap: clamp(0.5rem, 1.5vw, 1rem); 
  margin: 0;
  justify-content: center;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.hero-trust { 
  display: flex; 
  gap: clamp(0.5rem, 1vw, 0.75rem); 
  align-items: center; 
  justify-content: center; 
  margin: 0;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.cert-badge {
  width: clamp(30px, 6vw, 50px);
  height: auto;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.cert-badge:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.scroll-down-indicator { 
  position: absolute;
  bottom: clamp(0.5rem, 2vw, 1rem);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  animation: bounce 2s infinite;
  z-index: 10;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Screen reader only content */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Minimal utility classes for contact form status colors */
.text-green-500 { color: #16a34a; }
.text-red-500 { color: #dc2626; }
.text-gray-500 { color: #6b7280; }

/* ================================
   Contact Form Styles
   ================================ */
.contact-form {
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
  backdrop-filter: blur(6px);
  padding: clamp(0.75rem, 2vw, 1rem);
  margin: 0 auto clamp(1.5rem, 3vw, 2.5rem);
  max-width: 680px;
  text-align: left; /* Left-align contact form content */
}
.contact-form .form-alert {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 600;
}
.contact-form .form-alert.success {
  background: #e6f4ea;
  border-color: #34a85333;
  color: #176f3d;
}
.contact-form .form-alert.error {
  background: #fde8e8;
  border-color: #ea433533;
  color: #8a1c1c;
}
.contact-form button[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.5rem, 1.5vw, 1rem);
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form label {
  font-weight: 600;
  color: #042c59;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1.5px solid #e5e7eb;
  background: #fff;
  color: #111827;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: none;
  border-color: #889cb3;
  box-shadow: 0 0 0 3px rgba(136,156,179,0.25);
}

.contact-form .form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: clamp(0.75rem, 2vw, 1rem);
}

.contact-form .form-consent { display: flex; align-items: flex-start; gap: 10px; max-width: 680px; }
.contact-form .form-consent input { margin-top: 4px; }
.contact-form .form-consent label { color: #334155; font-weight: 500; }

.contact-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }

/* Validation states */
.contact-form .invalid { border-color: #ef4444 !important; box-shadow: 0 0 0 3px rgba(239,68,68,0.15) !important; }

/* Dark theme disabled */

@media (max-width: 700px) {
  .contact-form .form-row { grid-template-columns: 1fr; }
}

/* Enhanced Responsive Design - 2025 Standards - Device Optimized */
@media (max-width: 900px) {
  .hero-inner { 
    flex-direction: column; 
    gap: 0;
    text-align: center;
    padding: clamp(0.5rem, 2vw, 1rem);
  }
  
  .hero-content {
    text-align: center;
    width: 100%;
    flex: 1;
  }
  
  .hero-features {
    align-items: flex-start;
    max-width: none;
    text-align: left;
  }
  
  .hero-media { 
    display: none; /* Hide media on smaller screens to save space */
  }
  
  .lead, .lead-secondary { 
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 100vh;
    max-height: 100vh;
    padding: clamp(0.5rem, 2vw, 1rem) 0;
  }
  
  .hero-inner {
    padding: clamp(0.5rem, 2vw, 1rem);
  }
  
  .hero-content {
    gap: clamp(0.25rem, 1vw, 0.5rem);
  }
  
  .hero-ctas {
    flex-direction: column;
    align-items: center;
    gap: clamp(0.5rem, 1vw, 0.75rem);
  }
  
  .hero-trust {
    gap: clamp(0.25rem, 1vw, 0.5rem);
  }
  
  .cert-badge {
    width: clamp(25px, 5vw, 40px);
  }
}

@media (max-width: 400px) {
  .hero-content h1 {
    font-size: clamp(1.2rem, 6vw, 1.8rem);
    line-height: 1.1;
  }
  
  .lead {
    font-size: clamp(0.8rem, 3vw, 1rem);
  }
  
  .lead-secondary {
    font-size: clamp(0.75rem, 2.5vw, 0.9rem);
  }
  
  .hero-features li {
    font-size: clamp(0.75rem, 2.5vw, 0.85rem);
  }
}

/* Container queries for modern responsive design */
@container (max-width: 600px) {
  .hero-content h1 {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }
  
  .lead {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
  }
}

/* Landscape orientation optimization */
@media (orientation: landscape) and (max-height: 500px) {
  .hero {
    min-height: 100vh;
    max-height: 100vh;
    padding: clamp(0.25rem, 1vw, 0.5rem) 0;
  }
  
  .hero-content {
    gap: clamp(0.125rem, 0.5vw, 0.25rem);
  }
  
  .hero-content h1 {
    font-size: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: clamp(0.25rem, 0.5vw, 0.5rem);
  }
  
  .lead, .lead-secondary {
    font-size: clamp(0.7rem, 1.5vw, 0.9rem);
    line-height: 1.2;
  }
  
  .hero-features {
    gap: clamp(0.125rem, 0.5vw, 0.25rem);
  }
  
  .hero-features li {
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    line-height: 1.2;
  }
  
  .hero-ctas {
    gap: clamp(0.25rem, 1vw, 0.5rem);
  }
  
  .hero-trust {
    gap: clamp(0.25rem, 0.5vw, 0.5rem);
  }
  
  .cert-badge {
    width: clamp(20px, 4vw, 35px);
  }
}

/* Very small screens optimization */
@media (max-width: 320px) {
  .hero-content h1 {
    font-size: clamp(1rem, 8vw, 1.5rem);
  }
  
  .lead {
    font-size: clamp(0.7rem, 4vw, 0.9rem);
  }
  
  .lead-secondary {
    font-size: clamp(0.65rem, 3.5vw, 0.8rem);
  }
  
  .hero-features li {
    font-size: clamp(0.7rem, 3.5vw, 0.8rem);
  }
  
  .cert-badge {
    width: clamp(20px, 6vw, 30px);
  }
}

/* Dark theme disabled */

/* Buttons */
.btn, .cta-button {
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.3s;
  cursor: pointer;
  outline: none;
  color: var(--btn-text-color); /* Use button text color variable */
}

/* Added focus state for buttons */
.btn:focus-visible, .cta-button:focus-visible {
  outline: 2px solid var(--link-color);
  outline-offset: 2px;
  border-radius: 4px;
}

.primary-btn, .cta-button.primary {
  background: var(--btn-bg);
}
.primary-btn:hover, .cta-button.primary:hover {
  background: var(--btn-bg-hover);
}
.secondary-btn {
  background: var(--btn-bg);
  padding: 10px 20px;
  border-radius: 4px;
}
.secondary-btn:hover {
  background: var(--btn-bg-hover);
}

/* Content Sections */
.content-section {
  padding: 80px 0;
  max-width: 800px;
  margin: 0 auto;
}

/* About Section */
.about-section {
  background: #042c59;
  color: white; /* Text color for readability over dark background */
  padding: 100px 20px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
  max-width: none;
  width: 100%;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100vh;
  padding: 4rem 1rem;
}

@media (min-width: 1024px) {
  .about-section > * {
    max-width: 900px;
  }
}

.about-section::before {
  content: "";
  position: absolute;
  inset: 0; /* Shorthand for top:0; left:0; width:100%; height:100%; */
  background: rgba(0,0,0,0.4); /* Optional dark overlay */
  z-index: -1;
}

.about-section article {
  margin-bottom: 2rem;
}
.about-section h1 {
  margin-bottom: 1.5rem;
  font-size: var(--heading-font-size-h1);
}
.about-section h2 {
  font-size: var(--heading-font-size-h2);
  margin-bottom: 1rem;
}
.about-section p {
  font-size: var(--paragraph-font-size);
  line-height: var(--line-height-base);
}

/* Industry Solutions Section */
.industry-solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  justify-content: center;
}

/* Industry cards  */
.industry-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(136,156,179,0.25);
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.10);
  padding: clamp(1rem, 2.5vw, 1.5rem);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;                 /* center content vertically */
  flex-direction: column;        /* keep heading above list */
  justify-content: center;       /* vertical centering */
  align-items: flex-start;       /* left side alignment */
  text-align: left;              /* ensure left-aligned text */
}

.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 44px rgba(0,0,0,0.16);
  border-color: rgba(136,156,179,0.55);
}

.industry-card h4 {
  color: #042c59;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}

.industry-card ul {
  margin: 0;
  padding-left: 1.25rem;
  color: #2c3a47;
  line-height: 1.6;
}

.industry-card li {
  margin: 0.25rem 0;
}

/* Keep the same design in dark theme */
/* Dark theme disabled */

/* Team Section */
.team-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, #e7f0ff 0%, #dfe9f3 100%);
  max-width: none;            /* override .content-section max-width */
  width: 100vw;               /* full-bleed background */
  margin-left: calc(50% - 50vw);
}

/* Keep the team content centered within the full-bleed section */
.team-section > * {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
.team-section h2 {
  font-size: var(--heading-font-size-h2);
  margin-bottom: 1.5rem;
}
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}
.team-card {
  background: var(--bg-color); /* Use theme variable */
  padding: 20px;
  border: 1px solid var(--card-border-color); /* Use theme variable */
  border-radius: 8px;
  width: 250px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  outline: none;
  color: var(--text-color); /* Ensure text color adapts */
}

/* Added focus state for team cards */
.team-card:focus-visible {
  outline: 2px solid var(--link-color);
  outline-offset: 2px;
  border-radius: 8px;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px var(--card-shadow-hover);
}
.team-card img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  margin-bottom: 15px;
}
.team-card h3 {
  font-size: var(--heading-font-size-h3);
  margin-bottom: 10px;
}
.team-card p {
  font-size: var(--paragraph-font-size);
  color: var(--text-color); /* Changed to text-color for theme adaptability */
}
body.dark-theme .team-card {
  background: #333;
  border-color: #444;
}

/* Services Section */
.hero.services-hero {
  background: #889cb3;
  position: relative;
  color: white;
  padding: 4rem 2rem;
  text-align: center;
  overflow: hidden;
}

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

.services-hero .hero-content {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  color: #ffffff;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* Hero CTA Buttons Container */
.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  margin-top: 3rem;
  flex-wrap: wrap;
}

/* Primary Hero Button */
.hero-primary-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 36px;
  background: linear-gradient(135deg, #042c59 0%, #889cb3 100%);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 8px 32px rgba(8, 44, 89, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  z-index: 1;
  min-width: 280px;
  text-align: center;
}

.hero-primary-btn .btn-content {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.hero-primary-btn .btn-text {
  transition: all 0.3s ease;
}

.hero-primary-btn .btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.hero-primary-btn .btn-icon i {
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.hero-primary-btn .btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

.hero-primary-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 48px rgba(8, 44, 89, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, #042c59 0%, #889cb3 100%);
  border-color: rgba(255, 255, 255, 0.4);
}

.hero-primary-btn:hover .btn-shine {
  left: 100%;
}

.hero-primary-btn:hover .btn-icon {
  transform: translateX(4px) rotate(5deg);
  background: rgba(255, 255, 255, 0.3);
}

.hero-primary-btn:hover .btn-text {
  transform: translateX(-2px);
}

.hero-primary-btn:hover .btn-icon i {
  transform: scale(1.1);
}

.hero-primary-btn:active {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 8px 24px rgba(8, 44, 89, 0.4);
  transition: all 0.1s ease;
}

.hero-primary-btn:focus {
  outline: none;
  box-shadow: 0 8px 32px rgba(8, 44, 89, 0.4), 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Secondary Hero Button */
.hero-secondary-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 36px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  z-index: 1;
  min-width: 240px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.hero-secondary-btn .btn-content {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.hero-secondary-btn .btn-text {
  transition: all 0.3s ease;
}

.hero-secondary-btn .btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.hero-secondary-btn .btn-icon i {
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.hero-secondary-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-secondary-btn:hover .btn-icon {
  transform: translateX(4px) rotate(5deg);
  background: rgba(255, 255, 255, 0.3);
}

.hero-secondary-btn:hover .btn-text {
  transform: translateX(-2px);
}

.hero-secondary-btn:hover .btn-icon i {
  transform: scale(1.1);
}

.hero-secondary-btn:active {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: all 0.1s ease;
}

.hero-secondary-btn:focus {
  outline: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Pulse animation for primary button */
@keyframes buttonPulse {
  0% {
    box-shadow: 0 8px 32px rgba(8, 44, 89, 0.4);
  }
  50% {
    box-shadow: 0 8px 32px rgba(8, 44, 89, 0.6), 0 0 0 8px rgba(8, 44, 89, 0.1);
  }
  100% {
    box-shadow: 0 8px 32px rgba(8, 44, 89, 0.4);
  }
}

.hero-primary-btn {
  animation: buttonPulse 4s ease-in-out infinite;
}

/* Responsive Design for Hero Buttons */
@media (max-width: 768px) {
  .hero-cta {
    flex-direction: column;
    gap: 1rem;
    margin-top: 2.5rem;
  }
  
  .hero-primary-btn,
  .hero-secondary-btn {
    padding: 16px 32px;
    font-size: 1rem;
    min-width: 260px;
    width: 100%;
    max-width: 300px;
  }
  
  .hero-primary-btn .btn-icon,
  .hero-secondary-btn .btn-icon {
    width: 22px;
    height: 22px;
  }
  
  .hero-primary-btn .btn-icon i,
  .hero-secondary-btn .btn-icon i {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    margin-top: 2rem;
  }
  
  .hero-primary-btn,
  .hero-secondary-btn {
    padding: 14px 28px;
    font-size: 0.95rem;
    min-width: 240px;
    max-width: 280px;
  }
  
  .hero-primary-btn .btn-icon,
  .hero-secondary-btn .btn-icon {
    width: 20px;
    height: 20px;
  }
  
  .hero-primary-btn .btn-icon i,
  .hero-secondary-btn .btn-icon i {
    font-size: 0.75rem;
  }
}

/* Industrial Design Background */
.industrial-design {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.industrial-svg {
  width: 100%;
  height: 100%;
  opacity: 0.7;
  transform: scale(1.05);
  transform-origin: center;
  animation: industrialFlow 25s ease-in-out infinite;
}

@keyframes industrialFlow {
  0%, 100% {
    transform: scale(1.05) translateY(0px) rotate(0deg);
  }
  25% {
    transform: scale(1.08) translateY(-5px) rotate(0.2deg);
  }
  50% {
    transform: scale(1.05) translateY(0px) rotate(0deg);
  }
  75% {
    transform: scale(1.08) translateY(5px) rotate(-0.2deg);
  }
}

/* About Section with Industrial Background */
.about-section {
  position: relative;
  z-index: 1;
  background: #042c59;
  min-height: 100vh;
  padding: 2rem;
}

.about-section h1,
.about-section h2,
.about-section h3,
.about-section p,
.about-section article {
  position: relative;
  z-index: 2;
}

/* Circuit Diagram Background */
.circuit-diagram {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.circuit-svg {
  width: 100%;
  height: 100%;
  opacity: 0.85;
  transform: scale(1.1);
  transform-origin: center;
  animation: circuitFloat 20s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
}

@keyframes circuitFloat {
  0%, 100% {
    transform: scale(1.1) translateY(0px) rotate(0deg);
  }
  25% {
    transform: scale(1.15) translateY(-10px) rotate(0.5deg);
  }
  50% {
    transform: scale(1.1) translateY(0px) rotate(0deg);
  }
  75% {
    transform: scale(1.15) translateY(10px) rotate(-0.5deg);
  }
}

/* About Hero Section */
.hero.about-hero {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
  position: relative;
  color: white;
  padding: 6rem 2rem;
  text-align: center;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.about-hero .hero-content {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  color: #ffffff;
  max-width: 800px;
}

.about-hero .hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.about-hero .hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 0;
  opacity: 0.9;
  font-weight: 400;
}

/* Organic Industrial Design Background */
.organic-industrial-design {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.organic-svg {
  width: 100%;
  height: 100%;
  opacity: 0.7;
  transform: scale(1.05);
  transform-origin: center;
  animation: organicFlow 25s ease-in-out infinite;
}

@keyframes organicFlow {
  0%, 100% {
    transform: scale(1.05) translateY(0px) rotate(0deg);
  }
  20% {
    transform: scale(1.08) translateY(-15px) rotate(0.3deg);
  }
  40% {
    transform: scale(1.05) translateY(0px) rotate(0deg);
  }
  60% {
    transform: scale(1.08) translateY(15px) rotate(-0.3deg);
  }
  80% {
    transform: scale(1.05) translateY(0px) rotate(0deg);
  }
}

/* Responsive adjustments for about hero */
@media (max-width: 768px) {
  .about-hero {
    padding: 4rem 1.5rem;
    min-height: 400px;
  }
  
  .about-hero .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .about-hero .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .organic-svg {
    transform: scale(1.1);
  }
}

.services-overview {
  background: #889cb3;
    padding: 6rem 1.5rem; /* Ensure adequate padding around content */
}
.services-overview h2 {
  font-size: 36px;
  margin-bottom: 20px;
}
/* Services list layout is now handled by the grid system below */

.services-overview .primary-btn {
  display: inline-block;
  margin-top: 3rem;
  margin-left: auto;
  margin-right: auto;
}

/* Service Cards Design */
.service-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  max-width: 400px;
  margin: 0 auto;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #042c59, #889cb3, #042c59);
  background-size: 200% 100%;
  animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
  border-color: rgba(8, 44, 89, 0.3);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #042c59, #889cb3);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 24px rgba(8, 44, 89, 0.2);
  transition: all 0.3s ease;
  position: relative;
}

.service-icon::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #042c59, #889cb3, #042c59);
  border-radius: 22px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover .service-icon::before {
  opacity: 1;
}

.service-icon i {
  font-size: 2rem;
  color: white;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 32px rgba(8, 44, 89, 0.3);
}

.service-card:hover .service-icon i {
  transform: scale(1.1);
}

.service-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #042c59;
  margin-bottom: 1rem;
  text-align: center;
  line-height: 1.3;
}

.service-content p {
  color: #555;
  line-height: 1.6;
  font-size: 1rem;
  text-align: center;
  margin: 0;
}

/* Service Cards Grid Layout */
.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  justify-items: center;
  margin-top: 3rem;
}

/* Responsive Design for Service Cards */
@media (max-width: 768px) {
.service-card {
    padding: 2rem;
    max-width: 100%;
  }
  
  .service-icon {
    width: 70px;
    height: 70px;
  }
  
  .service-icon i {
    font-size: 1.8rem;
  }
  
  .service-content h3 {
    font-size: 1.3rem;
  }
  
  .services-list {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .service-card {
    padding: 1.5rem;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
  }
  
  .service-icon i {
    font-size: 1.5rem;
  }
  
  .service-content h3 {
    font-size: 1.2rem;
  }
}


/* =========================================
   Our Values Section - 2025 Standards
========================================= */

.values-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}

.values-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(8,44,89,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.5;
  z-index: 0;
}

.values-header {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  position: relative;
  z-index: 1;
}

.values-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #042c59, #889cb3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.values-intro {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(0, 0, 0, 0.7);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  position: relative;
  z-index: 1;
}

.value-card {
  position: relative;
  height: 300px;
  perspective: 1000px;
  cursor: pointer;
  outline: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.value-card:focus-visible {
  outline: 3px solid var(--link-color);
  outline-offset: 4px;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.value-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform-style: preserve-3d;
}

.value-card:hover .value-card-inner {
  transform: rotateY(180deg);
}

.value-card-front,
.value-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  box-sizing: border-box;
}

.value-card-front {
  background: linear-gradient(135deg, #042c59 0%, #889cb3 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.value-card-front::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.05) 100%);
  z-index: 1;
}

.value-card-back {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-color);
  transform: rotateY(180deg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.value-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.value-card:hover .value-icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(255, 255, 255, 0.3);
}

.value-icon i {
  font-size: 2rem;
  color: white;
}

.value-card-front h3 {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 600;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
  line-height: 1.3;
}

.value-indicator {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.9rem;
  opacity: 0.8;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

.value-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #042c59;
  margin-bottom: 1rem;
}

.value-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.8);
  margin-bottom: 1.5rem;
}

.value-highlight {
  background: linear-gradient(135deg, #042c59, #889cb3);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
}

.values-cta {
  text-align: center;
  position: relative;
  z-index: 1;
}

.values-primary-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: linear-gradient(135deg, #042c59 0%, #889cb3 100%);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 8px 24px rgba(8, 44, 89, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  z-index: 1;
  min-width: 200px;
  text-align: center;
}

.values-primary-btn .btn-content {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.values-primary-btn .btn-text {
  transition: all 0.3s ease;
}

.values-primary-btn .btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.values-primary-btn .btn-icon i {
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.values-primary-btn .btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

.values-primary-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 36px rgba(8, 44, 89, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.4);
}

.values-primary-btn:hover .btn-shine {
  left: 100%;
}

.values-primary-btn:hover .btn-icon {
  transform: translateX(3px) rotate(5deg);
  background: rgba(255, 255, 255, 0.3);
}

.values-primary-btn:hover .btn-text {
  transform: translateX(-2px);
}

.values-primary-btn:hover .btn-icon i {
  transform: scale(1.1);
}

.values-primary-btn:active {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 6px 18px rgba(8, 44, 89, 0.3);
  transition: all 0.1s ease;
}

.values-primary-btn:focus {
  outline: none;
  box-shadow: 0 8px 24px rgba(8, 44, 89, 0.3), 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Responsive Design for Values Section */
@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .value-card {
    height: 280px;
  }
  
  .value-card-front,
  .value-card-back {
    padding: 1.5rem;
  }
  
  .value-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }
  
  .value-icon i {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .value-card {
    height: 260px;
  }
  
  .value-card-front,
  .value-card-back {
    padding: 1rem;
  }
  
  .value-icon {
    width: 50px;
    height: 50px;
  }
  
  .value-icon i {
    font-size: 1.2rem;
  }
  
  .value-card-front h3 {
    font-size: 1rem;
  }
  
  .value-content h4 {
    font-size: 1.1rem;
  }
  
  .value-content p {
    font-size: 0.9rem;
  }
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
  .values-section {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
  }
  
  .values-intro {
    color: rgba(255, 255, 255, 0.8);
  }
  
  .value-card-back {
    background: rgba(45, 55, 72, 0.95);
    color: white;
    border-color: rgba(255, 255, 255, 0.1);
  }
  
  .value-content p {
    color: rgba(255, 255, 255, 0.9);
  }
}

/* Service card styles are defined above */

/* =========================================
   Global Button Styles - Consistent Design
========================================= */

/* Contact Page Buttons */
.contact-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Contact Primary Button (Call) */
.contact-primary-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: linear-gradient(135deg, #042c59 0%, #889cb3 100%);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 8px 24px rgba(8, 44, 89, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  z-index: 1;
  min-width: 180px;
  text-align: center;
}

.contact-primary-btn .btn-content {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.contact-primary-btn .btn-text {
  transition: all 0.3s ease;
}

.contact-primary-btn .btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.contact-primary-btn .btn-icon i {
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.contact-primary-btn .btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

.contact-primary-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 36px rgba(8, 44, 89, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.4);
}

.contact-primary-btn:hover .btn-shine {
  left: 100%;
}

.contact-primary-btn:hover .btn-icon {
  transform: translateX(3px) rotate(5deg);
  background: rgba(255, 255, 255, 0.3);
}

.contact-primary-btn:hover .btn-text {
  transform: translateX(-2px);
}

.contact-primary-btn:hover .btn-icon i {
  transform: scale(1.1);
}

.contact-primary-btn:active {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 6px 18px rgba(8, 44, 89, 0.3);
  transition: all 0.1s ease;
}

.contact-primary-btn:focus {
  outline: none;
  box-shadow: 0 8px 24px rgba(8, 44, 89, 0.3), 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Contact Secondary Button (Email) */
.contact-secondary-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-color);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(8, 44, 89, 0.3);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  z-index: 1;
  min-width: 180px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.contact-secondary-btn .btn-content {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.contact-secondary-btn .btn-text {
  transition: all 0.3s ease;
}

.contact-secondary-btn .btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: rgba(8, 44, 89, 0.2);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.contact-secondary-btn .btn-icon i {
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.contact-secondary-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(8, 44, 89, 0.4);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(8, 44, 89, 0.5);
}

.contact-secondary-btn:hover .btn-icon {
  transform: translateX(3px) rotate(5deg);
  background: rgba(8, 44, 89, 0.3);
}

.contact-secondary-btn:hover .btn-text {
  transform: translateX(-2px);
}

.contact-secondary-btn:hover .btn-icon i {
  transform: scale(1.1);
}

.contact-secondary-btn:active {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  transition: all 0.1s ease;
}

.contact-secondary-btn:focus {
  outline: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 0 0 3px rgba(8, 44, 89, 0.3);
}

/* About Page Primary Button */
.about-primary-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 36px;
  background: linear-gradient(135deg, #042c59 0%, #889cb3 100%);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 8px 32px rgba(8, 44, 89, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  z-index: 1;
  min-width: 200px;
  text-align: center;
}

.about-primary-btn .btn-content {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.about-primary-btn .btn-text {
  transition: all 0.3s ease;
}

.about-primary-btn .btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.about-primary-btn .btn-icon i {
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.about-primary-btn .btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

.about-primary-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 48px rgba(8, 44, 89, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, #042c59 0%, #889cb3 100%);
  border-color: rgba(255, 255, 255, 0.4);
}

.about-primary-btn:hover .btn-shine {
  left: 100%;
}

.about-primary-btn:hover .btn-icon {
  transform: translateX(4px) rotate(5deg);
  background: rgba(255, 255, 255, 0.3);
}

.about-primary-btn:hover .btn-text {
  transform: translateX(-2px);
}

.about-primary-btn:hover .btn-icon i {
  transform: scale(1.1);
}

.about-primary-btn:active {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 8px 24px rgba(8, 44, 89, 0.4);
  transition: all 0.1s ease;
}

.about-primary-btn:focus {
  outline: none;
  box-shadow: 0 8px 32px rgba(8, 44, 89, 0.4), 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Dark Theme Adjustments for Contact Buttons */
body.dark-theme .contact-secondary-btn {
  background: rgba(255, 255, 255, 0.05);
  color: #e0e0e0;
  border-color: rgba(255, 255, 255, 0.2);
}

body.dark-theme .contact-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

body.dark-theme .contact-secondary-btn .btn-icon {
  background: rgba(255, 255, 255, 0.1);
}

body.dark-theme .contact-secondary-btn:hover .btn-icon {
  background: rgba(255, 255, 255, 0.2);
}

/* Responsive Design for All Buttons */
@media (max-width: 768px) {
  .contact-actions {
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
  }
  
  .contact-primary-btn,
  .contact-secondary-btn {
    padding: 14px 28px;
    font-size: 0.95rem;
    min-width: 200px;
    width: 100%;
    max-width: 280px;
  }
  
  .about-primary-btn {
    padding: 16px 32px;
    font-size: 1rem;
    min-width: 180px;
    width: 100%;
    max-width: 260px;
  }
  
  .contact-primary-btn .btn-icon,
  .contact-secondary-btn .btn-icon,
  .about-primary-btn .btn-icon {
    width: 20px;
    height: 20px;
  }
  
  .contact-primary-btn .btn-icon i,
  .contact-secondary-btn .btn-icon i,
  .about-primary-btn .btn-icon i {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .contact-primary-btn,
  .contact-secondary-btn {
    padding: 12px 24px;
    font-size: 0.9rem;
    min-width: 180px;
    max-width: 260px;
  }
  
  .about-primary-btn {
    padding: 14px 28px;
    font-size: 0.95rem;
    min-width: 160px;
    max-width: 240px;
  }
  
  .contact-primary-btn .btn-icon,
  .contact-secondary-btn .btn-icon,
  .about-primary-btn .btn-icon {
    width: 18px;
    height: 18px;
  }
  
  .contact-primary-btn .btn-icon i,
  .contact-secondary-btn .btn-icon i,
  .about-primary-btn .btn-icon i {
    font-size: 0.75rem;
  }
}

/* Blog Section */
.blog-preview {
  padding: 80px 0;
  text-align: center;
  position: relative;
  color: var(--text-color);
  background: url('images/Aboutbackground.png') no-repeat center center/cover;
}
.blog-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.8);
  z-index: 0;
}
body.dark-theme .blog-preview::before {
  background: rgba(0,0,0,0.6);
}
.blog-preview > .container {
  position: relative;
  z-index: 1;
}
.insights-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}
.insight-card {
  background: var(--insight-card-bg);
  border: 1px solid var(--insight-card-border);
  border-radius: 8px;
  width: 300px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  text-align: left;
  cursor: pointer;
  outline: none;
  color: var(--text-color); /* Ensure text color adapts */
}

/* Added focus state for insight cards */
.insight-card:focus-visible {
  outline: 2px solid var(--link-color);
  outline-offset: 2px;
  border-radius: 8px;
}

.insight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px var(--card-shadow-hover);
}
.insight-card img {
  width: 100%;
  height: auto;
}
.insight-card h3 {
  font-size: 20px;
  margin: 15px 0 10px;
  padding: 0 15px;
  color: inherit; /* Inherit from card for theme adaptability */
}
.insight-card p {
  font-size: var(--paragraph-font-size);
  margin: 0 15px 15px;
  color: inherit; /* Inherit from card for theme adaptability */
}
body.dark-theme .insight-card {
  background: var(--insight-card-bg);
  border-color: var(--insight-card-border);
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
  text-align: center;
  color: var(--text-color);
  position: relative;          /* needed for full-bleed overlay */
  overflow: hidden;            /* clip overlay to section bounds */
  max-width: none;             /* override .content-section max-width */
  width: 100vw;                /* full-bleed width */
  margin-left: calc(50% - 50vw);
}
.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 10%, rgba(4,44,89,0.08) 0, rgba(4,44,89,0.08) 2px, transparent 3px),
                    radial-gradient(circle at 80% 90%, rgba(136,156,179,0.08) 0, rgba(136,156,179,0.08) 2px, transparent 3px);
  background-size: 24px 24px, 28px 28px;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.contact-section .container {
  background: linear-gradient(135deg, #e7f0ff 0%, #dfe9f3 100%);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(66, 230, 149, 0.08);
  margin: 0 auto;
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;
  position: relative;          /* sit above the dotted overlay */
  z-index: 1;
}
body.dark-theme .contact-section .container {
  background: var(--contact-section-container-bg);
}
.contact-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  padding: 15px 20px;
  border-radius: 5px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.3s ease, color 0.3s ease;
  min-width: 250px;
  text-align: left;
  cursor: pointer;
  outline: none;
  color: var(--contact-item-text-color);
  background: #fff;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(66, 230, 149, 0.08);
}

/* Added focus state for contact items */
.contact-item:focus-visible {
  outline: 2px solid var(--link-color);
  outline-offset: 2px;
  border-radius: 5px;
}

.contact-item:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 24px #42e69533;
  background: #f7fafc;
}
.contact-item.contact-email {
  background: var(--contact-item-bg-email);
}
.contact-item.contact-phone {
  background: var(--contact-item-bg-phone);
}
.contact-item.contact-location {
  background: var(--contact-item-bg-location);
}

body.dark-theme .contact-item.contact-email {
  background: var(--contact-item-bg-email);
}
body.dark-theme .contact-item.contact-phone {
  background: var(--contact-item-bg-phone);
}
body.dark-theme .contact-item.contact-location {
  background: var(--contact-item-bg-location);
}
body.dark-theme .contact-item {
  color: var(--contact-item-text-color);
}

.contact-item i {
  font-size: 2rem;
  color: #42e695;
  background: #042c59;
  border-radius: 50%;
  padding: 12px;
  margin-right: 16px;
  box-shadow: 0 2px 8px #42e69533;
  transition: background 0.3s, color 0.3s;
}
.contact-item:hover i {
  background: #42e695;
  color: #042c59;
}

.contact-item a {
  color: var(--link-color);
  text-decoration: none;
}
.contact-item a:hover {
  text-decoration: underline;
}

/* Site Footer */
.site-footer {
  width: 100vw;
  margin-left: calc(50% - 50vw); /* Ensures true full-bleed even inside a .container */
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 3rem 1.5rem 2rem 1.5rem;
  border-top: 1px solid var(--footer-border);
  box-sizing: border-box;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  outline: none;
}

/* Added focus state for footer links */
.site-footer a:focus-visible {
  outline: 2px solid var(--link-color);
  outline-offset: 2px;
  border-radius: 2px;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Consistent subtle focus+hover on important links/buttons */
.footer-links a,
nav ul li a,
.btn,
.secondary-btn,
.primary-btn {
  transition: color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .15s ease;
}

nav ul li a:hover,
nav ul li a:focus-visible {
  color: var(--link-color);
}

.btn:hover,
.btn:focus-visible,
.secondary-btn:hover,
.secondary-btn:focus-visible,
.primary-btn:hover,
.primary-btn:focus-visible {
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  transform: translateY(-1px);
}

/* Privacy policy content alignment */
.policy-content {
  max-width: 800px;
  margin: 100px auto 60px;
  padding-left: 1rem;
  padding-right: 1rem;
}
.policy-content p,
.policy-content li {
  text-align: justify;
  text-justify: inter-word;
}
.policy-content h1,
.policy-content h2 {
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
}

/* Tighter, clean ToC styling */
.policy-toc {
  margin-bottom: 1.25rem;
}
.policy-toc h2 {
  font-size: 1.25rem;
  margin-bottom: .5rem;
}
.policy-toc ol {
  list-style: decimal inside;
  padding-left: 0;
  margin: 0;
  columns: 1;
  column-gap: 2rem;
}
@media (min-width: 700px) {
  .policy-toc ol {
    columns: 2;
  }
}
.policy-toc li {
  margin: .15rem 0;
}
.policy-toc a {
  color: var(--link-color);
  text-decoration: none;
}
.policy-toc a:hover,
.policy-toc a:focus-visible {
  text-decoration: underline;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 120px;
}

.footer-col {
  flex: 1 1 220px;
}

.footer-left .company-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

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

.footer-logo img {
  display: inline-block;
  height: 56px;
  width: auto;
  margin-bottom: 0.75rem;
}

.social-links {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}
.social-links a {
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Social Media Icon Specific Colors (these will continue to use !important for brand colors) */
.social-links a .fa-facebook { color: #1877F2 !important; }
.social-links a .fa-twitter { color: #1DA1F2 !important; }
.social-links a .fa-linkedin { color: #0A66C2 !important; }
.social-links a .fa-youtube { color: #FF0000 !important; }
.social-links a .fa-instagram { color: #E4405F !important; }
.social-links a .fa-tiktok { color: #EE1D52 !important; }

/* Ensure hover effect respects brand colors */
.social-links a .fa-facebook:hover { color: #166ADB !important; }
.social-links a .fa-twitter:hover { color: #1A92DA !important; }
.social-links a .fa-linkedin:hover { color: #084D9C !important; }
.social-links a .fa-youtube:hover { color: #CC0000 !important; }
.social-links a .fa-instagram:hover { color: #D13057 !important; }
.social-links a .fa-tiktok:hover { color: #D81A4C !important; }

/* ------------------ Hero (custom) ------------------ */
.hero {
  position: relative;
  padding: 48px 0 36px;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.12) 100%);
  color: var(--text-color, #111);
}
.hero-inner {
  display: flex;
  gap: 32px;
  align-items: center;
}
.hero-content {
  flex: 1 1 480px;
}
.hero-media {
  flex: 0 0 420px;
  display: flex;
  justify-content: center;
}
.hero-media img { max-width: 100%; height: auto; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.eyebrow { font-weight: 600; color: #0a66c2; margin-bottom: 8px; }
.lead { margin-top: 8px; margin-bottom: 18px; color: rgba(0,0,0,0.75); }
.hero-features { list-style: none; padding: 0; margin: 0 0 18px 0; display: grid; gap: 8px; }
.hero-features li { display: flex; align-items: center; gap: 12px; color: rgba(0,0,0,0.7); }
.hero-features li i { color: #1da1f2; min-width: 20px; }
.hero-ctas { display: flex; gap: 12px; margin-bottom: 12px; }
.hero-trust { display:flex; gap:12px; align-items:center; margin-top:8px; }
.hero-trust img { filter: grayscale(0.1); opacity:0.95 }
.scroll-down-indicator { text-align:center; margin-top:18px; }

@media (max-width: 900px) {
  .hero-inner { flex-direction: column-reverse; }
  .hero-media { width: 100%; }
  .hero-content { text-align: left; }
}

@media (prefers-color-scheme: dark) {
  .hero { background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.35) 100%); color: #fff; }
  .lead, .hero-features li { color: rgba(255,255,255,0.85); }
}

/* list reset for footer links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

/* Dark-theme override for site footer */
body.dark-theme .site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  border-top: 1px solid var(--footer-border);
}

/* Responsive tweaks */
@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-right {
    margin-top: 1rem;
  }
}
/* ================= Certificates page ================ */
.certificates {
  padding: 4rem 1.5rem;
  text-align: center;
}

.cert-grid {
  margin-top: 2rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.cert-card {
  position: relative;
  text-decoration: none;
  color: inherit;
  outline: none;
  background: var(--bg-color); /* Cert card bg for theme */
  border: 1px solid var(--card-border-color); /* Cert card border for theme */
  box-shadow: 0 4px 14px var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

/* Added focus state for cert cards */
.cert-card:focus-visible {
  outline: 2px solid var(--link-color);
  outline-offset: 2px;
  border-radius: 6px;
}

.cert-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px var(--card-shadow-hover);
}

/* Image fits into a fixed box */
.cert-card img {
  width: 100%;
  height: 220px;
  object-fit: cover; /* crops if image is too tall/wide */
  border-radius: 4px;
  margin-bottom: 1rem;
}

/* Label styling */
.cert-label {
  font-weight: 600;
  font-size: var(--paragraph-font-size);
  color: var(--btn-text-color); /* Use button text color variable */
  background: var(--btn-bg);
  padding: 0.4rem 1rem;
  border-radius: 4px;
}
.certificates-page {
  background: url('images/Untitled-5.png') center/cover no-repeat fixed; /* for gradient background use this line: background: linear-gradient(to bottom right, #e7f0ff, #dfe9f3); */
  color: var(--text-color);
  min-height: 100vh;
}
.cert-back-home {
  text-align: center;
  margin: 2rem 0;
}
.cert-header {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 2rem;
}
.cert-header h1 {
  font-size: var(--heading-font-size-h1);
  color: var(--link-color);
  margin-bottom: 0.5rem;
}
.cert-header p {
  font-size: 1.1rem;
  color: var(--text-color);
  opacity: 0.85;
}
.intro {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 2rem auto;
  color: var(--text-color);
}

/* ================= Modal ================ */
.cert-modal {
  padding: 2rem;
  border-radius: 12px;
  max-width: 85vw;
  box-shadow: 0 10px 30px var(--card-shadow-hover); /* Using a theme variable */
  background: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.cert-modal::backdrop {
  background: rgba(0,0,0,.6);
}

#modal-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-inline: auto;
  border-radius: 4px;
}

#modal-caption {
  margin: 1rem 0 .5rem;
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
}

.modal-download {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--btn-bg);
  color: var(--btn-text-color);
  padding: 0.6rem 1.25rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s;
  outline: none;
}

/* Added focus state for modal download button */
.modal-download:focus-visible {
  outline: 2px solid var(--link-color);
  outline-offset: 2px;
  border-radius: 4px;
}

.modal-download:hover {
  background: var(--btn-bg-hover);
}

.modal-close {
  position: absolute;
  top: .75rem;
  right: 1rem;
  border: none;
  background: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: inherit; /* Inherit color from modal for theme adaptability */
  outline: none;
}

/* Added focus state for modal close button */
.modal-close:focus-visible {
  outline: 2px solid var(--link-color);
  outline-offset: 2px;
  border-radius: 50%;
}

/* =======================================================
   Phone footer helper  ––  shows every column immediately
   ======================================================= */
@media (max-width: 600px) {
  /* place columns one after another with a tiny gap        */
  .site-footer .footer-inner {
    display: grid;
    grid-template-columns: 1fr;     /* one column grid      */
    gap: 2.5rem;                    /* space between blocks */
    text-align: center;
  }

  .site-footer .footer-col {        /* each block full-width*/
    width: 100%;
  }

  /* vertical, centred link list (no overflow)              */
  .site-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .55rem;
  }

  .site-footer .footer-links a {
    color: var(--link-color);
    text-decoration: none;
    font-weight: 500;
  }
  .site-footer .footer-links a:hover,
  .site-footer .footer-links a:focus-visible {
    text-decoration: underline;
  }

  /* solid guarantee the social row always shows            */
  .site-footer .social-links {
    display: flex;
    justify-content: center;
    gap: .85rem;
  }
}
/* ———————————————————————————————
  Un-hide footer navs on phones
———————————————————————————————*/
@media (max-width: 768px) {
  .site-footer nav {             /* social + quick links  */
    display: block;
    position: static; /* reset absolute rule   */
  }
}
/* ======================================================
   MOBILE-ONLY COLOUR FIX  ≤ 600 px
   ====================================================== */
@media (max-width: 600px) {
  /* 1 ▸ quick-links list – keep the accent colour */
  .site-footer .footer-links a {
    color: var(--link-color);
  }

  /* 3 ▸ optional hover / focus contrast             */
  .site-footer .social-links a:hover i,
  .site-footer .social-links a:focus-visible i {
    opacity: .8;
  }
}
/* ================================================
   Footer icon / link colours – light & dark themes
   ================================================= */
/* These rules target the icons explicitly so !important is still relevant for brand colors */
.site-footer .social-links a,
.site-footer .footer-links a {
  color: var(--link-color);
}

.site-footer .social-links a:hover,
.site-footer .footer-links a:hover,
.site-footer .footer-links a:focus-visible {
  color: var(--btn-bg-hover);
}

/* ────────────────────────────────────────────────
   Mobile light-theme – remove white panel behind
   footer <nav> elements (quick links + social)
   ────────────────────────────────────────────────*/
@media (max-width: 768px) {
  body:not(.dark-theme) .site-footer nav {
    background: transparent;
    box-shadow: none;
    border: 0;
  }
}
/* ─────────────────────────────
   Quick-action buttons styling
   ─────────────────────────────*/
.contact-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.5rem;
}

.contact-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.25rem;
  font-size: .95rem;
}
/* ─────────────────────────────────────────────
   Light-theme – make the “Quick links” heading
   readable on its grey panel
   ────────────────────────────────────a--------*/
@media (max-width: 768px) {
  body:not(.dark-theme) .site-footer .footer-right h2 {
    color: var(--text-color);
  }
}
/* Info cards */
.info-card{
  background:rgba(255,255,255,.04); /* Consider theme variable for this */
  border:1px solid rgba(255,255,255,.08); /* Consider theme variable for this */
  border-radius:8px;
  padding:1.5rem;
  margin-bottom:2rem;
  color: var(--text-color); /* Ensure text color adapts */
}
.info-card h2{margin-top:0}

/* Metrics */
.metrics{
  display:flex;
  flex-wrap:wrap;
  gap:2rem;
  justify-content:center;
  list-style:none;
  padding:0;
  margin:3rem 0 2rem;
}
.metrics li{
  text-align:center;
  font-size:clamp(1rem,2vw,1.1rem);
  color: var(--text-color); /* Ensure text color adapts */
}
.metrics strong{
  display:block;
  font-size:clamp(2rem,4vw,2.5rem);
  color:var(--link-color);
}

/* Services List (old .service-item was removed, this is for .service-card directly) */
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2.5rem;
}

/* Main content sections padding */
@media (max-width: 768px) {
  .content-section,
  .team-section,
  .services-overview,
  .blog-preview,
  .contact-section,
  .certificates,
  .flip-cards-section {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Header Responsiveness */
@media (max-width: 1024px) {
  :root {
    --base-font-size: 15px;
  }
  .hero-content h1 {
    font-size: 40px;
  }
  .hero-content p {
    font-size: 18px;
  }
  nav ul li a {
    font-size: 1.1rem;
  }
  .container {
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .logo img {
    height: 40px;
  }
  .header-container {
    flex-wrap: nowrap; /* Prevents wrapping, keeps logo/toggle on one line */
    justify-content: space-between;
    padding: 5px 15px; /* Add padding to header container */
    grid-template-columns: auto 1fr auto;
  }
  /* Show hamburger menu toggle */
  #menu-toggle {
    display: inline-flex; /* Make it visible on mobile/tablet */
    order: 2; /* Position it after the theme toggle */
    margin-left: auto; /* Push it to the right, next to theme toggle */
  }
  .theme-toggle {
    order: 8; /* Position theme toggle */
  }
  .logo {
    order: 0; /* Keep logo first */
  }

  /* Hide main navigation by default on mobile/tablet */
  nav#nav-menu > ul {
    display: none;
    flex-direction: column; /* Stack nav items vertically */
    width: 100%;
    position: absolute;
    top: 70px; /* Adjust based on header height */
    left: 0;
    background: var(--header-bg);
    box-shadow: 0 2px 4px var(--header-shadow);
    padding: 10px 0;
    max-height: calc(100vh - 70px); /* Limit height to viewport minus header */
    overflow-y: auto; /* Allow scrolling if menu is long */
  }

  /* JavaScript will add this class to body to show menu */
  body.nav-open nav#nav-menu > ul {
    display: flex;
  }
  nav#nav-menu > ul li {
    margin: 5px 0;
  }

  /* Adjustments for various card layouts on mobile */
  .team-grid, .insights-preview, .contact-details {
    gap: 20px;
  }
  .team-card, .insight-card, .contact-item, .service-card {
    width: 100%;
    max-width: 320px; /* Consistent max-width for cards on mobile */
    margin: 0 auto; /* Center individual cards */
  }
}

@media (max-width: 480px) {
  .container {
    width: 95%;
    padding: 0 10px;
  }
  header {
    padding: 5px 0;
  }
  nav ul li a {
    font-size: 1rem;
    padding: 10px;
  }
  .hero-content h1 {
    font-size: 32px;
  }
  .hero-content p {
    font-size: 16px;
  }
  .btn, .cta-button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  .about-section h1 {
    font-size: 2rem;
  }
  .about-section h2 {
    font-size: 1.5rem;
  }
}

/* Waterfall animation - not used */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px);}
  to { opacity: 1; transform: translateY(0);}
}
.contact-item {
  animation: fadeInUp 0.7s both;
}
.contact-item:nth-child(2) { animation-delay: 0.1s; }
.contact-item:nth-child(3) { animation-delay: 0.2s; }

/* Logo Theme Swap - Dark theme disabled */
.logo-light {
  display: block;
}
.logo-dark {
  display: none;
}
.highlight {
  font-weight: bold;
  color: #0073e6; /* Consider making this a theme variable */
}

/* ================================
   Why Us Section - Modern Design
   ================================ */
.why-us-section {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: linear-gradient(135deg, rgba(136,156,179,0.12) 0%, rgba(4,44,89,0.05) 100%);
  overflow: hidden;
}

.why-us-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 10%, rgba(4,44,89,0.08) 0, rgba(4,44,89,0.08) 2px, transparent 3px),
                    radial-gradient(circle at 80% 90%, rgba(136,156,179,0.08) 0, rgba(136,156,179,0.08) 2px, transparent 3px);
  background-size: 24px 24px, 28px 28px;
  opacity: 0.35;
  pointer-events: none;
}

.why-us-section .container { position: relative; z-index: 1; }

.why-us-section h2 {
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #042c59, #889cb3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.why-us-section .intro {
  text-align: center;
  color: rgba(0,0,0,0.7);
  max-width: 60ch;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
}

.why-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(260px, 30vw, 360px), 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  align-items: stretch;
}

.why-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.88) 100%);
  border: 1px solid rgba(136,156,179,0.25);
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.10);
  backdrop-filter: blur(8px);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  animation: fadeInUp 0.6s both;
  overflow: hidden;
}

/* brand accent bar */
.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12px;
  right: 12px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #042c59 0%, #889cb3 50%, #042c59 100%);
}

.why-card:nth-child(2) { animation-delay: 0.1s; }
.why-card:nth-child(3) { animation-delay: 0.2s; }
.why-card:nth-child(4) { animation-delay: 0.3s; }

.why-card:hover,
.why-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 16px 44px rgba(0,0,0,0.16);
  border-color: rgba(136,156,179,0.55);
}

.why-card h3 {
  color: #042c59;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  position: relative;
}

.why-card h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 44px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #042c59, #889cb3);
}

.why-card p {
  color: #2c3a47;
  line-height: 1.6;
  margin: 0;
}

/* container and gap refinements */
.why-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(260px, 28vw, 360px), 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  align-items: stretch;
}

/* accessibility focus */
.why-card a:focus-visible,
.why-card button:focus-visible {
  outline: 2px solid #66afe9;
  outline-offset: 3px;
  border-radius: 6px;
}

/* Dark theme disabled */

/* Hero Overlay for Services Page */
.services-hero {
  position: relative;
  /* background-image: url('your-background.jpg'); -- Re-add your actual image path */
  background-size: cover;
  background-position: center;
  color: white;
  padding: 4rem 2rem;
  text-align: center;
  overflow: hidden;
}

.services-hero .overlay {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /* Overlay darkness */
  z-index: 1;
}

.services-hero .hero-content {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6); /* Helps with readability */
}

.scroll-down-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: #fff;
  animation: bounce 2s infinite;
  z-index: 10;
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

/* --- Flip Card Section Styles --- */
.flip-cards-section {
  text-align: center;
  padding: 80px 40px;
  background-color: var(--bg-color);
  box-shadow: 0 0 10px var(--card-shadow);
  margin-top: 20px;
  border-radius: 8px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.flip-cards-section h2 {
  font-size: 2.5em;
  color: var(--text-color);
  margin-bottom: 40px;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(220px, 40vw, 320px), 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  justify-items: center;
  align-items: stretch;
}

/* The flip card container */
.flip-card {
  position: relative;
  z-index: 1;
  overflow: visible;
  background-color: var(--flip-card-bg);
  width: min(100%, clamp(240px, 28vw, 340px));
  aspect-ratio: 1 / 1; /* keep a square card while responsive */
  border: 1px solid var(--flip-card-border);
  border-radius: 12px;
  perspective: 1000px;
  box-shadow: 0 4px 12px 0 var(--flip-card-shadow);
  transition: transform 0.8s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
  outline: none;
}

/* Added focus state for flip cards */
.flip-card:focus-visible {
  outline: 2px solid var(--link-color);
  outline-offset: 2px;
  border-radius: 10px;
}

.flip-card::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 12px;
  z-index: -1;
  background: linear-gradient(135deg, #042c59 0%, #889cb3 100%);
  opacity: 0.7;
  transition: opacity 0.3s;
  pointer-events: none;
}

.flip-card:hover::before {
  opacity: 1;
}

/* Optional: Add a slight lift effect on hover for the entire card */
.flip-card:hover {
  box-shadow: 0 0 24px 4px #42e69555, 0 12px 32px rgba(0,0,0,0.18);
}


/* This container is responsible for the flipping */
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(.25,.8,.25,1);
    transform-style: preserve-3d;
    border-radius: 10px;
}

/* Do the horizontal flip when you hover over the flip box container */
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* Auto-flip support via JS-added class */
.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

/* Auto-flip animation when entering view */
@keyframes flipPulse {
  0% { transform: rotateY(0deg); }
  40% { transform: rotateY(180deg); }
  60% { transform: rotateY(180deg); }
  100% { transform: rotateY(0deg); }
}

.flip-card.in-view .flip-card-inner {
  animation: flipPulse 1.4s ease both;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .flip-card .flip-card-inner {
    transition: none;
  }
  .flip-card:hover .flip-card-inner,
  .flip-card.flipped .flip-card-inner,
  .flip-card.in-view .flip-card-inner {
    transform: none;
    animation: none !important;
  }
}

/* Responsive tweaks for very small screens */
@media (max-width: 480px) {
  .cards-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .flip-card {
    width: min(100%, 320px);
  }
}

/* Position the front and back side */
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition */
}

/* Style the front side */
.flip-card-front {
    background: linear-gradient(135deg, #042c59 60%, #889cb3 100%);
    color: white; /* Text color for the front, typically fixed for visual design */
    font-size: 1.5em;
    font-weight: bold;
    text-shadow: 1px 1px 2px var(--flip-card-text-shadow);
}

/* Style the back side */
.flip-card-back {
    background: var(--flip-card-back-bg);
    color: #ffffff; /* Text color for the back, typically fixed for visual design */
    transform: rotateY(180deg);
    font-size: 1.3em;
    line-height: 2;
    text-align: left;
}

.flip-card-back p {
    margin: 0;
}

/* Style for the secondary button (Explore Our Services) */
.btn.secondary-btn {
    display: block;
    width: fit-content;
    margin-top: 60px;
    margin-left: auto;
    margin-right: auto;
    padding: 15px 30px;
    background-color: var(--btn-bg);
    color: var(--btn-text-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    outline: none;
}

.btn.secondary-btn:hover {
    background-color: var(--btn-bg-hover);
    transform: translateY(-2px);
}
.btn.secondary-btn:focus-visible {
    outline: 2px solid var(--link-color);
    outline-offset: 2px;
    border-radius: 8px;
}
.scroll-down-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: #fff; /* White color */
  animation: bounce 2s infinite; /* Animation to make it noticeable */
  z-index: 10; /* Ensures it's above most content */
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}
.linkedin-feed-section {
  text-align: center;
  padding: 60px 20px;
}

.linkedin-feed-section .btn {
  font-size: 1.2rem;
  padding: 12px 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
:root {
  --radius: 8px;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.why-us-section {
  padding: 4rem 1.5rem;
  background: var(--bg-color);
  color: var(--text-color);
}

.why-us-section .intro {
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  text-align: center;
}

.why-cards {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.why-card {
  background: rgba(0, 0, 0, 0.03);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.why-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 24px #42e69555, 0 6px 18px rgba(0, 0, 0, 0.2);
}

.why-card h3 {
  margin-bottom: 0.75rem;
  color: var(--link-color);
}

body.dark-theme .why-card {
  background: rgba(255, 255, 255, 0.05);
}
/* Container for the grid */
.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

/* Card styles */
.service-card {
  background: var(--service-card-bg, #fff);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  text-align: left;
  align-items: flex-start;
  justify-content: flex-start;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
}

/* Card hover */
.service-card:hover {
  transform: translateY(-6px);
}

/* Icon styling */
.service-icon {
  font-size: 2rem;
  color: var(--link-color, #007BFF);
  margin-bottom: 1rem;
}

/* Text styling */
.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Full-width interruption block inside grid */
.services-list > section.services-overview {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem 1rem;
  background: transparent;
}

/* Typography for interruption block */
.services-list > section.services-overview h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.services-list > section.services-overview p {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

/* Ensure responsiveness */
@media (min-width: 1024px) {
  .services-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
.services-overview .primary-btn {
  display: block;
  margin: 3rem auto 0 auto;
  text-align: center;
}

@media (max-width: 768px) {
  nav#nav-menu > ul {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 70px;
    left: 0;
    background: var(--header-bg);
    box-shadow: 0 2px 4px var(--header-shadow);
    padding: 10px 0;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  body.nav-open nav#nav-menu > ul {
    display: flex;
  }
  nav#nav-menu > ul li {
    margin: 5px 0;
  }
}
/* Flip card icon - not used */
.contact-section h2 {
  font-size: 2.2rem;
  color: #042c59;
  margin-bottom: 1.5rem;
  position: relative;
}
.contact-section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #42e695 0%, #0073e6 100%);
  border-radius: 2px;
  margin: 16px auto 0 auto;
}
/* Dark theme disabled */


/* Keep the same design in dark theme */
/* Dark theme disabled */

.hero {
  position: relative;
  background: url('images/7.png') no-repeat center center/cover;
  min-height: 100vh;
  padding-top: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Modern diagonal gradient overlay for contrast */
  background: linear-gradient(120deg, rgba(15,25,35,0.78) 0%, rgba(15,25,35,0.55) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Increase hero text contrast on image backgrounds */
.hero-content h1 {
  color: #ffffff;
  text-shadow: 0 3px 12px rgba(0,0,0,0.5);
}

.hero .lead,
.hero .lead-secondary {
  color: rgba(255,255,255,0.92);
  text-shadow: 0 2px 8px rgba(0,0,0,0.45);
}

.hero-features li,
.hero-features .feature-text {
  color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

/* Footer - Compact sizing across pages */
.site-footer {
  font-size: clamp(0.75rem, 1.2vw, 0.9rem);
  line-height: 1.5;
  padding: clamp(12px, 2vw, 20px) 0;
  background: linear-gradient(180deg,#889cb3  0%, #fdfdff 100%);
  border-top: 1px solid rgba(4,44,89,0.12);
  box-shadow: 0 -12px 40px rgba(4,44,89,0.06) inset;
  color: #042c59;
}

.site-footer .footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between; /* equilibrated like header */
  gap: clamp(8px, 2vw, 16px);
  padding: 0 clamp(12px, 2vw, 20px);
  max-width: 1200px;
  margin: 0 auto;
}

/* Equilibrated columns matching header balance */
.site-footer .footer-left { flex: 1 1 0; text-align: left; }
.site-footer .footer-centre { flex: 1 1 0; text-align: center; display: flex; flex-direction: column; align-items: center; }
.site-footer .footer-right { flex: 1 1 0; text-align: right; }

/* Link list alignment per column */
.site-footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.site-footer .footer-left .footer-links { align-items: flex-start; }
.site-footer .footer-centre .footer-links { align-items: center; }
.site-footer .footer-right .footer-links { align-items: flex-end; }

/* Center social row under the centre column */
.site-footer .footer-centre .social-links { justify-content: center; }

/* Footer color palette */
.site-footer a { color: #042c59; }
.site-footer a:hover { color: #0a66c2; }
.site-footer .social-links a i { color: #042c59; }

.site-footer p,
.site-footer a,
.site-footer li {
  font-size: clamp(0.72rem, 1.1vw, 0.88rem);
  margin: 0.15rem 0;
}

.site-footer .company-name { font-size: clamp(0.85rem, 1.3vw, 0.95rem); }
.site-footer .footer-links { gap: 6px; }
.site-footer .footer-links a { padding: 2px 0; }
.site-footer .social-links { gap: 12px; }
/* Rounded social chips with larger icons */
.site-footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(4,44,89,0.08);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.site-footer .social-links a:hover,
.site-footer .social-links a:focus-visible {
  background: rgba(4,44,89,0.16);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
  outline: 0;
}
/* Increase icon size (overrides fa-2x inside footer) */
.site-footer .social-links i.fa-2x { font-size: 1.4em; }

@media (max-width: 600px) {
  .site-footer { font-size: 0.78rem; }
  .site-footer .social-links a { width: 40px; height: 40px; }
  .site-footer .social-links i.fa-2x { font-size: 1.3em; }
}

@media (max-width: 820px) {
  .site-footer .footer-inner { flex-direction: column; text-align: center; }
  .site-footer .footer-left,
  .site-footer .footer-centre,
  .site-footer .footer-right { text-align: center; }
  .site-footer .footer-right .footer-links,
  .site-footer .footer-left .footer-links { align-items: center; }
}