/* ===================================
   CRIMSON INSIGHT - VIBRANT ENERGETIC DESIGN
   Complete CSS Styles
   =================================== */

/* CSS RESET & NORMALIZE */
* {
  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, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #1A1A1A;
  background: #FFFFFF;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

/* ===================================
   VIBRANT ENERGETIC COLOR PALETTE
   =================================== */
:root {
  --primary: #C41E3A;
  --primary-dark: #A01729;
  --primary-light: #E8335A;
  --secondary: #1A365D;
  --secondary-dark: #0F2340;
  --accent: #E8D5C4;
  --accent-bright: #FFD700;
  --electric-blue: #00D4FF;
  --neon-pink: #FF006E;
  --vibrant-orange: #FF6B35;
  --energy-yellow: #FFD60A;
  --text-dark: #1A1A1A;
  --text-light: #FFFFFF;
  --bg-light: #F8F8F8;
  --border-color: #E0E0E0;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(196, 30, 58, 0.2);
}

/* ===================================
   TYPOGRAPHY - BOLD & ENERGETIC
   =================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 16px;
}

h1 {
  font-size: 48px;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--neon-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 32px;
  color: var(--secondary);
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--vibrant-orange));
  border-radius: 2px;
}

h3 {
  font-size: 24px;
  color: var(--primary);
}

h4 {
  font-size: 18px;
  color: var(--secondary);
  font-weight: 700;
}

p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
  color: #333333;
}

strong {
  font-weight: 700;
  color: var(--primary);
}

/* ===================================
   CONTAINER & LAYOUT
   =================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

/* ===================================
   MOBILE MENU TOGGLE BUTTON
   =================================== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  background: linear-gradient(135deg, var(--primary), var(--neon-pink));
  color: var(--text-light);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 6px 20px rgba(196, 30, 58, 0.6);
}

.mobile-menu-toggle:active {
  transform: scale(0.95);
}

/* ===================================
   MOBILE MENU OVERLAY
   =================================== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
  z-index: 1000;
  padding: 80px 30px 30px;
  transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  overflow-y: auto;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
}

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

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary);
  color: var(--text-light);
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  background: var(--neon-pink);
  transform: rotate(90deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav a {
  color: var(--text-light);
  font-size: 20px;
  font-weight: 600;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  display: block;
  position: relative;
  overflow: hidden;
}

.mobile-nav a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary), var(--vibrant-orange));
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  padding-left: 30px;
}

.mobile-nav a:hover::before {
  transform: translateX(0);
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */
header {
  background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--primary);
}

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

.logo img {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: all 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05);
  filter: brightness(0) invert(1) drop-shadow(0 0 10px var(--primary));
}

.nav-menu {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-menu li a {
  color: var(--text-light);
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-size: 15px;
  position: relative;
  overflow: hidden;
}

.nav-menu li a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--vibrant-orange));
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-menu li a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-bright);
}

.nav-menu li a:hover::before {
  width: 80%;
}

/* ===================================
   HERO SECTION - HIGH ENERGY
   =================================== */
.hero {
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 50%, var(--primary) 100%);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, var(--electric-blue) 0%, transparent 70%);
  opacity: 0.1;
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.1; }
  50% { transform: scale(1.2); opacity: 0.15; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  color: var(--text-light);
  margin-bottom: 24px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: slideInDown 0.8s ease-out;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--accent-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.hero-subtitle {
  color: var(--accent);
  font-size: 20px;
  margin-bottom: 32px;
  animation: slideInUp 0.8s ease-out 0.2s both;
  line-height: 1.6;
}

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

.meta-info {
  color: var(--accent);
  font-size: 14px;
  font-style: italic;
}

/* ===================================
   BUTTONS - BOLD & DYNAMIC
   =================================== */
.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: slideInUp 0.8s ease-out 0.4s both;
}

.btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

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

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--vibrant-orange));
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(196, 30, 58, 0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--text-light);
  border: 3px solid var(--accent-bright);
}

