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

:root {
  --primary: #1e40af;
  --primary-dark: #1e3a8a;
  --primary-light: #3b82f6;
  --secondary: #64748b;
  --accent: #0ea5e9;
  --text-dark: #1e293b;
  --text-light: #475569;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --white: #ffffff;
  --border: #e2e8f0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica", "Arial", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--white);
}

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

.container-legal {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header and Navigation */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 2px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-menu a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  padding: 8px 0;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
}

.btn-primary-small {
  background: var(--primary) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s;
}

.btn-primary-small:hover {
  background: var(--primary-dark) !important;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 2px solid var(--primary);
  padding: 20px;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: none;
}

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

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-content p {
  flex: 1;
  margin: 0;
  color: var(--text-dark);
}

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

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

.btn-accept,
.btn-decline {
  padding: 10px 24px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

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

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

.btn-decline {
  background: var(--gray-100);
  color: var(--text-dark);
}

.btn-decline:hover {
  background: var(--gray-200);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
  padding: 80px 0;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.btn-primary,
.btn-secondary {
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
}

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

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

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

.btn-secondary:hover {
  background: var(--gray-50);
}

.hero-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Section Styles */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.label {
  display: inline-block;
  padding: 6px 16px;
  background: var(--gray-100);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-light);
}

/* Services Overview */
.services-overview {
  padding: 80px 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  border: 2px solid var(--border);
  transition: all 0.3s;
}

.service-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(30, 64, 175, 0.1);
  transform: translateY(-4px);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.service-icon img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.link-arrow {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s;
  display: inline-block;
}

.link-arrow:hover {
  transform: translateX(5px);
}

/* Why Choose Section */
.why-choose {
  padding: 80px 0;
  background: var(--gray-50);
}

.why-choose-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-choose-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.intro-text {
  font-size: 1.125rem;
  color: var(--text-light);
  margin: 20px 0 30px;
}

.features-list {
  list-style: none;
  margin-bottom: 30px;
}

.features-list li {
  margin-bottom: 25px;
}

.features-list strong {
  display: block;
  font-size: 1.125rem;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.features-list p {
  color: var(--text-light);
}

/* Stats Section */
.stats-section {
  padding: 80px 0;
  background: var(--primary);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.125rem;
  opacity: 0.9;
}

/* Testimonials */
.testimonials {
  padding: 80px 0;
  background: var(--white);
}

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

.testimonial-card {
  background: var(--gray-50);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.testimonial-content {
  margin-bottom: 25px;
}

.testimonial-content p {
  color: var(--text-dark);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-style: italic;
}

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

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.testimonial-author strong {
  display: block;
  color: var(--text-dark);
}

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

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
}

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

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.btn-primary-light {
  background: var(--white);
  color: var(--primary);
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
}

.btn-primary-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 60px 0 20px;
}

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

.footer-col h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 15px;
  color: var(--white);
}

.footer-col p {
  color: var(--gray-300);
  line-height: 1.7;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--gray-300);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--white);
}

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

.footer-bottom p {
  color: var(--gray-300);
}

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

.page-header h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.page-header p {
  font-size: 1.25rem;
  opacity: 0.95;
}

/* Services Detail */
.services-detail {
  padding: 80px 0;
}

.service-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.service-detail-card.reverse {
  direction: rtl;
}

.service-detail-card.reverse > * {
  direction: ltr;
}

.service-detail-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary);
  color: var(--white);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.service-detail-content h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.service-intro {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 25px;
}

.service-detail-content h3 {
  font-size: 1.25rem;
  margin: 25px 0 15px;
  color: var(--text-dark);
}

.service-features {
  list-style: none;
  margin-bottom: 30px;
}

.service-features li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 12px;
  color: var(--text-light);
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* Our Story */
.our-story {
  padding: 80px 0;
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.story-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.story-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.story-text p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.8;
}

/* Values Section */
.values-section {
  padding: 80px 0;
  background: var(--gray-50);
}

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

.value-card {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  border: 2px solid var(--border);
}

.value-card h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.value-card p {
  color: var(--text-light);
  line-height: 1.7;
}

/* Team Section */
.team-section {
  padding: 80px 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.team-member {
  text-align: center;
}

.team-member img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.team-member h3 {
  font-size: 1.25rem;
  margin-bottom: 5px;
  color: var(--text-dark);
}

.team-member .title {
  display: block;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
}

.team-member p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Certifications */
.certifications-section {
  padding: 80px 0;
  background: var(--gray-50);
}

.cert-list ul {
  list-style: none;
  max-width: 800px;
  margin: 0 auto;
}

.cert-list li {
  padding: 20px 20px 20px 50px;
  position: relative;
  margin-bottom: 15px;
  background: var(--white);
  border-radius: 8px;
  border-left: 4px solid var(--primary);
  color: var(--text-dark);
}

.cert-list li::before {
  content: "✓";
  position: absolute;
  left: 20px;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.25rem;
}

/* Resources Section */
.resources-section {
  padding: 80px 0;
}

.resource-item {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}

.resource-item:last-child {
  border-bottom: none;
}

.resource-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.resource-category {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary);
  color: var(--white);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.resource-content h2 {
  font-size: 1.75rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.resource-content p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.7;
}

.resource-content h3 {
  font-size: 1.125rem;
  margin: 25px 0 15px;
  color: var(--text-dark);
}

.resource-content ul {
  list-style: none;
}

.resource-content ul li {
  padding-left: 25px;
  position: relative;
  margin-bottom: 10px;
  color: var(--text-light);
}

.resource-content ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
}

