:root {
  --primary-color: #1a73e8;
  --secondary-color: #4285f4;
  --accent-color: #fbbc05;
  --text-color: #333;
  --light-text: #666;
  --lighter-text: #999;
  --bg-color: #fff;
  --light-bg: #f8f9fa;
  --border-color: #e0e0e0;
  --success-color: #34a853;
  --warning-color: #fbbc05;
  --error-color: #ea4335;
  --border-radius: 8px;
  --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

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

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

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

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

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

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

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

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

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

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 30px;
}

.nav-menu a {
  font-weight: 500;
  padding: 5px 0;
  position: relative;
}

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

.nav-menu a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
}

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

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--accent-color);
  color: var(--text-color);
  border-radius: var(--border-radius);
  font-weight: 500;
  transition: var(--transition);
}

.btn:hover {
  background-color: var(--warning-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Posts Section */
.posts-section {
  padding: 50px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 2rem;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

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

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

.post-card {
  background-color: var(--bg-color);
  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.15);
}

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

.post-content {
  padding: 20px;
}

.post-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.post-meta {
  display: flex;
  color: var(--lighter-text);
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.post-meta span {
  margin-right: 15px;
  display: flex;
  align-items: center;
}

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

.post-excerpt {
  color: var(--light-text);
  margin-bottom: 15px;
}

.read-more {
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

.read-more i {
  margin-left: 5px;
  transition: var(--transition);
}

.read-more:hover i {
  transform: translateX(5px);
}

/* Single Post */
.single-post {
  max-width: 800px;
  margin: 50px auto;
}

.post-header {
  margin-bottom: 30px;
}

.post-header h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.post-header .post-meta {
  margin-bottom: 0;
}

.featured-img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  margin-bottom: 30px;
}

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

.post-body p,
.post-body ul,
.post-body ol,
.post-body blockquote {
  margin-bottom: 20px;
}

.post-body h2,
.post-body h3 {
  margin: 30px 0 15px;
}

.post-body blockquote {
  border-left: 4px solid var(--primary-color);
  padding-left: 20px;
  font-style: italic;
  color: var(--light-text);
}

/* Fun Fact Box */
.fun-fact {
  background-color: var(--light-bg);
  border-radius: var(--border-radius);
  padding: 20px;
  margin: 30px 0;
  border-left: 4px solid var(--accent-color);
}

.fun-fact h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

/* Glossary */
.glossary {
  background-color: var(--light-bg);
  border-radius: var(--border-radius);
  padding: 25px;
  margin: 40px 0;
}

.glossary h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.glossary-item {
  margin-bottom: 15px;
}

.glossary-term {
  font-weight: 700;
  color: var(--primary-color);
}

/* About Page */
.about-section {
  padding: 50px 0;
}

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

.about-intro h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

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

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

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

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

.team-info {
  padding: 20px;
}

.team-info h3 {
  margin-bottom: 5px;
}

.team-info p {
  color: var(--light-text);
  margin-bottom: 10px;
}

.social-links {
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

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

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

/* Contact Page */
.contact-section {
  padding: 50px 0;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
}

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

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

.contact-details {
  margin-bottom: 30px;
}

.contact-details .detail {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.contact-details .detail i {
  margin-right: 15px;
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-top: 3px;
}

.contact-details .detail div {
  flex: 1;
}

.contact-details .detail h4 {
  margin-bottom: 5px;
}

.contact-form {
  background-color: var(--bg-color);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

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

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

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

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

.form-control:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.2);
}

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

.btn-submit {
  background-color: var(--primary-color);
  color: white;
  border: none;
  cursor: pointer;
}

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

/* Footer */
footer {
  background-color: #333;
  color: #fff;
  padding: 50px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #fff;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ddd;
  transition: var(--transition);
}

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

.footer-social {
  display: flex;
  margin-top: 15px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  margin-right: 10px;
  color: #fff;
  transition: var(--transition);
}

.footer-social a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  color: #aaa;
  font-size: 0.9rem;
}

/* Cookie Notice */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(51, 51, 51, 0.95);
  color: #fff;
  padding: 15px;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.cookie-text {
  flex: 1;
  padding-right: 20px;
}

.cookie-text h3 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.cookie-text p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

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

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-btn {
  padding: 8px 15px;
  border-radius: var(--border-radius);
  border: none;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
}

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

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

.reject-all {
  background-color: transparent;
  color: #ddd;
}

.cookie-btn:hover {
  opacity: 0.9;
}

/* Thank You Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.modal-content {
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  max-width: 500px;
  width: 90%;
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(-50px);
  transition: all 0.3s ease;
}

.modal.show .modal-content {
  transform: translateY(0);
}

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

.modal-content p {
  margin-bottom: 20px;
}

.close-modal {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
}

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

/* Responsive */
@media (max-width: 992px) {
  .posts-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar {
    position: relative;
  }
  
  .hamburger {
    display: block;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--bg-color);
    width: 250px;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }
  
  .nav-menu.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-menu li {
    margin: 10px 0;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .single-post {
    padding: 0 20px;
  }
  
  .post-header h1 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .posts-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .cookie-notice {
    flex-direction: column;
    align-items: stretch;
  }
  
  .cookie-text {
    margin-bottom: 15px;
    padding-right: 0;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}