.btn-secondary:hover {
  background: var(--accent-bright);
  color: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

/* ===================================
   VALUE PROPOSITION
   =================================== */
.value-proposition {
  padding: 60px 20px;
  background: var(--bg-light);
}

.value-proposition h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 36px;
}

.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.benefit-card {
  background: #FFFFFF;
  padding: 32px;
  border-radius: 15px;
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 3px solid transparent;
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--vibrant-orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.benefit-card:hover::before {
  transform: scaleX(1);
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(196, 30, 58, 0.3);
  border-color: var(--primary);
}

.benefit-card h3 {
  margin-bottom: 16px;
  color: var(--secondary);
}

.benefit-card p {
  color: #555555;
}

/* ===================================
   SERVICES SECTIONS
   =================================== */
.services-overview {
  padding: 60px 20px;
  background: #FFFFFF;
}

.section-subtitle {
  text-align: center;
  color: #666666;
  font-size: 18px;
  margin-bottom: 40px;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.service-card {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--bg-light) 100%);
  padding: 32px;
  border-radius: 15px;
  flex: 1;
  min-width: 300px;
  max-width: 380px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 2px solid var(--border-color);
  position: relative;
  margin-bottom: 20px;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--electric-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(196, 30, 58, 0.25);
  border-color: var(--primary);
}

.service-card h3 {
  margin-bottom: 16px;
  font-size: 22px;
}

.service-card p {
  margin-bottom: 16px;
}

.service-card .price {
  color: var(--primary);
  font-weight: 700;
  font-size: 20px;
  margin-top: 16px;
  margin-bottom: 0;
}

/* ===================================
   TESTIMONIALS - HIGH CONTRAST
   =================================== */
.testimonials {
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--accent) 0%, #FFFFFF 100%);
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 50px;
}

.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.testimonial-card {
  background: #FFFFFF;
  padding: 32px;
  border-radius: 15px;
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-left: 5px solid var(--primary);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 80px;
  color: var(--accent);
  font-family: Georgia, serif;
  line-height: 0;
  opacity: 0.5;
}

.testimonial-card p {
  color: #1A1A1A;
  font-style: italic;
  font-size: 16px;
  position: relative;
  z-index: 1;
  line-height: 1.7;
}

.testimonial-card .author {
  color: #333333;
  font-style: normal;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 2px solid var(--accent);
}

.testimonial-card .author strong {
  color: var(--secondary);
  font-size: 18px;
  display: block;
  margin-bottom: 4px;
}

/* ===================================
   STATISTICS - BOLD NUMBERS
   =================================== */
.stats {
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.stat-card {
  text-align: center;
  padding: 32px;
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-bright);
}

.stat-number {
  font-size: 56px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-bright), var(--vibrant-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  display: block;
}

.stat-label {
  color: var(--text-light);
  font-size: 16px;
  font-weight: 600;
}

/* ===================================
   CTA BANNER - ENERGETIC
   =================================== */
.cta-banner {
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--neon-pink) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.cta-banner h2 {
  color: var(--text-light);
  margin-bottom: 24px;
  font-size: 36px;
  position: relative;
  z-index: 1;
}

.cta-banner h2::after {
  display: none;
}

