/* Base Styles */
:root {
  --primary-color: #4361ee;
  --primary-dark: #3a56d4;
  --secondary-color: #7209b7;
  --accent-color: #f72585;
  --text-color: #333;
  --text-light: #666;
  --text-lighter: #888;
  --background-color: #fff;
  --background-light: #f8f9fa;
  --background-dark: #343a40;
  --border-color: #dee2e6;
  --success-color: #28a745;
  --error-color: #dc3545;
  --warning-color: #ffc107;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease-in-out;
  --border-radius: 8px;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

/* Reset & Basics */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

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

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

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

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

button {
  cursor: pointer;
  background: none;
}

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

h1 {
  font-size: 4.2rem;
  margin-bottom: 2.4rem;
}

h2 {
  font-size: 3.2rem;
  margin-bottom: 2rem;
}

h3 {
  font-size: 2.4rem;
  margin-bottom: 1.6rem;
}

p {
  margin-bottom: 1.6rem;
}

section {
  padding: 8rem 0;
}

.container {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Utility Classes */
.btn {
  display: inline-block;
  padding: 1.2rem 2.4rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

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

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

.secondary-btn {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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

.blog-btn {
  background-color: transparent;
  color: var(--primary-color);
  padding: 0.8rem 1.6rem;
  font-weight: 600;
  border-radius: 4px;
  border: 1px solid var(--primary-color);
}

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

.section-title {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 6rem;
  height: 0.4rem;
  background-color: var(--accent-color);
  margin: 1.6rem auto 0;
  border-radius: 2px;
}

.center-btn {
  text-align: center;
  margin-top: 3.2rem;
}

.alt-lang {
  display: block;
  font-size: 0.7em;
  color: var(--text-lighter);
  font-weight: normal;
  margin-top: 0.8rem;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1.6rem 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.logo {
  height: 5rem;
}

.logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

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

nav ul {
  display: flex;
  gap: 2.4rem;
}

nav a {
  font-weight: 500;
  color: var(--text-color);
  position: relative;
  padding: 0.8rem 0;
}

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

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

nav a.active {
  color: var(--primary-color);
  font-weight: 600;
}

/* Hero Section */
.hero {
  padding-top: 15rem;
  padding-bottom: 8rem;
  background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(240,242,255,1) 100%);
}

.hero-content {
  max-width: 60%;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-content h1 {
  font-size: 4.8rem;
  margin-bottom: 1.6rem;
  font-weight: 700;
  color: var(--background-dark);
}

.hero-content p {
  font-size: 1.8rem;
  margin-bottom: 3.2rem;
  color: var(--text-light);
}

.hero-image {
  flex: 1;
  max-width: 40%;
  box-shadow: var(--box-shadow);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
}

.hero-image:hover {
  transform: translateY(-5px);
}

/* Typewriter effect */
.typewriter h2 {
  overflow: hidden;
  border-right: 0.15em solid var(--accent-color);
  white-space: nowrap;
  margin: 0;
  animation: 
    typing 3.5s steps(40, end),
    blink-caret 0.75s step-end infinite;
  height: 3.2rem;
  margin-bottom: 2.4rem;
  color: var(--secondary-color);
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: var(--accent-color) }
}

/* Features Section */
.features {
  background-color: var(--background-light);
}

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

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

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  background-color: rgba(67, 97, 238, 0.1);
  color: var(--primary-color);
  width: 6.4rem;
  height: 6.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2.4rem;
}

.feature-card h3 {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
}

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

/* Latest Posts Section */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
  gap: 3.2rem;
}

.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(-5px);
}

.post-image {
  height: 20rem;
  overflow: hidden;
}

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

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

.post-content {
  padding: 2.4rem;
}

.post-content h3 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
}

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

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

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

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

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

/* Testimonials Section */
.testimonials {
  background-color: var(--background-light);
}

.testimonial-slider {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
  gap: 3.2rem;
}

