/* ==========================================================================
   KRONOS STRENGTH CLUB - GLOBAL STYLESHEET (2026 Premium Dark Aesthetic)
   ========================================================================== */

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

/* 2. Custom CSS Variables */
:root {
  /* Color Palette */
  --bg-primary: #0A0A0C;
  --bg-secondary: #121316;
  --bg-tertiary: #1A1C20;
  
  --accent-primary: #C5F82A; /* Electric Lime */
  --accent-primary-hover: #b2df22;
  --accent-secondary: #45F3FF; /* Cyan Electric */
  
  --text-primary: #F3F4F6;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  
  --white: #FFFFFF;
  --black: #000000;
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: var(--accent-primary);
  
  /* Gradients */
  --grad-primary: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  --grad-dark: linear-gradient(180deg, rgba(18, 19, 22, 0) 0%, rgba(10, 10, 12, 0.9) 100%);
  --grad-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  
  /* Shadows & Glows */
  --glow-primary: 0 0 30px rgba(197, 248, 42, 0.2);
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --shadow-card: 0 12px 24px -10px rgba(0, 0, 0, 0.5);

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

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Layout */
  --container-max-width: 1200px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border: 2px solid var(--bg-primary);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Focus States (WCAG AA Accessibility) */
:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 4px;
}

/* 4. Global Utility Classes */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-padding {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

@media (max-width: 768px) {
  .section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

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

.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.accent-text {
  color: var(--accent-primary);
}

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

/* 5. Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--accent-primary);
  color: var(--black);
}

.btn-primary:hover {
  background-color: var(--accent-primary-hover);
  box-shadow: var(--glow-primary);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--accent-primary);
  background-color: rgba(197, 248, 42, 0.05);
  transform: translateY(-2px);
}

.btn-icon {
  margin-left: 0.5rem;
  display: inline-flex;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* 6. Sticky Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-normal);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background-color: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  height: 70px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

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

.logo-img {
  width: 38px;
  height: 38px;
}

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

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

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Mobile Menu Burger Icon */
.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
}

.menu-btn span {
  width: 100%;
  height: 2px;
  background-color: var(--white);
  transition: all var(--transition-normal);
}

/* Mobile Menu Open State styling */
@media (max-width: 992px) {
  .menu-btn {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    z-index: 999;
    transition: right var(--transition-slow);
    box-shadow: var(--shadow-glass);
  }
  
  .nav-menu.active {
    right: 0;
  }

  .header-actions .btn {
    display: none; /* Hide in header, show in menu on mobile */
  }

  .nav-menu .btn {
    display: inline-flex;
    margin-top: 1rem;
  }
}

/* 7. Footer */
.footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding-top: 5rem;
  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

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

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.footer-info .logo {
  margin-bottom: 1.5rem;
}

.footer-desc {
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  transition: all var(--transition-normal);
}

.social-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-btn:hover {
  background-color: var(--accent-primary);
  color: var(--black);
  border-color: var(--accent-primary);
  transform: translateY(-3px);
}

.footer-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent-primary);
}

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

.footer-link {
  color: var(--text-secondary);
}

.footer-link:hover {
  color: var(--white);
  transform: translateX(4px);
}

.footer-newsletter p {
  margin-bottom: 1.25rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.newsletter-input {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  padding: 0.875rem 1.25rem;
  border-radius: 30px;
  color: var(--white);
  transition: border-color var(--transition-fast);
  width: 100%;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--accent-primary);
}