.cta-banner p {
  color: var(--text-light);
  font-size: 18px;
  margin-bottom: 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary {
  background: #FFFFFF;
  color: var(--primary);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  background: var(--accent-bright);
  color: var(--secondary);
}

/* ===================================
   TWO COLUMN LAYOUTS
   =================================== */
.two-column {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.column {
  flex: 1;
  min-width: 300px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.text-image-section > * {
  flex: 1;
  min-width: 300px;
}

/* ===================================
   MISSION & VISION
   =================================== */
.mission-vision {
  padding: 60px 20px;
  background: var(--bg-light);
}

.mission-vision h2 {
  margin-bottom: 20px;
}

/* ===================================
   STORY SECTION
   =================================== */
.story {
  padding: 60px 20px;
  background: #FFFFFF;
}

.story h2 {
  text-align: center;
  margin-bottom: 30px;
}

.story p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 18px;
  text-align: center;
  line-height: 1.8;
}

/* ===================================
   VALUES SECTION
   =================================== */
.values {
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--bg-light) 0%, #FFFFFF 100%);
}

.values h2 {
  text-align: center;
  margin-bottom: 50px;
}

.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.value-card {
  background: #FFFFFF;
  padding: 32px;
  border-radius: 15px;
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--primary);
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(196, 30, 58, 0.3);
  border-top-width: 6px;
}

.value-card h3 {
  margin-bottom: 12px;
}

/* ===================================
   TEAM SECTION
   =================================== */
.team {
  padding: 60px 20px;
  background: #FFFFFF;
}

.team h2 {
  text-align: center;
  margin-bottom: 20px;
}

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

.team-card {
  background: linear-gradient(135deg, var(--bg-light) 0%, #FFFFFF 100%);
  padding: 32px;
  border-radius: 15px;
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  margin-bottom: 20px;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(196, 30, 58, 0.3);
  border-color: var(--primary);
}

.team-card h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.team-card .role {
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.team-card p {
  font-size: 14px;
  color: #666666;
}

/* ===================================
   RESEARCH AREAS
   =================================== */
.research-areas {
  padding: 60px 20px;
  background: var(--bg-light);
}

.research-areas h2 {
  text-align: center;
  margin-bottom: 50px;
}

.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.area-card {
  background: #FFFFFF;
  padding: 32px;
  border-radius: 15px;
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--primary);
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.area-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(196, 30, 58, 0.3);
  border-left-width: 8px;
}

.area-card h3 {
  margin-bottom: 16px;
}

/* ===================================
   PROJECTS
   =================================== */
.current-projects {
  padding: 60px 20px;
  background: #FFFFFF;
}

.current-projects h2 {
  text-align: center;
  margin-bottom: 50px;
}

.projects-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.project-card {
  background: linear-gradient(135deg, var(--bg-light), #FFFFFF);
  padding: 32px;
  border-radius: 15px;
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border-top: 4px solid var(--electric-blue);
  margin-bottom: 20px;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 212, 255, 0.3);
}

.project-card h3 {
  margin-bottom: 16px;
  color: var(--secondary);
}

.project-meta {
  font-size: 13px;
  color: #666666;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

/* ===================================
   METHODOLOGY
   =================================== */
.methodology {
  padding: 60px 20px;
  background: var(--bg-light);
}

.methodology h2 {
  text-align: center;
  margin-bottom: 24px;
}

.methodology > .container > p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 32px;
  font-size: 18px;
}

.principles-list {
  max-width: 600px;
  margin: 0 auto;
  list-style: none;
}

.principles-list li {
  padding: 16px 20px 16px 50px;
  margin-bottom: 12px;
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: var(--shadow);
  position: relative;
  transition: all 0.3s ease;
  font-weight: 600;
  color: #333333;
}

.principles-list li::before {
  content: '✓';
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-weight: 900;
  font-size: 20px;
}

.principles-list li:hover {
  transform: translateX(10px);
  box-shadow: 0 4px 15px rgba(196, 30, 58, 0.2);
}

/* ===================================
   PUBLICATIONS
   =================================== */
.featured-publications,
.recent-publications {
  padding: 60px 20px;
  background: #FFFFFF;
}

.publications-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.publication-card {
  background: var(--bg-light);
  padding: 32px;
  border-radius: 15px;
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border-left: 5px solid var(--secondary);
  margin-bottom: 20px;
}

.publication-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(26, 54, 93, 0.3);
  border-left-width: 8px;
}

.publication-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.authors,
.journal,
.venue {
  font-size: 14px;
  color: #666666;
  margin-bottom: 8px;
}

