/* ================================
   AURORA BALANCE - TECH FUTURISTIC CSS
   Comprehensive Styles for All Pages
   ================================ */

/* ================================
   CSS RESET & BASE STYLES
   ================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background: linear-gradient(135deg, #0a1628 0%, #1B4B7F 50%, #0d2847 100%);
  background-attachment: fixed;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(45, 122, 155, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(27, 75, 127, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* ================================
   TYPOGRAPHY
   ================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #ffffff;
  text-shadow: 0 0 20px rgba(45, 122, 155, 0.3);
}

h1 {
  font-size: 48px;
  letter-spacing: -1px;
}

h2 {
  font-size: 32px;
  margin-bottom: 24px;
}

h3 {
  font-size: 24px;
}

h4 {
  font-size: 20px;
}

p {
  margin-bottom: 16px;
  color: #E8F4F8;
  line-height: 1.8;
}

a {
  color: #2D7A9B;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #E8F4F8;
  text-shadow: 0 0 10px rgba(45, 122, 155, 0.5);
}

ul {
  list-style: none;
  margin-bottom: 24px;
}

ul li {
  padding-left: 24px;
  margin-bottom: 12px;
  position: relative;
  color: #E8F4F8;
}

ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #2D7A9B;
  font-weight: bold;
}

/* ================================
   CONTAINER & LAYOUT
   ================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ================================
   HEADER & NAVIGATION
   ================================ */

header {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(45, 122, 155, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  flex-wrap: wrap;
}

.logo img {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(45, 122, 155, 0.5));
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}

.main-nav a {
  color: #E8F4F8;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #2D7A9B, #E8F4F8);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.main-nav a:hover {
  color: #ffffff;
  background: rgba(45, 122, 155, 0.1);
}

.main-nav a:hover::after {
  width: 80%;
}

/* ================================
   MOBILE MENU
   ================================ */