.contact-form-wrapper h2,
.contact-info-wrapper h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

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

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
  font-family: inherit;
}

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

.contact-info-card {
  background: var(--gray-50);
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}

.contact-info-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.contact-info-card p {
  color: var(--text-light);
  margin-bottom: 5px;
}

.contact-info-card a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.contact-info-card a:hover {
  text-decoration: underline;
}

.contact-note {
  font-size: 0.875rem;
  color: var(--secondary);
  margin-top: 5px;
}

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

.map-placeholder {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
}

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

/* Blog Section */
.blog-section {
  padding: 80px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.blog-post {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--border);
  transition: all 0.3s;
}

.blog-post:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(30, 64, 175, 0.1);
  transform: translateY(-4px);
}

.blog-post.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
}

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

.blog-post.featured img {
  height: 100%;
}

.blog-content {
  padding: 25px;
}

.blog-category {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary);
  color: var(--white);
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-right: 10px;
}

.blog-date {
  color: var(--secondary);
  font-size: 0.875rem;
}

.blog-content h2,
.blog-content h3 {
  margin: 15px 0;
  color: var(--text-dark);
}

.blog-content h2 {
  font-size: 1.75rem;
}

.blog-content h3 {
  font-size: 1.25rem;
}

.blog-content p {
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.7;
}

.read-more {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s;
  display: inline-block;
}

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

/* Newsletter */
.newsletter-section {
  padding: 60px 0;
  background: var(--gray-50);
}

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

.newsletter-content h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.newsletter-content p {
  color: var(--text-light);
  margin-bottom: 25px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
}

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

.newsletter-form button {
  padding: 12px 32px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

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

/* Legal Pages */
.legal-content {
  padding: 60px 0;
}

.last-updated {
  color: var(--secondary);
  font-size: 0.875rem;
  margin-bottom: 40px;
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  font-size: 1.75rem;
  color: var(--text-dark);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
}

.legal-section h3 {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin: 25px 0 15px;
}

.legal-section p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 15px;
}

.legal-section ul {
  margin: 15px 0 15px 20px;
}

.legal-section ul li {
  color: var(--text-light);
  margin-bottom: 10px;
  line-height: 1.7;
}

.legal-section a {
  color: var(--primary);
  text-decoration: underline;
}

/* Cookie Table */
.cookie-table-wrapper {
  overflow-x: auto;
  margin: 30px 0;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cookie-table thead {
  background: var(--primary);
  color: var(--white);
}

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

.cookie-table th {
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
}

.cookie-table td {
  color: var(--text-light);
}

.cookie-table tbody tr:hover {
  background: var(--gray-50);
}

/* Thank You Page */
.thank-you-section {
  padding: 100px 0;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

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

.success-icon {
  margin-bottom: 30px;
}

.thank-you-content h1 {
  font-size: 3rem;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.thank-you-message {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 15px;
}

.thank-you-details {
  color: var(--text-light);
  margin-bottom: 40px;
  line-height: 1.7;
}

.thank-you-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 50px;
}

.thank-you-extra {
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.thank-you-extra p {
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.thank-you-extra ul {
  list-style: none;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.thank-you-extra a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.thank-you-extra a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 968px) {
  .mobile-menu-btn {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: none;
  }

  .nav-menu.active {
    display: flex;
  }

  .hero-content,
  .why-choose-content,
  .service-detail-card,
  .story-content,
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-detail-card.reverse {
    direction: ltr;
  }

  .hero-text h1 {
    font-size: 2.25rem;
  }

  .page-header h1 {
    font-size: 2.25rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

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

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

  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }

  .blog-post.featured {
    grid-template-columns: 1fr;
  }

  .blog-post.featured img {
    height: 300px;
  }

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

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

  .thank-you-actions {
    flex-direction: column;
  }

  .thank-you-extra ul {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .hero-text h1 {
    font-size: 1.875rem;
  }

  .page-header h1 {
    font-size: 1.875rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

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

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

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

  .resource-item {
    grid-template-columns: 1fr;
  }

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

  .cookie-table {
    font-size: 0.875rem;
  }

  .cookie-table th,
  .cookie-table td {
    padding: 10px;
  }
}