.citations {
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  margin-top: 12px;
}

.publications-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.publication-item {
  background: var(--bg-light);
  padding: 24px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary);
}

.publication-item:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 20px rgba(196, 30, 58, 0.2);
}

.publication-item h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.access-badge {
  display: inline-block;
  padding: 6px 12px;
  background: var(--electric-blue);
  color: var(--text-light);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-top: 12px;
}

/* ===================================
   WHITEPAPERS
   =================================== */
.whitepapers {
  padding: 60px 20px;
  background: var(--bg-light);
}

.whitepapers h2 {
  text-align: center;
  margin-bottom: 20px;
}

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

.whitepaper-card {
  background: #FFFFFF;
  padding: 32px;
  border-radius: 15px;
  flex: 1;
  min-width: 300px;
  max-width: 450px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border-top: 4px solid var(--vibrant-orange);
  margin-bottom: 20px;
}

.whitepaper-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(255, 107, 53, 0.3);
}

.whitepaper-card h3 {
  margin-bottom: 12px;
}

.whitepaper-card .meta {
  font-size: 13px;
  color: #666666;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

/* ===================================
   RESEARCH METRICS
   =================================== */
.research-metrics {
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
}

.research-metrics h2 {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 50px;
}

.metrics-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.metric-card {
  text-align: center;
  padding: 32px;
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.metric-card:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.15);
}

.metric-value {
  font-size: 56px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-bright), var(--vibrant-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  display: block;
}

.metric-label {
  color: var(--text-light);
  font-size: 16px;
  font-weight: 600;
}

/* ===================================
   CONTACT SECTIONS
   =================================== */
.contact-options {
  padding: 60px 20px;
  background: var(--bg-light);
}

.contact-options h2 {
  text-align: center;
  margin-bottom: 50px;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.contact-card {
  background: #FFFFFF;
  padding: 32px;
  border-radius: 15px;
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
  border-top: 4px solid var(--primary);
  margin-bottom: 20px;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(196, 30, 58, 0.3);
}

.contact-card h3 {
  margin-bottom: 16px;
  color: var(--secondary);
}

.contact-card p {
  margin-bottom: 8px;
}

/* ===================================
   CONTACT FORM
   =================================== */
.contact-form-section {
  padding: 60px 20px;
  background: #FFFFFF;
}

.contact-form-section h2 {
  text-align: center;
  margin-bottom: 20px;
}

.form-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-light);
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.form-field {
  margin-bottom: 24px;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--secondary);
  font-size: 15px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s ease;
  background: #FFFFFF;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

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

.checkbox-field label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  cursor: pointer;
}

.checkbox-field input[type="checkbox"] {
  width: auto;
  cursor: pointer;
}

.form-wrapper .btn {
  width: 100%;
  margin-top: 8px;
}

/* ===================================
   TEAM CONTACTS
   =================================== */
.team-contacts {
  padding: 60px 20px;
  background: var(--bg-light);
}

.team-contacts h2 {
  text-align: center;
  margin-bottom: 50px;
}

.team-contacts-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.contact-person {
  background: #FFFFFF;
  padding: 32px;
  border-radius: 15px;
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border-left: 5px solid var(--electric-blue);
  margin-bottom: 20px;
}

.contact-person:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 212, 255, 0.3);
}

.contact-person h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.contact-person .role {
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.contact-person .email {
  color: var(--electric-blue);
  font-weight: 600;
  margin-bottom: 12px;
  word-break: break-word;
}

/* ===================================
   LEGAL CONTENT
   =================================== */
.legal-content {
  padding: 60px 20px;
  background: #FFFFFF;
}

.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-light);
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.content-wrapper h2 {
  margin-top: 32px;
  margin-bottom: 16px;
  font-size: 24px;
}

.content-wrapper h2:first-child {
  margin-top: 0;
}

.content-wrapper h3 {
  margin-top: 24px;
  margin-bottom: 12px;
  font-size: 20px;
}

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

