:root {
  --primary-color: #2d3e50;
  --secondary-color: #3498db;
  --accent-color: #e74c3c;
  --light-color: #ecf0f1;
  --dark-color: #2c3e50;
  --text-color: #333;
  --bg-color: #f9f9f9;
  --footer-color: #34495e;
  --success-color: #27ae60;
  --warning-color: #f39c12;
}

* {
  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(--bg-color);
}

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

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

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

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

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

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

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

.logo h1 {
  font-size: 1.8rem;
  font-weight: 700;
}

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

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: white;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

nav ul li a:hover {
  background-color: var(--secondary-color);
}

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

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

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

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

.btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #c0392b;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.check-spelling-btn {
  display: inline-block;
  background-color: var(--secondary-color);
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  margin-top: 20px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.check-spelling-btn:hover {
  background-color: #2980b9;
  box-shadow: 0 0 15px rgba(52, 152, 219, 0.6);
  transform: scale(1.05);
}

/* Blog Posts */
.blog-posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.post-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.post-content {
  padding: 20px;
}

.post-content h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.post-content p {
  margin-bottom: 20px;
  color: #666;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 15px;
}

.read-more {
  display: inline-block;
  background-color: var(--secondary-color);
  color: white;
  padding: 8px 15px;
  border-radius: 5px;
  font-weight: 500;
  font-size: 0.9rem;
}

.read-more:hover {
  background-color: var(--accent-color);
  color: white;
}

/* Single Post */
.post-header {
  text-align: center;
  margin-bottom: 40px;
}

.post-header h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.post-header .post-meta {
  justify-content: center;
  gap: 20px;
}

.post-body {
  max-width: 800px;
  margin: 0 auto;
  margin-bottom: 60px;
}

.post-body p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.post-body h2 {
  font-size: 1.8rem;
  margin: 40px 0 20px;
  color: var(--dark-color);
}

.post-body img {
  max-width: 100%;
  border-radius: 10px;
  margin: 30px 0;
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  margin: 60px 0;
}

/* About Page */
.about-section {
  margin-bottom: 60px;
}

.about-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
  color: var(--dark-color);
}

.about-content {
  display: flex;
  gap: 40px;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about-text {
  flex: 1;
}

.about-text p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.team-section {
  margin-bottom: 60px;
}

.team-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
  color: var(--dark-color);
}

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

.team-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.team-card img {
  width: 100%;
  height: auto;
}

.team-info {
  padding: 20px;
}

.team-info h3 {
  margin-bottom: 5px;
  color: var(--dark-color);
}

.team-info p {
  color: #666;
  margin-bottom: 15px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 10px;
}

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

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

/* Contact Page */
.contact-section {
  margin-bottom: 60px;
}

.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
  color: var(--dark-color);
}

.contact-container {
  display: flex;
  gap: 40px;
}

.contact-info {
  flex: 1;
}

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

.contact-info p {
  margin-bottom: 15px;
}

.contact-info .info-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.contact-info .info-item i {
  margin-right: 10px;
  color: var(--secondary-color);
  font-size: 1.2rem;
}

.contact-form {
  flex: 2;
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

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

input, textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
}

textarea {
  height: 150px;
}

.submit-btn {
  background-color: var(--secondary-color);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

/* Footer */
footer {
  background-color: var(--footer-color);
  color: white;
  padding: 60px 0 20px;
}

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

.footer-section h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-section h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--secondary-color);
}

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

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

.footer-links li a {
  color: #bdc3c7;
  transition: all 0.3s ease;
}

.footer-links li a:hover {
  color: white;
  padding-left: 5px;
}

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

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

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

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

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--dark-color);
  color: white;
  padding: 15px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

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

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

.cookie-btn {
  padding: 8px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

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

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

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

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

/* Thank you popup */
.thank-you-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  text-align: center;
  z-index: 1000;
  max-width: 400px;
  width: 90%;
  display: none;
}

.thank-you-popup h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--success-color);
}

.thank-you-popup p {
  margin-bottom: 20px;
}

.thank-you-popup button {
  background-color: var(--secondary-color);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.thank-you-popup button:hover {
  background-color: var(--accent-color);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.7);
  z-index: 999;
  display: none;
}

/* Responsive */
@media (max-width: 992px) {
  .about-content,
  .contact-container {
    flex-direction: column;
  }
  
  .post-header h1 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    flex-direction: column;
    padding: 20px;
  }
  
  nav ul.show {
    display: flex;
  }
  
  nav ul li {
    margin: 10px 0;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .blog-posts {
    grid-template-columns: 1fr;
  }
  
  .cookie-banner {
    flex-direction: column;
  }
  
  .cookie-text {
    margin-bottom: 15px;
    padding-right: 0;
  }
}

@media (max-width: 480px) {
  .logo h1 {
    font-size: 1.5rem;
  }
  
  .hero {
    padding: 60px 0;
  }
  
  .hero h2 {
    font-size: 1.8rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .post-header h1 {
    font-size: 1.8rem;
  }
}
