/* Global Economic Insights - Main Stylesheet */

/* Base Styles and Variables */
:root {
  --primary-color: #1a5f7a;
  --secondary-color: #086e7d;
  --accent-color: #ffc93c;
  --light-accent: #ffebb7;
  --text-color: #333333;
  --light-text: #666666;
  --bg-light: #ffffff;
  --bg-light-gray: #f5f7fa;
  --bg-medium-gray: #e8eef4;
  --bg-dark: #0a2540;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
  --border-radius: 8px;
  --transition: all 0.3s ease;
  --container-width: 1200px;
  --font-main: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  font-size: 62.5%; /* 10px = 1rem */
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.3;
  margin-bottom: 2rem;
  color: var(--bg-dark);
  font-weight: 600;
}

h1 {
  font-size: 4.2rem;
}

h2 {
  font-size: 3.2rem;
}

h3 {
  font-size: 2.4rem;
}

h4 {
  font-size: 2rem;
}

p {
  margin-bottom: 1.6rem;
}

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

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

ul, ol {
  list-style-position: inside;
  margin-bottom: 2rem;
}

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

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

/* Button Styles */
.btn {
  display: inline-block;
  padding: 1.2rem 2.4rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1.6rem;
}

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

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

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

.btn-secondary:hover {
  background-color: var(--light-text);
  color: white;
}

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

.btn-tertiary:hover {
  background-color: var(--bg-medium-gray);
}

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

.logo img {
  height: 5rem;
  object-fit: contain;
}

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

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

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

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

nav ul li a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  bottom: -4px;
  left: 0;
  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);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 3rem;
  height: 2.1rem;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text-color);
  border-radius: 3px;
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, var(--bg-dark), var(--primary-color));
  color: white;
  padding: 8rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 4.8rem;
  margin-bottom: 2rem;
  color: white;
}

.hero p {
  font-size: 2rem;
  max-width: 70rem;
  margin: 0 auto 3rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Real-time Clock Section */
.real-time-clock {
  padding: 6rem 0;
  background-color: var(--bg-light-gray);
}

.clock-container {
  text-align: center;
  padding: 3rem;
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

#clock {
  font-size: 4.8rem;
  font-weight: 700;
  margin: 2rem 0;
  color: var(--primary-color);
}

.market-status {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 1.8rem;
}

.market-status span {
  display: inline-flex;
  align-items: center;
}

/* Featured Posts Section */
.featured-posts {
  padding: 8rem 0;
}

.featured-posts h2 {
  text-align: center;
  margin-bottom: 5rem;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(32rem, 1fr));
  gap: 3rem;
}

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

.post:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.post img {
  width: 100%;
  height: 22rem;
  object-fit: cover;
}

.post h3 {
  padding: 2rem 2rem 1rem;
  font-size: 2.2rem;
}

.post p {
  padding: 0 2rem;
  color: var(--light-text);
}

.read-more {
  display: inline-block;
  padding: 0 2rem 2rem;
  font-weight: 600;
  color: var(--primary-color);
}

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

.view-all {
  text-align: center;
  margin-top: 4rem;
}

/* Beginner Mistakes Section */
.beginner-mistakes {
  padding: 8rem 0;
  background-color: var(--bg-light-gray);
}

.beginner-mistakes h2 {
  text-align: center;
  margin-bottom: 5rem;
}

.mistakes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(28rem, 1fr));
  gap: 3rem;
}

.mistake {
  background-color: var(--bg-light);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.mistake:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.mistake .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6rem;
  height: 6rem;
  background-color: var(--light-accent);
  border-radius: 50%;
  margin-bottom: 2rem;
}

.mistake .icon svg {
  width: 3rem;
  height: 3rem;
  fill: var(--primary-color);
}

.mistake h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

/* Newsletter Section */
.newsletter {
  padding: 8rem 0;
  background-color: var(--bg-dark);
  color: white;
  text-align: center;
}

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

.newsletter p {
  font-size: 1.8rem;
  max-width: 60rem;
  margin: 0 auto 3rem;
  opacity: 0.9;
}

#newsletter-form {
  display: flex;
  max-width: 60rem;
  margin: 0 auto;
}

#newsletter-form input {
  flex-grow: 1;
  padding: 1.2rem 1.8rem;
  border: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1.6rem;
}

