/*
Theme Name: modernDCA-blog
Author: Sheik Mohamed
Version: 1.0
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: #f8fafc;
  color: #1f2937;
  overflow-x: hidden;
}

/* NAVBAR */

.site-navbar {
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  text-decoration: none;
  font-size: clamp(21px, 2vw, 26px);
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.8px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-menu a {
  text-decoration: none;
  color: #64748b;
  font-size: 15px;
  font-weight: 600;
  padding: 26px 0;
  border-bottom: 3px solid transparent;
  transition: 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #2563eb;
  border-bottom-color: #2563eb;
}

.subscribe-btn {
  text-decoration: none;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.25);
  transition: 0.3s ease;
  white-space: nowrap;
}

.subscribe-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.35);
}

.mobile-menu-btn {
  display: none;
  border: none;
  background: #eff6ff;
  color: #2563eb;
  font-size: 20px;
  padding: 11px 14px;
  border-radius: 12px;
  cursor: pointer;
}

/* HERO */

.hero-section {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  background:
    radial-gradient(circle at top left, #3b82f6 0%, transparent 28%),
    radial-gradient(circle at bottom right, #1d4ed8 0%, transparent 34%),
    linear-gradient(135deg, #020617, #0f172a, #1e293b);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(80px, 10vw, 130px) 20px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.45;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1050px;
  text-align: center;
  padding: 0 10px;
}

.hero-badge {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: #93c5fd;
  font-size: clamp(12px, 1.5vw, 14px);
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-bottom: 28px;
  backdrop-filter: blur(12px);
}

.hero-title {
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: clamp(-3px, -0.3vw, -1px);
  color: #ffffff;
  margin-bottom: 26px;
}

.hero-description {
  max-width: 760px;
  margin: auto;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.78);
}

.hero-buttons {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
  text-decoration: none;
  padding: 16px 30px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  transition: 0.35s ease;
}

.primary-btn {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #ffffff;
  box-shadow: 0 16px 42px rgba(37, 99, 235, 0.38);
}

.primary-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(37, 99, 235, 0.48);
}

.secondary-btn {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

/* TABLET */

@media (max-width: 992px) {
  .nav-menu {
    gap: 22px;
  }

  .nav-container {
    padding: 0 20px;
  }

  .subscribe-btn {
    padding: 11px 18px;
  }
}

/* MOBILE */

@media (max-width: 768px) {
  .nav-container {
    height: 66px;
    padding: 0 18px;
  }

  .nav-menu,
  .subscribe-btn {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-section {
    min-height: auto;
    padding: 90px 18px;
  }

  .hero-badge {
    margin-bottom: 22px;
  }

  .hero-description {
    line-height: 1.75;
  }

  .hero-buttons {
    margin-top: 38px;
    flex-direction: column;
    align-items: center;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
    max-width: 330px;
    text-align: center;
  }
}

/* SMALL MOBILE */

@media (max-width: 768px) {
  .nav-menu {
    position: absolute;

    top: 70px;
    left: 0;

    width: 100%;

    background: rgba(255, 255, 255, 0.96);

    backdrop-filter: blur(16px);

    flex-direction: column;

    align-items: flex-start;

    gap: 6px;

    padding: 18px;

    display: none;

    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;

    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);

    animation: mobileMenu 0.3s ease;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
    list-style: none;
  }

  .nav-menu a {
    display: flex;

    align-items: center;

    width: 100%;

    padding: 14px 16px;

    border-radius: 12px;

    font-size: 15px;
    font-weight: 600;

    color: #334155;

    transition: 0.25s ease;
  }

  .nav-menu a:hover {
    background: #eff6ff;
    color: #2563eb;
  }

  .nav-menu a.active {
    background: linear-gradient(135deg, #2563eb, #3b82f6);

    color: #ffffff;

    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.25);
  }

  @keyframes mobileMenu {
    from {
      opacity: 0;
      transform: translateY(-12px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* POSTS SECTION */

.posts-section {
  padding: 50px 20px;
  background: #f8fafc;
}

.posts-container {
  max-width: 1200px;
  margin: auto;
}

.posts-heading {
  text-align: center;
  margin-bottom: 60px;
}

.posts-heading span {
  display: inline-block;

  color: #2563eb;

  font-size: 14px;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: 1px;

  margin-bottom: 12px;
}

.posts-heading h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;

  color: #0f172a;

  letter-spacing: -1.5px;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* CARD */

.post-card {
  background: #ffffff;

  border-radius: 22px;

  overflow: hidden;

  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);

  transition: 0.35s ease;
}

.post-card:hover {
  transform: translateY(-8px);

  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.12);
}

.post-image {
  width: 100%;
  height: 240px;

  object-fit: cover;

  display: block;
}

.post-content {
  padding: 28px;
}

.post-category {
  display: inline-block;

  background: #eff6ff;

  color: #2563eb;

  font-size: 13px;
  font-weight: 700;

  padding: 8px 14px;

  border-radius: 999px;

  margin-bottom: 18px;
}

.post-title {
  margin-bottom: 16px;
}

.post-title a {
  text-decoration: none;

  color: #0f172a;

  font-size: 24px;
  font-weight: 800;

  line-height: 1.35;

  transition: 0.3s ease;
}

.post-title a:hover {
  color: #2563eb;
}

.post-excerpt {
  color: #64748b;

  font-size: 15px;
  line-height: 1.8;

  margin-bottom: 28px;
}

/* AUTHOR */

.post-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.post-author img {
  width: 42px;
  height: 42px;

  border-radius: 50%;
}

.post-author p {
  font-size: 14px;
  font-weight: 700;

  color: #0f172a;

  margin-bottom: 4px;
}

.post-author span {
  font-size: 13px;
  color: #64748b;
}

/* TABLET */

@media (max-width: 992px) {
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .post-title a {
    font-size: 22px;
  }
}

/* MOBILE */

@media (max-width: 768px) {
  .posts-section {
    padding: 80px 18px;
  }

  .posts-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .post-content {
    padding: 24px;
  }

  .post-image {
    height: 220px;
  }

  .post-title a {
    font-size: 21px;
  }

  .post-excerpt {
    font-size: 14px;
  }
}

/* SMALL MOBILE */

@media (max-width: 480px) {
  .posts-section {
    padding: 70px 14px;
  }

  .post-content {
    padding: 22px;
  }

  .post-image {
    height: 200px;
  }

  .post-title a {
    font-size: 20px;
  }
}

.read-more-btn {
  text-decoration: none;

  background: #eff6ff;
  color: #2563eb;

  padding: 10px 16px;

  border-radius: 12px;

  font-size: 14px;
  font-weight: 700;

  transition: 0.3s ease;
}

.read-more-btn:hover {
  background: #2563eb;
  color: #ffffff;
}

.post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 16px;

  margin-top: 24px;
}

.posts-bottom-btn {
  display: flex;
  justify-content: center;

  margin-top: 60px;
}

.view-all-btn {
  text-decoration: none;

  background: linear-gradient(135deg, #2563eb, #3b82f6);

  color: #ffffff;

  padding: 16px 28px;

  border-radius: 14px;

  font-size: 15px;
  font-weight: 800;

  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.28);

  transition: 0.35s ease;
}

.view-all-btn:hover {
  transform: translateY(-4px);

  box-shadow: 0 20px 42px rgba(37, 99, 235, 0.38);
}

/* FOOTER */

.site-footer {
  background: linear-gradient(135deg, #020617, #0f172a);

  color: #ffffff;

  padding: 0px 20px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;

  padding-bottom: 60px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-column h3 {
  font-size: 15px;
  font-weight: 800;

  color: #ffffff;

  margin-bottom: 24px;

  letter-spacing: 0.5px;

  text-transform: uppercase;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 16px;
}

.footer-column a {
  text-decoration: none;

  color: #94a3b8;

  font-size: 15px;

  transition: 0.3s ease;
}

.footer-column a:hover {
  color: #3b82f6;
}

.footer-bottom {
  padding-top: 30px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  flex-wrap: wrap;
}

.footer-bottom p {
  color: #94a3b8;

  font-size: 14px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-socials a {
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 12px;

  background: rgba(255, 255, 255, 0.05);

  color: #ffffff;

  text-decoration: none;

  transition: 0.3s ease;
}

.footer-socials a:hover {
  background: #2563eb;

  transform: translateY(-4px);
}

/* TABLET */

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MOBILE */

@media (max-width: 768px) {
  .site-footer {
    padding: 70px 18px 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* SMALL MOBILE */

@media (max-width: 480px) {
  .site-footer {
    padding: 60px 14px 28px;
  }

  .footer-socials {
    gap: 10px;
  }

  .footer-socials a {
    width: 40px;
    height: 40px;
  }
}

.main-blog-section {
  padding: 50px 20px;
  background: #f8fafc;
}

.main-blog-container {
  max-width: 1200px;
  margin: auto;
}

.blog-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.blog-section-title {
  font-size: 32px;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 32px;
}

.latest-post-card,
.sidebar-card,
.newsletter-card {
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.latest-post-card {
  margin-bottom: 28px;
}

.latest-post-content {
  padding: 30px;
}

.latest-post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: #64748b;
  font-size: 14px;
}

.latest-category {
  text-decoration: none;
  background: #eff6ff;
  color: #2563eb;
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 700;
}

.latest-post-title a {
  text-decoration: none;
  color: #0f172a;
  font-size: 24px;
  font-weight: 850;
  line-height: 1.35;
}

.latest-post-title a:hover {
  color: #2563eb;
}

.latest-post-excerpt {
  color: #64748b;
  font-size: 15px;
  line-height: 1.8;
  margin-top: 14px;
}

.latest-post-footer {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.latest-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.latest-author img {
  border-radius: 50%;
}

.latest-author p {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}

.latest-author span {
  font-size: 13px;
  color: #64748b;
}

.latest-read-btn {
  text-decoration: none;
  background: #eff6ff;
  color: #2563eb;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
}

.latest-read-btn:hover {
  background: #2563eb;
  color: #ffffff;
}

.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding-top: 70px;
}

.sidebar-card,
.newsletter-card {
  padding: 28px;
}

.sidebar-card h3,
.newsletter-card h3 {
  font-size: 20px;
  font-weight: 850;
  color: #0f172a;
  margin-bottom: 16px;
}

.sidebar-card p,
.newsletter-card p {
  color: #64748b;
  line-height: 1.7;
}

.sidebar-socials {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}

.sidebar-socials a {
  color: #2563eb;
  font-size: 18px;
}

.sidebar-list a {
  text-decoration: none;
  color: #334155;
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  font-weight: 600;
}

.sidebar-list small {
  background: #f1f5f9;
  padding: 4px 9px;
  border-radius: 8px;
}

.newsletter-card {
  background: #eff6ff;
}

.newsletter-card input {
  width: 100%;
  padding: 14px;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  margin: 18px 0 12px;
}

.newsletter-card button {
  width: 100%;
  border: none;
  background: #2563eb;
  color: #ffffff;
  padding: 14px;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-list a {
  text-decoration: none;
  background: #f1f5f9;
  color: #334155;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.tag-list a:hover {
  background: #2563eb;
  color: #ffffff;
}

/* =========================
   PREMIUM PAGINATION
========================= */

.blog-pagination {
  margin-top: 70px;

  display: flex;
  justify-content: center;
  align-items: center;

  flex-wrap: wrap;

  gap: 14px;
}

/* LINKS */

.blog-pagination a,
.blog-pagination span {
  position: relative;

  min-width: 52px;
  height: 52px;

  padding: 0 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 18px;

  text-decoration: none;

  font-size: 14px;
  font-weight: 800;

  letter-spacing: -0.2px;

  color: #334155;

  background: rgba(255, 255, 255, 0.85);

  border: 1px solid rgba(148, 163, 184, 0.12);

  backdrop-filter: blur(14px);

  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);

  overflow: hidden;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    color 0.3s ease,
    background 0.3s ease;
}

/* GLOW EFFECT */

.blog-pagination a::before,
.blog-pagination span::before {
  content: "";

  position: absolute;

  inset: 0;

  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.08),
    rgba(59, 130, 246, 0.05)
  );

  opacity: 0;

  transition: 0.3s ease;
}

/* HOVER */

.blog-pagination a:hover {
  transform: translateY(-4px);

  color: #2563eb;

  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.18);
}

.blog-pagination a:hover::before {
  opacity: 1;
}

/* ACTIVE */

.blog-pagination .current {
  background: linear-gradient(135deg, #2563eb, #3b82f6);

  color: #ffffff;

  border-color: transparent;

  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.35);

  transform: translateY(-2px);
}

.blog-pagination .current::before {
  display: none;
}

/* PREV / NEXT */

.blog-pagination .prev,
.blog-pagination .next {
  padding: 0 24px;

  font-size: 14px;

  border-radius: 16px;
}

/* DOTS */

.blog-pagination .dots {
  background: transparent;

  border: none;

  box-shadow: none;

  min-width: auto;

  padding: 0 6px;

  color: #94a3b8;
}

/* MOBILE */

@media (max-width: 768px) {
  .blog-pagination {
    margin-top: 50px;

    gap: 10px;
  }

  .blog-pagination a,
  .blog-pagination span {
    min-width: 46px;
    height: 46px;

    padding: 0 16px;

    border-radius: 14px;

    font-size: 13px;
  }

  .blog-pagination .prev,
  .blog-pagination .next {
    padding: 0 18px;
  }
}

/* SMALL MOBILE */

@media (max-width: 480px) {
  .blog-pagination {
    gap: 8px;
  }

  .blog-pagination a,
  .blog-pagination span {
    min-width: 42px;
    height: 42px;

    border-radius: 12px;
  }
}

@media (max-width: 992px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .main-blog-section {
    padding: 70px 16px;
  }

  .latest-post-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .latest-post-title a {
    font-size: 22px;
  }
}

/* BLOG PAGE HERO */

.blog-page-hero {
  padding: 110px 20px;
  background:
    radial-gradient(
      circle at top left,
      rgba(59, 130, 246, 0.25),
      transparent 32%
    ),
    linear-gradient(135deg, #020617, #0f172a);
}

.blog-page-hero-container {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.blog-page-hero span {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  color: #93c5fd;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 24px;
}

.blog-page-hero h1 {
  font-size: clamp(42px, 7vw, 76px);
  color: #ffffff;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -3px;
  margin-bottom: 24px;
}

.blog-page-hero p {
  max-width: 720px;
  margin: auto;
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
  line-height: 1.8;
}

/* BLOG PAGE */

.blog-page-section {
  padding: 90px 20px;
  background: #f8fafc;
}

.blog-page-container {
  max-width: 1200px;
  margin: auto;
}

/* SEARCH */

.blog-search-box {
  margin-bottom: 28px;
}

.blog-search-box form {
  display: flex;
  gap: 14px;
  background: #ffffff;
  padding: 14px;
  border-radius: 20px;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.07);
}

.blog-search-box input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
}

.blog-search-box button {
  border: none;
  background: #2563eb;
  color: #ffffff;
  padding: 14px 24px;
  border-radius: 14px;
  font-weight: 900;
  cursor: pointer;
}

/* CATEGORY FILTER */

.blog-category-filter {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}

.blog-category-filter a {
  text-decoration: none;
  background: #ffffff;
  color: #334155;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.blog-category-filter a:hover,
.blog-category-filter a.active {
  background: #2563eb;
  color: #ffffff;
}

/* LAYOUT */

.blog-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  align-items: start;
}

/* POST LIST */

.blog-post-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.blog-page-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  background: #ffffff;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.07);
  transition: 0.35s ease;
}

.blog-page-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 55px rgba(15, 23, 42, 0.12);
}

.blog-page-image {
  display: block;
  min-height: 260px;
  overflow: hidden;
}

.blog-page-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}

.blog-page-card:hover .blog-page-image img {
  transform: scale(1.06);
}

.blog-page-content {
  padding: 30px;
}

.blog-page-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.blog-page-meta a {
  text-decoration: none;
  background: #eff6ff;
  color: #2563eb;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.blog-page-meta span {
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.blog-page-content h2 {
  margin-bottom: 14px;
}

.blog-page-content h2 a {
  text-decoration: none;
  color: #0f172a;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -1px;
}

.blog-page-content h2 a:hover {
  color: #2563eb;
}

.blog-page-content p {
  color: #64748b;
  font-size: 15.5px;
  line-height: 1.9;
  margin-bottom: 26px;
}

/* AUTHOR */

.blog-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.blog-card-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.blog-card-author img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.blog-card-author strong {
  display: block;
  font-size: 14px;
  color: #0f172a;
}

.blog-card-author span {
  color: #64748b;
  font-size: 13px;
}

.blog-read-btn {
  text-decoration: none;
  background: #eff6ff;
  color: #2563eb;
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.blog-read-btn:hover {
  background: #2563eb;
  color: #ffffff;
}

/* SIDEBAR */

.blog-page-sidebar {
  position: sticky;
  top: 95px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.blog-sidebar-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.07);
}

.blog-sidebar-card h3 {
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.8px;
  margin-bottom: 18px;
  color: #0f172a;
}

.blog-sidebar-card p {
  color: #64748b;
  line-height: 1.8;
}

.blog-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-sidebar-list a {
  text-decoration: none;
  color: #334155;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  padding: 13px 14px;
  border-radius: 14px;
  font-weight: 700;
}

.blog-sidebar-list a:hover {
  background: #eff6ff;
  color: #2563eb;
}

.blog-sidebar-list small {
  background: #ffffff;
  color: #2563eb;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 12px;
}

/* NEWSLETTER */

.newsletter-card {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.newsletter-card h3,
.newsletter-card p {
  color: #ffffff;
}

.newsletter-card p {
  opacity: 0.85;
}

.newsletter-card input {
  width: 100%;
  margin-top: 20px;
  margin-bottom: 12px;
  padding: 14px;
  border: none;
  border-radius: 14px;
  outline: none;
  font-family: inherit;
}

.newsletter-card button {
  width: 100%;
  border: none;
  background: #ffffff;
  color: #2563eb;
  padding: 14px;
  border-radius: 14px;
  font-weight: 900;
  cursor: pointer;
}

/* TAGS */

.blog-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-tag-list a {
  text-decoration: none;
  background: #f1f5f9;
  color: #334155;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.blog-tag-list a:hover {
  background: #2563eb;
  color: #ffffff;
}

/* RESPONSIVE */

@media (max-width: 992px) {
  .blog-page-layout {
    grid-template-columns: 1fr;
  }

  .blog-page-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .blog-page-hero,
  .blog-page-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .blog-search-box form {
    flex-direction: column;
  }

  .blog-page-card {
    grid-template-columns: 1fr;
  }

  .blog-page-image {
    min-height: 230px;
  }

  .blog-card-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================
   SINGLE BLOG PAGE
========================= */

.single-blog-hero {
  padding: 90px 20px;

  background:
    radial-gradient(
      circle at top left,
      rgba(59, 130, 246, 0.12),
      transparent 30%
    ),
    #f8fafc;
}

.single-blog-container {
  max-width: 900px;
  margin: auto;
}

/* BACK BUTTON */

.single-back-btn {
  display: inline-flex;
  align-items: center;

  text-decoration: none;

  background: #ffffff;

  color: #0f172a;

  padding: 12px 18px;

  border-radius: 14px;

  font-size: 14px;
  font-weight: 700;

  margin-bottom: 34px;

  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);

  transition: 0.3s ease;
}

.single-back-btn:hover {
  background: #2563eb;
  color: #ffffff;

  transform: translateY(-2px);
}

/* CATEGORY */

.single-blog-category {
  display: inline-block;

  text-decoration: none;

  background: #eff6ff;

  color: #2563eb;

  padding: 9px 16px;

  border-radius: 999px;

  font-size: 13px;
  font-weight: 700;

  margin-bottom: 24px;
}

/* TITLE */

.single-blog-title {
  font-size: clamp(42px, 7vw, 72px);

  line-height: 1.05;

  font-weight: 800;

  letter-spacing: -3px;

  color: #0f172a;

  margin-bottom: 34px;
}

/* AUTHOR */

.single-blog-author {
  display: flex;
  align-items: center;
  gap: 14px;

  margin-bottom: 46px;
}

.single-blog-author img {
  border-radius: 50%;
}

.single-blog-author strong {
  display: block;

  color: #0f172a;

  font-size: 15px;
  font-weight: 700;
}

.single-blog-author span {
  color: #64748b;

  font-size: 14px;
  font-weight: 500;
}

/* THUMBNAIL */

.single-blog-thumbnail {
  width: 100%;
  height: 520px;

  overflow: hidden;

  border-radius: 30px;

  margin-bottom: 54px;

  background: #e2e8f0;

  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.single-blog-thumbnail img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;
}

/* CONTENT */

.single-blog-content {
  background: #ffffff;

  padding: 54px;

  border-radius: 30px;

  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);

  color: #475569;

  font-size: 18px;

  font-weight: 400;

  line-height: 2;
}

/* PARAGRAPH */

.single-blog-content p {
  margin-bottom: 30px;
}

/* HEADINGS */

.single-blog-content h2 {
  font-size: clamp(30px, 5vw, 42px);

  line-height: 1.2;

  font-weight: 750;

  letter-spacing: -1.5px;

  color: #0f172a;

  margin: 60px 0 24px;
}

.single-blog-content h3 {
  font-size: clamp(24px, 4vw, 32px);

  line-height: 1.3;

  font-weight: 700;

  color: #0f172a;

  margin: 44px 0 18px;
}

/* LIST */

.single-blog-content ul,
.single-blog-content ol {
  margin: 24px 0 34px 24px;
}

.single-blog-content li {
  margin-bottom: 14px;
}

/* BLOCKQUOTE */

.single-blog-content blockquote {
  margin: 44px 0;

  padding: 32px;

  background: #eff6ff;

  border-left: 5px solid #2563eb;

  border-radius: 22px;

  font-size: 20px;

  line-height: 1.8;

  color: #1e293b;
}

/* INNER CONTENT IMAGES */

.single-blog-content img {
  width: 100%;

  height: auto;

  display: block;

  border-radius: 24px;

  margin: 42px 0;
}

/* TAGS */

.single-blog-tags {
  margin-top: 44px;

  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.single-blog-tags a {
  text-decoration: none;

  background: #f1f5f9;

  color: #334155;

  padding: 10px 16px;

  border-radius: 999px;

  font-size: 13px;
  font-weight: 700;

  transition: 0.3s ease;
}

.single-blog-tags a:hover {
  background: #2563eb;
  color: #ffffff;
}

/* MOBILE */

@media (max-width: 768px) {
  .single-blog-hero {
    padding: 70px 16px;
  }

  .single-blog-title {
    letter-spacing: -2px;
  }

  .single-blog-thumbnail {
    height: 280px;

    border-radius: 22px;
  }

  .single-blog-content {
    padding: 30px;

    font-size: 16px;

    line-height: 1.9;
  }

  .single-blog-content h2 {
    margin-top: 46px;
  }
}

.single-blog-container {
  max-width: 1300px;
  margin: auto;
  padding: 40px 20px;
}

.single-back-btn {
  display: inline-block;
  margin-bottom: 30px;
  text-decoration: none;
}

.single-blog-layout {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 40px;
}

.single-blog-category {
  display: inline-block;
  margin-bottom: 15px;
  font-weight: 600;
  text-decoration: none;
}

.single-blog-title {
  font-size: 48px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.single-blog-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}

.single-blog-author img,
.single-author-avatar img {
  border-radius: 50%;
}

.single-blog-author span {
  display: block;
  color: #666;
  font-size: 14px;
}

.single-blog-thumbnail {
  width: 100%;
  height: 430px;
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 35px;
}

.single-blog-thumbnail img,
.related-post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-blog-content {
  font-size: 18px;
  line-height: 1.8;
}

.single-blog-tags {
  margin-top: 30px;
}

.single-blog-tags a {
  display: inline-block;
  margin: 6px;
  padding: 8px 14px;
  background: #f1f1f1;
  border-radius: 20px;
  text-decoration: none;
}

.single-blog-sidebar {
  position: sticky;
  top: 30px;
  height: fit-content;
}

.single-blog-sidebar h3 {
  margin-bottom: 20px;
}

.related-post-card {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  text-decoration: none;
  color: inherit;
}

.related-post-img {
  width: 95px;
  height: 75px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.related-post-card h4 {
  font-size: 16px;
  margin: 0 0 6px;
  line-height: 1.3;
}

.related-post-card span {
  font-size: 13px;
  color: #777;
}

.single-author-box {
  display: flex;
  gap: 20px;
  margin-top: 50px;
  padding: 30px;
  background: #f8f8f8;
  border-radius: 22px;
}

.single-author-info span {
  color: #777;
  font-size: 14px;
}

.single-author-info h3 {
  margin: 5px 0 10px;
}

.single-author-info p {
  margin-bottom: 12px;
  line-height: 1.6;
}

.single-author-info a {
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 900px) {
  .single-blog-layout {
    grid-template-columns: 1fr;
  }

  .single-blog-title {
    font-size: 34px;
  }

  .single-blog-thumbnail {
    height: 260px;
  }

  .single-blog-sidebar {
    position: static;
  }

  .single-author-box {
    flex-direction: column;
  }
}

.contact-page {
  min-height: 100vh;
  background: #f7f9fc;
  padding: 20px;
}

.contact-container {
  max-width: 1180px;
  margin: 0 auto;
}

.contact-back {
  display: inline-block;
  margin-bottom: 28px;
  color: #8a96aa;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 520px;
  gap: 70px;
  align-items: start;
}

.contact-left {
  padding-top: 20px;
}

.contact-left h1 {
  font-size: 48px;
  line-height: 1.12;
  color: #071126;
  margin: 0 0 22px;
  letter-spacing: -1.5px;
}

.contact-left p {
  font-size: 17px;
  line-height: 1.7;
  color: #64748b;
  max-width: 560px;
}

.contact-points {
  margin-top: 42px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-point {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.point-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}

.point-icon.blue {
  background: #eaf1ff;
  color: #2563eb;
}

.point-icon.purple {
  background: #f2ecff;
  color: #7c3aed;
}

.point-icon.green {
  background: #e8f8f1;
  color: #059669;
}

.contact-point h4 {
  margin: 0 0 5px;
  font-size: 15.5px;
  color: #071126;
}

.contact-point span {
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}

.contact-card {
  background: #ffffff;
  padding: 34px;
  border-radius: 22px;
  border: 1px solid #e1e8f0;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.07);
}

.contact-card h2 {
  font-size: 22px;
  margin: 0 0 8px;
  color: #071126;
}

.contact-card > p {
  color: #8a96aa;
  font-size: 14.5px;
  margin: 0 0 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #52627a;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid #dbe5f1;
  background: #f9fbfe;
  border-radius: 13px;
  padding: 14px 16px;
  font-size: 15px;
  color: #071126;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
  background: #ffffff;
}

.form-group textarea {
  min-height: 105px;
  resize: vertical;
}

.form-group small {
  display: block;
  text-align: right;
  margin-top: 6px;
  color: #8a96aa;
  font-size: 12px;
}

.contact-card button {
  width: 100%;
  border: none;
  padding: 15px;
  border-radius: 13px;
  background: #2563eb;
  color: #fff;
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
}

.contact-card button:hover {
  background: #1d4ed8;
}

@media (max-width: 1000px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-left h1 {
    font-size: 38px;
  }

  .contact-card {
    max-width: 560px;
  }
}

@media (max-width: 600px) {
  .contact-page {
    padding: 16px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 24px;
    border-radius: 18px;
  }

  .contact-left h1 {
    font-size: 34px;
  }
}

.author-page {
  background: #f7f9fc;
  min-height: 100vh;
  padding: 60px 20px;
}

.author-container {
  max-width: 1250px;
  margin: auto;
}

.author-hero {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-bottom: 60px;
  background: #fff;
  border-radius: 28px;
  padding: 40px;
  border: 1px solid #e5ebf3;
}

.author-avatar img {
  border-radius: 50%;
  width: 120px;
  height: 120px;
}

.author-label {
  display: inline-block;
  margin-bottom: 10px;
  color: #2563eb;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
}

.author-details h1 {
  font-size: 44px;
  margin-bottom: 15px;
  color: #071126;
}

.author-details p {
  max-width: 700px;
  line-height: 1.7;
  color: #64748b;
  font-size: 17px;
}

.author-meta {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 24px;
}

.author-stat strong {
  display: block;
  font-size: 24px;
  color: #071126;
}

.author-stat span {
  color: #64748b;
  font-size: 14px;
}

.author-website {
  padding: 12px 18px;
  background: #2563eb;
  color: #fff;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
}

.author-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.author-post-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #e5ebf3;
  transition: 0.3s;
}

.author-post-card:hover {
  transform: translateY(-5px);
}

.author-post-image {
  display: block;
  height: 230px;
}

.author-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-post-content {
  padding: 24px;
}

.author-post-category {
  display: inline-block;
  margin-bottom: 12px;
  color: #2563eb;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.author-post-content h2 {
  font-size: 22px;
  line-height: 1.35;
  margin-bottom: 14px;
}

.author-post-content h2 a {
  text-decoration: none;
  color: #071126;
}

.author-post-content p {
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 20px;
}

.author-post-meta {
  display: flex;
  justify-content: space-between;
  color: #94a3b8;
  font-size: 14px;
}

@media (max-width: 1000px) {
  .author-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .author-hero {
    flex-direction: column;
    text-align: center;
  }

  .author-posts-grid {
    grid-template-columns: 1fr;
  }

  .author-details h1 {
    font-size: 34px;
  }
}

.nav-item {
  position: relative;
  list-style: none;
}

.services-btn {
  color: #64748b;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  border: none;
  outline: none;
}

.dropdown-menu {
  position: absolute;
  top: 55px;
  left: 0;
  width: 320px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-radius: 0 0 18px 18px;
  padding: 12px 0;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  display: none;
  z-index: 9999;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  color: #374151;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.dropdown-menu a:hover {
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
}

.dropdown-menu i {
  width: 34px;
  height: 34px;
  background: #eef4ff;
  color: #2563eb;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dropdown-arrow {
  width: 12px;
  height: 12px;
  margin-left: 2px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-menu > li {
  display: flex;
  align-items: center;
  height: 72px;
}

.nav-menu > li > a {
  height: 72px;
  display: flex;
  align-items: center;
  padding: 0;
}

.services-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 3px solid transparent !important;
}

.services-btn:hover {
  border-bottom-color: transparent !important;
}

.dropdown-arrow {
  width: 12px;
  height: 12px;
  display: block;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .dropdown {
    width: 100%;
  }

  .services-btn {
    justify-content: space-between;
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    display: none;
    box-shadow: none;
    background: #f8fafc;
    margin-top: 8px;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  .dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
  }
}