.content-wrapper a {
  color: var(--primary);
  font-weight: 600;
  border-bottom: 1px solid var(--primary);
}

.content-wrapper a:hover {
  color: var(--vibrant-orange);
  border-bottom-color: var(--vibrant-orange);
}

.rights-list {
  list-style: none;
  padding: 0;
}

.rights-list li {
  padding: 16px 20px;
  margin-bottom: 16px;
  background: #FFFFFF;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.rights-list li strong {
  display: block;
  margin-bottom: 8px;
  color: var(--secondary);
}

/* ===================================
   SERVICES DETAILED
   =================================== */
.services-detailed {
  padding: 60px 20px;
  background: #FFFFFF;
}

.service-detail {
  max-width: 900px;
  margin: 0 auto 50px;
  background: var(--bg-light);
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  border-left: 6px solid var(--primary);
}

.service-detail h2 {
  margin-bottom: 20px;
  color: var(--secondary);
}

.service-detail > p {
  margin-bottom: 24px;
  font-size: 17px;
}

.benefits-list {
  list-style: none;
  margin: 24px 0;
  padding: 0;
}

.benefits-list li {
  padding: 12px 16px 12px 40px;
  margin-bottom: 10px;
  background: #FFFFFF;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.benefits-list li::before {
  content: '✓';
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-weight: 900;
  font-size: 18px;
}

.benefits-list li:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 10px rgba(196, 30, 58, 0.15);
}

.pricing {
  margin: 24px 0;
  padding: 16px;
  background: #FFFFFF;
  border-radius: 8px;
  border: 2px solid var(--primary);
}

.pricing strong {
  font-size: 24px;
  color: var(--primary);
}

/* ===================================
   THANK YOU PAGE
   =================================== */
.thank-you-hero {
  padding: 100px 20px;
}

.success-icon {
  width: 100px;
  height: 100px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  color: var(--text-light);
  margin: 0 auto 32px;
  animation: scaleIn 0.6s ease-out;
}

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

.next-steps {
  padding: 60px 20px;
  background: var(--bg-light);
}

.next-steps h2 {
  text-align: center;
  margin-bottom: 50px;
}

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

.step-card {
  background: #FFFFFF;
  padding: 32px;
  border-radius: 15px;
  flex: 1;
  min-width: 250px;
  max-width: 280px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(196, 30, 58, 0.3);
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--vibrant-orange));
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  margin: 0 auto 20px;
}

.step-card h3 {
  margin-bottom: 12px;
  color: var(--secondary);
}

/* ===================================
   RESOURCES SECTION
   =================================== */
.resources {
  padding: 60px 20px;
  background: #FFFFFF;
}

.resources h2 {
  text-align: center;
  margin-bottom: 50px;
}

.resources-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.resource-card {
  background: var(--bg-light);
  padding: 32px;
  border-radius: 15px;
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
  border-top: 4px solid var(--electric-blue);
  margin-bottom: 20px;
}

.resource-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 212, 255, 0.3);
}

.resource-card h3 {
  margin-bottom: 12px;
}

.resource-card p {
  margin-bottom: 20px;
}

/* ===================================
   FOOTER - VIBRANT
   =================================== */
footer {
  background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
  color: var(--text-light);
  padding: 60px 20px 20px;
  border-top: 5px solid var(--primary);
}

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

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

.footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-section h4 {
  color: var(--accent-bright);
  margin-bottom: 16px;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-section p {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 14px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: var(--accent);
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-section ul li a:hover {
  color: var(--accent-bright);
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: var(--accent);
  font-size: 14px;
}

/* ===================================
   COOKIE CONSENT BANNER
   =================================== */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
  color: var(--text-light);
  padding: 20px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  z-index: 999;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  border-top: 3px solid var(--primary);
}

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

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

.cookie-text {
  flex: 1;
  min-width: 250px;
}

.cookie-text p {
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--accent);
}

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