#newsletter-form button {
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* Footer */
footer {
  background-color: var(--bg-dark);
  color: white;
  padding: 6rem 0 3rem;
}

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

.footer-logo img {
  height: 5rem;
  margin-bottom: 1.5rem;
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
}

.footer-links h3 {
  color: white;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  position: relative;
}

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

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

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

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

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

.footer-contact h3 {
  color: white;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  position: relative;
}

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

.footer-contact p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

.footer-social h3 {
  color: white;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  position: relative;
}

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

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

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

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

.social-icons svg {
  fill: white;
  width: 2rem;
  height: 2rem;
}

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

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.4rem;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-dark);
  color: white;
  padding: 2rem;
  z-index: 1000;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
  display: none;
}

.cookie-consent.active {
  display: block;
}

.cookie-content {
  max-width: var(--container-width);
  margin: 0 auto;
}

.cookie-content p {
  margin-bottom: 1.5rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.cookie-content a {
  color: var(--accent-color);
  text-decoration: underline;
  font-size: 1.4rem;
}

.cookie-content a:hover {
  color: white;
}

/* Page Header */
.page-header {
  background: linear-gradient(to right, var(--bg-dark), var(--primary-color));
  color: white;
  padding: 6rem 0;
  text-align: center;
}

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

.page-header p {
  font-size: 1.8rem;
  max-width: 70rem;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
}

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

.blog-grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

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

.blog-post:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

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

.post-content {
  padding: 3rem;
}

.post-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
  color: var(--light-text);
  font-size: 1.4rem;
}

.blog-post h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

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

/* Single Post */
.single-post {
  padding: 8rem 0;
}

.post-header {
  margin-bottom: 4rem;
}

.post-header h1 {
  font-size: 4.2rem;
  margin: 1.5rem 0 3rem;
}

.post-featured-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 3rem;
}

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

.post-content h2 {
  font-size: 2.8rem;
  margin: 4rem 0 2rem;
}

.post-content h3 {
  font-size: 2.4rem;
  margin: 3rem 0 1.5rem;
}

.post-content p {
  margin-bottom: 2rem;
  font-size: 1.8rem;
  line-height: 1.7;
}

.post-content ul, .post-content ol {
  margin-bottom: 2.5rem;
  padding-left: 2rem;
}

