
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
  color: #0a1e3f;
  line-height: 1.6;
  font-size: 16px;
}


.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 0;
}

/**/
header {
  background-color: #0a1e3f;
  height: 70px;            
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;     
  padding: 0 20px;         
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.logo {
  height: 60px;            
  cursor: pointer;
  filter: none;
  transition: filter 0.3s ease;
}

.logo:hover {
  filter: none;            
}

nav {
  flex-grow: 1;
  margin-left: 20px;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;     
  height: 100%;
}


nav ul.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav ul.nav-links li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

nav ul.nav-links li a:hover,
nav ul.nav-links li a:focus {
  color: #3a78b1;
  
}


.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.burger span {
  display: block;
  height: 3px;
  width: 25px;
  background-color: #fff;
  border-radius: 50%;
  margin: 6px 0;
  transition: all 0.4s ease;
}

.burger.toggle span:nth-child(1) {
  width: 8px;
  height: 8px;
  transform: translateX(6px);
  opacity: 0.8;
}

.burger.toggle span:nth-child(2) {
  width: 12px;
  height: 12px;
  opacity: 1;
}

.burger.toggle span:nth-child(3) {
  width: 8px;
  height: 8px;
  transform: translateX(-6px);
  opacity: 0.8;
}



.hero {
  position: relative;
  height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 0 1rem;
  overflow: hidden;
  background: url('images/uvod.jpg') center center/cover no-repeat; 
  background-color: #0a1e3f; 
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 30, 63, 0.65); 
  z-index: 0;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  animation: fadeInUp 1.2s ease forwards;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 0.6rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-shadow: 3px 3px 10px rgba(0,0,0,0.7);
}

.hero p {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  margin-bottom: 2rem;
  font-weight: 500;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
}

.hero-subtitle {
  opacity: 0;
  animation: fadeInUp 1.5s ease forwards;
  animation-delay: 1.2s;
}

.hero-divider {
  width: 60px;
  margin: 1.5rem auto 3rem; 
  border: 0;
  border-top: 3px solid #3a78b1;
  border-radius: 3px;
}


.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(135deg, #3a78b1, #265a88);
  color: #fff;
  padding: 1rem 3rem;
  font-weight: 700;
  font-size: 1.2rem;
  border-radius: 40px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 6px 15px rgba(58,120,177,0.6);
  transition: background 0.4s ease, box-shadow 0.4s ease, transform 0.3s ease;
  user-select: none;
  border: none;
}

.btn i {
  width: 22px;
  height: 22px;
  stroke-width: 2.5;
  stroke: white;
}

.btn:hover,
.btn:focus {
  background: linear-gradient(135deg, #265a88, #1c3f5f);
  box-shadow: 0 8px 20px rgba(38,90,136,0.8);
  transform: scale(1.05);
  outline: none;
}


@media (max-width: 600px) {
  .hero {
    height: 60vh;
    padding: 0 1.5rem;
  }

  .hero-video {
    display: none; 
  }

  .hero::before {
    background: rgba(0, 0, 0, 0.603); 
  }

  .hero h1 {
    font-size: 2rem;
    letter-spacing: 1px;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 1.3rem;
  }

  .btn {
    padding: 0.8rem 2.2rem;
    font-size: 1rem;
  }
}


h2 {
  color: #0a1e3f;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 2rem;
  border-bottom: 3px solid #3a78b1;
  padding-bottom: 0.3rem;
  letter-spacing: 1px;
}


section {
  background-color: #fff;
  margin-bottom: 2rem;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgb(0 0 0 / 0.1);
  padding: 2rem 1rem;
}



#sluzby ul,
#faq ul {
  list-style: disc inside;
  color: #0a1e3f;
}

#sluzby ul li,
#faq ul li {
  margin-bottom: 0.6rem;
  font-weight: 500;
}


.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 2rem;
}

