/* 
* FinArg - Cursos de Finanzas en Argentina
* Main Stylesheet
*/

/* Base Styles and Variables */
:root {
  --primary-color: #1f4e8c;
  --primary-dark: #0f345e;
  --primary-light: #3a6ca8;
  --secondary-color: #ffc857;
  --secondary-dark: #e6a938;
  --accent-color: #e63946;
  --text-color: #333;
  --text-light: #666;
  --text-lighter: #999;
  --bg-color: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #e9ecef;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --error-color: #dc3545;
  --border-color: #dee2e6;
  --border-radius: 8px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --container-width: 1200px;
  --header-height: 80px;
  --footer-bg: #1a1a1a;
  --footer-text: #f8f9fa;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--bg-color);
  overflow-x: hidden;
}

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

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

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

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

ul, ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

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

.center {
  text-align: center;
}

/* Header and Navigation */
header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

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

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

.logo img {
  height: 50px;
  width: auto;
  border-radius: 0;
}

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

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-color);
  padding: 0.5rem 0;
  position: relative;
}

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

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

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

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

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

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: white;
}

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

/* Buttons */
.btn, 
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

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

.btn:hover {
  background-color: var(--primary-dark);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

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

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

.btn-secondary {
  background-color: var(--bg-light);
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

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

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

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

.read-more::after {
  content: '→';
  margin-left: 0.5rem;
  transition: var(--transition);
}

.read-more:hover::after {
  margin-left: 0.75rem;
}

/* Neon Button */
.neon-button {
  position: relative;
  display: inline-block;
  padding: 1rem 2rem;
  color: white;
  background-color: var(--primary-color);
  border: none;
  border-radius: var(--border-radius);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
  overflow: hidden;
  box-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color), 0 0 30px var(--primary-light);
  transition: all 0.5s ease;
  cursor: pointer;
  margin-top: 1rem;
}

.neon-button:hover, .neon-button:focus {
  background-color: var(--primary-dark);
  box-shadow: 0 0 15px var(--primary-color), 0 0 30px var(--primary-color), 0 0 45px var(--primary-light);
  color: white;
  transform: translateY(-5px);
}

.neon-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}

.neon-button:hover::before {
  left: 100%;
}

