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

:root {
  --background: #002444;
  /* Very dark navy blue */
  --primary: #cf85ed;
  /* Vibrant purple/magenta - for accents and main headings */
  --secondary-background: #ffffff;
  /* White - for contrast sections (though less used now) */
  --complementary-purple-dark: #8047d4;
  /* Darker purple for graphic elements/buttons */
  --complementary-purple-light: #5e17eb;
  /* Lighter purple for graphic elements/buttons */
  --text-on-dark: #ffffff;
  /* Pure White */
  --text-on-light: #002444;
  /* Dark navy blue for text on light backgrounds */
  --border-color: rgba(240, 240, 240, 0.1);
  /* Keep existing border color */
  --pink: #FF69B4;

  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-team: 'Inter', sans-serif;
  --font-supplementary: 'Space Grotesk', sans-serif;

  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;

  /* Glassmorphism variables */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);

  /* Animation variables */
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--text-on-dark);
  line-height: 1.7;
  position: relative;
}

/* Scroll progress indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--complementary-purple-light) 50%, var(--pink) 100%);
  z-index: 1000;
  transition: width 0.1s ease;
  box-shadow: 0 0 10px rgba(207, 133, 237, 0.8);
}

/* Scroll to top button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--complementary-purple-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  z-index: 999;
  box-shadow:
    0 4px 15px rgba(207, 133, 237, 0.4),
    0 0 30px rgba(207, 133, 237, 0.3);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow:
    0 8px 25px rgba(207, 133, 237, 0.6),
    0 0 50px rgba(207, 133, 237, 0.5);
}

.scroll-to-top::before {
  content: '↑';
  color: var(--text-on-dark);
  font-size: 24px;
  font-weight: bold;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--primary);
  /* Headlines are now vibrant purple */
  font-weight: 700;
  /* Montserrat Bold is 700 */
  line-height: 1.3;
  text-transform: uppercase;
  /* All headings uppercase */
  letter-spacing: -0.05em;
  /* Reduced letter spacing */
  text-shadow:
    0 0 10px var(--primary),
    0 0 20px var(--primary),
    0 0 30px rgba(207, 133, 237, 0.5),
    0 0 40px rgba(207, 133, 237, 0.3);
  /* Stronger default neon */
  font-family: var(--font-heading);
  /* Use Montserrat */
  transition: var(--transition-smooth);
  filter: brightness(1);
}

h1:hover,
h2:hover,
h3:hover,
h4:hover,
h5:hover,
h6:hover {
  text-shadow:
    0 0 20px var(--primary),
    0 0 40px var(--primary),
    0 0 60px var(--primary),
    0 0 80px var(--complementary-purple-light),
    0 0 100px var(--complementary-purple-light),
    0 0 140px var(--complementary-purple-light),
    0 0 180px var(--complementary-purple-light),
    0 0 220px var(--complementary-purple-light),
    0 0 260px var(--complementary-purple-light),
    0 0 50px rgba(255, 255, 255, 0.8),
    /* Enhanced white glow */
    0 0 80px rgba(255, 255, 255, 0.6),
    0 0 120px rgba(255, 255, 255, 0.4);
  filter: brightness(1.2);
  transform: scale(1.02);
}

h1 {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
}

h2 {
  font-size: 2.2rem;
  margin-bottom: var(--spacing-sm);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-xs);
}

h1 {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
}

h2 {
  font-size: 2.2rem;
  margin-bottom: var(--spacing-sm);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-xs);
}

p {
  margin-bottom: var(--spacing-sm);
  color: var(--text-on-dark);
  /* Default text color on dark background */
  text-align: justify;
  /* Justified text */
}

li {
  text-align: justify;
}

a {
  text-decoration: none;
  color: var(--primary);
  /* Links use primary accent color */
  transition: color 0.3s ease;
}

a:hover {
  color: var(--text-on-dark);
  /* Hover color is white */
}