.service-card {
  background: #e8f0fe;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  font-weight: 600;
  color: #0a1e3f;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card i {
  width: 40px;
  height: 40px;
  color: #3a78b1;
  margin-bottom: 12px;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(58, 120, 177, 0.2);
}

#sluzby h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #2c4d7a;
  margin-bottom: 2rem;
}


#cenik {
  padding: 2rem 0;
  background-color: #f9fafe; 
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(58, 120, 177, 0.15);
  max-width: 700px;
  margin: 0 auto;
}

#cenik h2 {
  color: #2c4d7a;
  margin-bottom: 1.5rem;
  font-weight: 700;
  font-size: 2rem;
  text-align: center;
}

#cenik p {
  margin-bottom: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#cenik strong {
  color: #3a78b1;
}

#cenik .icon {
  stroke: #3a78b1;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  #cenik p {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }

  #cenik .icon {
    width: 18px;
    height: 18px;
  }
}


#cenik p strong:last-child {
  font-weight: 700;
  color: #21508d;
}


.about-section .container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem 1rem;
  flex-wrap: wrap;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgb(0 0 0 / 0.1);
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
}


.about-text {
  background-color: transparent;
  padding: 1.5rem 1.8rem;
  border-radius: 8px;
  box-shadow: none;
}

.about-text h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
  font-weight: 700;
  color: #2c4d7a;
  text-align: center;
  letter-spacing: 1px;
  padding-bottom: 0.3rem;
  border-bottom: 3px solid #4d7fad;
}

.about-text p {
  margin-bottom: 1.2rem;
  font-weight: 500;
  line-height: 1.65;
  color: #0d1c50; 
  position: relative;
  padding-left: 28px; 
}

.about-text p::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%233a78b1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.4;
}

.about-text p strong {
  color: #3a78b1;
  font-weight: 700;
}


.about-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);
  max-width: 250px;
  opacity: 0.2;
  user-select: none;
  pointer-events: none;
  z-index: 1;
  border-radius: 0;
  box-shadow: none;
}


@media (max-width: 768px) {
  .about-section .container {
    flex-direction: column;
    padding: 1rem;
  }

  .about-text {
    flex: 1 1 100%;
  }

  .about-watermark {
    max-width: 220px;
    opacity: 0.20;
  }
}


#prubeh {
  background-color: #f5f9ff;
  padding: 3rem 1rem;
  text-align: center;
  color: #0a1e3f;
}

#prubeh h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  border-bottom: 3px solid #3a78b1;
  padding-bottom: 0.4rem;
  display: inline-block;
  letter-spacing: 1px;
  font-weight: 700;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 700px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.steps li {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgb(0 0 0 / 0.1);
  flex: 1 1 100px;
  padding: 2rem 1rem 1rem; 
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #3a78b1;
  transition: background-color 0.3s ease;
  cursor: default;
  position: relative; 
  margin-top: 1.5rem; 
}

.step-number {
  position: absolute;
  top: -1.5rem; 
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.6rem; 
  font-weight: 900;
  color: #3a78b1;
  background: #e4efff;
  width: 36px;
  height: 36px;
  line-height: 36px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgb(58 120 177 / 0.3);
  user-select: none;
  z-index: 10; 
}

.steps li i {
  stroke-width: 1.5;
  width: 32px;
  height: 32px;
  margin-bottom: 0.5rem;
  color: #3a78b1;
}

.steps li:hover {
  background-color: #d9e7ff;
}


@media (max-width: 600px) {
  .steps {
    flex-direction: column;
    max-width: 350px;
    margin: 0 auto;
  }

  .steps li {
    flex: none;
    width: 100%;
    margin-top: 3rem; 
    position: relative;
  }

  .step-number {
    position: absolute;
    top: 0.5rem;   
    left: 1rem;   
    transform: none; 
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 2rem;
    box-shadow: 0 2px 6px rgb(58 120 177 / 0.3);
  }
}

