:root {
  --primary-color: #2a52be;
  --secondary-color: #5a82db;
  --accent-color: #ff6b35;
  --text-color: #333;
  --light-bg: #f5f8ff;
  --dark-bg: #1f2937;
  --white: #ffffff;
  --gray: #8a94a7;
  --light-gray: #e5e7eb;
  --border-radius: 8px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-bg);
}

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

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

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

/* Header */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

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

.logo img {
  height: 50px;
  margin-right: 10px;
}

.logo h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
}

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

nav a {
  font-weight: 500;
  padding: 0.5rem;
  border-bottom: 2px solid transparent;
}

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

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 1.5rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  background-color: var(--accent-color);
  color: var(--white);
  border-radius: var(--border-radius);
  font-weight: 500;
  transition: var(--transition);
}

.btn:hover {
  background-color: #e45a25;
  color: var(--white);
  transform: translateY(-2px);
}

/* Posts Section */
.posts {
  padding: 4rem 0;
}

.posts h2 {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

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

.post-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

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

.post-content {
  padding: 1.5rem;
}

.post-content h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  color: var(--gray);
  font-size: 0.9rem;
}

.post-meta svg {
  width: 16px;
  height: 16px;
}

.read-more {
  margin-top: 1rem;
  font-weight: 500;
  color: var(--accent-color);
}

/* Features Section */
.features {
  padding: 4rem 0;
  background-color: var(--white);
}

.features h2 {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

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

.feature-card {
  text-align: center;
  padding: 2rem;
  border-radius: var(--border-radius);
  background-color: var(--light-bg);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card svg {
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
  fill: var(--primary-color);
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* Interesting Facts */
.facts {
  padding: 2rem 0;
  background-color: var(--light-bg);
}

.facts h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  text-align: center;
}

.facts-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.fact-card {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  width: 100%;
  max-width: 350px;
  border-left: 4px solid var(--accent-color);
}

/* About Us Page */
.about-section {
  padding: 4rem 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

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

.team h2 {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

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

.team-card {
  text-align: center;
  background-color: var(--light-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

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

.team-info {
  padding: 1.5rem;
}

.team-info h3 {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.team-info p {
  color: var(--gray);
  margin-bottom: 1rem;
}

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

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

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

/* Contact Page */
.contact {
  padding: 4rem 0;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.info-item svg {
  width: 24px;
  height: 24px;
  margin-right: 1rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

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

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

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

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

.form-control {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius);
  font-family: inherit;
  transition: var(--transition);
}

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

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

.spell-check-btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  margin-top: 0.5rem;
  background-color: var(--light-gray);
  color: var(--text-color);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
}

.spell-check-btn:hover {
  background-color: var(--gray);
  color: var(--white);
}

/* Footer */
footer {
  background-color: var(--dark-bg);
  color: var(--white);
  padding: 3rem 0;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 40px;
  margin-right: 10px;
}

.footer-logo h2 {
  font-size: 1.5rem;
  color: var(--white);
}

.footer-about p {
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.footer-links h3,
.footer-contact h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-links h3:after,
.footer-contact h3:after {
  content: '';
  position: absolute;
  width: 50%;
  height: 2px;
  background-color: var(--accent-color);
  bottom: -8px;
  left: 0;
}

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

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

.footer-links a {
  color: var(--white);
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent-color);
  margin-left: 5px;
}

.footer-contact .info-item {
  color: var(--white);
  opacity: 0.8;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--dark-bg);
  color: var(--white);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-text {
  flex: 1;
}

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

.cookie-text a {
  color: var(--accent-color);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 500;
}

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

.customize {
  background-color: transparent;
  border: 1px solid var(--white);
  color: var(--white);
}

.reject {
  background-color: var(--light-gray);
  color: var(--text-color);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
}

.modal-content h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray);
}

/* Single Post Page */
.single-post {
  padding: 3rem 0;
}

.post-header {
  margin-bottom: 2rem;
}

.post-header h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.post-header-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--gray);
}

.post-featured-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
}

.post-body {
  line-height: 1.8;
}

.post-body p {
  margin-bottom: 1.5rem;
}

.post-body h2 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin: 2rem 0 1rem;
}

.post-body h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin: 1.5rem 0 1rem;
}

.post-body img {
  max-width: 100%;
  border-radius: var(--border-radius);
  margin: 1.5rem 0;
}

.post-body ul, .post-body ol {
  margin: 1.5rem 0 1.5rem 2rem;
}

.post-body li {
  margin-bottom: 0.5rem;
}

.post-body blockquote {
  padding: 1.5rem;
  margin: 1.5rem 0;
  background-color: var(--light-bg);
  border-left: 4px solid var(--primary-color);
  font-style: italic;
}

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

.post-tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background-color: var(--light-bg);
  border-radius: 20px;
  font-size: 0.9rem;
}

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

.post-nav a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.post-nav svg {
  width: 16px;
  height: 16px;
}

/* Responsive */
@media (max-width: 992px) {
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    padding: 2rem;
    z-index: 1000;
  }
  
  nav.active {
    right: 0;
  }
  
  nav ul {
    flex-direction: column;
    gap: 1rem;
  }
  
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }
  
  .cookie-buttons {
    margin-top: 1rem;
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 576px) {
  .hero h2 {
    font-size: 2rem;
  }
  
  .posts h2,
  .features h2,
  .contact-info h2,
  .about-text h2 {
    font-size: 1.8rem;
  }
  
  .post-header h1 {
    font-size: 2rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}
