@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Merriweather:wght@400;700&display=swap');

:root {
  --primary: #0F2847;
  --secondary: #6B809C;
  --tertiary: #A7B8C8;
  --accent: #BF7B3B;
  --bg-light: #E0E5EB;
  --text-dark: #FFFFFF;
  --text-body: #333333;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Merriweather', serif;
  color: var(--text-body);
  background-color: #FFFFFF;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background-color: var(--primary);
  color: var(--text-dark);
  padding: 20px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

header .logo img {
  height: 30px;
  width: 30px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav a {
  color: var(--text-dark);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
}

nav a:hover,
nav a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

main {
  margin-top: 80px;
  padding-bottom: 60px;
}

section {
  padding: 80px 0;
  animation: fadeIn 0.6s ease-in;
}

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

h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
  color: var(--primary);
  margin-bottom: 20px;
  font-weight: 700;
}

h1 {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 30px;
}

h2 {
  font-size: 36px;
  line-height: 1.3;
  margin-bottom: 25px;
}

h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

p {
  margin-bottom: 15px;
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.8;
}

.section-full-width {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 80px 0;
}

.section-full-width.dark {
  background-color: var(--primary);
  color: var(--text-dark);
}

.section-full-width.dark h1,
.section-full-width.dark h2,
.section-full-width.dark h3 {
  color: var(--accent);
}

.section-full-width.secondary {
  background-color: var(--secondary);
  color: var(--text-dark);
}

.section-full-width.secondary h1,
.section-full-width.secondary h2,
.section-full-width.secondary h3 {
  color: var(--accent);
}

.section-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.section-two-column.reverse {
  direction: rtl;
}

.section-two-column.reverse > * {
  direction: ltr;
}

.section-three-column {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.card {
  background-color: var(--secondary);
  color: var(--text-dark);
  padding: 30px;
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
  box-shadow: 0 8px 12px rgba(0,0,0,0.2);
  transform: translateY(-2px);
}

.card h3 {
  color: var(--accent);
  margin-bottom: 15px;
}

.card p {
  color: var(--text-dark);
  font-size: 14px;
  line-height: 1.6;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
  border-radius: 4px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--primary);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid var(--primary);
  cursor: pointer;
  border: none;
}

.btn:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--text-dark);
}

.btn-light {
  background-color: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-light:hover {
  background-color: var(--accent);
  color: var(--text-dark);
}

.section-full-width.dark .btn-light {
  color: var(--accent);
}

.section-full-width.secondary .btn-light {
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.section-full-width.secondary .btn-light:hover {
  background-color: #FFFFFF;
  color: var(--secondary);
}

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

.img-small {
  max-width: 300px;
  height: auto;
}

.img-medium {
  max-width: 500px;
  height: auto;
}

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

footer {
  background-color: var(--primary);
  color: var(--text-dark);
  padding: 60px 0 30px;
}

footer .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--secondary);
  padding-bottom: 40px;
}

footer h3 {
  color: var(--accent);
  margin-bottom: 20px;
}

footer p {
  color: var(--text-dark);
  font-size: 14px;
  margin-bottom: 10px;
}

footer a {
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  color: var(--text-dark);
  font-size: 12px;
}

.footer-copyright {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 20px;
}

form {
  max-width: 600px;
  margin: 30px 0;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--primary);
}

input[type="email"],
textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--secondary);
  border-radius: 4px;
  font-family: 'Merriweather', serif;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(191, 123, 59, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary);
  color: var(--text-dark);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
  z-index: 999;
  font-size: 14px;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner-buttons {
  display: flex;
  gap: 15px;
}

.cookie-banner-content {
  flex: 1;
  margin-right: 20px;
}

.cookie-banner a {
  color: var(--accent);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.cookie-banner a:hover {
  color: var(--tertiary);
}

.disclaimer {
  background-color: var(--bg-light);
  border-left: 4px solid var(--accent);
  padding: 20px;
  margin: 30px 0;
  border-radius: 4px;
}

.disclaimer h4 {
  color: var(--primary);
  margin-bottom: 10px;
  font-family: 'Montserrat', sans-serif;
}

.disclaimer p {
  font-size: 14px;
  color: var(--text-body);
}

ul, ol {
  margin-left: 20px;
  margin-bottom: 15px;
}

li {
  margin-bottom: 8px;
}

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

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

.text-center {
  text-align: center;
}

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

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

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

.my-large {
  margin: 80px 0;
}

.my-medium {
  margin: 40px 0;
}

.my-small {
  margin: 20px 0;
}

.blog-card {
  background-color: #FFFFFF;
  border: 1px solid var(--bg-light);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  transform: translateY(-4px);
}

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

.blog-card-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card h3 {
  margin-top: 0;
  color: var(--primary);
  font-size: 22px;
}

.blog-card p {
  flex-grow: 1;
}

.blog-card a {
  align-self: flex-start;
}

@media (max-width: 768px) {
  nav ul {
    gap: 15px;
  }

  nav a {
    font-size: 12px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 18px;
  }

  .section-two-column,
  .section-three-column {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .section-two-column.reverse {
    direction: ltr;
  }

  footer .container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-copyright {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

  .cookie-banner-content {
    margin-right: 0;
  }

  .cookie-banner-buttons {
    width: 100%;
    gap: 10px;
  }

  section {
    padding: 40px 0;
  }
}
