:root { 
  --accent:#2CA982; 
}

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

.bg-accent{ 
  background-color:var(--accent); 
}

.border-accent{ 
  border-color:var(--accent); 
}

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

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

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

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

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

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

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

/* Scroll Reveal Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.animate-fade-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-fade-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered Animation Delays */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* Header Animation */
.header-animate {
  animation: slideInFromBottom 0.8s ease-out;
}

/* Hero Text Animations */
.hero-title {
  animation: fadeInLeft 1s ease-out 0.2s both;
}

.hero-subtitle {
  animation: fadeInLeft 1s ease-out 0.4s both;
}

.hero-buttons {
  animation: fadeInLeft 1s ease-out 0.6s both;
}

.hero-note {
  animation: fadeInLeft 1s ease-out 0.8s both;
}

.hero-image {
  animation: fadeInRight 1s ease-out 0.3s both;
}

/* Button Hover Animations */
.btn-animated {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-animated::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-animated:hover::before {
  left: 100%;
}

.btn-animated:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Logo Float Animation - stops after some time */
.logo-float {
  animation: float 1.5s ease-in-out 2; 
  animation-fill-mode: forwards;
  transition: all 0.3s ease;
}

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

/* Card Stagger Animation */
.card-stagger {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card-stagger.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Card Hover Styles */
.card-expandable { 
  transition: all 0.5s ease;
  cursor: pointer;
}
.card-expandable .short { 
  opacity: 1;
  max-height: 200px;
  transition: opacity 0.4s ease, max-height 0.5s ease;
}
.card-expandable .long { 
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.4s ease, max-height 0.5s ease;
}
.card-expandable:hover .short { 
  opacity: 0;
  max-height: 0;
}
.card-expandable:hover .long { 
  opacity: 1;
  max-height: 800px;
}
.card-expandable:hover {
  transform: translateY(-8px);
}

/* Slideshow Styles - Sliding Effect */
.slideshow-container {
  position: relative;
  overflow: hidden;
}
.slides-wrapper {
  display: flex;
  width: 400%; /* 4 slides = 400% */
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide {
  width: 25%; /* Each slide takes 1/4 of wrapper */
  height: 100%;
  object-fit: cover;
  border-radius: 1.5rem;
  flex-shrink: 0;
}
.slide-fade {
  animation: slideTransition 4s infinite;
}

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}
.slider-dot.active {
  background-color: white;
  transform: scale(1.2);
}
.slider-dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

@keyframes slideTransition {
  0%, 25% { opacity: 1; }
  30%, 95% { opacity: 0; }
  100% { opacity: 1; }
}

/* Banner Section Styles */
.banner-section-wrapper {
  position: relative;
}

.banner-container {
  width: 100%;
  height: 65vh;
  position: relative;
  perspective: 1000px;
  overflow: hidden;
  border: 4px solid var(--accent);
  border-radius: 1.5rem;
  margin: 1rem auto;
  max-width: calc(100% - 2rem);
  box-shadow: 0 8px 32px rgba(44, 169, 130, 0.15);
  /* Rahmen passt sich dem Bild an */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Interaction hint */
.interaction-hint {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  padding: 12px 20px;
  border-radius: 25px;
  border: 2px solid var(--accent);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  animation: hintPulse 3s ease-in-out infinite;
}

.hint-text {
  font-size: 14px;
  color: #2c5530;
  margin: 0;
  font-weight: 500;
  text-align: center;
}

.mobile-hint {
  display: none;
}

.desktop-hint {
  display: inline;
}

@keyframes hintPulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.05); opacity: 1; }
}

/* Hide hint after user interaction */
.banner-container.user-interacted .interaction-hint {
  animation: fadeOut 0.5s ease forwards;
}

@keyframes fadeOut {
  to { opacity: 0; transform: translateY(-10px); }
}

/* Mobile optimization for hint */
@media (max-width: 768px) {
  .interaction-hint {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    margin: 0 auto 1rem auto;
    text-align: center;
    padding: 8px 16px;
    max-width: 90%;
    display: block;
  }
  
  .hint-text {
    font-size: 13px;
  }
  
  .desktop-hint {
    display: none;
  }
  
  .mobile-hint {
    display: inline;
  }
}