.post-content li {
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.post-footer {
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--bg-medium-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.post-tags span {
  font-weight: 600;
}

.post-tags a {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background-color: var(--bg-light-gray);
  border-radius: 3rem;
  font-size: 1.4rem;
  transition: var(--transition);
}

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

.post-share {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.post-share span {
  font-weight: 600;
}

.post-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background-color: var(--bg-light-gray);
  border-radius: 50%;
  transition: var(--transition);
}

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

.post-share svg {
  fill: var(--text-color);
  width: 2rem;
  height: 2rem;
  transition: var(--transition);
}

.post-share a:hover svg {
  fill: white;
}

.related-posts {
  margin-top: 8rem;
}

.related-posts h3 {
  text-align: center;
  margin-bottom: 4rem;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
  gap: 3rem;
}

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

.related-post:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

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

.related-post h4 {
  padding: 2rem 2rem 1rem;
  font-size: 2rem;
}

.related-post a {
  display: inline-block;
  margin: 0 2rem 2rem;
  font-weight: 600;
  color: var(--primary-color);
}

/* Contact Section */
.contact-section {
  padding: 8rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
  gap: 5rem;
}

.contact-info h2 {
  margin-bottom: 4rem;
}

.info-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
}

.info-item .icon {
  flex-shrink: 0;
  width: 5rem;
  height: 5rem;
  background-color: var(--light-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-item .icon svg {
  width: 2.5rem;
  height: 2.5rem;
  fill: var(--primary-color);
}

.info-item .content h3 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.info-item .content p {
  color: var(--light-text);
}

.info-item .content a {
  color: var(--light-text);
  transition: var(--transition);
}

.info-item .content a:hover {
  color: var(--primary-color);
}

.company-details {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--bg-medium-gray);
}

.contact-form h2 {
  margin-bottom: 4rem;
}

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

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

.form-group input, .form-group textarea {
  width: 100%;
  padding: 1.2rem 1.8rem;
  border: 1px solid var(--bg-medium-gray);
  border-radius: var(--border-radius);
  font-size: 1.6rem;
  transition: var(--transition);
}

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

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.form-checkbox input {
  width: auto;
}

.form-checkbox label {
  margin-bottom: 0;
}

/* Map Section */
.map-section {
  padding: 4rem 0 8rem;
}

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

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

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

.modal.active {
  display: flex;
}

.modal-content {
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 4rem;
  max-width: 60rem;
  width: 90%;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 3rem;
  cursor: pointer;
  line-height: 1;
}

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

.checkmark {
  width: 8rem;
  height: 8rem;
  margin: 0 auto 2rem;
}

.checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: var(--primary-color);
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke-width: 3;
  stroke: var(--primary-color);
  fill: none;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

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

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

/* About Page */
.about-intro, .about-values {
  margin-bottom: 8rem;
}

.about-intro h2, .about-values h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.about-intro p {
  font-size: 1.8rem;
  line-height: 1.7;
  max-width: 90rem;
  margin: 0 auto 2rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.value-card {
  background-color: var(--bg-light);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.value-card .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6rem;
  height: 6rem;
  background-color: var(--light-accent);
  border-radius: 50%;
  margin-bottom: 2rem;
}

.value-card .icon svg {
  width: 3rem;
  height: 3rem;
  fill: var(--primary-color);
}

.value-card h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.team-section {
  padding: 4rem 0 8rem;
}

.team-section h2, .section-intro {
  text-align: center;
}

.section-intro {
  font-size: 1.8rem;
  max-width: 70rem;
  margin: 0 auto 5rem;
  color: var(--light-text);
}

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

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

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

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

.team-member h3 {
  padding: 2rem 2rem 0.5rem;
  margin-bottom: 0;
}

.team-member p {
  padding: 0 2rem;
  margin-bottom: 1.2rem;
}

.team-member p:nth-of-type(1) {
  color: var(--primary-color);
  font-weight: 600;
}

.social-links {
  display: flex;
  gap: 1rem;
  padding: 0 2rem 2rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background-color: var(--bg-light-gray);
  border-radius: 50%;
  transition: var(--transition);
}

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

.social-links svg {
  fill: var(--text-color);
  width: 2rem;
  height: 2rem;
  transition: var(--transition);
}

.social-links a:hover svg {
  fill: white;
}

.clients-section {
  padding: 4rem 0 8rem;
  background-color: var(--bg-light-gray);
}

.clients-section h2, .clients-section .section-intro {
  text-align: center;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 4rem;
  margin-top: 5rem;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 10rem;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: var(--transition);
}

.client-logo:hover {
  filter: grayscale(0);
  opacity: 1;
}

.client-logo img {
  max-height: 8rem;
  max-width: 15rem;
  object-fit: contain;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  html {
    font-size: 58%;
  }
  
  .blog-post {
    grid-template-columns: 1fr;
  }
  
  .post-image img {
    height: 30rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 55%;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 28rem;
    background-color: var(--bg-light);
    box-shadow: var(--shadow);
    transform: translateX(100%);
    transition: var(--transition);
    z-index: 101;
  }
  
  nav.active {
    transform: translateX(0);
  }
  
  nav ul {
    flex-direction: column;
    padding: 10rem 3rem;
    height: 100%;
  }
  
  nav ul li {
    margin: 2rem 0;
  }
  
  .mobile-menu-toggle {
    display: flex;
    z-index: 102;
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .hero h1 {
    font-size: 3.8rem;
  }
  
  #newsletter-form {
    flex-direction: column;
  }
  
  #newsletter-form input {
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
  }
  
  #newsletter-form button {
    border-radius: var(--border-radius);
    width: 100%;
  }
  
  .footer-content {
    gap: 3rem;
  }
  
  .post-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .contact-form, .contact-info {
    padding: 3rem;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 50%;
  }
  
  h1 {
    font-size: 3.6rem;
  }
  
  h2 {
    font-size: 2.8rem;
  }
  
  .hero {
    padding: 6rem 0;
  }
  
  .hero h1 {
    font-size: 3.4rem;
  }
  
  .featured-posts, .beginner-mistakes, .newsletter {
    padding: 6rem 0;
  }
  
  .mistakes-grid, .posts-grid, .related-posts-grid, .values-grid, .team-grid, .clients-grid {
    grid-template-columns: 1fr;
  }
  
  .post-image img {
    height: 25rem;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
  
  .cookie-buttons button {
    width: 100%;
  }
  
  .modal-content {
    padding: 3rem 2rem;
  }
}
