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

/* ==========================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ========================================== */
:root {
  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Corporate Colors (SPK Health Consulting - Teal to Royal Blue) */
  --color-primary: #056096;       /* Mid Blue */
  --color-primary-dark: #07518e;  /* Royal Corporate Blue */
  --color-primary-light: #0086aa; /* Bright Teal */
  --color-secondary: #e02424;     /* Crimson Red (AAA Affiliation Accent) */
  --color-secondary-dark: #991b1b;
  --color-accent: #eab308;        /* Excellence Gold */
  
  /* Neutral Palette (Light Mode Default) */
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.7);
  --border-glass: rgba(255, 255, 255, 0.6);
  --text-main: #0f172a;
  --text-muted: #475569;
  --border-color: #cbd5e1;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  /* Easing */
  --ease-out-cubic: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  --ease-elastic: cubic-bezier(0.68, -0.6, 0.32, 1.6);
  
  /* Spacing */
  --space-unit: 8px;
}

/* Dark Mode Overrides (Respecting preferences & system theme) */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-main: #081f36;
    --bg-surface: #0c3259;
    --bg-glass: rgba(12, 50, 89, 0.78);
    --border-glass: rgba(56, 189, 248, 0.3);
    --text-main: #f8fafc;
    --text-muted: #cbd5e1;
    --border-color: #1a3454;
    --shadow-sm: 0 1px 2px 0 rgb(8 31 54 / 0.5);
    --shadow-md: 0 4px 6px -1px rgb(8 31 54 / 0.3);
    --shadow-lg: 0 10px 15px -3px rgb(8 31 54 / 0.4);
    --shadow-xl: 0 20px 25px -5px rgb(8 31 54 / 0.5);
  }
  body {
    background: linear-gradient(135deg, #081f36 0%, #0b3054 50%, #072745 100%) !important;
    background-attachment: fixed !important;
  }
}

/* ==========================================
   GLOBAL RESET & BASICS
   ========================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s var(--ease-out-cubic);
}

/* ==========================================
   GLASSMORPHISM STYLING SYSTEMS
   ========================================== */
.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-lg);
  border-radius: 16px;
  transition: transform 0.3s var(--ease-out-cubic), box-shadow 0.3s var(--ease-out-cubic);
}

/* ==========================================
   NAVIGATION HEADER
   ========================================== */
header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 85px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4%;
  transition: background 0.3s, box-shadow 0.3s, height 0.3s;
}

header.site-header.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: var(--shadow-md);
  height: 75px;
}

.logo-container {
  height: 60px;
  width: 250px;
  display: flex;
  align-items: center;
}

.logo-container svg {
  height: 100%;
  width: 100%;
}

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

.nav-menu li {
  position: relative;
}

.nav-menu a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 0;
  letter-spacing: 0.5px;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background-color: var(--color-primary-light);
  transition: width 0.3s var(--ease-out-cubic);
}

.nav-menu a:hover::after,
.nav-menu li.active a::after {
  width: 100%;
}

/* Dropdown styling */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-content {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  width: 260px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}

.nav-dropdown:hover .nav-dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(5px);
}

.nav-dropdown-content a {
  display: block;
  padding: 12px 20px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

.nav-dropdown-content a::after {
  display: none;
}

.nav-dropdown-content a:hover {
  background-color: rgba(0, 134, 170, 0.08);
  color: var(--color-primary-light);
}

.cta-button {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary-dark));
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 134, 170, 0.2);
  transition: transform 0.3s var(--ease-elastic), box-shadow 0.3s;
}

.cta-button:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 12px rgba(0, 134, 170, 0.35);
}

/* Mobile Nav Toggler */
.mobile-nav-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1100;
  color: var(--text-main);
  transition: transform 0.3s;
}

.mobile-nav-toggle:hover {
  transform: scale(1.1);
}

@media (max-width: 992px) {
  .mobile-nav-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-surface);
    box-shadow: var(--shadow-xl);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 30px 40px;
    gap: 24px;
    transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
  }
  
  .nav-menu.open {
    right: 0;
  }
  
  .nav-dropdown-content {
    position: static;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    border: none;
    box-shadow: none;
    background: transparent;
    padding-left: 16px;
    display: none;
    width: 100%;
  }

  .nav-dropdown.active .nav-dropdown-content {
    display: block;
  }
}