.banner-image {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-image: url('../Bannerbild/Banner.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  /* Heller Filter um den grünen Farbton zu mildern */
  filter: brightness(1.15) saturate(0.8) contrast(1.05);
  border-radius: calc(1.5rem - 4px); /* Innenradius angepasst an Border */
}



/* Piktogramm styles */
.piktogramm {
  position: absolute;
  width: 80px;
  height: 80px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.9;
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
  z-index: 1;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.15);
  backdrop-filter: blur(5px);
  border: 2px solid var(--accent);
  
  /* Add subtle pulse animation to indicate clickability */
  animation: subtlePulse 3s ease-in-out infinite;
}

.piktogramm:hover {
  transform: scale(1.1);
  opacity: 1;
  filter: drop-shadow(3px 3px 6px rgba(0,0,0,0.5));
  background-color: rgba(255,255,255,0.25);
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(44, 169, 130, 0.4);
}

.piktogramm:active {
  transform: scale(1.2);
  transition: transform 0.1s ease;
}

/* Pulse animation for better visibility */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(44, 169, 130, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(44, 169, 130, 0); }
  100% { box-shadow: 0 0 0 0 rgba(44, 169, 130, 0); }
}

/* Continuous subtle pulse to indicate clickability */
@keyframes subtlePulse {
  0%, 100% { 
    box-shadow: 0 0 15px rgba(44, 169, 130, 0.3);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 0 25px rgba(44, 169, 130, 0.5);
    transform: scale(1.02);
  }
}

/* Subtle floating animations for each piktogramm */
@keyframes float1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(2px, -3px) rotate(1deg); }
  50% { transform: translate(-1px, -2px) rotate(0deg); }
  75% { transform: translate(-2px, 1px) rotate(-1deg); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  30% { transform: translate(-2px, -1px) rotate(-1deg); }
  60% { transform: translate(3px, -2px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
}

@keyframes float3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  20% { transform: translate(1px, -2px) rotate(0.5deg); }
  40% { transform: translate(-3px, 1px) rotate(-0.5deg); }
  80% { transform: translate(2px, 3px) rotate(1deg); }
}

@keyframes float4 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  35% { transform: translate(-1px, -3px) rotate(-1deg); }
  65% { transform: translate(2px, 1px) rotate(0.5deg); }
  85% { transform: translate(-2px, -1px) rotate(-0.5deg); }
}

/* Apply different animations to each piktogramm */
.amphibien { animation: float1 6s ease-in-out infinite; }
.bienen { animation: float2 5.5s ease-in-out infinite; animation-delay: -0.5s; }
.fische { animation: float2 5s ease-in-out infinite; }
.fledermaus { animation: float3 7s ease-in-out infinite; }
.flusskrebs { animation: float4 5.5s ease-in-out infinite; }
.pathogene { animation: float1 6.5s ease-in-out infinite; animation-delay: -2s; }
.reptilien { animation: float2 4.5s ease-in-out infinite; animation-delay: -1s; }
.saeugetiere { animation: float3 5.8s ease-in-out infinite; animation-delay: -3s; }
.wildkatze { animation: float4 6.2s ease-in-out infinite; animation-delay: -1.5s; }

.piktogramm:hover {
  animation: pulse 2s infinite;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: white;
  padding: 30px;
  border-radius: 20px;
  max-width: 700px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  animation: modalZoom 0.4s ease-out forwards;
  border: 2px solid var(--accent);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 15px;
}

.modal-title {
  color: var(--accent);
  font-size: 28px;
  font-weight: bold;
  margin: 0;
  line-height: 1.2;
}

.close {
  color: var(--accent);
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(44, 169, 130, 0.1);
  border: 1px solid var(--accent);
}

.close:hover {
  background: rgba(44, 169, 130, 0.2);
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(44, 169, 130, 0.3);
}

.modal-image-container {
  text-align: center;
  margin-bottom: 25px;
  background: rgba(44, 169, 130, 0.05);
  padding: 20px;
  border-radius: 15px;
  border: 1px solid rgba(44, 169, 130, 0.1);
}

.modal-image {
  max-width: 200px;
  max-height: 200px;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  border: 2px solid var(--accent);
}

.modal-image:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.modal-text {
  color: #374151;
  font-size: 17px;
  line-height: 1.75;
  text-align: left;
  font-family: 'system-ui', -apple-system, 'Segoe UI', 'Roboto', sans-serif;
  letter-spacing: 0.01em;
}

/* Improve paragraph spacing and structure */
.modal-text p {
  margin-bottom: 1.25rem;
  text-indent: 0;
}

