:root {
  --primary-color: #d32f2f;
  --primary-dark: #b71c1c;
  --primary-light: #ef5350;
  --text-dark: #2c2c2c;
  --text-medium: #5a5a5a;
  --text-light: #8a8a8a;
  --bg-light: #f8f7f5;
  --bg-white: #ffffff;
  --border-color: #e5e3df;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s ease;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  background-color: var(--bg-white);
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

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

.lead {
  font-size: 1.2rem;
  color: var(--text-medium);
}

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

a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 500;
  border-radius: 8px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-secondary {
  border: 2px solid var(--border-color);
  color: var(--text-medium);
  padding: 0.5rem 1.5rem;
  border-radius: 8px;
  transition: var(--transition);
}

.btn-outline-secondary:hover {
  background-color: var(--bg-light);
  border-color: var(--text-medium);
}

.header-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.navbar {
  padding: 1rem 0;
}

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

.navbar-brand:hover {
  color: var(--primary-dark);
}

.nav-link {
  color: var(--text-medium);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: var(--transition);
}

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

.hero-section {
  padding: 150px 0 100px;
  background: linear-gradient(135deg, #fff5f5 0%, #fafafa 100%);
}

.content-section {
  padding: 100px 0;
}

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

.img-fluid {
  border-radius: 12px;
}

.shadow-sm {
  box-shadow: var(--shadow-sm);
}

.faq-item {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: var(--bg-white);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-item h5 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.contact-form {
  background-color: var(--bg-white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.form-control {
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(211, 47, 47, 0.1);
}

.footer {
  background-color: var(--text-dark);
  color: var(--bg-light);
  padding: 60px 0 30px;
  margin-top: 100px;
}

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

.footer p {
  color: var(--bg-light);
}

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

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

.footer-links a {
  color: var(--bg-light);
  transition: var(--transition);
}

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

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

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

.cookie-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.cookie-modal.active {
  display: flex;
}

.cookie-modal-content {
  background-color: var(--bg-white);
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-md);
}

.cookie-modal-header {
  padding: 1.5rem;
  border-bottom: 2px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-medium);
}

.cookie-modal-body {
  padding: 2rem 1.5rem;
}

.cookie-modal-footer {
  padding: 1.5rem;
  border-top: 2px solid var(--border-color);
}

.cookie-setting-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.cookie-setting-item:last-child {
  border-bottom: none;
}

.cookie-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  float: right;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: var(--transition);
  border-radius: 24px;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: var(--transition);
  border-radius: 50%;
}

input:checked + .cookie-slider {
  background-color: var(--primary-color);
}

input:checked + .cookie-slider:before {
  transform: translateX(26px);
}

input:disabled + .cookie-slider {
  cursor: not-allowed;
  opacity: 0.6;
}

.policy-section {
  padding: 150px 0 100px;
}

.policy-section h1 {
  margin-bottom: 1rem;
}

.policy-section h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.policy-section h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.policy-section ul {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.policy-section li {
  margin-bottom: 0.5rem;
  color: var(--text-medium);
}

.thank-you-section {
  padding: 200px 0 150px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

@media (max-width: 991px) {
  .hero-section {
    padding: 120px 0 80px;
  }

  .content-section {
    padding: 60px 0;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .navbar-nav {
    margin-top: 1rem;
  }

  .navbar-nav .btn-primary {
    margin-top: 1rem;
  }
}

@media (max-width: 767px) {
  .hero-section {
    padding: 100px 0 60px;
  }

  .content-section {
    padding: 40px 0;
  }

  .footer {
    padding: 40px 0 20px;
    margin-top: 60px;
  }

  .cookie-banner .btn {
    margin-bottom: 0.5rem;
    width: 100%;
  }
}