/* ==========================================
   HERO PORTAL SECTION
   ========================================== */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 160px 4% 100px;
  background: radial-gradient(circle at 20% 30%, rgba(0, 134, 170, 0.85) 0%, rgba(7, 81, 142, 0.92) 45%, rgba(10, 37, 64, 0.98) 100%), url('../consultancy theme - main image.jpg') center/cover no-repeat;
  background-attachment: fixed;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 110px 4% 60px;
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 30%, rgba(10, 37, 64, 0.8) 100%);
  pointer-events: none;
}

.hero-content {
  z-index: 10;
  max-width: 900px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  color: #67e8f9;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.95rem;
  margin-bottom: 24px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-slogan-pill {
  background: rgba(0, 134, 170, 0.12);
  border: 1px solid rgba(0, 134, 170, 0.3);
  color: #67e8f9;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(0, 134, 170, 0.15);
  animation: pulse-border 2s infinite alternate;
}

@keyframes pulse-border {
  0% { box-shadow: 0 0 10px rgba(0, 134, 170, 0.15); border-color: rgba(0, 134, 170, 0.3); }
  100% { box-shadow: 0 0 25px rgba(0, 134, 170, 0.45); border-color: rgba(0, 134, 170, 0.7); }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 24px;
  line-height: 1.2;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  letter-spacing: -0.5px;
}

.hero-title span {
  background: linear-gradient(90deg, #67e8f9, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #cbd5e1;
  max-width: 750px;
  margin-bottom: 44px;
  line-height: 1.8;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 32px;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, background-color 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, #00c8f5, #0086aa);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 200, 245, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #38bdf8, #00c8f5);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 200, 245, 0.55);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #67e8f9;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(103, 232, 249, 0.2);
}

.hero-trust-bar {
  transition: opacity 0.3s ease;
}
.hero-trust-bar > div {
  transition: transform 0.2s ease, color 0.2s ease;
}
.hero-trust-bar > div:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================
   SECTIONS GENERAL DESIGN
   ========================================== */
section.info-section {
  padding: 100px 6%;
  position: relative;
}

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

.section-subtitle {
  color: var(--color-primary-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

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

.section-title-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary-light), var(--color-primary-dark));
  margin: 0 auto;
  border-radius: 2px;
}

/* ==========================================
   ABOUT US & REPRESENTATIVE PORTRAIT
   ========================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 24px;
  text-align: left;
}

.rep-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.rep-avatar-wrapper {
  position: relative;
  width: 130px;
  height: 130px;
  margin-bottom: 20px;
}

.rep-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-primary-light) 0%, var(--color-primary-dark) 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  border: 4px solid var(--border-glass);
  box-shadow: var(--shadow-lg);
  color: white;
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
}

.rep-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: var(--color-secondary);
  color: white;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--bg-surface);
}

.rep-name {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.rep-title {
  color: var(--color-primary-light);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.rep-subtitle {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.rep-affiliation-badge {
  background: rgba(224, 36, 36, 0.06);
  border: 1px solid rgba(224, 36, 36, 0.2);
  border-radius: 8px;
  padding: 8px 12px;
  width: 100%;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ef4444;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (prefers-color-scheme: dark) {
  .rep-affiliation-badge {
    background: rgba(224, 36, 36, 0.12);
    color: #fca5a5;
  }
}

.rep-contacts {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-radius: 12px;
  background-color: rgba(0, 134, 170, 0.04);
  border: 1px solid var(--border-color);
  font-size: 0.95rem;
  font-weight: 500;
  transition: transform 0.2s, background-color 0.2s;
}

@media (prefers-color-scheme: dark) {
  .contact-item {
    background-color: rgba(255, 255, 255, 0.02);
  }
}

.contact-item:hover {
  transform: translateX(4px);
  background-color: rgba(0, 134, 170, 0.08);
  border-color: var(--color-primary-light);
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: var(--color-primary-dark);
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info {
  text-align: left;
}

.contact-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-value {
  font-family: var(--font-heading);
  font-weight: 700;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ==========================================
   SERVICES INTERACTIVE GRID
   ========================================== */
.services-section {
  background-color: rgba(0, 134, 170, 0.02);
}

@media (prefers-color-scheme: dark) {
  .services-section {
    background-color: rgba(10, 37, 64, 0.25);
  }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(0, 134, 170, 0.3);
}

.service-card-img-wrapper {
  position: relative;
  height: 200px;
  width: 100%;
  overflow: hidden;
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out-cubic);
}

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

