*,*::before,*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(204, 115, 248, 0.12), transparent 25%),
    radial-gradient(circle at bottom right, rgba(204, 115, 248, 0.08), transparent 25%),
    linear-gradient(180deg, #0f0b1f, #14052f);
  color: #fff;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

:root {
  color-scheme: dark;
  --primary: #cc73f8;
  --white: #ffffff;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.08);
  --text-soft: rgba(255, 255, 255, 0.72);
  --text-muted: rgba(255, 255, 255, 0.62);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: -2;
  pointer-events: none;
}

section {
  position: relative;
  padding: clamp(3rem, 6vw, 7.5rem) clamp(1rem, 5vw, 7%);
}

.container {
  width: min(1400px, calc(100% - 3rem));
  margin-inline: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

nav {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  width: min(1280px, calc(100% - 2rem));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(15, 11, 31, 0.72);
  backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

nav.scrolled {
  background: rgba(15, 11, 31, 0.78);
  border-color: rgba(255, 255, 255, 0.14);
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  align-items: flex-start;
}

.logo h2 {
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.logo span {
  color: var(--text-muted);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  line-height: 1.15;
  text-transform: none;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  position: relative;
  color: #fff;
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.55rem;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s ease;
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.7rem;
  border-radius: 18px;
  border: 1px solid rgba(204, 115, 248, 0.35);
  background: rgba(204, 115, 248, 0.16);
  color: #fff;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
  backdrop-filter: blur(12px);
}

.nav-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #cc73f8, #9f50ff);
  box-shadow: 0 0 40px rgba(204, 115, 248, 0.3);
}

.menu {
  display: none;
  font-size: 1.95rem;
  color: #fff;
  cursor: pointer;
}

.hero,
.blog-hero,
.article-hero {
  min-height: clamp(70vh, 82vh, 100vh);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: clamp(6.5rem, 10vw, 8.5rem);
  margin-top: 4.5rem;
}

.hero-content {
  width: min(100%, 1000px);
  z-index: 2;
  margin-inline: auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  margin-bottom: 2rem;
}

.badge i {
  color: var(--primary);
}

.hero h1,
.blog-hero h1,
.article-hero h1 {
  font-size: clamp(3rem, 8vw, 6.2rem);
  line-height: 1;
  letter-spacing: -0.08em;
  font-weight: 900;
  margin-bottom: 1.5rem;
}

.hero h1 span,
.blog-hero h1 span,
.article-hero h1 span {
  background: linear-gradient(90deg, #ffffff, #cc73f8);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p,
.blog-hero p,
.article-hero p,
.section-title p,
.article-content p,
.article-content li {
  color: var(--text-soft);
  line-height: 1.9;
  font-size: clamp(1rem, 1.15vw, 1.12rem);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.btn {
  padding: 1rem 1.8rem;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.primary-btn {
  background: linear-gradient(135deg, #cc73f8, #9f50ff);
  color: #fff;
  box-shadow: 0 0 50px rgba(204, 115, 248, 0.25);
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.primary-btn:hover,
.secondary-btn:hover,
.read-btn:hover {
  transform: translateY(-3px);
}

.secondary-btn:hover {
  border-color: rgba(204, 115, 248, 0.35);
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.45;
  pointer-events: none;
}

.shape1 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, var(--primary), transparent 68%);
  top: -110px;
  left: -100px;
  animation: float 8s ease-in-out infinite;
}

.shape2 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, #6b42ff, transparent 70%);
  bottom: -100px;
  right: -100px;
  animation: float 10s ease-in-out infinite;
}

.shape3 {
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 70%);
  top: 22%;
  right: 14%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(18px);
  }
}

.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title span {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  font-weight: 700;
}

.section-title h2 {
  font-size: clamp(2.2rem, 4.5vw, 4.4rem);
  line-height: 1.05;
  margin-top: 0.9rem;
}

.section-title p {
  margin-top: 1.5rem;
  max-inline-size: 760px;
  margin-left: auto;
  margin-right: auto;
}

.blog-controls-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.search-bar {
  position: relative;
  flex: 1 1 min(400px, 100%);
  min-width: 260px;
}

.search-bar input {
  width: 100%;
  padding: 1.15rem 1.25rem 1.15rem 3rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.search-bar input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.search-bar i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  width: min(100%, 760px);
}

.category-btn {
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  cursor: pointer;
  transition: all 0.25s ease;
}

.category-btn.active,
.category-btn:hover {
  background: rgba(204, 115, 248, 0.18);
  border-color: rgba(204, 115, 248, 0.35);
}

.blog-layout {
  display: grid;
  grid-template-columns: 1.7fr 0.95fr;
  gap: 2rem;
  align-items: start;
}

.blog-list-column {
  display: grid;
  gap: 2.5rem;
}

.sidebar {
  display: grid;
  gap: 1.5rem;
}

.sidebar-card {
  padding: 2rem;
  border-radius: 30px;
  border: 1px solid var(--surface-strong);
  background: var(--surface);
  backdrop-filter: blur(18px);
}

.sidebar-card h3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.sidebar-card p {
  color: var(--text-soft);
  line-height: 1.9;
}

.sidebar-list {
  display: grid;
  gap: 0.75rem;
}

.sidebar-list a {
  display: grid;
  gap: 0.35rem;
  color: var(--text-soft);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.25s ease;
}

.sidebar-list a:last-child {
  border-bottom: none;
}

.sidebar-list a:hover {
  color: var(--white);
}

.sidebar-item-meta {
  display: flex;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-start;
  margin-top: 2rem;
}

.pagination button {
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  cursor: pointer;
  transition: all 0.25s ease;
}

.pagination button.active {
  background: linear-gradient(135deg, #cc73f8, #9f50ff);
  border-color: transparent;
  color: #fff;
}

.pagination button:hover {
  transform: translateY(-1px);
  background: rgba(204, 115, 248, 0.18);
}

.no-results {
  padding: 2rem;
  border-radius: 30px;
  background: var(--surface);
  border: 1px solid var(--surface-strong);
  text-align: center;
  color: var(--text-soft);
}

.card-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.2rem;
  border-radius: 20px;
  background: linear-gradient(135deg, #cc73f8, #9f50ff);
  color: #fff;
  transition: transform 0.25s ease;
}

.card-btn:hover {
  transform: translateY(-2px);
}

.newsletter-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.newsletter-form input,
.newsletter-form button {
  width: 100%;
}

.newsletter-form input {
  padding: 1rem 1.15rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.newsletter-form button {
  padding: 1rem 1.2rem;
  border-radius: 18px;
  border: none;
  background: linear-gradient(135deg, #cc73f8, #9f50ff);
  color: #fff;
}

.stats-grid,
.services-grid,
.about-grid,
.team-grid,
.blog-grid,
.testimonials,
.related-grid {
  display: grid;
  gap: 1.75rem;
}

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

.stat-card,
.service-card,
.about-card,
.team-card,
.blog-card,
.testimonial,
.contact-form,
.related-card,
.quote-box,
.author-box,
.featured-blog {
  background: var(--surface);
  border: 1px solid var(--surface-strong);
  border-radius: 30px;
  backdrop-filter: blur(18px);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.stat-card:hover,
.service-card:hover,
.about-card:hover,
.team-card:hover,
.blog-card:hover,
.testimonial:hover,
.related-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 50px rgba(204, 115, 248, 0.13);
  border-color: rgba(204, 115, 248, 0.2);
}

.stat-card {
  padding: 2.2rem;
}

.stat-card h3 {
  font-size: 3rem;
}

.stat-card p {
  margin-top: 1rem;
  color: var(--text-muted);
}

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

.service-card {
  padding: 2.2rem;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(204, 115, 248, 0.12), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  background: rgba(204, 115, 248, 0.12);
  color: var(--primary);
  font-size: 1.7rem;
  margin-bottom: 1.4rem;
}

.service-card h3 {
  margin-bottom: 0.9rem;
  font-size: 1.4rem;
}

.service-card p {
  color: var(--text-soft);
  line-height: 1.9;
}

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

.about-card {
  padding: 2.1rem;
}

.about-card h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.about-card p {
  color: var(--text-soft);
  line-height: 1.9;
}

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

.team-card {
  text-align: center;
  overflow: hidden;
}

.team-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.team-content {
  padding: 2rem;
}

.team-content h3 {
  margin-bottom: 0.7rem;
}

.team-content span {
  color: var(--text-muted);
}

.team-socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.team-socials a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  transition: transform 0.3s ease, background 0.3s ease;
}

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

.blog-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.blog-card {
  overflow: hidden;
}

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

.blog-content {
  padding: 1.75rem;
}

.blog-content span {
  color: var(--primary);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-content h3 {
  margin: 1rem 0;
  font-size: 1.4rem;
  line-height: 1.35;
}

.blog-content p {
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

.testimonial {
  padding: 2rem;
}

.testimonial p {
  color: rgba(255, 255, 255, 0.72);
}

.user {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

.user img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.contact-form {
  padding: 2.5rem;
}

.faq {
  display: grid;
  gap: 1.2rem;
}

.faq-item {
  padding: 1.75rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.faq-item h3 {
  margin-bottom: 0.9rem;
  font-size: 1.1rem;
}

.faq-item p {
  color: var(--text-soft);
  line-height: 1.85;
}

.input-group {
  margin-bottom: 1.4rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 1.1rem 1.15rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: rgba(204, 115, 248, 0.5);
  box-shadow: 0 0 30px rgba(204, 115, 248, 0.15);
}

.contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form button {
  margin-top: 0.5rem;
}

.featured-blog {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  overflow: hidden;
}

.featured-blog img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-content {
  padding: 3rem;
}

.featured-content span {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 700;
}

.featured-content h2 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  line-height: 1.05;
  margin: 1rem 0 1.5rem;
}

.featured-content p {
  color: var(--text-soft);
  line-height: 1.9;
  margin-bottom: 2rem;
}

.read-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #cc73f8, #8c4dff);
  color: #fff;
}

.article-hero {
  padding-top: 10rem;
  padding-bottom: 7rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  color: var(--text-muted);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.meta-item i {
  color: var(--primary);
}

.glow1,
.glow2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.35;
  pointer-events: none;
}

.glow1 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, var(--primary), transparent 70%);
  top: -100px;
  left: -90px;
}

.glow2 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, #7d52ff, transparent 70%);
  right: -90px;
  bottom: -40px;
}

.feature-image {
  margin: 3rem 0;
}

.feature-image img {
  width: 100%;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.article-content {
  max-inline-size: 900px;
  margin-inline: auto;
}

.article-content h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 3rem 0 1.5rem;
  line-height: 1.15;
}

.article-content ul {
  padding-inline-start: 1.25rem;
  margin: 2rem 0;
}

.article-content li {
  margin-bottom: 1rem;
  line-height: 1.9;
}

.quote-box {
  padding: 2.5rem;
  position: relative;
}

.quote-box::before {
  content: '?';
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 5rem;
  color: rgba(204, 115, 248, 0.18);
}

.quote-box p {
  font-size: 1.15rem;
  line-height: 1.9;
  color: #fff;
}

.author-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.5rem;
  padding: 2rem;
  margin-top: 3rem;
  max-width: 820px;
  margin-inline: auto;
}

.author-box img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
}

.author-box > div {
  max-width: 640px;
}

.author-box p {
  color: var(--text-soft);
  line-height: 1.8;
}

.related-section {
  padding-block: 5rem 0;
}

.related-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.related-card {
  overflow: hidden;
}

.related-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.related-card .card-body {
  padding: 1.75rem;
}

.related-card h3 {
  font-size: 1.35rem;
  margin: 1rem 0;
}

.related-card p {
  color: var(--text-soft);
  line-height: 1.8;
}

footer {
  padding: 4rem 0 2rem;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(180px, 1fr));
  gap: clamp(1.8rem, 2.5vw, 3rem);
  align-items: start;
  margin: 2rem auto 0;
  max-width: 1200px;
  width: min(100%, 1200px);
  justify-items: start;
  text-align: left;
}

.footer-grid > div {
  width: 100%;
}

.footer-links h4 {
  margin-bottom: 1rem;
  color: #fff;
  font-size: 1rem;
}

.footer-links a {
  color: var(--text-soft);
  display: block;
  line-height: 1.9;
  margin-bottom: 0.6rem;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.divider {
  width: 100%;
  height: 1px;
  margin: 0;
  background: rgba(255, 255, 255, 0.08);
}

.socials {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 1.5rem;
}

.socials a {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  transition: transform 0.3s ease, background 0.3s ease;
}

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

@media (max-width: 900px) {
  .hero,
  .blog-hero,
  .article-hero {
    padding-top: 9rem;
    margin-top: 6.5rem;
  }

  nav {
    width: calc(100% - 2rem);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-grid > div:first-child {
    max-width: 620px;
    width: 100%;
    text-align: center;
  }

  .footer-grid > div:first-child .logo {
    align-items: center;
  }

  .footer-grid > div:first-child .logo h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.7rem);
  }

  .footer-grid > div:first-child .logo span {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
  }

  .footer-grid > div:first-child p {
    max-width: 100%;
    margin-inline: auto;
  }

  .footer-grid > div:first-child .socials {
    justify-content: center;
  }

  .footer-links {
    width: 100%;
  }

  .footer-links h4 {
    font-size: 1rem;
  }

  .footer-links a {
    font-size: 0.95rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .footer-bottom p {
    width: auto;
  }
}

@media (max-width: 600px) {
  footer {
    padding: 3rem 0 1.5rem;
  }

  .hero,
  .blog-hero,
  .article-hero {
    padding-top: 10rem;
    margin-top: 8rem;
  }

  .footer-grid {
    gap: 1.5rem;
  }

  .socials {
    justify-content: center;
  }
}

@media (max-width: 1024px) {
  .hero h1,
  .blog-hero h1,
  .article-hero h1 {
    font-size: clamp(2.8rem, 9vw, 5.4rem);
  }

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

  .nav-btn {
    display: none;
  }
}

@media (max-width: 900px) {
  nav {
    padding: 1rem 1.25rem;
    flex-wrap: nowrap;
    align-items: center;
  }

  .menu {
    display: block;
    order: 1;
    margin-right: 1rem;
  }

  .logo {
    order: 2;
    flex: 1 1 auto;
    width: auto;
  }

  .nav-links {
    position: fixed;
    top: 100%;
    right: 0;
    bottom: auto;
    display: flex;
    width: min(320px, 100%);
    max-height: calc(100vh - 5.5rem);
    padding: 1rem 1.5rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1.35rem;
    background: rgba(15, 11, 31, 0.96);
    backdrop-filter: blur(22px);
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
    pointer-events: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  }

  .nav-links.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    width: 100%;
    font-size: 1rem;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-btn {
    width: 100%;
    padding: 1rem;
  }

  .hero,
  .blog-hero,
  .article-hero {
    min-height: 70vh;
    padding-top: 5.8rem;
  }

  .section-title {
    margin-bottom: 2.5rem;
  }

  .stats-grid,
  .services-grid,
  .about-grid,
  .team-grid,
  .blog-grid,
  .testimonials,
  .related-grid {
    gap: 1.5rem;
  }

  .article-hero {
    padding-top: 6rem;
  }

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

  .blog-controls-inner,
  .filter-buttons {
    width: 100%;
  }

  .feature-image {
    margin: 2rem 0;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  section {
    padding: 2.5rem 1.2rem;
  }

  .container {
    width: min(100%, calc(100% - 2rem));
  }

  .logo h2 {
    font-size: 1.4rem;
  }

  .logo span {
    font-size: 0.7rem;
  }

  .hero h1,
  .blog-hero h1,
  .article-hero h1 {
    font-size: clamp(2.4rem, 11vw, 4rem);
    letter-spacing: -0.05em;
  }

  .hero p,
  .blog-hero p,
  .article-hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    gap: 0.9rem;
  }

  .badge {
    padding: 0.8rem 1.2rem;
  }

  .stat-card,
  .service-card,
  .about-card,
  .team-card,
  .blog-card,
  .testimonial,
  .contact-form,
  .related-card,
  .quote-box,
  .author-box,
  .featured-content {
    padding: 1.75rem;
  }

  .service-icon {
    width: 62px;
    height: 62px;
  }

  .blog-card img {
    height: 220px;
  }

  .shape1 {
    width: min(220px, 42vw);
    height: min(220px, 42vw);
    left: -70px;
    top: -70px;
  }

  .shape2 {
    width: min(160px, 38vw);
    height: min(160px, 38vw);
    right: 0;
    bottom: -70px;
  }

  .shape3 {
    width: min(120px, 24vw);
    height: min(120px, 24vw);
    top: 18%;
    right: 12%;
  }

  .glow1 {
    width: min(220px, 42vw);
    height: min(220px, 42vw);
    left: -70px;
    top: -70px;
  }

  .glow2 {
    width: min(160px, 38vw);
    height: min(160px, 38vw);
    right: 0;
    bottom: -70px;
  }

  nav {
    flex-wrap: nowrap;
    align-items: center;
  }

  .logo {
    flex: 1 1 auto;
    width: auto;
  }

  .menu {
    order: 1;
    margin-right: 1rem;
  }

  .nav-btn {
    order: 3;
    width: 100%;
  }

  .stats-grid,
  .services-grid,
  .about-grid,
  .team-grid,
  .blog-grid,
  .testimonials,
  .related-grid,
  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-controls-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-buttons {
    justify-content: flex-start;
  }
}