.header {
  background: rgba(0, 36, 68, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid rgba(207, 133, 237, 0.2);
  box-shadow:
    0 4px 30px rgba(0, 0, 0, 0.1),
    0 0 20px rgba(207, 133, 237, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
}

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

.logo h1 {
  color: var(--text-on-dark);
  /* Logo text white */
  font-size: 1.8rem;
  font-weight: 700;
  font-family: var(--font-heading);
  /* Use Montserrat for logo */
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-container h1 {
  margin: 0;
  line-height: 1;
}

.th-logo {
  height: 40px;
  width: auto;
}

.navigation ul {
  display: flex;
  list-style: none;
  justify-content: flex-end;
}

.navigation li {
  margin-left: var(--spacing-md);
}

.navigation a {
  color: var(--text-on-dark);
  /* Nav links white */
  font-weight: 400;
  transition: color 0.3s ease;
  position: relative;
  padding-bottom: 5px;
  font-family: var(--font-body);
  /* Use Roboto for nav links */
  background: linear-gradient(to right, var(--primary), var(--primary)) no-repeat right bottom;
  background-size: 0 2px;
  transition: background-size 0.3s ease, color 0.3s ease;
}

.navigation a:hover,
.navigation a.active {
  color: var(--primary);
  /* Nav links hover/active is primary accent */
  background-size: 100% 2px;
  background-position: left bottom;
}

.navigation a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
}

.mobile-menu-toggle {
  display: none;
}

.hero {
  padding: var(--spacing-xl) 0;
  text-align: center;
  background-image: linear-gradient(to left, var(--complementary-purple-dark), var(--background));
  background-attachment: fixed;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(128, 71, 212, 0.8) 0%, rgba(94, 23, 235, 0.6) 100%);
  z-index: -1;
}

.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(207, 133, 237, 0.2) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: -1;
}

.hero:hover::after {
  opacity: 1;
}

.hero .particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.hero .particle {
  position: absolute;
  background: rgba(207, 133, 237, 0.5);
  border-radius: 50%;
  animation: float 15s infinite linear;
}

@keyframes float {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100vh) translateX(100px) rotate(360deg);
    opacity: 0;
  }
}

.particle.interactive {
  transition: transform 0.1s ease-out;
  transform-origin: center;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  color: var(--primary);
  /* Solid primary color */
  text-transform: uppercase;
  /* Added for consistency */
  letter-spacing: -0.05em;
  /* Added for consistency */
  font-family: var(--font-heading);
  /* Use Montserrat */
}

.hero-subtitle {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto var(--spacing-lg);
  color: var(--text-on-dark);
  text-align: center;
  /* Centered motto */
}

.th-hero-logo-large {
  max-width: 800px;
  height: auto;
  margin-top: var(--spacing-md);
}

.btn {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: 12px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 1rem;
  transform: translateY(0) scale(1);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.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;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--complementary-purple-light) 0%, var(--complementary-purple-dark) 100%);
  background-size: 200% 200%;
  color: var(--text-on-dark);
  box-shadow:
    0 4px 15px rgba(94, 23, 235, 0.4),
    0 0 20px rgba(207, 133, 237, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: gradientFlow 3s ease infinite;
}

@keyframes gradientFlow {

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

  50% {
    background-position: 100% 50%;
  }
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow:
    0 8px 25px rgba(94, 23, 235, 0.6),
    0 0 40px rgba(207, 133, 237, 0.5),
    0 0 60px rgba(207, 133, 237, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  filter: brightness(1.2);
}

.btn-primary:active {
  transform: translateY(-1px) scale(1.02);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-on-dark);
  border: 2px solid rgba(207, 133, 237, 0.3);
  box-shadow:
    0 4px 15px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, rgba(207, 133, 237, 0.2) 0%, rgba(94, 23, 235, 0.2) 100%);
  border-color: var(--primary);
  color: var(--text-on-dark);
  transform: translateY(-3px) scale(1.05);
  box-shadow:
    0 8px 25px rgba(207, 133, 237, 0.4),
    0 0 30px rgba(207, 133, 237, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-secondary:active {
  transform: translateY(-1px) scale(1.02);
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-md);
  /* Reduced from lg for tighter spacing */
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  /* Primary accent color */
  font-family: var(--font-heading);
  /* Montserrat */
  text-transform: uppercase;
  letter-spacing: -0.05em;
  text-shadow: 0 0 0.5px var(--primary), 0 0 1px var(--primary);
  /* Reduced Neon effect */
}

.section-subtitle {
  color: var(--text-on-dark);
  font-size: 1.1rem;
  font-family: var(--font-body);
  text-align: center;
}

.about,
.what-we-do,
.why,
.expert-pool,
.photos,
.why-partner,
.database-concept,
.for-students,
.for-companies,
.future-implementation,
.additional-note,
.how-it-works,
.references {
  padding: var(--spacing-lg) 0;
  /* Reduced from xl to lg for better proportions */
  position: relative;
}

