.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
body {
  font-family: "Poppins", sans-serif;
  background: #ffffff;
  color: #333333;
  line-height: 1.6;
  min-width: 350px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 96px;
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 32px;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
}
.logo-img {
  height: 28px;
  width: auto;
  display: block;
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
}
.mobile-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.nav-links a {
  color: #333333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
.nav-links a:hover {
  color: #FF002B;
}
.nav-links a.active {
  color: #FF002B;
}
.nav-buttons {
  display: flex;
  gap: 15px;
  align-items: center;
}
.btn-login {
  color: #333333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  border: 1px solid #FF002B;
  border-radius: 6px;
  padding: 8px 12px;
}
.btn-login:hover {
  color: #FF002B;
}
.btn-primary {
  background: #FF002B;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}
.language-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: #f8f9fa;
  border-radius: 6px;
  border: 1px solid #e1e5e9;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}
.language-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  color: #333;
  font-weight: 500;
}
.language-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #ffffff;
  border: 1px solid #e1e5e9;
  border-radius: 6px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  padding: 6px;
  display: none;
  min-width: 120px;
  z-index: 1001;
}
#languageDropdown.open .language-menu {
  display: block;
}
.blog-hero {
  background: linear-gradient(135deg, #FF002B 0%, #FF002B 100%);
  padding: 60px 0 30px;
}
.blog-hero .hero-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
}
.blog-hero .hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 12px;
  color: #ffffff;
}
.blog-hero .hero-text p {
  color: #fef2f2;
  font-size: 1.1rem;
}
.blog-hero .hero-img {
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: 12px;
}

.blog-section {
  background: #f9fafb;
  padding: 80px 0;
}

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

.service-card {
  position: relative;
  height: 580px;
  border-radius: 2.5rem;
  overflow: hidden;
}
.image-container {
  padding: 2.5rem;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.initial-content-gradient {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 2.5rem;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.service-card:hover .initial-content-gradient {
  opacity: 0;
}
.info-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transform: translateY(calc(100% - 160px));
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 20;
}
.service-card:hover .info-overlay {
  transform: translateY(0);
}
.overlay-card {
  background: #ffffff;
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
  border-top-left-radius: 2rem;
  border-top-right-radius: 2rem;
}
.overlay-card__header .blog-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.service-card:hover .overlay-card__header .blog-title {
  color: #FF002B;
}
.overlay-card__header .blog-excerpt {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 500;
}
.overlay-card__footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #f3f4f6;
  opacity: 0;
  transition: opacity 0.7s ease 0.1s;
}
.service-card:hover .overlay-card__footer {
  opacity: 1;
}
.overlay-card__footer .blog-meta {
  color: #FF002B;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.blog-emoji {
  font-size: 6rem;
  line-height: 1;
  color: #ffffff;
  transition: transform 0.8s ease, filter 0.4s ease;
}
.service-card:hover .blog-emoji {
  transform: scale(1.08);
}

@media (max-width: 768px) {
  .header {
    padding: 18px 0;
  }
  .menu-toggle {
    display: block;
    margin-left: auto;
  }
  .mobile-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    padding: 12px;
    z-index: 1001;
  }
  .nav.open .mobile-menu {
    display: block;
  }
  .mobile-menu .language-selector {
    margin-bottom: 10px;
  }
  .nav-links {
    display: none;
  }
  .mobile-menu .nav-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .mobile-menu .nav-links a {
    padding: 10px 12px;
    border-radius: 6px;
    background: #f8f9fa;
  }
  .mobile-menu .nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }
  .btn-login {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #ffffff;
  }
  .btn-primary {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 16px;
  }
  .blog-hero .hero-split {
    grid-template-columns: 1fr;
  }
  .blog-hero .hero-img {
    max-width: 280px;
    justify-self: center;
  }
}