.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
  background: linear-gradient(135deg, #1B4B7F, #2D7A9B);
  border: 2px solid rgba(232, 244, 248, 0.3);
  color: #ffffff;
  font-size: 24px;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(45, 122, 155, 0.4);
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background: linear-gradient(135deg, #2D7A9B, #1B4B7F);
  transform: scale(1.05);
  box-shadow: 0 6px 30px rgba(45, 122, 155, 0.6);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: linear-gradient(180deg, #0a1628 0%, #1B4B7F 100%);
  backdrop-filter: blur(20px);
  box-shadow: -4px 0 30px rgba(0, 0, 0, 0.5);
  z-index: 1999;
  transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border-left: 2px solid rgba(45, 122, 155, 0.3);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(45, 122, 155, 0.2);
  border: 2px solid rgba(232, 244, 248, 0.3);
  color: #ffffff;
  font-size: 28px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  background: rgba(45, 122, 155, 0.4);
  transform: rotate(90deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 80px 30px 30px;
  gap: 0;
}

.mobile-nav a {
  color: #E8F4F8;
  font-weight: 600;
  font-size: 16px;
  padding: 16px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  margin-bottom: 8px;
}

.mobile-nav a:hover {
  background: rgba(45, 122, 155, 0.2);
  border-left-color: #2D7A9B;
  transform: translateX(10px);
  box-shadow: 0 4px 15px rgba(45, 122, 155, 0.3);
}

/* ================================
   BUTTONS
   ================================ */

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 16px 32px;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before,
.btn-secondary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: -1;
}

.btn-primary:hover::before,
.btn-secondary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, #2D7A9B, #1B4B7F);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(45, 122, 155, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(45, 122, 155, 0.6);
  border-color: #E8F4F8;
}

.btn-secondary {
  background: transparent;
  color: #E8F4F8;
  border-color: #2D7A9B;
}

.btn-secondary:hover {
  background: rgba(45, 122, 155, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(45, 122, 155, 0.3);
  border-color: #E8F4F8;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* ================================
   HERO SECTION
   ================================ */

.hero {
  padding: 100px 20px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(45, 122, 155, 0.1) 0%, transparent 70%);
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

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

.hero h1 {
  font-size: 56px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff, #2D7A9B, #E8F4F8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 1s ease;
}

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

.hero-subtitle {
  font-size: 20px;
  color: #E8F4F8;
  margin-bottom: 32px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease 0.2s both;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  animation: fadeInUp 1s ease 0.4s both;
}

.trust-badges span {
  background: rgba(45, 122, 155, 0.2);
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: #E8F4F8;
  border: 1px solid rgba(45, 122, 155, 0.4);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.trust-badges span:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(45, 122, 155, 0.4);
  background: rgba(45, 122, 155, 0.3);
}

/* ================================
   PAGE HERO
   ================================ */

.page-hero {
  padding: 80px 20px 60px;
  text-align: center;
  background: linear-gradient(135deg, rgba(27, 75, 127, 0.3), rgba(45, 122, 155, 0.3));
  border-bottom: 2px solid rgba(45, 122, 155, 0.3);
  margin-bottom: 60px;
}

.page-hero h1 {
  font-size: 48px;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 18px;
  color: #E8F4F8;
}

/* ================================
   THANK YOU HERO
   ================================ */

.thank-you-hero {
  padding: 100px 20px 80px;
  text-align: center;
}

.success-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #2D7A9B, #1B4B7F);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  color: #ffffff;
  margin: 0 auto 32px;
  box-shadow: 0 8px 30px rgba(45, 122, 155, 0.5);
  animation: scaleIn 0.6s ease;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ================================
   CONTENT SECTIONS
   ================================ */

.content-section {
  padding: 60px 20px;
  margin-bottom: 40px;
}

.content-section h2 {
  text-align: center;
  margin-bottom: 48px;
  font-size: 36px;
}

/* ================================
   CARDS & GRIDS - FLEXBOX ONLY
   ================================ */

.stats-grid,
.services-grid,
.principles-grid,
.values-grid,
.research-categories,
.categories-grid,
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 40px;
}

.stat-card,
.service-card,
.principle-card,
.value-card,
.category-card,
.category-item,
.team-member {
  flex: 1 1 280px;
  max-width: 350px;
  background: rgba(27, 75, 127, 0.3);
  backdrop-filter: blur(10px);
  padding: 32px 24px;
  border-radius: 12px;
  border: 1px solid rgba(45, 122, 155, 0.3);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  margin-bottom: 20px;
}

.stat-card::before,
.service-card::before,
.principle-card::before,
.value-card::before,
.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2D7A9B, #E8F4F8);
  border-radius: 12px 12px 0 0;
}

.stat-card:hover,
.service-card:hover,
.principle-card:hover,
.value-card:hover,
.category-card:hover,
.team-member:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(45, 122, 155, 0.4);
  border-color: #2D7A9B;
}

.stat-card h3 {
  font-size: 48px;
  color: #2D7A9B;
  margin-bottom: 12px;
  text-shadow: 0 0 20px rgba(45, 122, 155, 0.5);
}

.service-card h3,
.principle-card h3,
.value-card h3,
.category-card h3,
.team-member h3 {
  font-size: 20px;
  margin-bottom: 16px;
  color: #E8F4F8;
}

.service-card p,
.principle-card p,
.value-card p,
.category-card p,
.team-member p {
  color: #E8F4F8;
  font-size: 14px;
  margin-bottom: 12px;
}

.price {
  font-size: 28px;
  font-weight: 700;
  color: #2D7A9B;
  margin-top: 16px;
  text-shadow: 0 0 15px rgba(45, 122, 155, 0.5);
}

/* ================================
   SERVICE DETAIL CARDS
   ================================ */

.services-detail {
  padding: 60px 20px;
}

.service-detail-card {
  background: rgba(27, 75, 127, 0.3);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid rgba(45, 122, 155, 0.3);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  margin-bottom: 32px;
  position: relative;
}

.service-detail-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2D7A9B, #E8F4F8);
  border-radius: 12px 12px 0 0;
}

.service-detail-card h2 {
  font-size: 28px;
  margin-bottom: 16px;
  text-align: left;
}

.duration {
  font-size: 14px;
  color: #2D7A9B;
  margin-bottom: 16px;
  font-weight: 600;
}

.scientific-basis,
.success-rate {
  background: rgba(45, 122, 155, 0.2);
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  color: #E8F4F8;
  margin: 20px 0;
  border-left: 3px solid #2D7A9B;
}

/* ================================
   STUDIES & ARTICLES
   ================================ */