.modal-text p:last-child {
  margin-bottom: 0;
}

/* Add visual breaks for better scanability */
.modal-text br + br {
  display: block;
  content: "";
  margin-top: 0.75rem;
}

/* Improve readability for key phrases */
.modal-text strong {
  font-weight: 600;
  color: #1f2937;
}

/* Add subtle emphasis for important concepts */
.modal-text em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}

/* Mobile responsiveness for modal text */
@media (max-width: 768px) {
  .modal-content {
    max-width: 96%;
    width: 96%;
    padding: 20px;
    max-height: 85vh;
    margin: 2%;
    border-radius: 15px;
  }
  
  .modal-title {
    font-size: 24px;
  }
  
  .modal-text {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .modal-image-container {
    margin-bottom: 20px;
  }
  
  .modal-image {
    max-width: 150px;
    max-height: 150px;
  }
}

@media (max-width: 480px) {
  .modal-content {
    padding: 15px;
    border-radius: 15px;
    max-width: 98%;
    width: 98%;
    margin: 1%;
  }
  
  .modal-title {
    font-size: 20px;
    line-height: 1.3;
  }
  
  .modal-text {
    font-size: 15px;
    line-height: 1.65;
  }
  
  .modal-text p {
    margin-bottom: 1rem;
  }
  
  .modal-image {
    max-width: 120px;
    max-height: 120px;
  }
  
  .modal-header {
    margin-bottom: 20px;
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    font-size: 30px;
  }
}

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

@keyframes modalZoom {
  from { 
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
  }
  to { 
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

.zoom-effect {
  animation: zoomPulse 0.6s ease-out;
}

@keyframes zoomPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1.1); }
}

/* Banner zoom to piktogramm effect */
.banner-zooming {
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  transform-origin: center center;
}

.piktogramm-highlight {
  z-index: 100 !important;
  transform: scale(1.5) !important;
  transition: all 0.8s ease-out !important;
  filter: brightness(1.3) drop-shadow(0 0 20px rgba(44, 169, 130, 0.8)) !important;
  border-color: var(--accent) !important;
  box-shadow: 0 0 25px rgba(44, 169, 130, 0.6) !important;
}

/* Typewriter Intro Styles */
.intro-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 1;
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.intro-screen.fade-out {
  opacity: 0;
  transform: scale(1.1);
  pointer-events: none;
}

.intro-screen.hidden {
  display: none;
}

/* Logo in intro screen */
.intro-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-600px, -280px) translateX(-20px); /* Logo noch weiter links oben */
  height: 80px; /* Gleiche Höhe wie im Header (h-20) */
  width: auto;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.intro-logo.visible {
  opacity: 1;
  transform: translate(-600px, -280px); /* Entfernt den translateX offset */
}

/* Responsive Anpassung für größere Bildschirme */
@media (min-width: 1024px) {
  .intro-logo {
    transform: translate(-700px, -350px) translateX(-20px); /* Maximal links oben auf Desktop */
  }
  
  .intro-logo.visible {
    transform: translate(-700px, -350px);
  }
}

.typewriter-container {
  text-align: left;
  max-width: 800px;
  padding: 2rem;
  margin-left: -100px; /* Offset to center the left-aligned text */
}

.typewriter-text {
  font-size: 3rem;
  font-weight: 600;
  color: #2CA982;
  line-height: 1.3;
  font-family: 'system-ui', sans-serif;
  border-right: 3px solid #2CA982;
  padding-right: 0.1em;
  animation: blinkCursor 1s infinite;
  overflow: hidden;
  text-align: left;
  white-space: nowrap;
}

.typewriter-text .second-line {
  color: #000000;
}

.typewriter-text.typing {
  animation: typewriter 0.8s steps(40, end), blinkCursor 1s infinite;
}

.typewriter-text.finished {
  border-right: none;
  animation: none;
}

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

@keyframes blinkCursor {
  from, to {
    border-color: transparent;
  }
  50% {
    border-color: #2CA982;
  }
}

.main-content {
  opacity: 0;
  transition: opacity 1s ease-in;
}

.main-content.show {
  opacity: 1;
}