.about::after,
.what-we-do::after,
.why::after,
.expert-pool::after,
.photos::after,
.why-partner::after,
.database-concept::after,
.for-students::after,
.for-companies::after,
.future-implementation::after,
.additional-note::after,
.how-it-works::after,
.references::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--primary), transparent);
}

.about:last-child::after,
.what-we-do:last-child::after,
.why:last-child::after,
.expert-pool:last-child::after,
.photos:last-child::after,
.why-partner:last-child::after,
.database-concept:last-child::after,
.for-students:last-child::after,
.for-companies:last-child::after,
.future-implementation:last-child::after,
.additional-note:last-child::after,
.how-it-works:last-child::after,
.references:last-child::after {
  display: none;
}

.section-theme-purple {
  background-image: linear-gradient(to left, var(--complementary-purple-dark), var(--background));
}

.section-theme-purple h1,
.section-theme-purple h2,
.section-theme-purple h3,
.section-theme-purple h4,
.section-theme-purple h5,
.section-theme-purple h6 {
  color: var(--text-on-dark);
  /* White headings */
  text-shadow: 0 0 0.5px var(--text-on-dark), 0 0 1px var(--text-on-dark);
  /* Subtle Neon effect in white */
}

.section-theme-dark {
  position: relative;
  /* Establish stacking context */
  color: var(--text-on-dark);
  /* Ensure text is visible */
  padding: var(--spacing-xl) 0;
  /* Ensure sections have height */
}

.section-theme-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/graphics/textura.svg');
  background-repeat: repeat;
  background-color: var(--background);
  /* Use the base dark blue color */
  opacity: 0.9;
  /* Make it slightly transparent to see texture through */
  z-index: -1;
  /* Place behind content */
}

.section-theme-dark h1,
.section-theme-dark h2,
.section-theme-dark h3,
.section-theme-dark h4,
.section-theme-dark h5,
.section-theme-dark h6 {
  color: var(--primary);
  /* Primary accent color */
  text-shadow: 0 0 0.5px var(--primary), 0 0 1px var(--primary);
  /* Subtle Neon effect */
}


.about-content,
.what-we-do-content,
.concept-content {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
}

.about-text,
.what-we-do-text,
.concept-text {
  flex: 1;
  min-width: 300px;
}

.about-image,
.what-we-do-image,
.concept-image {
  flex: 1;
  min-width: 300px;
}

.discreet-links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  align-items: center;
  justify-content: center;
  height: 100%;
  /* Ensure it takes full height of parent */
}

.discreet-links a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  /* Use primary accent color for links */
  text-decoration: none;
  padding: var(--spacing-xs) var(--spacing-sm);
  border: 1px solid transparent;
  /* No border by default */
  border-radius: 8px;
  transition: all 0.3s ease;
  font-family: var(--font-heading);
  /* Use Montserrat for these links */
  text-transform: uppercase;
  letter-spacing: -0.05em;
}

.discreet-links a:hover {
  color: var(--text-on-dark);
  border-color: var(--primary);
  /* Subtle border on hover */
  background-color: rgba(200, 200, 255, 0.1);
  /* Slight background on hover */
}

.development-process-image-full {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  padding: 0;
  /* Removed padding */
}

.features,
.benefits,
.student-benefits,
.company-benefits,
.future-content,
.references-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.steps {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.feature,
.benefit,
.step,
.future-item,
.reference {
  background: var(--glass-bg);
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  padding: var(--spacing-md);
  border-radius: 20px;
  text-align: left;
  transition: var(--transition-smooth);
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
  transform: translateZ(0) rotate(0deg);
  box-shadow:
    0 8px 32px 0 rgba(31, 38, 135, 0.37),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.1),
    0 2px 4px rgba(207, 133, 237, 0.1);
}

.feature::before,
.benefit::before,
.step::before,
.future-item::before,
.reference::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(207, 133, 237, 0.1),
      transparent);
  transition: left 0.5s ease;
}

.feature:hover::before,
.benefit:hover::before,
.step:hover::before,
.future-item:hover::before,
.reference:hover::before {
  left: 100%;
}

.step {
  flex: 1;
}

.feature:hover,
.benefit:hover,
.step:hover,
.future-item:hover,
.reference:hover {
  transform: translateY(-12px) translateZ(20px) rotate(1deg);
  box-shadow:
    0 20px 60px 0 rgba(31, 38, 135, 0.5),
    0 30px 80px rgba(207, 133, 237, 0.3),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.2),
    0 0 40px rgba(207, 133, 237, 0.4);
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
}