.newsletter-form .btn {
  width: 100%;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-meta-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-meta-links a:hover {
  color: var(--white);
}

@media (max-width: 576px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* 8. Component: Cards & Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

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

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

@media (max-width: 992px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Card base */
.card {
  background: var(--grad-glass);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(197, 248, 42, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(197, 248, 42, 0.05);
}

/* Card Glow Effect decoration */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(197, 248, 42, 0.05) 0%, rgba(69, 243, 255, 0.05) 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  pointer-events: none;
}

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

/* Service Card details */
.service-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(197, 248, 42, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--accent-primary);
  border: 1px solid rgba(197, 248, 42, 0.2);
}

.service-icon svg {
  width: 32px;
  height: 32px;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.card-text {
  font-size: 0.975rem;
  margin-bottom: 1.5rem;
}

/* 9. Section Headers */
.section-header {
  max-width: 650px;
  margin: 0 auto 4rem auto;
}

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

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

/* 10. Component: FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.faq-item.active {
  border-color: rgba(197, 248, 42, 0.3);
}

.faq-trigger {
  width: 100%;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--white);
  text-align: left;
  cursor: pointer;
}

.faq-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--bg-tertiary);
  color: var(--accent-primary);
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon-wrapper {
  transform: rotate(45deg);
  background-color: var(--accent-primary);
  color: var(--black);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
}

.faq-content {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--text-secondary);
  font-size: 1rem;
  border-top: 1px solid transparent;
}

.faq-item.active .faq-panel {
  /* Set dynamically in JS, fallback here */
  max-height: 1000px; 
}

/* 11. Component: Form Elements */
.form-group {
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-control {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  color: var(--white);
  transition: all var(--transition-fast);
  width: 100%;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(197, 248, 42, 0.1);
}

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

/* Validation styling */
.form-control.is-invalid {
  border-color: #FF4D4D;
}

.invalid-feedback {
  color: #FF4D4D;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.form-alert {
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  display: none;
  font-weight: 500;
}

.form-alert.success {
  background-color: rgba(197, 248, 42, 0.1);
  border: 1px solid var(--accent-primary);
  color: var(--accent-primary);
  display: block;
}

.form-alert.error {
  background-color: rgba(255, 77, 77, 0.1);
  border: 1px solid #FF4D4D;
  color: #FF4D4D;
  display: block;
}

/* 12. Page-Specific Layouts */

/* --- HOME PAGE SPECIFICS --- */
/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
  background-color: #050506;
}

/* Dark subtle texture overlay */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(197, 248, 42, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(69, 243, 255, 0.08) 0%, transparent 60%),
              var(--grad-dark);
  z-index: 1;
  pointer-events: none;
}

/* High performance graphic / visual for Hero side */
.hero-visual {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  z-index: 0;
  opacity: 0.6;
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
}

.hero-visual svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  max-width: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--white);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-primary);
  box-shadow: 0 0 10px var(--accent-primary);
  animation: pulse 2s infinite;
}

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

.hero-title {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  .hero-visual {
    width: 100%;
    opacity: 0.25;
  }
}

.hero-desc {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: var(--text-secondary);
}

.hero-btns {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Key Stats Banner */
.stats {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 3rem 0;
}

.stats-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 150px;
}

.stat-num {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    display: grid;
  }
  .stat-num {
    font-size: 2.75rem;
  }
}

/* Testimonial Slider styling */
.testimonial-section {
  background-color: var(--bg-secondary);
  position: relative;
}

.testimonials-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.testimonial-track {
  overflow: hidden;
  position: relative;
}

.testimonial-slide {
  display: none;
  text-align: center;
  padding: 1.5rem;
  animation: fadeIn 0.5s ease-in-out;
}

.testimonial-slide.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.testimonial-quote {
  font-size: 1.75rem;
  font-style: italic;
  font-weight: 400;
  margin-bottom: 2rem;
  color: var(--white);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .testimonial-quote {
    font-size: 1.35rem;
  }
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--accent-primary);
  background-color: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  font-family: var(--font-headings);
  font-weight: 700;
}

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