/* Responsive typewriter text */
@media (max-width: 768px) {
  .typewriter-text {
    font-size: 2rem;
  }
  
  .typewriter-container {
    margin-left: -50px; /* Smaller offset for tablets */
  }
  
  .intro-logo {
    height: 80px; /* Bleibt gleich wie Header */
    transform: translate(-450px, -200px) translateX(-20px); /* Deutlich weiter links oben für Tablets */
  }
  
  .intro-logo.visible {
    transform: translate(-450px, -200px);
  }
}

@media (max-width: 480px) {
  .typewriter-text {
    font-size: 1.5rem;
  }
  
  .typewriter-container {
    margin-left: -20px; /* Even smaller offset for phones */
  }
  
  .intro-logo {
    height: 80px; /* Bleibt gleich wie Header */
    transform: translate(-380px, -250px) translateX(-20px); /* Logo oben links auch auf Mobile */
  }
  
  .intro-logo.visible {
    transform: translate(-380px, -250px);
  }
}

/* Individual positioning */
.amphibien { 
  top: 25%; 
  right: 15%; 
  background-image: url('../Bannerbild/Amphibien1.png');
}
.bienen { 
  top: 8%; 
  right: 35%; 
  background-image: url('../Bannerbild/Biene1.png');
}
.fische { 
  top: 35%; 
  left: 13%; 
  background-image: url('../Bannerbild/Fische1.png');
}
.fledermaus { 
  top: 5%; 
  right: 66%; 
  background-image: url('../Bannerbild/Fledermaus1.png');
}
.flusskrebs { 
  bottom: 25%; 
  right: 45%; 
  background-image: url('../Bannerbild/Flusskrebs1.png');
}
.pathogene { 
  top: 35%; 
  left: 50%; 
  background-image: url('../Bannerbild/Pathogene1.png');
}
.reptilien { 
  bottom: 5%; 
  right: 25%; 
  background-image: url('../Bannerbild/Reptilien1.png');
}
.saeugetiere { 
  top: 28%; 
  left: 30%; 
  background-image: url('../Bannerbild/Säugetiere1.png');
}
.wildkatze { 
  bottom: 20%; 
  left: 20%; 
  background-image: url('../Bannerbild/Wildkatze1.png');
}

/* ============================
   ABOUT US PAGE STYLES
   ============================ */

/* Team Member Sections */
.team-member {
  position: relative;
  padding: 2rem 0;
}

.team-member:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

/* Team Header */
.team-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.icon-wrapper {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent), #22c55e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(44, 169, 130, 0.3);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.icon-wrapper:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 35px rgba(44, 169, 130, 0.4);
}

.emoji {
  font-size: 2.5rem;
  filter: brightness(1.2);
}

.team-name {
  font-size: 2rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
  line-height: 1.2;
}

.team-title {
  font-size: 1.125rem;
  color: var(--accent);
  font-weight: 500;
  margin: 0.25rem 0 0 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Team Content */
.team-content {
  padding: 0;
}

.team-description {
  margin: 2rem 0;
  line-height: 1.8;
}

.team-description p {
  margin-bottom: 1.5rem;
  color: #4b5563;
  font-size: 1.1rem;
}

.team-description p:last-child {
  margin-bottom: 0;
}

/* Team Motto */
.team-motto {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(44, 169, 130, 0.1), rgba(34, 197, 94, 0.05));
  border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0;
  position: relative;
  overflow: hidden;
}

.team-motto::before {
  content: '"';
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.3;
  font-family: serif;
  line-height: 1;
}

.motto-text {
  font-style: italic;
  font-size: 1.125rem;
  color: #1f2937;
  font-weight: 500;
  display: block;
  margin-left: 2rem;
}

/* Special styling for Daniel's image */
.daniel-image {
  /* Position Daniel in the center - shift right to center him in the circular frame */
  object-position: 70% center;
  /* Standard filter styling */
  filter: grayscale(20%) contrast(1.1) brightness(1.05);
  /* Perfect circular border */
  border-radius: 50%;
}

.daniel-image:hover {
  /* Enhanced hover effect for Daniel's image */
  transform: scale(1.1);
  filter: grayscale(0%) contrast(1.2) brightness(1.1);
}

/* Special styling for Benjamin's image */
.benjamin-image {
  /* Enhanced circular crop with better positioning - moved more to the left */
  object-position: 22% 20%;
  /* Subtle sepia tone for professional look */
  filter: grayscale(10%) contrast(1.1) brightness(1.05) sepia(5%);
  /* Custom border radius for a perfect circle */
  border-radius: 50%;
}