#reference {
  background-color: #f5faff;
  padding: 3rem 1rem;
  color: #0a1e3f;
  text-align: center;
}

#reference h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  border-bottom: 3px solid #3a78b1;
  display: inline-block;
  padding-bottom: 0.3rem;
  letter-spacing: 1px;
  font-weight: 700;
}

.reference-slider {
  position: relative;
  max-width: 700px;
  margin: 0 auto 2rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.slides {
  flex: 1;
  position: relative;
  min-height: 120px;
}

.slides blockquote {
  background-color: #e3f0ff;
  border-left: 6px solid #3a78b1;
  padding: 1.2rem 2rem;
  font-style: italic;
  color: #0a1e3f;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgb(58 120 177 / 0.1);
  position: absolute;
  top: 0; left: 0; right: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.slides blockquote.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

.nav {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
  color: #3a78b1;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
}

.nav:hover {
  color: #1c4ea4;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
}

.dots button {
  width: 14px;
  height: 14px;
  background-color: #c8d8ff;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dots button.active {
  background-color: #3a78b1;
}

.social-refs {
  margin-top: 1.5rem;
  color: #0a1e3f;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
}

.social-refs p {
  margin-bottom: 0.7rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-icons a {
  color: #3a78b1;
  font-size: 1.8rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #1c4ea4;
}


@media (max-width: 600px) {
  .reference-slider {
    flex-direction: column;
    gap: 1rem;
  }

  .nav {
    font-size: 1.5rem;
  }
}


#galerie {
  background-color: #f5faff;
  padding: 3rem 1rem;
  color: #0a1e3f;
  text-align: center;
}

#galerie h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  border-bottom: 3px solid #3a78b1;
  display: inline-block;
  padding-bottom: 0.3rem;
  letter-spacing: 1px;
  font-weight: 700;
}

.gallery-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto 1rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.gallery-frame {
  flex: 1;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(145deg, #eaf3fc, #f7fbff);
  box-shadow: 0 4px 14px rgba(58, 120, 177, 0.12);
  position: relative;
  cursor: pointer;
}

.gallery-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  border-radius: 8px;
  transition: transform 0.4s ease, opacity 0.5s ease;
}

.gallery-frame img.active {
  display: block;
  opacity: 1;
}

.gallery-frame img:hover {
  transform: scale(1.02);
}

.gallery-slider .nav {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
  color: #3a78b1;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  font-size: 2rem;
}

.gallery-slider .nav:hover {
  color: #1c4ea4;
}

#galleryDots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

#galleryDots button {
  width: 14px;
  height: 14px;
  background-color: #c8d8ff;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#galleryDots button.active {
  background-color: #3a78b1;
}

.gallery-note {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  color: #1e2a47;
  font-size: 1.1rem;
  font-weight: 500;
  text-align: center;
  padding: 0.5rem 1rem;
  background: #eaf2fb;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.gallery-note i {
  width: 22px;
  height: 22px;
}

.gallery-note svg {
  width: 1.2rem;
  height: 1.2rem;
  color: #3a78b1;
}


#fullscreenModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 30, 63, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#fullscreenModal.active {
  display: flex;
  opacity: 1;
  pointer-events: auto;
  animation: fadeIn 0.3s ease;
}

#fullscreenModal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
  user-select: none;
  pointer-events: none;
}

#fullscreenModal .nav,
#fullscreenModal .close-fullscreen {
  position: absolute;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2.5rem;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 10001;
  transition: color 0.3s ease;
}

#fullscreenModal .nav:hover,
#fullscreenModal .close-fullscreen:hover {
  color: #3a78b1;
}

#fullscreenModal .prev {
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

#fullscreenModal .next {
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

#fullscreenModal .close-fullscreen {
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
}

@keyframes fadeIn {
  from { opacity: 0 }
  to { opacity: 1 }
}