.service-card-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 134, 170, 0.2) 0%, rgba(5, 50, 88, 0.85) 100%);
}

.service-card-icon {
  position: absolute;
  bottom: -20px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background-color: var(--color-primary-dark);
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--bg-surface);
  z-index: 10;
  transition: transform 0.3s var(--ease-elastic);
}

.service-card:hover .service-card-icon {
  transform: rotate(10deg) scale(1.1);
  background-color: var(--color-primary-light);
}

.service-card-body {
  padding: 32px 24px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.service-card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
  text-align: left;
}

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

.service-card-link i {
  transition: transform 0.25s var(--ease-out-cubic);
}

.service-card:hover .service-card-link i {
  transform: translateX(4px);
}

/* ==========================================
   SUB-HERO BANNER & MULTIPAGE CONTENT
   ========================================== */
.sub-hero {
  position: relative;
  width: 100%;
  min-height: 280px;
  padding: 120px 6% 40px;
  background: linear-gradient(135deg, rgba(8, 31, 54, 0.93) 0%, rgba(11, 48, 84, 0.93) 50%, rgba(7, 39, 69, 0.96) 100%), url('../consultancy theme - main image.jpg') center/cover no-repeat;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #ffffff;
}

.sub-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 12px;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.sub-hero-breadcrumbs {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sub-hero-breadcrumbs a:hover {
  color: #ffffff;
}

.sub-hero-breadcrumbs span {
  color: var(--color-primary-light);
}

.page-content-container {
  padding: 80px 6%;
  max-width: 1300px;
  margin: 0 auto;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 50px;
  align-items: start;
}

@media (max-width: 992px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.content-body {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.85;
}

.content-body p {
  margin-bottom: 24px;
  text-align: left;
}

.content-body h3 {
  font-size: 1.6rem;
  margin: 36px 0 16px;
  color: var(--text-main);
  border-left: 5px solid var(--color-primary-light);
  padding-left: 16px;
}

.content-body h4 {
  font-size: 1.25rem;
  margin: 28px 0 12px;
  color: var(--text-main);
}

.content-body ul {
  list-style-type: none;
  padding-left: 4px;
  margin-bottom: 28px;
}

.content-body li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
}

.content-body li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-primary-light);
  font-weight: 900;
  font-size: 1.15rem;
}

.sidebar-aside {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-card {
  padding: 30px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  border-radius: 12px;
}

.sidebar-card h4 {
  font-size: 1.25rem;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 12px;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.sidebar-services-list {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
}

.sidebar-services-list li {
  margin-bottom: 12px !important;
  padding-left: 0 !important;
}

.sidebar-services-list li::before {
  display: none !important;
}

.sidebar-services-list a {
  display: flex;
  align-items: center;
  padding: 12px 18px;
  border-radius: 8px;
  background-color: var(--bg-main);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--border-color);
  transition: all 0.25s var(--ease-out-cubic);
}

.sidebar-services-list a:hover {
  background-color: rgba(0, 134, 170, 0.05);
  border-color: var(--color-primary-light);
  color: var(--color-primary-light);
  transform: translateX(4px);
}

.sidebar-services-list a.active-service {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary-dark));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(0, 134, 170, 0.25);
}

.cta-widget p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.sidebar-cta-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  background-color: var(--bg-main);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-weight: 700;
  font-size: 1rem;
}

.sidebar-cta-contact i {
  color: var(--color-primary-light);
  font-size: 1.3rem;
}

.service-detail-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-md);
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 50px;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  align-items: start;
}

.contact-card,
.register-form-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 24px;
}

.contact-detail-row {
  display: flex;
  gap: 20px;
}

