* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(to bottom, #f1f7fa, #ffffff);
  color: #1a2c38;
  line-height: 1.6;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0.5rem 1rem;
  background: transparent;
  z-index: 1000;
}

header img {
  height: 40px;
}

.transparent-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 2rem;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.header-logo {
  height: 60px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

.header-nav {
  display: flex;
  gap: 2rem;
}

.header-nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.header-nav a:hover {
  color: #9fd0e7;
}

nav {
  font-size: 0.95rem;
  display: flex;
  gap: 1.25rem;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  margin-left: 1.5rem;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #9fd0e7;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  height: auto;
  padding: 6rem 2rem 4rem;
  color: white;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.55) contrast(1.1);
}

.hero-content {
  padding: 3.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0 rem; 
}

.hero-logo {
  width: min(300px, 80%);
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.4));
}

.hero-nav {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.hero-nav a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.hero-nav a:hover {
  color: #9fd0e7;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
}

.hero p {
  font-size: 1rem;
  max-width: 720px;
  text-align: center;
  opacity: 0.95;
}

.motto {
  font-style: italic;
  font-weight: 600;
  opacity: 0.9;
}

.contact-cta a {
  margin-top: 2rem;
  display: inline-block;
  background: #ffffff;
  color: #1e3548;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s ease;
  text-decoration: none;
}

.contact-cta a:hover {
  background: #e4f1f7;
}

.section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section:not(:last-child) {
  border-bottom: 1px solid #e8eff4;
}

.section h2 {
  font-size: 2rem;
  text-align: center;
  color: #1e3548;
  margin-bottom: 1rem;
}

.section p {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.85;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInCard 0.8s ease forwards;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
  background-color: #f9fbfd;
}
.card p {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.9;
}

.form-wrapper {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  max-width: 600px;
  margin: auto;
}

.form-wrapper form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-wrapper input,
.form-wrapper textarea {
  padding: 0.8rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

.form-wrapper button {
  background-color: #27445C;
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form-wrapper button:hover {
  background-color: #1e3548;
}

/* =================== MEDIA QUERY =================== */

@media (max-width: 768px) {
  .hero {
    padding: 5rem 1.5rem 3rem;
  }

  .hero-logo {
    width: 180px;
    margin-bottom: 1.5rem;
  }

  .hero-content {
    gap: 1rem;
  }

  .hero p {
    font-size: 0.95rem;
    padding: 0 1rem;
  }

  .header-logo {
    height: 32px;
  }

  .header-nav {
    gap: 1rem;
  }

  .header-nav a {
    font-size: 0.9rem;
  }

  .section {
    padding: 3rem 1.5rem;
  }

  .card {
    padding: 2rem 1.2rem;
  }
}
@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

/* =================== RESTUL =================== */

#thank-you-message {
  display: none;
  text-align: center;
  padding: 2rem;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

footer {
  background: #1e3548;
  color: #ffffff;
  text-align: center;
  padding: 2rem 1rem;
}

#cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1e3548;
  color: #fff;
  padding: 1rem;
  text-align: center;
  z-index: 9999;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

#cookie-notice a {
  color: #f0f0f0;
  text-decoration: underline;
  font-weight: 500;
}

#cookie-notice button {
  margin-left: 1rem;
  padding: 0.5rem 1rem;
  background: #27445C;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  transition: background 0.3s ease;
}

#cookie-notice button:hover {
  background: #1e3548;
}

#privacy-popup {
  display: none;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.2s ease, transform 0.2s ease;
  position: fixed;
  inset: 0;
  margin: auto;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
  z-index: 10000;
}

#privacy-popup.show {
  display: block;
  opacity: 1;
  transform: scale(1);
}

@keyframes fadeInCard {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInContact {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