.benjamin-image:hover {
  /* Enhanced hover effect for Benjamin's image */
  transform: scale(1.1);
  filter: grayscale(0%) contrast(1.2) brightness(1.1) sepia(0%);
}

/* Special wrapper styling for Benjamin's image with enhanced accent color styling */
.team-image-wrapper:has(.benjamin-image) {
  /* Enhanced shadow effect with accent color */
  box-shadow: 0 20px 40px rgba(44, 169, 130, 0.2), 0 0 0 3px rgba(44, 169, 130, 0.15);
  /* Professional gradient border with stronger accent colors */
  background: linear-gradient(135deg, var(--accent), #22c55e);
  /* Ensure the accent color border is prominent */
  border: 6px solid var(--accent);
  border-width: 6px;
}

.team-image-wrapper:has(.benjamin-image):hover {
  /* Enhanced hover animation for Benjamin's wrapper */
  transform: scale(1.05) rotate(1deg);
  box-shadow: 0 25px 50px rgba(44, 169, 130, 0.3), 0 0 0 4px rgba(44, 169, 130, 0.25);
}

/* Team Images */
.team-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.team-image-wrapper {
  position: relative;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
  border: 5px solid var(--accent);
  background: var(--accent);
}

.team-image-wrapper:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 25px 50px rgba(44, 169, 130, 0.2);
}

.team-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
  filter: grayscale(20%) contrast(1.1) brightness(1.05);
}