.contact-detail-row .contact-icon {
  background-color: var(--color-primary-dark);
}

.contact-detail-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-detail-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-map-mock {
  width: 100%;
  height: 150px;
  border-radius: 12px;
  background: radial-gradient(circle at center, #cbd5e1 0%, #94a3b8 100%);
  margin-top: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #0f172a;
  font-weight: 700;
  font-family: var(--font-heading);
  gap: 8px;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ==========================================
   TOAST NOTIFICATION SYSTEM
   ========================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  background: var(--bg-surface);
  border-left: 4px solid var(--color-primary-light);
  box-shadow: var(--shadow-xl);
  padding: 16px 24px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-main);
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 300px;
  max-width: 450px;
}

.toast.show {
  transform: translateX(0);
}

.toast-success {
  border-left-color: #10b981;
}

.toast-error {
  border-left-color: var(--color-secondary);
}

.toast-icon {
  font-size: 1.3rem;
}

.toast-success .toast-icon { color: #10b981; }
.toast-error .toast-icon { color: var(--color-secondary); }

.toast-message {
  font-size: 0.95rem;
  font-weight: 600;
}

/* ==========================================
   FOOTER SECTION
   ========================================== */
footer.site-footer {
  background: linear-gradient(135deg, #081f36 0%, #0c3259 50%, #06233e 100%);
  color: #cbd5e1;
  padding: 60px 6% 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-logo {
  height: 55px;
  width: 250px;
}

.footer-logo svg {
  height: 100%;
  width: 100%;
}

.footer-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.footer-links a:hover {
  color: white;
}

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}

@media (max-width: 768px) {
  .footer-grid {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 16px;
  }
}

/* ==========================================
   ✉️ FORM STYLING RESTORATION
   ========================================== */
.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1.5px solid var(--border-color);
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.25s, box-shadow 0.25s;
  box-sizing: border-box;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 3.5px rgba(0, 134, 170, 0.15);
}

.btn-submit {
  width: 100%;
  border: none;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary-dark));
  color: #ffffff;
  padding: 14px;
  font-size: 1.1rem;
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 134, 170, 0.2);
  transition: transform 0.25s, box-shadow 0.25s;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 134, 170, 0.35);
}

/* ==========================================
   🤖 AI CHATBOT WIDGET
   ========================================== */
.chatbot-bubble {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary-dark));
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.6rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 134, 170, 0.35);
  z-index: 9999;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chatbot-bubble:hover {
  transform: scale(1.1);
}

.chatbot-window {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 380px;
  height: 500px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xl);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.chatbot-window.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chatbot-header {
  padding: 16px 20px;
  background: linear-gradient(135deg, #00668c, #0a2540);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.chatbot-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chatbot-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-primary-light);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 900;
  font-size: 0.9rem;
  box-shadow: 0 0 10px rgba(0, 134, 170, 0.4);
}

.chatbot-info {
  display: flex;
  flex-direction: column;
}

.chatbot-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
}

.chatbot-status {
  font-size: 0.75rem;
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 4px;
}

.chatbot-status::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #10b981;
}

.chatbot-close {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
}

.chatbot-close:hover {
  color: white;
}

.chatbot-body {
  flex-grow: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background-color: rgba(10, 37, 64, 0.02);
}

.chat-msg {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.chat-msg-bot {
  background-color: var(--bg-main);
  color: var(--text-main);
  align-self: flex-start;
  border-top-left-radius: 2px;
  border: 1px solid var(--border-color);
}

.chat-msg-user {
  background-color: var(--color-primary-light);
  color: white;
  align-self: flex-end;
  border-top-right-radius: 2px;
}

.chat-msg-typing {
  align-self: flex-start;
  background-color: var(--bg-main);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  border-top-left-radius: 2px;
  font-style: italic;
  padding: 8px 16px;
}

.chatbot-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-surface);
  display: flex;
  gap: 10px;
}

.chatbot-input {
  flex-grow: 1;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  box-sizing: border-box;
}

.chatbot-input:focus {
  border-color: var(--color-primary-light);
}