/* Features Section */
.features {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

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

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

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

.feature-icon {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.feature-icon svg {
  width: 60px;
  height: 60px;
}

.feature-box h3 {
  margin-bottom: 1rem;
}

/* Latest Posts Section */
.latest-posts {
  padding: 5rem 0;
}

.latest-posts h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.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 10px 20px rgba(0, 0, 0, 0.15);
}

.post-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.post-content {
  padding: 1.5rem;
}

.post-content h3 {
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.post-content p {
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

/* Testimonials Section */
.testimonials {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.testimonial {
  position: relative;
}

.testimonial-content {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  position: relative;
  margin-bottom: 1.5rem;
}

.testimonial-content::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 30px;
  width: 20px;
  height: 20px;
  background-color: white;
  transform: rotate(45deg);
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.05);
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-left: 1.5rem;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
}

.testimonial-author h4 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.testimonial-author span {
  font-size: 0.875rem;
  color: var(--text-lighter);
}

/* CTA Section */
.cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  text-align: center;
}

.cta h2 {
  color: white;
  margin-bottom: 1.5rem;
}

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

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

.cta .btn:hover {
  background-color: var(--bg-light);
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.page-header h1 {
  color: white;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.25rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Blog Content */
.blog-content {
  padding: 5rem 0;
}

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

.blog-post {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.blog-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.blog-post .post-content {
  padding: 2rem;
}

.post-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-lighter);
  font-size: 0.875rem;
}

.post-category {
  background-color: var(--primary-light);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-weight: 600;
}

/* Newsletter Section */
.newsletter {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.newsletter-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.newsletter h2 {
  margin-bottom: 1rem;
}

.newsletter p {
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
}

.newsletter-form button {
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background-color: var(--primary-dark);
}

/* Contact Content */
.contact-content {
  padding: 5rem 0;
}

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

.contact-info h2,
.contact-form-container h2 {
  margin-bottom: 1.5rem;
}

.contact-info p {
  margin-bottom: 2rem;
}

.contact-details {
  margin-bottom: 3rem;
}

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

.contact-icon {
  color: var(--primary-color);
  margin-right: 1rem;
  margin-top: 0.25rem;
}

.contact-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.social-contact h3 {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

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

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

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

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

.form-group.full-width {
  grid-column: span 2;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(31, 78, 140, 0.1);
}

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

.checkbox-group input {
  width: auto;
  margin-right: 0.75rem;
}

.submit-btn {
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}

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

/* Map Section */
.map-section {
  padding-bottom: 5rem;
}

.map-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

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

.map-container img {
  width: 100%;
  display: block;
  border-radius: var(--border-radius);
}

/* FAQ Section */
.faq-section {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background-color: white;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: var(--bg-light);
}

.faq-question h3 {
  margin-bottom: 0;
  font-size: 1.25rem;
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  margin-bottom: 0;
}

.faq-item.active .faq-question {
  background-color: var(--bg-light);
}

/* About Page */
.about-intro {
  padding: 5rem 0;
}

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

.about-text h2 {
  margin-bottom: 2rem;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.about-text ul {
  margin-bottom: 2rem;
}

.about-text ul li {
  margin-bottom: 0.75rem;
}

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

/* Team Section */
.team {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.team h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.team-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

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

.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 10px 20px rgba(0, 0, 0, 0.15);
}

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

.team-member h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.25rem;
}

.team-member p {
  color: var(--text-light);
  margin-bottom: 1rem;
  padding: 0 1.5rem;
}

.member-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

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

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

/* Achievements Section */
.achievements {
  padding: 5rem 0;
}

.achievements h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.achievement-box {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

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

.achievement-icon {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.achievement-icon svg {
  width: 48px;
  height: 48px;
}

.achievement-box h3 {
  margin-bottom: 1rem;
  font-size: 2rem;
  color: var(--primary-color);
}

/* Partners Section */
.partners {
  padding: 5rem 0;
  background-color: var(--bg-light);
  text-align: center;
}

.partners h2 {
  margin-bottom: 1rem;
}

.partners p {
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
  align-items: center;
}

.partner-logo {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

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

.partner-logo img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: var(--transition);
}

.partner-logo:hover img {
  filter: grayscale(0%);
}

/* Blog Post Pages */
.blog-post-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 4rem 0;
}

.blog-post-header .container {
  max-width: 900px;
}

.blog-post-header .post-meta {
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.blog-post-header h1 {
  color: white;
  margin-bottom: 2rem;
  font-size: 2.75rem;
}

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

.post-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
}

.post-author p {
  margin-bottom: 0.25rem;
  line-height: 1.4;
}

.blog-post-content {
  padding: 5rem 0;
}

.blog-post-content .container {
  max-width: 900px;
}

.post-featured-image {
  margin-bottom: 3rem;
}

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

.blog-post-content .post-content {
  padding: 0;
}

.blog-post-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.blog-post-content ul {
  margin-bottom: 2rem;
}

.blog-post-content ul li {
  margin-bottom: 0.75rem;
}

.quote-box {
  background-color: var(--bg-light);
  padding: 2rem;
  border-radius: var(--border-radius);
  margin: 2.5rem 0;
  border-left: 5px solid var(--primary-color);
}

.quote-box blockquote {
  font-style: italic;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.5rem;
}

.quote-box blockquote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: -10px;
  font-size: 4rem;
  color: var(--primary-light);
  opacity: 0.3;
  font-family: Georgia, serif;
}

.quote-box cite {
  display: block;
  font-weight: 600;
  text-align: right;
}

.course-details {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

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

.detail-icon {
  color: var(--primary-color);
  margin-right: 1rem;
  margin-top: 0.25rem;
}

.detail-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.detail-item p {
  margin-bottom: 0;
  color: var(--text-light);
}

.cta-box {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 2.5rem;
  border-radius: var(--border-radius);
  margin: 3rem 0;
  text-align: center;
}

.cta-box h3 {
  color: white;
  margin-bottom: 1rem;
}

.cta-box p {
  margin-bottom: 1.5rem;
}

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

.post-tags {
  margin: 3rem 0 2rem;
}

.tag-label {
  font-weight: 600;
  margin-right: 1rem;
}

.tag {
  display: inline-block;
  background-color: var(--bg-light);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  margin-right: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-color);
  transition: var(--transition);
}

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

.share-post {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
}

.share-post span {
  font-weight: 600;
  margin-right: 1rem;
}

.social-share {
  display: flex;
  gap: 0.75rem;
}

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

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

.post-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 2rem 0;
  margin-bottom: 4rem;
}

.back-to-blog {
  display: flex;
  align-items: center;
  font-weight: 600;
}

.back-to-blog svg {
  margin-right: 0.5rem;
}

.post-nav-links {
  display: flex;
  gap: 2rem;
}

.prev-post, .next-post {
  display: flex;
  align-items: center;
  font-weight: 600;
}

.prev-post svg {
  margin-right: 0.5rem;
}

.next-post svg {
  margin-left: 0.5rem;
}

/* Related Posts */
.related-posts {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.related-posts h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

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

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

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

.related-content {
  padding: 1.5rem;
}

.related-content h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.related-content p {
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

/* Interesting Facts Section */
.interesting-facts {
  padding: 5rem 0;
  background-color: white;
}

.interesting-facts h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.fact-box {
  background-color: var(--primary-color);
  color: white;
  padding: 2.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.fact-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
  z-index: 1;
}

.fact-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(31, 78, 140, 0.3);
}

.fact-icon {
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 2;
}

.fact-box h3 {
  margin-bottom: 1rem;
  font-size: 2.5rem;
  color: white;
  position: relative;
  z-index: 2;
}

.fact-box p {
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

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

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

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-lighter);
  transition: var(--transition);
}

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

.thank-you-message {
  text-align: center;
}

.thank-you-message svg {
  color: var(--success-color);
  margin-bottom: 1.5rem;
}

.thank-you-message h2 {
  margin-bottom: 1rem;
}

.thank-you-message p {
  margin-bottom: 2rem;
}

.close-btn {
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

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

/* Footer */
footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 5rem 0 2.5rem;
}

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

.footer-logo img {
  height: 50px;
  width: auto;
  margin-bottom: 1.5rem;
  border-radius: 0;
}

.footer-links h3, 
.footer-contact h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

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

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

.footer-links ul li a {
  color: var(--footer-text);
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--secondary-color);
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.footer-contact svg {
  margin-right: 0.75rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.footer-social 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: var(--transition);
}

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

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

/* Cookie Banner */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 1.5rem 0;
  z-index: 1000;
}

.cookie-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.cookie-content p {
  margin-bottom: 1rem;
  flex: 1 0 100%;
}

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

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

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

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

.btn-secondary {
  background-color: transparent;
  color: white;
  padding: 0.5rem 1rem;
  border: 1px solid white;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

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

/* Responsive Adjustments */
@media (max-width: 1200px) {
  :root {
    --container-width: 100%;
  }
}

@media (max-width: 992px) {
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-image {
    order: -1;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: auto;
  }
  
  header .container {
    flex-direction: column;
    padding: 1rem 1.5rem;
  }
  
  .logo {
    margin-bottom: 1rem;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav ul li {
    margin: 0 0.75rem 0.5rem;
  }
  
  .hero {
    padding: 4rem 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .features .container,
  .posts-grid,
  .testimonials-slider,
  .achievements-grid,
  .partners-grid,
  .facts-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-post {
    grid-template-columns: 1fr;
  }
  
  .blog-post img {
    height: 250px;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    margin-bottom: 1rem;
  }
  
  .contact-form {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width {
    grid-column: auto;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-buttons {
    margin-top: 1rem;
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 576px) {
  .post-navigation {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }
  
  .post-nav-links {
    width: 100%;
    justify-content: space-between;
  }
  
  .footer-social {
    flex-wrap: wrap;
  }
}

/* Print Styles */
@media print {
  header, footer, .cta, .related-posts, .cookie-banner, .interesting-facts {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
  }
  
  .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
  
  a {
    text-decoration: underline;
    color: #000;
  }
  
  .blog-post-content .container {
    max-width: 100%;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
    page-break-inside: avoid;
  }
  
  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }
}