.team-image-wrapper:hover .team-image {
  transform: scale(1.1);
  filter: grayscale(0%) contrast(1.2) brightness(1.1);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(44, 169, 130, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-image-wrapper:hover .image-overlay {
  opacity: 1;
}

/* Reverse Layout for Alternating Design */
.team-member.reverse .team-image-container {
  order: 1;
}

.team-member.reverse .team-content {
  order: 2;
}

/* Teamwork Cards */
.teamwork-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.teamwork-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #22c55e);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.teamwork-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--accent);
}

.card-icon {
  width: 64px;
  height: 64px;
  background: rgba(44, 169, 130, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.teamwork-card:hover .card-icon {
  background: var(--accent);
  transform: scale(1.1);
}

.teamwork-card:hover .card-icon svg {
  color: white !important;
}

/* About Page Responsive Design */
@media (max-width: 1024px) {
  .team-member.reverse .team-image-container,
  .team-member.reverse .team-content {
    order: unset;
  }
  
  .team-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .team-name {
    font-size: 1.75rem;
  }
  
  .team-image-wrapper {
    width: 250px;
    height: 250px;
  }
}

@media (max-width: 768px) {
  /* Team styles */
  .team-member {
    padding: 1.5rem 0;
  }
  
  .team-header {
    margin-bottom: 1.5rem;
  }
  
  .icon-wrapper {
    width: 60px;
    height: 60px;
  }
  
  .emoji {
    font-size: 2rem;
  }
  
  .team-name {
    font-size: 1.5rem;
  }
  
  .team-title {
    font-size: 1rem;
  }
  
  .team-description p {
    font-size: 1rem;
  }
  
  .team-image-wrapper {
    width: 200px;
    height: 200px;
  }
  
  .team-image-container {
    padding: 1rem;
  }
  
  .teamwork-card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .team-header {
    gap: 0.75rem;
  }
  
  .icon-wrapper {
    width: 50px;
    height: 50px;
  }
  
  .emoji {
    font-size: 1.5rem;
  }
  
  .team-name {
    font-size: 1.25rem;
  }
  
  .team-description p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .motto-text {
    font-size: 1rem;
    margin-left: 1.5rem;
  }
  
  .team-motto::before {
    font-size: 2rem;
    left: 0.5rem;
  }
  
  .team-image-wrapper {
    width: 180px;
    height: 180px;
    border-width: 3px;
  }
}

/* Special hover effects for team sections */
.team-member:hover .icon-wrapper {
  animation: teamPulse 2s infinite;
}

@keyframes teamPulse {
  0% {
    box-shadow: 0 8px 25px rgba(44, 169, 130, 0.3);
  }
  50% {
    box-shadow: 0 8px 25px rgba(44, 169, 130, 0.5), 0 0 30px rgba(44, 169, 130, 0.3);
  }
  100% {
    box-shadow: 0 8px 25px rgba(44, 169, 130, 0.3);
  }
}

/* Gradient text effect for names on hover */
.team-member:hover .team-name {
  background: linear-gradient(45deg, var(--accent), #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

/* ============================
   HERO INFO LINK & MODAL STYLES
   ============================ */

/* Hero Info Link - styling is in HTML classes */

/* Hero Info Modal */
.hero-info-modal {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  animation: fadeIn 0.3s ease-in-out;
  backdrop-filter: blur(3px);
}

.hero-info-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: white;
  padding: 0;
  border-radius: 25px;
  max-width: 700px;
  width: 90%;
  max-height: 85vh;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  animation: heroModalZoom 0.4s ease-out forwards;
  border: 3px solid var(--accent);
}

.hero-info-modal-header {
  background: white;
  color: #1f2937;
  padding: 25px 30px 20px;
  border-radius: 22px 22px 0 0;
  position: relative;
}

.hero-info-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--accent);
}

.hero-info-logo {
  height: 45px;
  width: auto;
  transition: transform 0.3s ease;
}

.hero-info-logo:hover {
  transform: scale(1.05);
}

.hero-info-modal-title {
  font-size: 28px;
  font-weight: bold;
  margin: 15px 0 0 0;
  color: #1f2937;
  text-align: left;
}

.hero-info-close {
  color: var(--accent);
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(44, 169, 130, 0.1);
  border: 2px solid rgba(44, 169, 130, 0.2);
  /* Button-specific styles */
  outline: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
}

.hero-info-close:hover,
.hero-info-close:focus {
  background: rgba(44, 169, 130, 0.2);
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(44, 169, 130, 0.3);
}

.hero-info-close:active {
  transform: scale(0.95);
}

.hero-info-modal-body {
  padding: 35px;
  overflow-y: auto;
  max-height: calc(85vh - 120px);
  line-height: 1.7;
}

.hero-info-modal-body p {
  margin-bottom: 20px;
  color: #374151;
  font-size: 16px;
  text-align: justify;
}

.hero-info-modal-body p:last-of-type {
  margin-bottom: 25px;
}

.hero-info-modal-body strong {
  color: inherit;
  font-weight: 600;
}

.hero-info-modal-body .accent-text {
  color: var(--accent);
  font-weight: 600;
}

.hero-info-modal-cta {
  text-align: center;
  padding-top: 20px;
  border-top: 2px solid rgba(44, 169, 130, 0.1);
}

.hero-info-cta-btn {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 15px 30px;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(44, 169, 130, 0.3);
}

.hero-info-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(44, 169, 130, 0.4);
  background: #248066;
}

@keyframes heroModalZoom {
  from { 
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
  }
  to { 
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

/* Responsive Design for Hero Info Modal */
@media (max-width: 768px) {
  .hero-info-modal-content {
    width: 96%;
    max-width: none;
    margin: 2%;
    border-radius: 20px;
    border-width: 2px;
  }
  
  .hero-info-modal-header {
    padding: 20px 25px 15px;
    border-radius: 18px 18px 0 0;
  }
  
  .hero-info-header-top {
    margin-bottom: 12px;
    padding-bottom: 12px;
  }
  
  .hero-info-logo {
    height: 35px;
  }
  
  .hero-info-modal-title {
    font-size: 24px;
    margin: 12px 0 0 0;
  }
  
  .hero-info-close {
    width: 40px;
    height: 40px;
    font-size: 30px;
  }
  
  .hero-info-modal-body {
    padding: 25px;
  }
  
  .hero-info-modal-body p {
    font-size: 15px;
    text-align: left;
  }
  
  .hero-info-cta-btn {
    padding: 12px 25px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .hero-info-modal-content {
    width: 98%;
    margin: 1%;
  }
  
  .hero-info-modal-header {
    padding: 18px 20px 15px;
  }
  
  .hero-info-header-top {
    margin-bottom: 10px;
    padding-bottom: 10px;
  }
  
  .hero-info-logo {
    height: 30px;
  }
  
  .hero-info-modal-title {
    font-size: 20px;
    margin: 10px 0 0 0;
  }
  
  .hero-info-modal-body {
    padding: 20px;
  }
  
  .hero-info-modal-body p {
    font-size: 14px;
    margin-bottom: 16px;
  }
  
  /* Close button improvement for mobile */
  .hero-info-close {
    width: 44px;  /* Larger touch target */
    height: 44px; /* Larger touch target */
    font-size: 28px;
    border-width: 2px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
}