/* Estilos generales y Reset */
:root {
  --primary-color: #2c6cac;
  --primary-dark: #1c5a96;
  --primary-light: #4885c5;
  --secondary-color: #4eaf7a;
  --secondary-dark: #3d9a69;
  --secondary-light: #6fc094;
  --accent-color: #f5a623;
  --text-color: #333333;
  --text-light: #666666;
  --bg-color: #ffffff;
  --bg-light: #f9f9f9;
  --bg-dark: #eaeaea;
  --border-color: #dddddd;
  --success-color: #4CAF50;
  --warning-color: #FFC107;
  --error-color: #F44336;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --border-radius: 6px;
  --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease-in-out;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--bg-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-color);
  line-height: 1.3;
}

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

a:hover {
  color: var(--primary-dark);
}

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

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

.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-family: var(--font-heading);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

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

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

.btn-secondary {
  background-color: var(--bg-dark);
  color: var(--text-color);
}

ul {
  list-style-type: none;
}

/* Header y Navegación */
header {
  background-color: white;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

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

.logo img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

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

#time-display {
  background-color: var(--bg-light);
  padding: 8px 15px;
  border-radius: var(--border-radius);
  font-weight: 600;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

#current-time {
  font-size: 0.9rem;
  font-family: monospace;
}

nav ul {
  display: flex;
  gap: 20px;
}

nav ul li a {
  padding: 10px 15px;
  color: var(--text-color);
  font-weight: 600;
  position: relative;
}

nav ul li a.active {
  color: var(--primary-color);
}

nav ul li a.active:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 15px;
  right: 15px;
  height: 3px;
  background-color: var(--primary-color);
}

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

/* Hero Section */
.hero {
  background-color: var(--primary-color);
  color: white;
  padding: 80px 0;
  background-image: linear-gradient(to right, rgba(44, 108, 172, 0.9), rgba(44, 108, 172, 0.7)), url('images/4.jpg');
  background-size: cover;
  background-position: center;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: white;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 700px;
}

.hero .btn {
  background-color: var(--accent-color);
  color: white;
}

.hero .btn:hover {
  background-color: #e09314;
}

/* Page Header */
.page-header {
  background-color: var(--bg-light);
  padding: 60px 0;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

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

.page-header p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

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

.featured-posts h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

.featured-posts h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  transform: translateX(-50%);
}

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

.post-card {
  background-color: white;
  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-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.post-content {
  padding: 20px;
}

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

.post-content p {
  color: var(--text-light);
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more {
  color: var(--secondary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

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

.read-more svg {
  transition: transform 0.3s ease;
}

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

/* Comparison Table */
.comparison-table {
  padding: 60px 0;
  background-color: var(--bg-light);
}

.comparison-table h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

.comparison-table h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  transform: translateX(-50%);
}

.table-container {
  overflow-x: auto;
  margin-top: 30px;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.comparison-table th, .comparison-table td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
}

.comparison-table tr:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.02);
}

.comparison-table tr:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.comparison-table td:first-child {
  font-weight: 600;
}

/* Call to Action Section */
.cta {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: white;
  text-align: center;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: white;
}

.cta p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.subscribe-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 10px;
}

.subscribe-form input {
  flex: 1;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
}

.subscribe-form .btn {
  background-color: var(--accent-color);
  padding: 0 2rem;
}

.subscribe-form .btn:hover {
  background-color: #e09314;
}

/* Footer */
footer {
  background-color: #222;
  color: #fff;
  padding: 60px 0 30px;
}

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

.footer-logo img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 15px;
}

.footer-logo h3 {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 10px;
}

.footer-links h3, .footer-legal h3, .footer-contact h3 {
  font-size: 1.2rem;
  color: white;
  margin-bottom: 20px;
  position: relative;
}

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

.footer-links ul, .footer-legal ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a, .footer-legal a {
  color: #ccc;
  transition: color 0.3s ease;
}

.footer-links a:hover, .footer-legal a:hover {
  color: var(--secondary-color);
}

.footer-contact p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ccc;
}

.footer-contact [class^="icon-"] {
  color: var(--secondary-color);
}