.testimonial-name {
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.testimonial-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background-color: var(--bg-tertiary);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.testimonial-nav-btn:hover {
  background-color: var(--accent-primary);
  color: var(--black);
  border-color: var(--accent-primary);
}

/* Call To Action Banner */
.cta-banner {
  position: relative;
  background-color: var(--bg-primary);
  overflow: hidden;
  text-align: center;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(197, 248, 42, 0.05) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.cta-banner-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-banner-content .section-title {
  margin-bottom: 1.5rem;
}

.cta-banner-content p {
  margin-bottom: 2.5rem;
  font-size: 1.15rem;
}

/* --- ABOUT PAGE SPECIFICS --- */
.about-hero {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 4rem;
  text-align: center;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.story-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 992px) {
  .story-section {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.story-content h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.story-content p {
  margin-bottom: 1.25rem;
}

.story-image-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  aspect-ratio: 4/3;
  background-color: var(--bg-secondary);
}

.story-image-svg {
  width: 100%;
  height: 100%;
}

/* Team Section & Profile Cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.team-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.team-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
}

.team-photo-container {
  width: 100%;
  aspect-ratio: 1/1;
  background-color: var(--bg-tertiary);
  overflow: hidden;
  position: relative;
}

.team-photo-svg {
  width: 100%;
  height: 100%;
}

.team-info {
  padding: 1.5rem;
  text-align: center;
}

.team-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.team-role {
  color: var(--accent-primary);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.team-certifications {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.team-socials {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.team-socials .social-btn {
  width: 34px;
  height: 34px;
}

.team-socials .social-btn svg {
  width: 16px;
  height: 16px;
}

/* Facility Grid (Gallery) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  aspect-ratio: 4/3;
  transition: all var(--transition-normal);
}

.gallery-item-svg {
  width: 100%;
  height: 100%;
  transition: transform var(--transition-slow);
}

.gallery-item:hover .gallery-item-svg {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  background: linear-gradient(to top, rgba(10, 10, 12, 0.95) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  font-size: 1.15rem;
  font-weight: 700;
}

.gallery-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Col Spans for masonry grid look */
.gallery-item.col-6 { grid-column: span 6; }
.gallery-item.col-4 { grid-column: span 4; }
.gallery-item.col-8 { grid-column: span 8; }

@media (max-width: 768px) {
  .gallery-item.col-6, .gallery-item.col-4, .gallery-item.col-8 {
    grid-column: span 12;
  }
}

/* --- SERVICES & PRICING PAGE SPECIFICS --- */
.services-hero {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 4rem;
  text-align: center;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.service-feature {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-bottom: 6rem;
}

.service-feature:nth-child(even) {
  flex-direction: row-reverse;
}

.service-feature-img {
  flex: 1;
  aspect-ratio: 16/10;
  background-color: var(--bg-secondary);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.service-feature-img svg {
  width: 100%;
  height: 100%;
}

.service-feature-content {
  flex: 1;
}

.service-feature-tag {
  color: var(--accent-primary);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  display: block;
}

.service-feature-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.service-feature-desc {
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.service-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-feature-list-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-primary);
  font-weight: 500;
}

.service-feature-list-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent-primary);
}

@media (max-width: 992px) {
  .service-feature, .service-feature:nth-child(even) {
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 4rem;
  }
  .service-feature-img {
    width: 100%;
  }
}

/* Pricing Cards */
.pricing-section {
  background-color: var(--bg-secondary);
}

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

@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

.pricing-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-card.popular {
  border-color: var(--accent-primary);
  transform: scale(1.03);
  box-shadow: var(--glow-primary);
}

@media (max-width: 992px) {
  .pricing-card.popular {
    transform: none;
  }
}

.pricing-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background-color: var(--accent-primary);
  color: var(--black);
  padding: 0.25rem 0.75rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.pricing-header {
  margin-bottom: 2rem;
}

.pricing-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-price-container {
  display: flex;
  align-items: baseline;
  margin-top: 1.5rem;
}

.pricing-currency {
  font-size: 1.5rem;
  font-weight: 700;
}

.pricing-price {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  font-family: var(--font-headings);
}

.pricing-period {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-left: 0.5rem;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.pricing-feature-item.muted {
  color: var(--text-muted);
}

.pricing-feature-item.muted svg {
  color: var(--text-muted);
  opacity: 0.5;
}

.pricing-feature-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent-primary);
  flex-shrink: 0;
}

/* --- CONTACT PAGE SPECIFICS --- */
.contact-hero {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 4rem;
  text-align: center;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 4rem;
}

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

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background-color: rgba(197, 248, 42, 0.08);
  border: 1px solid rgba(197, 248, 42, 0.2);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 24px;
  height: 24px;
}

.contact-info-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-info-content p {
  font-size: 0.95rem;
}

.contact-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  background-color: rgba(197, 248, 42, 0.1);
  border: 1px solid var(--accent-primary);
  color: var(--accent-primary);
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 0.5rem;
}

.map-container {
  height: 250px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  position: relative;
}

.map-svg {
  width: 100%;
  height: 100%;
}

.contact-form-panel {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3rem;
}

@media (max-width: 576px) {
  .contact-form-panel {
    padding: 1.75rem;
  }
}

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

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

/* --- 404 PAGE SPECIFICS --- */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.error-page::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(197, 248, 42, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.error-content {
  position: relative;
  z-index: 1;
  max-width: 500px;
}

.error-code {
  font-family: var(--font-headings);
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.05em;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.error-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.error-desc {
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.error-btns {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
}
