:root {
  --primary-color: #3498db;
  --secondary-color: #2ecc71;
  --accent-color: #f39c12;
  --dark-color: #2c3e50;
  --light-color: #ecf0f1;
  --text-color: #333;
  --light-text: #fff;
  --body-bg: #f8f9fa;
  --card-bg: #fff;
  --header-height: 80px;
  --footer-height: 220px;
  --transition: all 0.3s ease;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
  --container-width: 1200px;
}

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

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

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

/* Header styles */
header {
  background-color: var(--dark-color);
  color: var(--light-text);
  position: fixed;
  top: 0;
  left: 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;
  height: var(--header-height);
}

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

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

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

.navbar {
  display: flex;
}

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

.nav-item {
  margin-left: 30px;
}

.nav-link {
  color: var(--light-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 10px 0;
  position: relative;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--accent-color);
}

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

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

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

/* Hero Section */
.hero {
  padding: 120px 0 60px;
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
  color: var(--light-text);
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

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

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--accent-color);
  color: var(--light-text);
  border: none;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn:hover {
  background-color: #e67e22;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--light-text);
  margin-left: 15px;
}

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

/* Slider */
.slider-container {
  margin: 60px 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  height: 500px;
  box-shadow: var(--box-shadow);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.slide.active {
  opacity: 1;
}

.slide-content {
  background: rgba(0, 0, 0, 0.6);
  padding: 20px;
  color: var(--light-text);
  width: 100%;
}

.slide-content h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.slider-arrows {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 10;
}

.arrow {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.arrow:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.arrow i {
  font-size: 1.5rem;
  color: var(--dark-color);
}

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

.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--dark-color);
  display: inline-block;
}

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

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

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

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

.post-img {
  height: 200px;
  overflow: hidden;
}

.post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.post-card:hover .post-img img {
  transform: scale(1.05);
}

.post-content {
  padding: 20px;
}

.post-meta {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: #777;
}

.post-meta i {
  margin-right: 5px;
  color: var(--accent-color);
}

.post-meta span {
  margin-right: 15px;
}

.post-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
  font-weight: 700;
  color: var(--dark-color);
}

.post-excerpt {
  margin-bottom: 20px;
  color: #555;
}

.read-more {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

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

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

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

/* Terminology Section */
.terminology-section {
  padding: 60px 0;
  background-color: #f1f8ff;
}

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

.term-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 25px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border-top: 3px solid var(--primary-color);
}

.term-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.term-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
}

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

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

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

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
}

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

.contact-text {
  font-size: 1rem;
}

.contact-text strong {
  display: block;
  color: var(--dark-color);
  margin-bottom: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

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

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

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

.contact-form h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: var(--dark-color);
  text-align: center;
}

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

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

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

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

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