.studies-list,
.article-cards,
.recommended-articles {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.study-card,
.article-card,
.article-featured {
  background: rgba(27, 75, 127, 0.3);
  backdrop-filter: blur(10px);
  padding: 32px;
  border-radius: 12px;
  border: 1px solid rgba(45, 122, 155, 0.3);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
  margin-bottom: 20px;
}

.study-card::before,
.article-card::before,
.article-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2D7A9B, #E8F4F8);
  border-radius: 12px 12px 0 0;
}

.study-card:hover,
.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(45, 122, 155, 0.4);
  border-color: #2D7A9B;
}

.study-meta,
.article-meta {
  font-size: 12px;
  color: #2D7A9B;
  margin-bottom: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.evidence-badge {
  display: inline-block;
  background: linear-gradient(135deg, #2D7A9B, #1B4B7F);
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-top: 12px;
  box-shadow: 0 4px 15px rgba(45, 122, 155, 0.3);
}

.source-info {
  font-size: 13px;
  color: #2D7A9B;
  font-style: italic;
  margin-top: 16px;
}

/* ================================
   TESTIMONIALS
   ================================ */

.testimonials {
  padding: 80px 20px;
  background: linear-gradient(135deg, rgba(27, 75, 127, 0.2), rgba(45, 122, 155, 0.2));
  margin-bottom: 60px;
}

.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-top: 48px;
}

.testimonial-card {
  flex: 1 1 400px;
  max-width: 550px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border-left: 4px solid #2D7A9B;
  position: relative;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 60px;
  color: rgba(45, 122, 155, 0.2);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(45, 122, 155, 0.4);
}

.testimonial-card p {
  color: #1B4B7F;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  color: #2D7A9B;
  font-weight: 700;
  font-size: 14px;
  text-align: right;
  margin-bottom: 0;
}

.rating {
  text-align: center;
  font-size: 18px;
  color: #2D7A9B;
  font-weight: 700;
  margin-top: 32px;
}

/* ================================
   VALUE PROPOSITION
   ================================ */

.value-proposition {
  padding: 80px 20px;
  text-align: center;
}

.value-proposition h2 {
  margin-bottom: 24px;
}

.value-proposition > p {
  max-width: 800px;
  margin: 0 auto 48px;
  font-size: 18px;
  color: #E8F4F8;
}

/* ================================
   SERVICES OVERVIEW
   ================================ */

.services-overview {
  padding: 80px 20px;
  text-align: center;
}

.services-overview h2 {
  margin-bottom: 16px;
}

.services-overview > p {
  max-width: 700px;
  margin: 0 auto 48px;
  font-size: 18px;
  color: #E8F4F8;
}

/* ================================
   CTA SECTION
   ================================ */

.cta-section {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(135deg, rgba(27, 75, 127, 0.4), rgba(45, 122, 155, 0.4));
  border-radius: 12px;
  margin: 60px 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(45, 122, 155, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.cta-section h2 {
  font-size: 36px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-section p {
  font-size: 18px;
  margin-bottom: 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.cta-section .btn-primary {
  position: relative;
  z-index: 1;
}

.cta-benefits {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.cta-benefits span {
  background: rgba(45, 122, 155, 0.3);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: #E8F4F8;
  border: 1px solid rgba(45, 122, 155, 0.5);
}

/* ================================
   STEPS & PROCESS
   ================================ */

.steps-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 40px;
}

.step-card {
  flex: 1 1 220px;
  max-width: 280px;
  background: rgba(27, 75, 127, 0.3);
  backdrop-filter: blur(10px);
  padding: 32px 24px;
  border-radius: 12px;
  border: 1px solid rgba(45, 122, 155, 0.3);
  text-align: center;
  position: relative;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2D7A9B, #E8F4F8);
  border-radius: 12px 12px 0 0;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(45, 122, 155, 0.4);
}

.step-card h3 {
  font-size: 24px;
  color: #2D7A9B;
  margin-bottom: 12px;
}

/* ================================
   CONTACT SECTION
   ================================ */

.contact-section {
  padding: 60px 20px;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}

.contact-info,
.contact-form-wrapper {
  flex: 1 1 400px;
  background: rgba(27, 75, 127, 0.3);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid rgba(45, 122, 155, 0.3);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.contact-item {
  margin-bottom: 32px;
}

.contact-item h3 {
  font-size: 18px;
  color: #2D7A9B;
  margin-bottom: 8px;
}

.emergency-note {
  background: rgba(45, 122, 155, 0.2);
  padding: 16px;
  border-radius: 8px;
  margin-top: 24px;
  border-left: 3px solid #2D7A9B;
}

.form-placeholder {
  background: rgba(255, 255, 255, 0.05);
  padding: 24px;
  border-radius: 8px;
  border: 1px dashed rgba(45, 122, 155, 0.3);
  margin-top: 24px;
}

.form-placeholder p {
  margin-bottom: 16px;
  color: #E8F4F8;
}

.form-placeholder label {
  color: #E8F4F8;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ================================
   LEGAL CONTENT
   ================================ */

.legal-content {
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 28px;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #E8F4F8;
  text-align: left;
}

.legal-content h3 {
  font-size: 20px;
  margin-top: 32px;
  margin-bottom: 16px;
  color: #2D7A9B;
  text-align: left;
}

.legal-content p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.legal-content ul {
  margin-bottom: 24px;
  margin-left: 20px;
}

.legal-content a {
  color: #2D7A9B;
  text-decoration: underline;
}

/* ================================
   FOOTER
   ================================ */

footer {
  background: rgba(10, 22, 40, 0.95);
  border-top: 2px solid rgba(45, 122, 155, 0.3);
  padding: 60px 20px 24px;
  margin-top: 80px;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-section {
  flex: 1 1 200px;
  min-width: 200px;
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 10px rgba(45, 122, 155, 0.3));
}

.footer-section h3 {
  font-size: 16px;
  margin-bottom: 16px;
  color: #2D7A9B;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-section nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-section nav a {
  color: #E8F4F8;
  font-size: 14px;
  transition: all 0.3s ease;
  padding-left: 12px;
  position: relative;
}

.footer-section nav a::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #2D7A9B;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.footer-section nav a:hover::before {
  opacity: 1;
}

.footer-section nav a:hover {
  color: #ffffff;
  padding-left: 20px;
}

.footer-section p {
  color: #E8F4F8;
  font-size: 14px;
  line-height: 1.8;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(45, 122, 155, 0.2);
}

.footer-bottom p {
  color: #E8F4F8;
  font-size: 14px;
}

/* ================================
   COOKIE CONSENT BANNER
   ================================ */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 22, 40, 0.98);
  backdrop-filter: blur(20px);
  border-top: 2px solid rgba(45, 122, 155, 0.5);
  padding: 24px 20px;
  z-index: 1500;
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-banner-text {
  flex: 1 1 300px;
  color: #E8F4F8;
  font-size: 14px;
  line-height: 1.6;
}

.cookie-banner-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cookie-accept {
  background: linear-gradient(135deg, #2D7A9B, #1B4B7F);
  color: #ffffff;
  border-color: transparent;
}

.cookie-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 122, 155, 0.5);
}

.cookie-reject {
  background: transparent;
  color: #E8F4F8;
  border-color: rgba(45, 122, 155, 0.5);
}

.cookie-reject:hover {
  background: rgba(45, 122, 155, 0.2);
  border-color: #2D7A9B;
}

.cookie-settings {
  background: transparent;
  color: #2D7A9B;
  border-color: transparent;
  text-decoration: underline;
}

.cookie-settings:hover {
  color: #E8F4F8;
}

/* ================================
   COOKIE MODAL
   ================================ */

.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cookie-modal.show {
  opacity: 1;
  pointer-events: all;
}

.cookie-modal-content {
  background: linear-gradient(135deg, #0a1628, #1B4B7F);
  border: 2px solid rgba(45, 122, 155, 0.5);
  border-radius: 12px;
  padding: 40px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.cookie-modal.show .cookie-modal-content {
  transform: scale(1);
}

.cookie-modal h2 {
  margin-bottom: 24px;
  font-size: 28px;
}

.cookie-category {
  background: rgba(45, 122, 155, 0.1);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 16px;
  border-left: 3px solid #2D7A9B;
}

.cookie-category h3 {
  font-size: 18px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cookie-toggle {
  width: 50px;
  height: 26px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cookie-toggle.active {
  background: #2D7A9B;
}

.cookie-toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.cookie-toggle.active::after {
  transform: translateX(24px);
}

.cookie-toggle.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-modal-buttons {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* ================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ================================ */

@media (max-width: 768px) {
  
  /* Hide desktop nav, show mobile toggle */
  .main-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .mobile-menu {
    display: block;
  }
  
  /* Typography */
  h1 {
    font-size: 32px;
  }
  
  h2 {
    font-size: 24px;
  }
  
  h3 {
    font-size: 20px;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .page-hero h1 {
    font-size: 32px;
  }
  
  /* Trust badges */
  .trust-badges {
    flex-direction: column;
    align-items: center;
  }
  
  /* Buttons */
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
  
  /* Cards and grids */
  .stats-grid,
  .services-grid,
  .principles-grid,
  .values-grid,
  .research-categories,
  .categories-grid,
  .team-grid {
    flex-direction: column;
    align-items: center;
  }
  
  .stat-card,
  .service-card,
  .principle-card,
  .value-card,
  .category-card,
  .team-member {
    max-width: 100%;
    width: 100%;
  }
  
  /* Contact grid */
  .contact-grid {
    flex-direction: column;
  }
  
  .contact-info,
  .contact-form-wrapper {
    width: 100%;
  }
  
  /* Footer */
  .footer-content {
    flex-direction: column;
    gap: 32px;
  }
  
  .footer-section {
    width: 100%;
  }
  
  /* Cookie banner */
  .cookie-banner-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-banner-buttons {
    width: 100%;
    flex-direction: column;
  }
  
  .cookie-btn {
    width: 100%;
  }
  
  /* Sections */
  .section {
    padding: 32px 16px;
  }
  
  .hero {
    padding: 60px 20px 40px;
  }
  
  .page-hero {
    padding: 60px 20px 40px;
  }
  
  .content-section {
    padding: 40px 20px;
  }
  
  .cta-section {
    padding: 60px 20px;
    margin: 40px 16px;
  }
  
  /* Steps grid */
  .steps-grid {
    flex-direction: column;
    align-items: center;
  }
  
  .step-card {
    width: 100%;
    max-width: 100%;
  }
  
  /* Service detail cards */
  .service-detail-card {
    padding: 24px;
  }
  
  /* Testimonials */
  .testimonial-grid {
    flex-direction: column;
    align-items: center;
  }
  
  .testimonial-card {
    max-width: 100%;
    width: 100%;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  
  /* Tablet adjustments */
  .hero h1 {
    font-size: 44px;
  }
  
  .stats-grid,
  .services-grid {
    justify-content: center;
  }
  
  .stat-card,
  .service-card {
    flex: 1 1 calc(50% - 24px);
    max-width: calc(50% - 24px);
  }
}

/* ================================
   ANIMATIONS & TRANSITIONS
   ================================ */

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes slideInRight {
  from {
    transform: translateX(-30px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ================================
   UTILITY CLASSES
   ================================ */

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

.mb-32 {
  margin-bottom: 32px;
}

.mt-32 {
  margin-top: 32px;
}

.link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}

.link-grid .btn-secondary {
  flex: 1 1 200px;
  max-width: 250px;
}

/* ================================
   ACCESSIBILITY
   ================================ */

:focus {
  outline: 2px solid #2D7A9B;
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #1B4B7F;
  color: #ffffff;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* ================================
   PRINT STYLES
   ================================ */

@media print {
  
  body {
    background: white;
    color: black;
  }
  
  header,
  footer,
  .mobile-menu-toggle,
  .mobile-menu,
  .cookie-banner,
  .cookie-modal,
  .cta-section {
    display: none;
  }
  
  a {
    color: black;
    text-decoration: underline;
  }
  
  .container {
    max-width: 100%;
  }
}

/* ================================
   HIGH CONTRAST MODE SUPPORT
   ================================ */

@media (prefers-contrast: high) {
  
  body {
    background: #000000;
    color: #ffffff;
  }
  
  .btn-primary,
  .btn-secondary {
    border-width: 3px;
  }
  
  a {
    text-decoration: underline;
  }
}

/* ================================
   REDUCED MOTION SUPPORT
   ================================ */

@media (prefers-reduced-motion: reduce) {
  
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* END OF STYLESHEET */