:root {
  --primary-color: #0e3b62;
  --secondary-color: #1a6eb0;
  --accent-color: #e6a845;
  --light-color: #f5f5f5;
  --dark-color: #1a1a1a;
  --text-color: #333333;
  --gray-light: #e9e9e9;
  --gray-medium: #c4c4c4;
  --gray-dark: #6c6c6c;
  --success-color: #4caf50;
  --font-primary: 'Roboto', sans-serif;
  --font-secondary: 'Playfair Display', serif;
  --transition-speed: 0.3s;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--light-color);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--primary-color);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

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

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

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  background-color: white;
  box-shadow: var(--box-shadow);
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo h1 {
  margin-left: 10px;
  margin-bottom: 0;
  font-size: 1.5rem;
  color: var(--primary-color);
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width var(--transition-speed) ease;
}

nav a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  position: relative;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/1.jpg');
}

.hero-content {
  max-width: 800px;
  padding: 2rem;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: white;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--accent-color);
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background-color var(--transition-speed) ease;
}

.btn:hover {
  background-color: #d49535;
  color: white;
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid white;
}

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

/* Blog Section */
.blog-section {
  padding: 5rem 0;
}

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

.section-title h2 {
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background-color: var(--accent-color);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.5rem;
}

.blog-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  box-shadow: var(--box-shadow);
}

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

.blog-image {
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-content {
  padding: 1.5rem;
}

.blog-content h3 {
  margin-bottom: 0.75rem;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: var(--gray-dark);
}

.blog-excerpt {
  margin-bottom: 1.5rem;
}

/* Single Post */
.post-header {
  text-align: center;
  padding: 3rem 0;
}

.post-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  color: var(--gray-dark);
}

.post-meta span {
  display: flex;
  align-items: center;
}

.post-meta svg {
  margin-right: 5px;
}

.post-featured-image {
  margin-bottom: 3rem;
}

.post-featured-image img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 8px;
}

.post-content {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 4rem;
}

.post-content p, .post-content ul, .post-content ol {
  margin-bottom: 1.5rem;
}

.post-content h2, .post-content h3 {
  margin-top: 2rem;
}

.post-content blockquote {
  border-left: 4px solid var(--accent-color);
  padding-left: 1rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--gray-dark);
}

.post-tags {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.post-tag {
  padding: 5px 12px;
  background-color: var(--gray-light);
  border-radius: 4px;
  font-size: 0.85rem;
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--gray-light);
  padding-top: 2rem;
  margin-top: 2rem;
}

/* About Section */
.about-section {
  padding: 5rem 0;
}

.about-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2.5rem;
}

.team-card {
  text-align: center;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed) ease;
}

.team-card:hover {
  transform: translateY(-10px);
}

.team-image {
  height: 250px;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-content {
  padding: 1.5rem;
}

.team-content h3 {
  margin-bottom: 0.25rem;
}

.team-position {
  color: var(--gray-dark);
  margin-bottom: 1rem;
  font-style: italic;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--gray-light);
  color: var(--dark-color);
  transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

.social-links a:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Terminology Section */
.terminology-section {
  background-color: white;
  padding: 5rem 0;
}

.terminology-container {
  max-width: 900px;
  margin: 0 auto;
}

.terminology-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 2rem;
}

.term {
  background-color: var(--light-color);
  border-left: 3px solid var(--accent-color);
  padding: 1.5rem;
  border-radius: 0 8px 8px 0;
}

.term h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

/* Contact Section */
.contact-section {
  padding: 5rem 0;
  background-color: white;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--gray-light);
  color: var(--primary-color);
}

.contact-form {
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: 8px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--gray-medium);
  border-radius: 4px;
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: border-color var(--transition-speed) ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary-color);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  padding: 12px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color var(--transition-speed) ease;
}

.form-submit:hover {
  background-color: var(--secondary-color);
}

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

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-about p {
  margin-bottom: 1.5rem;
  color: var(--gray-light);
}

.footer-heading {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: white;
}

.footer-links ul {
  list-style: none;
}

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

.footer-links a {
  color: var(--gray-light);
  transition: color var(--transition-speed) ease;
}

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

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  transition: background-color var(--transition-speed) ease;
}

.footer-social a:hover {
  background-color: var(--accent-color);
}

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

.footer-bottom p {
  color: var(--gray-light);
  font-size: 0.9rem;
}

/* Cookies Notice */
.cookies-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  z-index: 1001;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transform: translateY(100%);
  transition: transform var(--transition-speed) ease;
}

.cookies-notice.show {
  transform: translateY(0);
}

.cookies-text {
  flex: 1;
  margin-right: 1.5rem;
}

.cookies-text p {
  margin-bottom: 0.5rem;
}

.cookies-text a {
  text-decoration: underline;
}

.cookies-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cookie-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--transition-speed) ease;
}

.accept-all {
  background-color: var(--success-color);
  color: white;
}

.accept-all:hover {
  background-color: #3d8b40;
}

.customize {
  background-color: var(--gray-light);
  color: var(--dark-color);
}

.customize:hover {
  background-color: var(--gray-medium);
}

.decline {
  background-color: transparent;
  border: 1px solid var(--gray-medium);
}

.decline:hover {
  background-color: var(--gray-light);
}

/* Success Modal */
.success-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1002;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-speed) ease;
}

.success-modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-icon {
  font-size: 3rem;
  color: var(--success-color);
  margin-bottom: 1rem;
}

.modal-title {
  margin-bottom: 1rem;
}

.modal-close {
  margin-top: 1.5rem;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color var(--transition-speed) ease;
}

.modal-close:hover {
  background-color: var(--secondary-color);
}

/* Parallax Effect */
.parallax-section {
  position: relative;
  height: 400px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/2.jpg');
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  margin: 4rem 0;
}

.parallax-content {
  max-width: 800px;
  padding: 2rem;
}

.parallax-content h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

/* Media Queries */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  
  nav ul {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: white;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    gap: 1.5rem;
    transform: translateY(-150%);
    transition: transform var(--transition-speed) ease;
    z-index: 999;
  }
  
  nav ul.open {
    transform: translateY(0);
  }
  
  .hero {
    height: 60vh;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .terminology-list {
    grid-template-columns: 1fr;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .cookies-notice {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookies-text {
    margin-bottom: 1rem;
    margin-right: 0;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .btn {
    padding: 10px 20px;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title h2 {
    font-size: 1.75rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
}