@media (max-width: 600px) {
  .gallery-slider {
    flex-direction: column;
    gap: 1rem;
  }

  .gallery-slider .nav {
    font-size: 1.5rem;
  }

  .gallery-note {
    font-size: 0.85rem;
  }
}


.faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

#faq h2 {
  color: #2c4d7a;
  margin-bottom: 1.5rem;
  font-weight: 700;
  font-size: 2rem;
  text-align: center;
  border-bottom: 3px solid #4d7fad;
  padding-bottom: 0.3rem;
}

.faq-list li + li {
  margin-top: 1em;
}

.faq-question {
  width: 100%;
  text-align: left;
  font-weight: 600;
  background: #004080; 
  color: white;
  padding: 12px 20px;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover,
.faq-question[aria-expanded="true"] {
  background: #0066cc; 
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: #f0f8ff; 
  color: #333;
  padding: 0 20px;
  border-radius: 0 0 6px 6px;
  font-size: 1rem;
  line-height: 1.4;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer.open {
  padding: 15px 20px;
  max-height: 500px; 
}

.faq-question::after {
  content: '+';
  font-weight: bold;
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"]::after {
  content: '-';
  transform: rotate(180deg);
}


#kontakt .container {
  display: flex;
  flex-wrap: nowrap; 
  gap: 2rem;
  justify-content: center;
  align-items: stretch; 
  min-height: 400px; 
}


#kontakt .kontakt-text {
  flex: 1 1 300px;
  max-width: 400px;
  color: #1b2a47;
  font-weight: 600;
  line-height: 1.5;
  padding-right: 1rem;
}


#kontakt form {
  flex: 1 1 300px;
  max-width: 480px;
  background: #f7f9fc;
  padding: 1.5rem 2rem;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgb(10 30 63 / 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center; 
  gap: 0.5rem; 
  height: 100%; 
}

#kontakt label {
  font-weight: 700;
  color: #0a1e3f;
  margin-bottom: 0.2rem;
}

#kontakt input[type="text"],
#kontakt input[type="email"],
#kontakt textarea {
  font-size: 1rem;
  padding: 0.5rem 0.7rem;
  border: 2px solid #a7c1eb;
  border-radius: 8px;
  transition: border-color 0.3s ease;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  resize: vertical;
}


#kontakt h3 {
  margin-bottom: 0.8rem;
  color: #0a1e3f;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#kontakt button {
  background-color: #0a1e3f;
  color: white;
  font-weight: 900;
  border: none;
  padding: 0.9rem 0;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 5px 15px rgb(10 30 63 / 0.3);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  margin-top: 0.5rem;
}

#kontakt button:hover,
#kontakt button:focus {
  background-color: #2a5db0;
  box-shadow: 0 7px 20px rgb(42 93 176 / 0.6);
  outline: none;
}


#kontakt .kontakt-text p {
  margin-bottom: 1rem;
}

#kontakt .kontakt-text a {
  color: #2a5db0;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

#kontakt .kontakt-text a:hover,
#kontakt .kontakt-text a:focus {
  color: #0a1e3f;
  border-bottom-color: #0a1e3f;
  outline: none;
}

.kontakt-text i[data-lucide] {
  vertical-align: middle;
  margin-right: 0.5rem;
  stroke-width: 2;
  color: #2a5db0;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}


@media (max-width: 768px) {
  #kontakt .container {
    flex-direction: column;
    gap: 1rem;
    min-height: auto;
  }

  #kontakt form {
    max-width: 100%;
    padding: 1rem 1rem;
    gap: 0.3rem; 
    justify-content: flex-start; 
  }

  #kontakt label {
    margin-bottom: 0.1rem;
    font-size: 0.9rem;
  }

  #kontakt input[type="text"],
  #kontakt input[type="email"],
  #kontakt textarea {
    padding: 0.4rem 0.6rem;
    font-size: 0.95rem;
  }

  #kontakt button {
    padding: 0.8rem 0;
    font-size: 1rem;
    margin-top: 0.8rem;
  }
}



