:root {
  --primary-color: #263238;
  --secondary-color: #546e7a;
  --accent-color: #78909c;
  --light-bg: #fafafa;
  --white: #ffffff;
  --text-dark: #212121;
  --text-light: #757575;
  --border-color: #e0e0e0;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

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

.navbar {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color) !important;
}

.nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

.hero-section {
  background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
  padding: 5rem 0;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero-section h1 {
  font-size: 2.75rem;
  margin-bottom: 1.5rem;
}

.hero-section p {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.hero-image {
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.section {
  padding: 5rem 0;
}

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

.section-white {
  background-color: var(--white);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.content-block {
  background-color: var(--white);
  border-radius: 12px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
}

.content-block h3 {
  margin-bottom: 1.5rem;
}

.content-image {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.content-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.info-card {
  background: linear-gradient(145deg, var(--white) 0%, var(--light-bg) 100%);
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.disclaimer-block {
  background: linear-gradient(135deg, #eceff1 0%, #cfd8dc 100%);
  border-radius: 12px;
  padding: 2.5rem;
  border-left: 4px solid var(--primary-color);
}

.disclaimer-block h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.disclaimer-block p {
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.btn-primary-custom {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--white);
}

.btn-outline-custom {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outline-custom:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 4rem 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer h5 {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.footer p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--white);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

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

.footer-bottom p {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.educational-notice {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1.5rem;
}

.educational-notice p {
  margin-bottom: 0;
  font-size: 0.875rem;
  font-style: italic;
}

.page-header {
  background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
  padding: 4rem 0;
  text-align: center;
}

.page-header h1 {
  margin-bottom: 1rem;
}

.page-header p {
  color: var(--text-light);
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto;
}

.contact-info {
  background-color: var(--light-bg);
  border-radius: 12px;
  padding: 2rem;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
}

.contact-item {
  margin-bottom: 1.25rem;
}

.contact-item strong {
  display: block;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.form-control {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(38, 50, 56, 0.1);
}

.form-group label {
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
}

.policy-content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.policy-content h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.policy-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.policy-content li {
  margin-bottom: 0.5rem;
}

.thank-you-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 0;
}

.thank-you-content {
  max-width: 600px;
}

.thank-you-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.thank-you-content p {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 1.25rem;
  z-index: 9999;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.15);
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner p {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.cookie-banner .btn {
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.btn-cookie-accept {
  background-color: var(--white);
  color: var(--primary-color);
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-cookie-accept:hover {
  background-color: var(--light-bg);
}

.about-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.texture-bg {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.texture-bg img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

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

  h2 {
    font-size: 1.75rem;
  }

  .hero-section {
    padding: 3rem 0;
    min-height: auto;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-image img {
    height: 300px;
  }

  .section {
    padding: 3rem 0;
  }
}

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

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .hero-section h1 {
    font-size: 1.75rem;
  }

  .content-block {
    padding: 1.5rem;
  }

  .hero-image {
    margin-top: 2rem;
  }

  .hero-image img {
    height: 250px;
  }

  .content-image img {
    height: 200px;
  }

  .footer {
    padding: 3rem 0 1.5rem;
  }
}