.feature h3,
.benefit h3,
.step h3,
.future-item h3,
.reference h3 {
  color: var(--primary);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: -0.05em;
}

.step-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--spacing-sm);
  font-family: var(--font-heading);
}

.reference ul {
  list-style-type: none;
  padding-left: 0;
}

.reference li {
  position: relative;
  padding-left: 25px;
  margin-bottom: var(--spacing-xs);
  font-family: var(--font-body);
  text-align: justify;
}

.reference li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
}

.additional-note {
  background: var(--secondary-background);
  padding: var(--spacing-lg);
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.note-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.pool-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.stat {
  text-align: center;
}

.stat h3 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-heading);
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--spacing-md);
}

.gallery-item,
.photo-item {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.gallery-item:hover,
.photo-item:hover {
  transform: scale(1.03);
  border-color: var(--primary);
}

.gallery-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.cta {
  text-align: center;
  padding: var(--spacing-xl) 0;
  margin: var(--spacing-lg) 0;
  border-radius: 12px;
}

.cta h2 {
  font-size: 2.5rem;
}

.cta p {
  max-width: 800px;
  margin: 0 auto var(--spacing-lg);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.footer {
  background-color: var(--background);
  padding: var(--spacing-lg) 0 var(--spacing-sm);
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  /* Center the content */
  align-items: center;
  margin-bottom: var(--spacing-lg);
  gap: var(--spacing-md);
}

.footer-social {
  text-align: left;
}

/* Align the text to the left */
.social-links {
  margin: 0 var(--spacing-sm);
  font-size: 1.2rem;
}

/* Adjust margin for centered links */
.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--border-color);
  color: var(--text-on-dark);
}

.dedication {
  font-style: italic;
  color: var(--primary);
  font-size: 0.95rem;
  margin: var(--spacing-md) 0;
  opacity: 0.9;
  font-family: var(--font-body);
  line-height: 1.6;
}