.social-media {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

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

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

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

/* About Page */
.about-intro {
  padding: 60px 0;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 40px;
  align-items: center;
}

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

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

.values-list {
  margin: 20px 0;
  padding-left: 20px;
}

.values-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

.values-list li:before {
  content: '•';
  color: var(--secondary-color);
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -5px;
}

.team-section {
  padding: 60px 0;
  background-color: var(--bg-light);
}

.team-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

.team-section h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  transform: translateX(-50%);
}

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

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

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

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

.team-member h3 {
  font-size: 1.3rem;
  margin: 15px 0 5px;
}

.team-member p {
  padding: 0 15px 15px;
  color: var(--text-light);
}

.team-member p:first-of-type {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 10px;
}

.achievements {
  padding: 60px 0;
}

.achievements h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

.achievements h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  transform: translateX(-50%);
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.achievement-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 30px 20px;
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

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

.achievement-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-light);
  border-radius: 50%;
  color: var(--primary-color);
}

.achievement-card h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.counter {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.partners {
  padding: 60px 0;
  background-color: var(--bg-light);
}

.partners h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

.partners h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  transform: translateX(-50%);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

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

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

.partner img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.partner p {
  padding: 15px;
  font-weight: 600;
}

/* Blog Page */
.blog-container {
  padding: 60px 0;
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 40px;
}

.blog-filters {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 100px;
  height: fit-content;
}

.search-box {
  display: flex;
  margin-bottom: 20px;
}

.search-box input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1rem;
}

.search-box button {
  padding: 10px 15px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  cursor: pointer;
}

.filter-categories, .filter-tags {
  margin-top: 30px;
}

.filter-categories h3, .filter-tags h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.filter-categories ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-categories a {
  display: block;
  padding: 8px 10px;
  border-radius: var(--border-radius);
  color: var(--text-color);
  transition: all 0.3s ease;
}

.filter-categories a.active, .filter-categories a:hover {
  background-color: var(--primary-light);
  color: white;
}

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

.tag {
  display: inline-block;
  padding: 5px 12px;
  background-color: var(--bg-light);
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--text-light);
  transition: all 0.3s ease;
}

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

.blog-posts {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.blog-post {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

@media (min-width: 768px) {
  .blog-post {
    flex-direction: row;
  }
  
  .post-image {
    width: 35%;
  }
  
  .post-content {
    width: 65%;
  }
}

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

.post-image {
  position: relative;
  overflow: hidden;
}

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

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

.post-category {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 5px 15px;
  background-color: var(--primary-color);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 20px;
}

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

.post-date, .post-author {
  display: flex;
  align-items: center;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.pagination a, .pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: white;
  color: var(--text-color);
  font-weight: 600;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.pagination a.active, .pagination a:hover {
  background-color: var(--primary-color);
  color: white;
}

.pagination a.next {
  width: auto;
  padding: 0 20px;
  border-radius: 20px;
  gap: 5px;
}

/* Contact Page */
.contact-container {
  padding: 60px 0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.contact-info {
  background-color: var(--primary-color);
  padding: 40px;
  border-radius: var(--border-radius);
  color: white;
  position: relative;
}

.contact-info:after {
  content: '';
  position: absolute;
  top: 30px;
  right: -15px;
  width: 30px;
  height: 30px;
  background-color: var(--primary-color);
  transform: rotate(45deg);
  z-index: -1;
}

.contact-info h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: white;
  position: relative;
}

.contact-info h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: white;
}

.info-card {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  flex-shrink: 0;
}

.info-content h3 {
  font-size: 1.2rem;
  color: white;
  margin-bottom: 5px;
}

.info-content a {
  color: white;
  text-decoration: underline;
}

.social-contact {
  margin-top: 40px;
}

.social-contact h3 {
  font-size: 1.2rem;
  color: white;
  margin-bottom: 15px;
}

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

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

.social-icons a:hover {
  background-color: white;
  color: var(--primary-color);
  transform: translateY(-5px);
}

.contact-form-section {
  background-color: white;
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.contact-form-section h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--text-color);
}

.contact-form-section p {
  margin-bottom: 30px;
  color: var(--text-light);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

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

.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-group input {
  width: auto;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: 400;
}

.map-section {
  margin-top: 60px;
}

.map-section h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  text-align: center;
}

.map-container {
  height: 400px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

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

/* Single Post Page */
.single-post-container {
  padding: 60px 0;
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 40px;
}

.single-post {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  padding: 40px;
}

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

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

.featured-image {
  margin-bottom: 30px;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.featured-image img {
  width: 100%;
  height: auto;
}

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

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

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

.post-content h3 {
  font-size: 1.4rem;
  margin: 30px 0 15px;
}

.post-content ul, .post-content ol {
  padding-left: 20px;
}

.post-content ul li, .post-content ol li {
  margin-bottom: 10px;
  list-style-position: outside;
}

.post-content ul li {
  list-style-type: disc;
}

.post-content ol li {
  list-style-type: decimal;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.post-tags span {
  font-weight: 600;
  color: var(--text-light);
}

.post-tags a {
  display: inline-block;
  padding: 5px 15px;
  background-color: var(--bg-light);
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--text-light);
  transition: all 0.3s ease;
}

.post-tags a:hover {
  background-color: var(--primary-color);
  color: white;
}

.share-buttons {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
}

.share-buttons span {
  font-weight: 600;
  color: var(--text-light);
}

.share-buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--bg-light);
  border-radius: 50%;
  color: var(--text-light);
  transition: all 0.3s ease;
}

.share-buttons a:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-5px);
}