.cookie-buttons .btn {
  padding: 12px 24px;
  font-size: 14px;
}

.btn-accept {
  background: var(--primary);
  color: var(--text-light);
}

.btn-reject {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.btn-settings {
  background: transparent;
  color: var(--accent-bright);
  border: 2px solid var(--accent-bright);
}

/* ===================================
   COOKIE SETTINGS MODAL
   =================================== */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1002;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal-content {
  background: #FFFFFF;
  max-width: 600px;
  width: 100%;
  border-radius: 15px;
  padding: 40px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideInUp 0.4s ease;
}

.cookie-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary);
  color: var(--text-light);
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-modal-close:hover {
  background: var(--neon-pink);
  transform: rotate(90deg);
}

.cookie-category {
  margin-bottom: 24px;
  padding: 20px;
  background: var(--bg-light);
  border-radius: 10px;
  border-left: 4px solid var(--primary);
}

.cookie-category h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.cookie-category p {
  font-size: 14px;
  margin-bottom: 12px;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cookie-toggle label {
  font-weight: 600;
  cursor: pointer;
}

.cookie-toggle input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

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

.cookie-modal-buttons .btn {
  flex: 1;
  min-width: 150px;
}

/* ===================================
   RESPONSIVE DESIGN - MOBILE FIRST
   =================================== */
@media (max-width: 768px) {
  /* Show mobile menu toggle */
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Hide desktop navigation */
  .nav-menu {
    display: none;
  }

  /* Typography adjustments */
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 20px;
  }

  /* Hero adjustments */
  .hero {
    padding: 60px 20px;
  }

  /* Button adjustments */
  .btn {
    padding: 14px 28px;
    font-size: 14px;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  /* Grid adjustments - use full width on mobile */
  .benefits-grid,
  .services-grid,
  .values-grid,
  .team-grid,
  .areas-grid,
  .projects-grid,
  .publications-grid,
  .whitepapers-grid,
  .stats-grid,
  .metrics-grid,
  .contact-grid,
  .team-contacts-grid,
  .steps-grid,
  .resources-grid {
    flex-direction: column;
  }

  /* Card adjustments */
  .benefit-card,
  .service-card,
  .value-card,
  .team-card,
  .area-card,
  .project-card,
  .publication-card,
  .whitepaper-card,
  .stat-card,
  .metric-card,
  .contact-card,
  .contact-person,
  .step-card,
  .resource-card,
  .testimonial-card {
    max-width: 100%;
  }

  /* Two column to single column */
  .two-column {
    flex-direction: column;
  }

  .text-image-section {
    flex-direction: column;
  }

  /* Footer adjustments */
  .footer-content {
    flex-direction: column;
    gap: 30px;
  }

  /* Cookie consent adjustments */
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }

  .cookie-buttons .btn {
    width: 100%;
  }

  /* Form adjustments */
  .form-wrapper {
    padding: 24px;
  }

  /* Legal content adjustments */
  .content-wrapper {
    padding: 24px;
  }

  /* Service detail adjustments */
  .service-detail {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  /* Further mobile adjustments */
  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 24px;
  }

  .hero {
    padding: 40px 20px;
  }

  .section {
    padding: 32px 16px;
  }

  .stat-number,
  .metric-value {
    font-size: 42px;
  }

  .mobile-menu {
    max-width: 100%;
  }
}

/* ===================================
   ANIMATIONS & TRANSITIONS
   =================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Selection color */
::selection {
  background: var(--primary);
  color: var(--text-light);
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .mobile-menu-toggle,
  .mobile-menu,
  .cookie-consent,
  .cookie-modal {
    display: none !important;
  }

  body {
    background: #FFFFFF;
  }

  a {
    text-decoration: underline;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary: #A01729;
    --secondary: #0F2340;
  }

  .btn {
    border: 2px solid currentColor;
  }
}

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

/* ===================================
   END OF CSS
   =================================== */