/* ============================================================
   MANTLE — Neo-Academic Serenity Design System
   Typography Analytics & Research Platform
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Roboto+Slab:wght@400;600;700&family=Roboto:wght@300;400;500;700&display=swap');

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: #333333;
  background-color: #F8F8F8;
}

/* ---- Typography Scale ---- */
h1, .h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.2;
  color: #333333;
}
h2, .h2 {
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 1.3;
  color: #333333;
}
h3, .h3 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.4;
  color: #333333;
}
h4, .h4 {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.4;
  color: #333333;
}
p { margin-bottom: 20px; }
p:last-child { margin-bottom: 0; }

a { color: #007BFF; text-decoration: none; transition: all 0.2s ease-in-out; }
a:hover { color: #0056b3; text-decoration: underline; }

strong { font-weight: 700; }
em { font-style: italic; }

ul, ol { padding-left: 24px; margin-bottom: 20px; }
li { margin-bottom: 8px; line-height: 1.6; }

/* ---- Layout Container ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---- Utility Classes ---- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-muted { color: #6C757D; }
.text-accent { color: #007BFF; }
.section-gap { margin-bottom: 80px; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: scale(1.02); }

.btn-primary {
  background-color: #007BFF;
  color: #F8F8F8;
  border-color: #007BFF;
}
.btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
  color: #F8F8F8;
}

.btn-outline {
  background-color: transparent;
  color: #007BFF;
  border-color: #007BFF;
}
.btn-outline:hover {
  background-color: #007BFF;
  color: #F8F8F8;
}

.btn-secondary {
  background-color: #EBEBEB;
  color: #333333;
  border-color: #EBEBEB;
}
.btn-secondary:hover {
  background-color: #d5d5d5;
  border-color: #d5d5d5;
  color: #333333;
}

.btn-sm {
  font-size: 14px;
  padding: 10px 22px;
}

/* ---- Header & Navigation ---- */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #E0E0E0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  max-width: 1200px;
  margin: 0 auto;
  height: 72px;
}
.site-logo {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: #333333;
  text-decoration: none;
  letter-spacing: -0.5px;
}
.site-logo span { color: #007BFF; }
.site-logo:hover { text-decoration: none; color: #333333; }

.main-nav { display: flex; align-items: center; gap: 0; }
.main-nav ul { list-style: none; display: flex; gap: 4px; padding: 0; margin: 0; }
.main-nav ul li { margin: 0; }
.main-nav ul li a {
  display: block;
  padding: 8px 14px;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #333333;
  border-radius: 4px;
  transition: all 0.2s ease-in-out;
}
.main-nav ul li a:hover,
.main-nav ul li a.active {
  background-color: #F8F8F8;
  color: #007BFF;
  text-decoration: none;
}

/* Dropdown */
.nav-item-dropdown { position: relative; }
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  min-width: 220px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  z-index: 999;
  padding: 8px 0;
}
.nav-item-dropdown:hover .nav-dropdown { display: block; }
.nav-dropdown li { margin: 0; }
.nav-dropdown li a {
  padding: 10px 20px;
  font-size: 14px;
  color: #333333;
  border-radius: 0;
  display: block;
}
.nav-dropdown li a:hover {
  background-color: #F8F8F8;
  color: #007BFF;
}

.nav-cta { margin-left: 16px; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #333333;
  border-radius: 2px;
  transition: all 0.2s ease-in-out;
}

/* ---- Hero Section ---- */
.hero {
  background-color: #F8F8F8;
  padding: 100px 0 80px;
  border-bottom: 1px solid #E0E0E0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.hero-text {}
.hero-eyebrow {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #007BFF;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: 52px;
  margin-bottom: 24px;
}
.hero-lead {
  font-size: 19px;
  color: #6C757D;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image { position: relative; }
.hero-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
}

/* ---- Section Styles ---- */
.section {
  padding: 80px 0;
}
.section-alt {
  background-color: #EBEBEB;
}
.section-header {
  margin-bottom: 48px;
}
.section-header.text-center { text-align: center; }
.section-eyebrow {
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #007BFF;
  margin-bottom: 12px;
  display: block;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p {
  font-size: 18px;
  color: #6C757D;
  max-width: 680px;
}
.section-header.text-center p { margin: 0 auto; }

/* ---- Cards ---- */
.card {
  background-color: #ffffff;
  border-radius: 4px;
  border: 1px solid #E0E0E0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: all 0.2s ease-in-out;
  overflow: hidden;
}
.card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.10);
  transform: scale(1.01);
}
.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.card-body {
  padding: 28px;
}
.card-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #007BFF;
  margin-bottom: 10px;
  display: block;
}
.card-body h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
.card-body p {
  font-size: 15px;
  color: #6C757D;
  margin-bottom: 20px;
}
.card-meta {
  font-size: 13px;
  color: #6C757D;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #E0E0E0;
}

/* ---- Grid Layouts ---- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

/* ---- Stat Block ---- */
.stat-block {
  text-align: center;
  padding: 32px 20px;
  background: #ffffff;
  border-radius: 4px;
  border: 1px solid #E0E0E0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  color: #007BFF;
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}
.stat-label {
  font-size: 15px;
  color: #6C757D;
  font-weight: 500;
}

/* ---- Highlight / Feature Block ---- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.feature-text h2 { margin-bottom: 20px; }
.feature-text p { color: #6C757D; margin-bottom: 20px; }
.feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 32px;
}
.feature-list li {
  padding: 10px 0 10px 28px;
  position: relative;
  border-bottom: 1px solid #E0E0E0;
  font-size: 16px;
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #007BFF;
}

/* ---- Quote / Pullquote ---- */
.pullquote {
  border-left: 4px solid #007BFF;
  padding: 24px 32px;
  margin: 40px 0;
  background: #ffffff;
  border-radius: 0 4px 4px 0;
}
.pullquote p {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-style: italic;
  color: #333333;
  margin-bottom: 12px;
  line-height: 1.5;
}
.pullquote cite {
  font-size: 14px;
  color: #6C757D;
  font-style: normal;
}

/* ---- Table ---- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 16px;
}
.data-table th {
  background-color: #EBEBEB;
  padding: 14px 18px;
  text-align: left;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #007BFF;
  color: #333333;
}
.data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #E0E0E0;
  color: #333333;
  vertical-align: top;
}
.data-table tr:hover td { background-color: #F8F8F8; }

/* ---- Breadcrumb ---- */
.breadcrumb {
  padding: 16px 0;
  border-bottom: 1px solid #E0E0E0;
  background-color: #EBEBEB;
}
.breadcrumb-list {
  list-style: none;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  font-size: 14px;
}
.breadcrumb-list li { margin: 0; }
.breadcrumb-list li::after {
  content: '›';
  margin-left: 8px;
  color: #6C757D;
}
.breadcrumb-list li:last-child::after { display: none; }
.breadcrumb-list a { color: #007BFF; }
.breadcrumb-list span { color: #6C757D; }

/* ---- Page Header ---- */
.page-header {
  background-color: #EBEBEB;
  padding: 60px 0;
  border-bottom: 1px solid #E0E0E0;
}
.page-header h1 { margin-bottom: 16px; }
.page-header p {
  font-size: 19px;
  color: #6C757D;
  max-width: 700px;
}

/* ---- Sidebar Layout ---- */
.content-sidebar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: start;
}
.sidebar {}
.sidebar-widget {
  background: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  padding: 28px;
  margin-bottom: 28px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.sidebar-widget h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #007BFF;
  letter-spacing: 0.5px;
}
.sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-links li {
  margin: 0;
  border-bottom: 1px solid #E0E0E0;
}
.sidebar-links li:last-child { border-bottom: none; }
.sidebar-links a {
  display: block;
  padding: 10px 0;
  font-size: 14px;
  color: #333333;
  transition: all 0.2s ease-in-out;
}
.sidebar-links a:hover { color: #007BFF; text-decoration: none; padding-left: 8px; }

/* ---- Article / Long-form Content ---- */
.article-content h2 { margin: 48px 0 20px; }
.article-content h3 { margin: 36px 0 16px; }
.article-content p { margin-bottom: 20px; font-size: 18px; line-height: 1.75; }
.article-content ul, .article-content ol { margin-bottom: 24px; }
.article-content li { font-size: 17px; margin-bottom: 10px; line-height: 1.65; }
.article-content img {
  width: 100%;
  border-radius: 4px;
  margin: 32px 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.article-content .data-table { margin: 40px 0; }

/* ---- Tags ---- */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}
.tag {
  display: inline-block;
  padding: 5px 14px;
  background: #EBEBEB;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  color: #6C757D;
  transition: all 0.2s ease-in-out;
}
.tag:hover { background-color: #007BFF; color: #ffffff; text-decoration: none; }

/* ---- Contact Form ---- */
.contact-form-wrap {
  background: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  padding: 48px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.form-group {
  margin-bottom: 24px;
}
.form-label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 8px;
}
.form-label span { color: #007BFF; }
.form-control {
  width: 100%;
  padding: 13px 16px;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: #333333;
  background-color: #F8F8F8;
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  transition: all 0.2s ease-in-out;
  outline: none;
}
.form-control:focus {
  border-color: #007BFF;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}
textarea.form-control { resize: vertical; min-height: 140px; }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236C757D' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}
.form-check input { margin-top: 4px; width: 16px; height: 16px; accent-color: #007BFF; cursor: pointer; }
.form-check label { font-size: 14px; color: #6C757D; cursor: pointer; line-height: 1.5; }
.form-check label a { color: #007BFF; }

/* ---- Info Box ---- */
.info-box {
  background: #eef5ff;
  border-left: 4px solid #007BFF;
  border-radius: 0 4px 4px 0;
  padding: 20px 24px;
  margin: 28px 0;
}
.info-box p { font-size: 15px; color: #333333; margin: 0; }
.info-box.warning { background: #fff8e1; border-color: #ffc107; }
.info-box.success { background: #edfaf3; border-color: #28a745; }

/* ---- Accordion ---- */
.accordion-item {
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  margin-bottom: 12px;
  overflow: hidden;
}
.accordion-header {
  width: 100%;
  background: #ffffff;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-family: 'Roboto', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #333333;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease-in-out;
}
.accordion-header:hover { background: #F8F8F8; color: #007BFF; }
.accordion-header.active { background: #F8F8F8; color: #007BFF; }
.accordion-icon { font-size: 20px; transition: transform 0.2s ease-in-out; }
.accordion-header.active .accordion-icon { transform: rotate(45deg); }
.accordion-body {
  display: none;
  padding: 0 24px 24px;
  background: #F8F8F8;
  font-size: 16px;
  line-height: 1.7;
  color: #6C757D;
}
.accordion-body.open { display: block; }

/* ---- Progress / Bar ---- */
.progress-item { margin-bottom: 20px; }
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #333333;
}
.progress-bar-wrap {
  background: #EBEBEB;
  border-radius: 4px;
  height: 10px;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  background-color: #007BFF;
  border-radius: 4px;
  transition: width 1s ease;
}

/* ---- Timeline ---- */
.timeline { position: relative; padding: 0; }
.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #E0E0E0;
}
.timeline-item {
  position: relative;
  padding: 0 0 40px 60px;
}
.timeline-dot {
  position: absolute;
  left: 11px;
  top: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #007BFF;
  border: 3px solid #F8F8F8;
  box-shadow: 0 0 0 2px #007BFF;
}
.timeline-year {
  font-size: 13px;
  font-weight: 700;
  color: #007BFF;
  letter-spacing: 1px;
  margin-bottom: 6px;
  display: block;
}
.timeline-item h4 { margin-bottom: 8px; }
.timeline-item p { font-size: 16px; color: #6C757D; }

/* ---- Pagination ---- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.page-item a, .page-item span {
  display: block;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  color: #333333;
  background: #ffffff;
  transition: all 0.2s ease-in-out;
}
.page-item a:hover { background: #007BFF; color: #ffffff; border-color: #007BFF; text-decoration: none; }
.page-item.active span { background: #007BFF; color: #ffffff; border-color: #007BFF; }

/* ---- Footer ---- */
.site-footer {
  background-color: #EBEBEB;
  border-top: 2px solid #E0E0E0;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  margin-bottom: 40px;
}
.footer-brand .site-logo { font-size: 24px; display: inline-block; margin-bottom: 16px; }
.footer-brand p {
  font-size: 14px;
  color: #6C757D;
  line-height: 1.6;
  margin-bottom: 20px;
}
.footer-contact-item {
  font-size: 14px;
  color: #6C757D;
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.footer-contact-item strong { color: #333333; }
.footer-col h5 {
  font-family: 'Roboto Slab', serif;
  font-size: 16px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #007BFF;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 14px;
  color: #6C757D;
  transition: all 0.2s ease-in-out;
}
.footer-links a:hover { color: #007BFF; text-decoration: none; padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid #E0E0E0;
  padding: 20px 40px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 13px;
  color: #6C757D;
  margin: 0;
}
.footer-policy-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-policy-links a {
  font-size: 13px;
  color: #6C757D;
}
.footer-policy-links a:hover { color: #007BFF; }

/* ---- Thank You Page ---- */
.thankyou-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 40px;
}
.thankyou-box {
  max-width: 600px;
}
.thankyou-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: #007BFF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  font-size: 32px;
  color: white;
}
.thankyou-box h1 { font-size: 42px; margin-bottom: 20px; }
.thankyou-box p { font-size: 18px; color: #6C757D; margin-bottom: 32px; }

/* ---- Policy Pages ---- */
.policy-content {
  max-width: 860px;
}
.policy-content h1 { font-size: 40px; margin-bottom: 8px; }
.policy-content .policy-date {
  font-size: 14px;
  color: #6C757D;
  margin-bottom: 40px;
  display: block;
}
.policy-content h2 { font-size: 26px; margin: 40px 0 16px; }
.policy-content h3 { font-size: 20px; margin: 28px 0 12px; }
.policy-content p, .policy-content li { font-size: 16px; line-height: 1.75; }
.policy-content ul { margin-bottom: 20px; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 40px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .content-sidebar { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 40px; }
  .feature-row.reverse { direction: ltr; }
}

@media (max-width: 768px) {
  h1, .h1 { font-size: 32px; }
  h2, .h2 { font-size: 26px; }
  .container { padding: 0 20px; }
  .header-inner { padding: 0 20px; }
  .main-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #ffffff; border-bottom: 1px solid #E0E0E0; padding: 16px 20px; flex-direction: column; box-shadow: 0 8px 24px rgba(0,0,0,0.10); }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; width: 100%; gap: 4px; }
  .main-nav ul li a { padding: 12px 16px; }
  .nav-dropdown { position: static; box-shadow: none; border: none; background: #F8F8F8; padding: 0; border-radius: 0; }
  .nav-item-dropdown:hover .nav-dropdown { display: none; }
  .nav-item-dropdown.open .nav-dropdown { display: block; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .hero { padding: 60px 0 40px; }
  .hero-inner { padding: 0 20px; }
  .hero-image { display: none; }
  .section { padding: 60px 0; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-form-wrap { padding: 28px 20px; }
  .stat-number { font-size: 36px; }
  .breadcrumb { padding: 12px 0; }
  .footer-bottom { padding: 20px; }
}

/* ---- Fade-in Animation ---- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Cookie Banner ---- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #333333;
  color: #F8F8F8;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  z-index: 9999;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.15);
  flex-wrap: wrap;
}
.cookie-banner p {
  font-size: 14px;
  color: #F8F8F8;
  margin: 0;
  flex: 1;
}
.cookie-banner a { color: #007BFF; }
.cookie-banner-actions { display: flex; gap: 12px; }

/* ---- Back-to-top ---- */
.back-to-top {
  position: fixed;
  bottom: 80px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: #007BFF;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-size: 20px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 998;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 2px 8px rgba(0,123,255,0.4);
}
.back-to-top:hover { background: #0056b3; transform: scale(1.05); }
.back-to-top.visible { display: flex; }