.testimonial {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 3.2rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.testimonial:hover {
  transform: translateY(-5px);
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 2.4rem;
  position: relative;
}

.testimonial-content p::before {
  content: '"';
  font-size: 5rem;
  line-height: 1;
  color: rgba(67, 97, 238, 0.1);
  position: absolute;
  top: -1.5rem;
  left: -1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.testimonial-author img {
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h4 {
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
}

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

/* Newsletter Section */
.newsletter {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  text-align: center;
}

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

.newsletter-content p {
  font-size: 1.8rem;
  margin-bottom: 3.2rem;
  opacity: 0.9;
  max-width: 60rem;
  margin-left: auto;
  margin-right: auto;
}

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

.newsletter-form input {
  flex: 1;
  padding: 1.2rem 1.6rem;
  border-radius: var(--border-radius);
  border: none;
}

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

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

/* Footer */
footer {
  background-color: var(--background-dark);
  color: white;
  padding-top: 6.4rem;
}

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

.footer-logo {
  height: 4.8rem;
  width: auto;
  margin-bottom: 1.6rem;
}

.footer-about p {
  opacity: 0.8;
  margin-bottom: 2.4rem;
}

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

.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%;
  color: white;
  transition: var(--transition);
}

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

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

.footer-links h3::after,
.footer-contact h3::after {
  content: '';
  display: block;
  width: 4rem;
  height: 0.3rem;
  background-color: var(--accent-color);
  position: absolute;
  bottom: -1rem;
  left: 0;
  border-radius: 2px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

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

.footer-links a:hover {
  color: white;
  transform: translateX(3px);
  display: inline-block;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.6rem;
  color: rgba(255, 255, 255, 0.8);
}

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

.footer-bottom p {
  margin-bottom: 0;
  opacity: 0.7;
  font-size: 1.4rem;
}

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

.page-header h1 {
  color: white;
  font-size: 4.2rem;
  margin-bottom: 1.6rem;
}

.page-header p {
  font-size: 1.8rem;
  opacity: 0.9;
  max-width: 60rem;
  margin-left: auto;
  margin-right: auto;
}

/* About Page */
.about-intro {
  padding-bottom: 4rem;
}

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

.about-content h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
  margin-top: 4rem;
}

.about-content h2:first-child {
  margin-top: 0;
}

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

.about-image {
  box-shadow: var(--box-shadow);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
}

.about-image:hover {
  transform: translateY(-5px);
}

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

.value-card {
  background-color: white;
  padding: 3.2rem 2.4rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-5px);
}

.value-icon {
  background-color: rgba(67, 97, 238, 0.1);
  color: var(--primary-color);
  width: 6.4rem;
  height: 6.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2.4rem;
}

.value-card h3 {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
}

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

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

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

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

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

.team-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.team-card h3, 
.team-card p {
  padding: 0 2.4rem;
}

.team-card h3 {
  margin-top: 2.4rem;
  margin-bottom: 0.8rem;
  font-size: 2.2rem;
}

.team-card p:nth-of-type(1) {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.team-card p:nth-of-type(2) {
  color: var(--text-light);
  margin-bottom: 2.4rem;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  padding-bottom: 2.4rem;
}

.team-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  height: 3.6rem;
  background-color: rgba(67, 97, 238, 0.1);
  border-radius: 50%;
  color: var(--primary-color);
  transition: var(--transition);
}

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

.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  text-align: center;
  color: white;
}

.cta-content h2 {
  color: white;
  margin-bottom: 1.6rem;
  font-size: 3.6rem;
}

.cta-content p {
  font-size: 1.8rem;
  opacity: 0.9;
  margin-bottom: 3.2rem;
  max-width: 60rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-content .btn {
  background-color: white;
  color: var(--primary-color);
  padding: 1.4rem 3.2rem;
  font-weight: 600;
}

.cta-content .btn:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

/* Blog Page */
.blog-content {
  padding-top: 4rem;
}

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

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

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-image {
  height: 24rem;
  overflow: hidden;
}

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

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

.blog-card-content {
  padding: 3.2rem;
}

.blog-meta {
  display: flex;
  gap: 1.6rem;
  margin-bottom: 1.6rem;
  color: var(--text-lighter);
  font-size: 1.4rem;
}

.blog-date {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.blog-date::before {
  content: '';
  display: block;
  width: 0.6rem;
  height: 0.6rem;
  background-color: var(--accent-color);
  border-radius: 50%;
}

.blog-category {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.blog-category::before {
  content: '';
  display: block;
  width: 0.6rem;
  height: 0.6rem;
  background-color: var(--primary-color);
  border-radius: 50%;
}

.blog-card-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
}

.blog-card-content p {
  color: var(--text-light);
  margin-bottom: 2.4rem;
}

.subscribe-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  text-align: center;
}

.subscribe-content h2 {
  color: white;
  margin-bottom: 1.6rem;
}

.subscribe-content p {
  font-size: 1.8rem;
  opacity: 0.9;
  margin-bottom: 3.2rem;
  max-width: 60rem;
  margin-left: auto;
  margin-right: auto;
}

.subscribe-form {
  display: flex;
  max-width: 60rem;
  margin: 0 auto;
  gap: 1.6rem;
}

.subscribe-form input {
  flex: 1;
  padding: 1.2rem 1.6rem;
  border-radius: var(--border-radius);
}

.subscribe-form button {
  background-color: white;
  color: var(--primary-color);
}

.subscribe-form button:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6.4rem;
}