/* Animation */
.anim-on-scroll {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.anim-on-scroll:nth-child(1) {
  transition-delay: 0.1s;
}

.anim-on-scroll:nth-child(2) {
  transition-delay: 0.2s;
}

.anim-on-scroll:nth-child(3) {
  transition-delay: 0.3s;
}

.anim-on-scroll:nth-child(4) {
  transition-delay: 0.4s;
}

.anim-on-scroll:nth-child(5) {
  transition-delay: 0.5s;
}

.anim-on-scroll:nth-child(6) {
  transition-delay: 0.6s;
}

.anim-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Hover animations */
.anim-on-hover {
  transition: var(--transition-smooth);
}

.anim-on-hover:hover {
  transform: translateY(-5px);
  filter: brightness(1.1);
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  /* Reduce neon effects on mobile for performance */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    text-shadow:
      0 0 5px var(--primary),
      0 0 10px var(--primary),
      0 0 15px rgba(207, 133, 237, 0.5);
  }

  h1:hover,
  h2:hover,
  h3:hover,
  h4:hover,
  h5:hover,
  h6:hover {
    text-shadow:
      0 0 10px var(--primary),
      0 0 20px var(--primary),
      0 0 30px var(--complementary-purple-light);
  }

  .navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(0, 36, 68, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--spacing-md);
    border-top: 1px solid rgba(207, 133, 237, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }

  .navigation.active {
    display: block;
    animation: slideDown 0.3s ease;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .navigation ul {
    flex-direction: column;
    align-items: center;
  }

  .navigation li {
    margin: var(--spacing-sm) 0;
    width: 100%;
    text-align: center;
  }

  .navigation a {
    display: block;
    padding: var(--spacing-sm);
    border-radius: 8px;
    transition: var(--transition-smooth);
  }

  .navigation a:hover,
  .navigation a.active {
    background: rgba(207, 133, 237, 0.1);
  }

  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 8px;
    z-index: 101;
  }

  .mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-on-dark);
    transition: var(--transition-smooth);
    border-radius: 2px;
  }

  .about-content,
  .what-we-do-content,
  .concept-content,
  .steps,
  .hero-new-content {
    flex-direction: column;
  }

  .hero-new-content {
    flex-direction: column-reverse;
  }

  .footer-content,
  .footer-social {
    text-align: center;
    justify-content: center;
  }

  .social-links a {
    margin: 0 var(--spacing-sm);
  }

  /* Adjust card sizing on mobile */
  .feature,
  .benefit,
  .step,
  .future-item,
  .reference,
  .dna-card,
  .team-member,
  .feature-card,
  .kpi-category {
    transform: none !important;
  }

  .feature:hover,
  .benefit:hover,
  .step:hover,
  .future-item:hover,
  .reference:hover,
  .dna-card:hover,
  .team-member:hover,
  .feature-card:hover,
  .kpi-category:hover {
    transform: translateY(-5px) scale(1.01) !important;
  }

  .khk-logo-hero {
    width: 200px;
    margin-bottom: -30px;
  }

  .hero-new-logo {
    max-width: 100%;
  }

  .logo-container h1 {
    font-size: 1.5rem;
  }

  .th-logo {
    height: 30px;
  }

  .header-inovace-logo {
    height: 20px;
  }

  /* Reduce particle count on mobile */
  .particles-container .particle:nth-child(n+16) {
    display: none;
  }

  /* Adjust button sizes */
  .btn {
    padding: calc(var(--spacing-sm) * 0.8) var(--spacing-sm);
    font-size: 0.9rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

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

.hero-new {
  background: linear-gradient(135deg,
      var(--background) 0%,
      #1a0b2e 25%,
      #16213e 50%,
      var(--complementary-purple-dark) 75%,
      var(--complementary-purple-light) 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  padding: calc(var(--spacing-lg) * 0.8) 0;
  /* Slightly reduced padding */
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

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

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.hero-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 50%, rgba(207, 133, 237, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(94, 23, 235, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(128, 71, 212, 0.2) 0%, transparent 50%);
  animation: floatingOrbs 20s ease-in-out infinite;
  z-index: 0;
}

@keyframes floatingOrbs {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.6;
  }

  33% {
    transform: translate(30px, -30px) scale(1.1);
    opacity: 0.8;
  }

  66% {
    transform: translate(-30px, 30px) scale(0.9);
    opacity: 0.7;
  }
}

/* Shimmer animation removed */

.hero-new .particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.hero-new .particle {
  position: absolute;
  background: rgba(207, 133, 237, 0.5);
  border-radius: 50%;
  animation: float 15s infinite linear;
}

.hero-new-content {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  position: relative;
  z-index: 2;
}

.hero-new-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.khk-logo-hero {
  width: 300px;
  /* Reduced size */
  height: auto;
  margin-bottom: -50px;
  /* Further reduced margin for a smaller gap */
  position: relative;
  z-index: 1;
}

.hero-new-logo {
  width: 100%;
  max-width: 800px;
  /* Further increased size */
  height: auto;
}

.hero-new-right {
  flex: 1.5;
  text-align: center;
}

.hero-new-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
  color: var(--primary);
  /* Use primary accent color */
  text-transform: uppercase;
  letter-spacing: -0.05em;
  text-shadow: 0 0 0.5px var(--primary);
  /* Weaker Neon effect */
  font-family: var(--font-heading);
  /* Use Montserrat */
}

.hero-new-quote {
  font-style: italic;
  margin-bottom: var(--spacing-md);
  color: var(--pink);
  /* Quote color is primary accent */
  font-family: var(--font-supplementary);
  /* Use Hanken Grotesk for quotes */
}

.hero-new-text {
  margin-bottom: var(--spacing-md);
  /* Reduced margin */
  line-height: 1.4;
  /* Reduced line height */
  color: var(--text-on-dark);
  /* Text on dark background */
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.9rem;
  /* Reduced font size */
}

.hero-dedication {
  margin-top: var(--spacing-lg);
  font-size: 0.75rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  font-family: var(--font-body);
  line-height: 1.3;
}

.partner-logos {
  margin-top: var(--spacing-lg);
  text-align: center;
}

/* Team Section */
.team-section {
  padding: var(--spacing-xl) 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.team-member {
  background: var(--glass-bg);
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  padding: var(--spacing-md);
  border-radius: 20px;
  text-align: center;
  transition: var(--transition-smooth);
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 8px 32px 0 rgba(31, 38, 135, 0.37),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
}

.team-member::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(207, 133, 237, 0.15),
      transparent);
  transition: left 0.5s ease;
}

.team-member:hover::before {
  left: 100%;
}