#gdpr p,
#gdpr ul {
  color: #4a4a4a;
  font-size: 0.9rem;
  line-height: 1.4;
}

#gdpr h2 {
  color: #2c4d7a;
  margin-bottom: 1.5rem;
  font-weight: 700;
  font-size: 2rem;
  text-align: center;
  border-bottom: 3px solid #4d7fad;
  padding-bottom: 0.3rem;
}

#gdpr ul {
  margin-top: 0.5rem;
  padding-left: 1.2rem;
}

#gdpr ul li {
  margin-bottom: 0.3rem;
}

#gdpr a {
  color: #3a78b1;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed #3a78b1;
  transition: color 0.3s ease, border-color 0.3s ease;
}

#gdpr a:hover {
  color: #2c4d7a;
  border-color: #2c4d7a;
}

#gdprDetails {
  margin-top: 15px;
  color: #4a4a4a;
  font-size: 0.9rem;
  line-height: 1.5;
  border-left: 3px solid #007BFF;
  padding-left: 15px;
  background: #f9f9f9;
  border-radius: 4px;
}

.btn-link {
  background: none;
  border: none;
  padding: 0;
  color: #007BFF;
  cursor: pointer;
  font-size: 0.9rem;
  text-decoration: underline;
  font-family: inherit;
}

.btn-link:hover,
.btn-link:focus {
  color: #0056b3;
  outline: none;
}

#gdprModal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  font-family: Arial, sans-serif;
}

#gdprModal > div {
  background: #fff;
  padding: 25px 30px;
  border-radius: 10px;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
}

#gdprModal h3 {
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: 700;
  font-size: 1.4rem;
  color: #333;
}

#gdprModal p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 20px;
}

#gdprModal a {
  color: #007BFF;
  text-decoration: none;
}

#gdprModal a:hover {
  text-decoration: underline;
}

#gdprModal label {
  display: block;
  font-size: 1rem;
  color: #444;
  margin-bottom: 20px;
  cursor: pointer;
  user-select: none;
}

#gdprModal input[type="checkbox"] {
  margin-right: 8px;
  transform: scale(1.2);
  vertical-align: middle;
}

#gdprModal button {
  padding: 8px 18px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#gdprConfirm {
  background-color: #007BFF;
  color: white;
  margin-left: 10px;
}

#gdprConfirm:hover {
  background-color: #0056b3;
}

#gdprCancel {
  background-color: #ccc;
  color: #333;
}

#gdprCancel:hover {
  background-color: #999;
}


footer {
  background-color: #0a1e3f;
  color: #fff;
  padding: 2rem 1rem;
  text-align: center;
  position: relative;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-logo {
  max-width: 100px;
  opacity: 1;
  position: static;
  pointer-events: auto;
  user-select: auto;
  animation: spin 10s linear infinite;
}

.powered-by {
  font-size: 0.9rem;
  flex-grow: 1;
  text-align: left;
}

.powered-by a {
  color: #3a78b1;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.powered-by a:hover {
  color: #fff;
}

footer p {
  margin: 0;
}


@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}


.footer-logo {
  animation: spin 10s linear infinite;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
  }

  .powered-by {
    flex-grow: 0;
    text-align: center;
    margin-bottom: 0.5rem;
  }

  .footer-logo {
    max-width: 80px;
    margin: 0 auto;
    position: static;
  }
}


@media (max-width: 768px) {
  nav ul.nav-links {
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    background-color: #0a1e3f;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60%;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 2rem 1rem;
    z-index: 1000;
  }

  nav ul.nav-links.active {
    transform: translateX(0);
  }

  nav ul.nav-links li {
    margin-bottom: 2rem;
  }

  .burger {
    display: flex;
  }
}


.burger.toggle span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.toggle span:nth-child(2) {
  opacity: 0;
}

.burger.toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}