.contact-info h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
}

.contact-info > p {
  color: var(--text-light);
  margin-bottom: 3.2rem;
}

.contact-method {
  display: flex;
  gap: 1.6rem;
  margin-bottom: 3.2rem;
}

.contact-icon {
  background-color: rgba(67, 97, 238, 0.1);
  color: var(--primary-color);
  width: 5.6rem;
  height: 5.6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-details h3 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

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

.social-links h3 {
  font-size: 2rem;
  margin-bottom: 1.6rem;
}

.contact-form-container {
  background-color: white;
  padding: 4rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.contact-form-container h2 {
  font-size: 3rem;
  margin-bottom: 3.2rem;
}

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

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

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

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(67, 97, 238, 0.2);
}

.form-checkbox {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.form-checkbox input {
  width: auto;
  margin-top: 0.4rem;
}

.form-checkbox a {
  text-decoration: underline;
}

.map-section {
  background-color: var(--background-light);
}

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

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

/* Thank You Popup */
.thank-you-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.thank-you-popup.active {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  background-color: white;
  border-radius: var(--border-radius);
  width: 90%;
  max-width: 50rem;
  box-shadow: var(--box-shadow);
  text-align: center;
  transform: translateY(-20px);
  transition: var(--transition);
}

.thank-you-popup.active .popup-content {
  transform: translateY(0);
}

.popup-header {
  padding: 1.6rem;
  display: flex;
  justify-content: flex-end;
}

.close-popup {
  background-color: transparent;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--text-lighter);
  transition: var(--transition);
}

.close-popup:hover {
  color: var(--text-color);
}

.popup-body {
  padding: 0 4rem 4rem;
}

.success-icon {
  color: var(--success-color);
  width: 8rem;
  height: 8rem;
  margin: 0 auto 2.4rem;
}

.popup-body h2 {
  font-size: 2.8rem;
  margin-bottom: 1.6rem;
}

.popup-body p {
  margin-bottom: 3.2rem;
  color: var(--text-light);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  padding: 2.4rem;
  z-index: 1000;
  display: none;
  max-width: 120rem;
  margin: 0 auto;
}

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

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

.cookie-buttons {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
}

.cookie-btn {
  padding: 0.8rem 1.6rem;
  font-size: 1.4rem;
}

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

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

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

.cookie-more {
  font-size: 1.4rem;
  margin-bottom: 0;
  color: var(--text-light);
}

.cookie-more a {
  text-decoration: underline;
}

/* Responsive */
@media screen and (max-width: 992px) {
  html {
    font-size: 56.25%; /* 9px */
  }

  .hero .container {
    flex-direction: column;
  }

  .hero-content, 
  .hero-image {
    max-width: 100%;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

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

@media screen and (max-width: 768px) {
  html {
    font-size: 50%; /* 8px */
  }

  .testimonial-slider {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
  }
}

@media screen and (max-width: 576px) {
  section {
    padding: 6rem 0;
  }

  h1 {
    font-size: 3.6rem;
  }

  h2 {
    font-size: 2.8rem;
  }

  nav ul {
    gap: 1.6rem;
  }

  .features-grid,
  .posts-grid,
  .values-grid,
  .team-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .cookie-buttons {
    flex-direction: column;
  }
}