.team-member:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 50px rgba(207, 133, 237, 0.3),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.2);
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
}

.team-member-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--spacing-md);
  border: 3px solid var(--primary);
}

.team-member-name {
  font-size: 1.5rem;
  font-weight: 700;
  /* Bold */
  color: var(--primary);
  margin-bottom: 0.25rem;
  font-family: var(--font-team);
  /* Open Sans */
}

.team-member-city {
  font-size: 0.85rem;
  color: var(--text-on-dark);
  opacity: 0.7;
  font-family: var(--font-team);
  margin-bottom: var(--spacing-sm);
  text-align: center;
  font-style: italic;
}

.team-member-description {
  font-size: 0.9rem;
  color: var(--text-on-dark);
  font-family: var(--font-team);
  /* Open Sans */
  text-align: center;
}

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

.footer-contact p {
  margin: 5px 0;
}

.contact-details {
  margin-bottom: 15px;
}

.contact-details p {
  margin: 5px 0;
}

.contact-details a {
  color: var(--text-on-dark);
  text-decoration: none;
  font-family: var(--font-body);
}

.contact-details a:hover {
  color: var(--primary);
}

.contact-details .fas {
  margin-right: 10px;
  color: var(--primary);
}

.contact-section {
  padding: var(--spacing-xl) 0;
}

.contact-content {
  display: flex;
  justify-content: center;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
}

.contact-details-wrapper {
  display: flex;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
  justify-content: center;
}

.contact-details {
  background: var(--glass-bg);
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  padding: var(--spacing-md);
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  text-align: left;
  min-width: 300px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow:
    0 8px 32px 0 rgba(31, 38, 135, 0.37),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
}

.contact-details::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(207, 133, 237, 0.1),
      transparent);
  transition: left 0.5s ease;
}

.contact-details:hover::before {
  left: 100%;
}

.contact-details:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(207, 133, 237, 0.3),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.2);
  border-color: var(--primary);
}

.contact-details h3 {
  color: var(--primary);
  margin-bottom: var(--spacing-md);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: -0.05em;
}

.contact-details p {
  margin: var(--spacing-sm) 0;
  color: var(--text-on-dark);
  font-family: var(--font-body);
}

.contact-details a {
  color: var(--text-on-dark);
}

.contact-details a:hover {
  color: var(--primary);
}

.contact-details .fas {
  margin-right: 10px;
  color: var(--primary);
}

/* --- NEW STYLES FOR PRO-TALENTY --- */

/* How it works - Steps */
.step {
  text-align: center;
  /* Center align content */
}

.step-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--complementary-purple-light) 100%);
  color: var(--background);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
  font-size: 2rem;
  transition: var(--transition-bounce);
  box-shadow:
    0 4px 15px rgba(207, 133, 237, 0.4),
    0 0 20px rgba(207, 133, 237, 0.3);
}

.step:hover .step-icon {
  transform: scale(1.2) rotate(360deg);
  background: linear-gradient(135deg, var(--text-on-dark) 0%, var(--primary) 100%);
  box-shadow:
    0 8px 25px rgba(207, 133, 237, 0.6),
    0 0 40px rgba(207, 133, 237, 0.5);
  animation: iconPulse 1s ease infinite;
}

.step h3 {
  color: var(--text-on-dark);
  /* White heading on purple background */
}

/* Key Features Section */
.features {
  padding: var(--spacing-xl) 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.feature-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  padding: var(--spacing-md);
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 8px 32px 0 rgba(31, 38, 135, 0.37),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(207, 133, 237, 0.1),
      transparent);
  transition: left 0.5s ease;
}

.feature-card:hover::before {
  left: 100%;
}

.feature-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 50px rgba(207, 133, 237, 0.3),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.2);
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: var(--spacing-md);
  transition: var(--transition-bounce);
  filter: drop-shadow(0 0 10px rgba(207, 133, 237, 0.5));
}

.feature-card:hover .feature-icon {
  transform: scale(1.2) rotate(10deg);
  filter: drop-shadow(0 0 20px rgba(207, 133, 237, 0.8));
  animation: iconPulse 1s ease infinite;
}

@keyframes iconPulse {

  0%,
  100% {
    transform: scale(1.2) rotate(10deg);
  }

  50% {
    transform: scale(1.3) rotate(10deg);
  }
}

.feature-card h3 {
  margin-bottom: var(--spacing-sm);
  font-size: 1.6rem;
}