.submit-btn {
  width: 100%;
  padding: 14px;
  background-color: var(--primary-color);
  color: var(--light-text);
  border: none;
  border-radius: var(--border-radius);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.submit-btn:hover {
  background-color: #2980b9;
}

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

.about-header {
  text-align: center;
  margin-bottom: 50px;
}

.about-header h2 {
  font-size: 2.5rem;
  color: var(--dark-color);
  margin-bottom: 20px;
}

.about-description {
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: center;
  font-size: 1.1rem;
  color: #555;
}

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

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

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

.team-img {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.team-card:hover .team-img img {
  transform: scale(1.05);
}

.team-info {
  padding: 20px;
}

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

.team-info p:first-of-type {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 15px;
}

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

.team-social a {
  color: #777;
  transition: var(--transition);
}

.team-social a:hover {
  color: var(--primary-color);
}

/* Single Post Page */
.single-post {
  padding: 120px 0 60px;
}

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

.post-header h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: var(--dark-color);
  line-height: 1.3;
}

.post-meta-full {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.post-meta-full img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
}

.meta-info h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.meta-info p {
  font-size: 0.9rem;
  color: #777;
}

.featured-img {
  width: 100%;
  height: 500px;
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 40px;
}

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

.post-content-full {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
}

.post-content-full p {
  margin-bottom: 25px;
}

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

.post-content-full h3 {
  font-size: 1.5rem;
  margin: 30px 0 20px;
  color: var(--dark-color);
}

.post-content-full ul, .post-content-full ol {
  margin-bottom: 25px;
  padding-left: 20px;
}

.post-content-full li {
  margin-bottom: 10px;
}

.post-content-full blockquote {
  padding: 20px;
  background-color: #f7f9fc;
  border-left: 4px solid var(--primary-color);
  margin: 30px 0;
  font-style: italic;
}

.share-post {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.share-post h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
}

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

.share-btn {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  border-radius: var(--border-radius);
  color: var(--light-text);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.share-btn i {
  margin-right: 8px;
}

.share-btn.facebook {
  background-color: #3b5998;
}

.share-btn.twitter {
  background-color: #1da1f2;
}

.share-btn.linkedin {
  background-color: #0077b5;
}

.share-btn:hover {
  opacity: 0.9;
  transform: translateY(-3px);
}

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

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

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

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

.footer-about p {
  margin-bottom: 20px;
  line-height: 1.8;
  opacity: 0.8;
}

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

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

.footer-links a {
  color: var(--light-text);
  text-decoration: none;
  opacity: 0.8;
  transition: var(--transition);
}

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

.footer-links i {
  margin-right: 10px;
  color: var(--accent-color);
}

.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  opacity: 0.8;
}

.footer-contact i {
  margin-right: 15px;
  color: var(--accent-color);
}

.footer-newsletter p {
  margin-bottom: 20px;
  opacity: 0.8;
}

.newsletter-form {
  display: flex;
}

.newsletter-input {
  flex-grow: 1;
  padding: 12px;
  border: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1rem;
}

.newsletter-btn {
  background-color: var(--accent-color);
  color: var(--light-text);
  border: none;
  padding: 0 20px;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-btn:hover {
  background-color: #e67e22;
}

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

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: var(--card-bg);
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  transform: translateY(100%);
  opacity: 0;
  transition: all 0.5s ease-in-out;
}

.cookie-consent.show {
  transform: translateY(0);
  opacity: 1;
}

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

.cookie-text h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.cookie-text p {
  font-size: 0.95rem;
  color: #555;
}

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

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

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

.accept-cookies {
  background-color: var(--primary-color);
  color: var(--light-text);
}

.accept-cookies:hover {
  background-color: #2980b9;
}

.customize-cookies {
  background-color: transparent;
  border: 1px solid #ddd;
}

.customize-cookies:hover {
  background-color: #f5f5f5;
}

.decline-cookies {
  background-color: transparent;
  color: #777;
}

.decline-cookies:hover {
  color: #444;
}

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

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

.modal {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 30px;
  width: 90%;
  max-width: 500px;
  transform: translateY(-50px);
  transition: all 0.3s ease-in-out;
  text-align: center;
}

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

.modal-icon {
  font-size: 4rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.modal h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.modal p {
  margin-bottom: 25px;
  color: #555;
}

.modal-btn {
  display: inline-block;
  padding: 10px 30px;
  background-color: var(--primary-color);
  color: var(--light-text);
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.modal-btn:hover {
  background-color: #2980b9;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .container {
    padding: 0 30px;
  }
  
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  :root {
    --header-height: 70px;
  }
  
  .hero h2 {
    font-size: 2.5rem;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    margin-bottom: 40px;
  }
  
  .slider-container {
    height: 400px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }
  
  .header-container {
    position: relative;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-list {
    position: absolute;
    flex-direction: column;
    background-color: var(--dark-color);
    top: var(--header-height);
    left: 0;
    width: 100%;
    padding: 20px 0;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
  }
  
  .nav-list.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-item {
    margin: 0;
    width: 100%;
    text-align: center;
  }
  
  .nav-link {
    display: block;
    padding: 15px 0;
  }
  
  .hero {
    padding: 100px 0 50px;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .posts-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .slider-container {
    height: 300px;
  }
  
  .post-header h1 {
    font-size: 2.2rem;
  }
  
  .featured-img {
    height: 300px;
  }
  
  .cookie-consent {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-text {
    margin-bottom: 20px;
    padding-right: 0;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 576px) {
  .hero h2 {
    font-size: 1.8rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }
  
  .btn-outline {
    margin-left: 0;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .slider-container {
    height: 250px;
  }
  
  .arrow {
    width: 40px;
    height: 40px;
  }
  
  .post-header h1 {
    font-size: 1.8rem;
  }
  
  .modal {
    padding: 20px;
  }
  
  .modal h2 {
    font-size: 1.5rem;
  }
}