.author-bio {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  padding: 30px;
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
}

.author-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--text-light);
}

.author-info h4 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.related-posts {
  margin-top: 60px;
}

.related-posts h3 {
  font-size: 1.6rem;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

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

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

.related-post h4 {
  padding: 15px;
  font-size: 1rem;
  margin-bottom: 0;
  color: var(--text-color);
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-widget {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 25px;
  box-shadow: var(--box-shadow);
}

.sidebar-widget h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.search-widget .search-form {
  display: flex;
}

.search-widget input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1rem;
}

.search-widget button {
  padding: 10px 15px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  cursor: pointer;
}

.categories-widget ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.categories-widget a {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  color: var(--text-color);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.categories-widget a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.categories-widget span {
  background-color: var(--bg-light);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.8rem;
  color: var(--text-light);
}

.recent-posts-widget ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.recent-posts-widget li a {
  display: flex;
  gap: 15px;
  color: var(--text-color);
}

.recent-posts-widget img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.recent-posts-widget h4 {
  font-size: 1rem;
  margin-bottom: 5px;
  transition: var(--transition);
}

.recent-posts-widget a:hover h4 {
  color: var(--primary-color);
}

.recent-posts-widget span {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  padding: 20px;
  color: white;
  z-index: 9999;
  display: none;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cookie-content p {
  line-height: 1.6;
}

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

.cookie-buttons button {
  padding: 10px 20px;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

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

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

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

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.cookie-link {
  color: var(--secondary-light);
  text-decoration: underline;
  font-size: 0.9rem;
}

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

.modal-content {
  background-color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

.thank-you-message {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.thank-you-message svg {
  color: var(--success-color);
  width: 60px;
  height: 60px;
}

.thank-you-message h2 {
  font-size: 1.8rem;
  color: var(--text-color);
}

.thank-you-message p {
  margin-bottom: 20px;
  color: var(--text-light);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .single-post-container {
    grid-template-columns: 1fr;
  }
  
  .sidebar {
    order: -1;
    margin-bottom: 40px;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .contact-info:after {
    display: none;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    gap: 20px;
  }
  
  .logo {
    margin: 0 auto;
  }
  
  nav ul {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .about-intro {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
  }
  
  .blog-container {
    grid-template-columns: 1fr;
  }
  
  .blog-filters {
    position: static;
  }
  
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero h2 {
    font-size: 2rem;
  }
  
  .posts-grid, .team-grid, .achievements-grid, .partners-grid {
    grid-template-columns: 1fr;
  }
  
  .cookie-content, .cookie-buttons {
    flex-direction: column;
  }
  
  .post-meta {
    flex-direction: column;
    gap: 5px;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero, .featured-posts, .comparison-table, .cta {
  animation: fadeIn 1s ease-in-out;
}