.feature-card p {
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
  /* Allows p to take up space, pushing ul down */
  text-align: center;
  /* Keep paragraph text left-aligned */
}

.feature-card ul {
  list-style-type: none;
  padding-left: 0;
  margin-top: auto;
  /* Pushes the list to the bottom */
  text-align: left;
  /* Keep list text left-aligned */
}

.feature-card li {
  position: relative;
  padding-left: 25px;
  margin-bottom: var(--spacing-xs);
  font-family: var(--font-body);
  text-align: justify;
}

.feature-card li::before {
  content: '✓';
  /* Checkmark for list items */
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* --- NEW STYLES FOR PRO-PARTNERY --- */

.kpi-section {
  padding: var(--spacing-xl) 0;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.kpi-category {
  background: var(--glass-bg);
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  padding: var(--spacing-md);
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 8px 32px 0 rgba(31, 38, 135, 0.37),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
}

.kpi-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(207, 133, 237, 0.1),
      transparent);
  transition: left 0.5s ease;
}

.kpi-category:hover::before {
  left: 100%;
}

.kpi-category:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 50px rgba(207, 133, 237, 0.3),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.2);
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
}

.kpi-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: var(--spacing-md);
}

.kpi-icon {
  font-size: 2rem;
  color: var(--primary);
  transition: var(--transition-bounce);
  filter: drop-shadow(0 0 10px rgba(207, 133, 237, 0.5));
}

.kpi-category:hover .kpi-icon {
  transform: scale(1.2) rotate(10deg);
  filter: drop-shadow(0 0 20px rgba(207, 133, 237, 0.8));
  animation: iconPulse 1s ease infinite;
}

.kpi-header h3 {
  margin: 0;
  font-size: 1.4rem;
}

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

.kpi-list li {
  margin-bottom: var(--spacing-sm);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-on-dark);
  text-align: justify;
}

.kpi-value {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
  background-color: rgba(207, 133, 237, 0.1);
  padding: 2px 8px;
  border-radius: 6px;
}

/* --- STYLES FOR O-NAS PAGE --- */

.about-section,
.dna-section,
.team-section {
  padding: var(--spacing-xl) 0;
}

.about-text-full {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-text-full p {
  font-size: 1.1rem;
  text-align: center;
}

.dna-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  /* Narrower cards */
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
  max-width: 1100px;
  /* Constrain width */
  margin-left: auto;
  margin-right: auto;
}

.dna-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px) saturate(200%);
  -webkit-backdrop-filter: blur(12px) saturate(200%);
  padding: var(--spacing-md);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 8px 32px 0 rgba(31, 38, 135, 0.3),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.15);
}

.dna-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.dna-card:hover::after {
  opacity: 1;
}

.dna-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 50px rgba(255, 255, 255, 0.3),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

.dna-icon {
  font-size: 3rem;
  color: var(--text-on-dark);
  margin-bottom: var(--spacing-md);
  transition: var(--transition-bounce);
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

.dna-card:hover .dna-icon {
  transform: scale(1.2) rotate(-10deg);
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8));
  animation: iconPulse 1s ease infinite;
}

.dna-card h3 {
  font-size: 1.6rem;
  margin-bottom: var(--spacing-sm);
  color: var(--text-on-dark);
  /* White heading on purple theme */
}

.dna-card p {
  text-align: center;
  color: var(--text-on-dark);
  /* White text on purple theme */
}

.team-section {
  border-top: none;
  /* Remove border if sections are separate */
  margin-top: 0;
  /* Remove margin if sections are separate */
}

/* Subtle glow for h2 in section headers */
.section-header h2:hover {
  text-shadow:
    0 0 5px var(--text-on-dark),
    /* Subtle white glow */
    0 0 10px var(--text-on-dark),
    0 0 15px var(--text-on-dark);
}

/* Center align the hero-new-subtitle */
.hero-new-subtitle {
  text-align: center;
}