.chatbot-send {
  background: var(--color-primary-light);
  color: white;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.chatbot-send:hover {
  background-color: var(--color-primary);
}

@media (max-width: 480px) {
  .chatbot-window {
    width: calc(100% - 40px);
    height: 400px;
    right: 20px;
    bottom: 90px;
  }
  .chatbot-bubble {
    right: 20px;
    bottom: 20px;
    width: 54px;
    height: 54px;
  }
}

/* ==========================================
   💎 TECH-TRENDY COMPONENT LIBRARY
   ========================================== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 30px 0;
}

.info-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 28px 24px;
  transition: transform 0.3s var(--ease-out-cubic), box-shadow 0.3s var(--ease-out-cubic), border-color 0.3s;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary-light), var(--color-primary));
  opacity: 0;
  transition: opacity 0.3s;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary-light);
}

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

.info-icon {
  font-size: 2.2rem;
  color: var(--color-primary-light);
  margin-bottom: 18px;
  display: inline-block;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.info-card h4 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 700;
  font-family: var(--font-heading);
}

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

.process-timeline {
  position: relative;
  margin: 40px 0;
  padding-left: 36px;
  border-left: 2px dashed var(--border-color);
}

.process-step {
  position: relative;
  margin-bottom: 36px;
}

.process-step:last-child {
  margin-bottom: 0;
}

.process-step::before {
  content: '';
  position: absolute;
  left: -47px;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 3.5px solid var(--color-primary-light);
  box-shadow: 0 0 10px rgba(0, 134, 170, 0.35);
  transition: background-color 0.3s, transform 0.3s;
  box-sizing: border-box;
}

.process-step:hover::before {
  background-color: var(--color-primary-light);
  transform: scale(1.2);
}

.process-number {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--color-primary-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
  display: block;
}

.process-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
  font-family: var(--font-heading);
}

.process-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.premium-table-wrapper {
  overflow-x: auto;
  margin: 35px 0;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
}

.premium-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.premium-table th {
  background-color: rgba(5, 96, 150, 0.04);
  padding: 18px 24px;
  font-weight: 700;
  border-bottom: 2px solid var(--border-color);
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 1rem;
}

.premium-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-muted);
  line-height: 1.5;
}

.premium-table tr:last-child td {
  border-bottom: none;
}

.premium-table tr:hover td {
  background-color: rgba(0, 134, 170, 0.02);
  color: var(--text-main);
}

.metric-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 134, 170, 0.06);
  color: var(--color-primary-light);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  border: 1px solid rgba(0, 134, 170, 0.15);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.service-meta-info {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.btn-header {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary-dark));
  color: white !important;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: var(--font-heading);
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 8px rgba(0, 134, 170, 0.2);
  display: inline-block;
}

.btn-header:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(0, 134, 170, 0.35);
}

@media (max-width: 992px) {
  .btn-header {
    display: none;
  }
}

/* ==========================================
   ♿ ACCESSIBILITY (SKIP TO CONTENT LINK)
   ========================================== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--color-primary-dark);
  color: white !important;
  padding: 12px 24px;
  z-index: 9999;
  border-radius: 4px;
  font-weight: 700;
  font-family: var(--font-heading);
  transition: top 0.2s var(--ease-out-cubic);
  box-shadow: var(--shadow-lg);
}

.skip-link:focus {
  top: 20px;
  outline: 3px solid var(--color-accent);
}

/* ==========================================
   🧭 HEADER TRANSITIONS & ACCENT COLOR MAPS
   ========================================== */
header.site-header .nav-menu > li > a {
  color: #ffffff;
  transition: color 0.3s var(--ease-out-cubic);
}

header.site-header .mobile-nav-toggle {
  color: #ffffff;
  transition: color 0.3s;
}

header.site-header.scrolled .nav-menu > li > a {
  color: var(--text-main);
}

header.site-header.scrolled .mobile-nav-toggle {
  color: var(--text-main);
}

/* Header logo SVG text transitions on scroll */
header.site-header .logo-container svg text {
  fill: #ffffff;
  transition: fill 0.3s;
}

header.site-header.scrolled .logo-container svg text:first-of-type,
header.site-header.scrolled .logo-container svg text:last-of-type {
  fill: var(--text-main);
}