/* Typewriter effect */
.typewriter {
  display: inline-block;
  overflow: hidden;
  border-right: 3px solid #FF69B4;
  white-space: nowrap;
  animation:
    typing 3.5s steps(60, end),
    blink-caret 0.75s step-end infinite;
  animation-delay: 0.5s;
  animation-fill-mode: both;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink-caret {
  from, to {
    border-color: transparent;
  }
  50% {
    border-color: #FF69B4;
  }
}

/* -- Kontejner pro scroller -- */
.partner-scroller {
  background: #001529; /* Tmavé pozadí */
  padding: 30px 0;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.partner-scroller::before,
.partner-scroller::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
}

.partner-scroller::before {
  left: 0;
  background: linear-gradient(to right, #001529, transparent);
}

.partner-scroller::after {
  right: 0;
  background: linear-gradient(to left, #001529, transparent);
}

/* -- Hlavní kontejner scrolleru -- */
.scroller-track {
  display: flex;
  align-items: center;
  animation: seamless-scroll 60s linear infinite;
  width: max-content;
}

.scroller-track:hover {
  animation-play-state: paused;
}

/* -- ODKAZ = Logo kontejner -- */
.scroller-track a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  margin: 0 30px;
  text-decoration: none;
}

/* -- OBRÁZKY -- */
.scroller-track img {
  max-height: 100px;
  max-width: 240px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.6;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* -- Hover efekt: zvětšit a zobrazit plnou barvu -- */
.scroller-track a:hover img {
  opacity: 1;
  transform: scale(1.1);
}

/* -- Vybělení tmavých log (TUL a UHK) -- */
.logo-tul img,
.logo-uhk img {
  filter: brightness(0) invert(1);
}

/* -- Zmenšení velkých log -- */
.logo-tul img,
.logo-ciri img {
  max-height: 70px;
  max-width: 180px;
}

/* -- Individuální zvětšení malých log -- */
.logo-cerc img,
.logo-cuni img,
.logo-klaster img,
.logo-mensa img,
.logo-mjelinek img,
.logo-wsu img {
  max-height: 120px;
  max-width: 280px;
}

/* -- Extra zvětšení pro nejmenší loga -- */
.logo-salmondo img,
.logo-prostredoskolaky img {
  max-height: 180px;
  max-width: 400px;
}

.logo-yoda img {
  max-height: 160px;
  max-width: 360px;
}


/* Seamless infinite scroll */
@keyframes seamless-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-100% / 3));
    /* Move by exactly one third (one set of logos) */
  }
}

/* Removed size classes - all logos same size now */

/* Experts Section */
.experts-section {
  padding: var(--spacing-xl) 0;
}

.experts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.expert-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  padding: var(--spacing-md);
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 8px 32px 0 rgba(31, 38, 135, 0.37),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
}

.expert-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(207, 133, 237, 0.1),
      transparent);
  transition: left 0.5s ease;
}

.expert-card:hover::before {
  left: 100%;
}

.expert-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 50px rgba(207, 133, 237, 0.3),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.2);
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
}

.expert-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--spacing-md);
  border: 4px solid var(--primary);
}

.expert-card h3 {
  margin-bottom: var(--spacing-sm);
  font-size: 1.6rem;
}

.expert-card p {
  text-align: justify;
}

/* Photo Gallery Styles */
.photo-gallery-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  /* Spacing between images */
  justify-content: center;
  /* Center the images */
  margin-top: var(--spacing-lg);
}

.photo-gallery-flex .photo-item {
  border: 2px solid var(--border-color);
  /* Simple frame */
  border-radius: 8px;
  padding: 5px;
  /* Small padding around the image */
  background-color: rgba(255, 255, 255, 0.05);
  /* Slight background tint */
  transition: transform 0.3s ease, border-color 0.3s ease;
  flex-grow: 0;
  flex-shrink: 0;
}

.photo-gallery-flex .photo-item:hover {
  transform: scale(1.05);
  border-color: var(--primary);
}

.photo-gallery-flex .photo-item img {
  display: block;
  max-width: 100%;
  /* Ensure images are responsive and don't overflow */
  height: auto;
  /* Maintain aspect ratio */
  border-radius: 4px;
  /* Slightly rounded corners for the image itself */
}

/* Adjustments for +inovace logo */
.inovace-logo,
.contact-logo {
  position: relative;
  top: 6px;
  /* Move down a little more */
  margin-left: 10px;
  /* Move right closer to TalentHUB text */
  height: 40px;
  /* Smaller size */
  width: auto;
}

.header-inovace-logo {
  position: relative;
  top: 2px;
  /* Move up a little in header */
  height: 25px;
  /* Smaller size in header */
  width: auto;
  /* Maintain aspect ratio */
}

.grayscale {
  filter: grayscale(100%);
}

/* Adjust Tomáš Ponka photo positioning to show left side */
img[alt="Tomáš Ponka"] {
  object-position: left center;
}