/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #333;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER STYLES
============================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo/Branding */
.site-branding {
    flex-shrink: 0;
}

.site-logo img {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

.site-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.site-title a {
    text-decoration: none;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.site-title a:hover {
    color: #3498db;
}

.site-description {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin: 0.2rem 0 0 0;
}

/* Main Navigation */
.main-navigation {
    margin-left: 2rem;
}

.primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.primary-menu li {
    position: relative;
}

.primary-menu a {
    text-decoration: none;
    color: #34495e;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.primary-menu a:hover {
    color: #3498db;
}

.primary-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #3498db;
    transition: width 0.3s ease;
}

.primary-menu a:hover::after,
.primary-menu .current-menu-item a::after {
    width: 100%;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.search-toggle,
.mobile-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: #2c3e50;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.search-toggle:hover,
.mobile-menu-toggle:hover {
    color: #3498db;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    transition: all 0.3s ease;
}

/* Search Form */
.search-form-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-form-container.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.search-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid #e8e8e8;
    border-radius: 50px 0 0 50px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-form input[type="search"]:focus {
    outline: none;
    border-color: #3498db;
}

.search-form button {
    padding: 1rem 2rem;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

.search-form button:hover {
    background: #2980b9;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    transition: right 0.4s ease;
    z-index: 1001;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 2rem;
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #2c3e50;
    padding: 0.5rem;
}

.mobile-primary-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-primary-menu li {
    margin-bottom: 0.5rem;
}

.mobile-primary-menu a {
    display: block;
    padding: 1rem 0;
    text-decoration: none;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.3s ease;
}

.mobile-primary-menu a:hover {
    color: #3498db;
}

.mobile-social-menu {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #f0f0f0;
}

.social-icons {
    display: flex;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .main-navigation {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .site-logo img {
        height: 32px;
    }
    
    .site-title {
        font-size: 1.5rem;
    }
}


/* ============================================
   HERO SECTION STYLES
============================================ */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
    position: relative;
    overflow: hidden;
}


.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect width="1200" height="800" fill="%23f8fafc"/><circle cx="200" cy="200" r="100" fill="%23429df5" opacity="0.05"/><circle cx="1000" cy="600" r="150" fill="%23429df5" opacity="0.05"/><circle cx="800" cy="200" r="80" fill="%23429df5" opacity="0.05"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 600px;
}

.hero-subtitle {
    display: inline-block;
    font-size: 1.1rem;
    color: #3498db;
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #2c3e50;
    margin: 0 0 1.5rem 0;
}

.hero-title span {
    color: #3498db;
    position: relative;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(52, 152, 219, 0.2);
    z-index: -1;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #5a6c7d;
    margin-bottom: 2.5rem;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: #3498db;
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #2c3e50;
    border-color: #e0e6ed;
}

.btn-secondary:hover {
    border-color: #3498db;
    color: #3498db;
    transform: translateY(-2px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e8e8e8;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Image */
.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.profile-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
    transform: perspective(1000px) rotateY(-10deg);
    transition: transform 0.5s ease;
}

.profile-img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.profile-placeholder {
    width: 100%;
    height: 500px;
    background: #f1f5f9;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.profile-placeholder svg {
    width: 100px;
    height: 100px;
}

/* Hero Decoration */
.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    opacity: 0.1;
}

.circle-1 {
    width: 100px;
    height: 100px;
    top: -30px;
    right: 50px;
    animation: float 6s ease-in-out infinite;
}

.circle-2 {
    width: 150px;
    height: 150px;
    bottom: 50px;
    left: -50px;
    animation: float 8s ease-in-out infinite 1s;
}

.circle-3 {
    width: 80px;
    height: 80px;
    bottom: 100px;
    right: -30px;
    animation: float 7s ease-in-out infinite 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.scroll-text {
    font-size: 0.875rem;
    color: #7f8c8d;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, #3498db, transparent);
    position: relative;
    overflow: hidden;
}

.scroll-dot {
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 20px;
    background: #3498db;
    animation: scrollAnimation 2s infinite;
}

@keyframes scrollAnimation {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(60px);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .profile-placeholder {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 80px 0 40px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
}


/* ============================================
   COMMON SECTION STYLES
============================================ */

/* Section Header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-subtitle {
    display: inline-block;
    font-size: 1rem;
    color: #3498db;
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.section-description {
    font-size: 1.1rem;
    color: #5a6c7d;
    line-height: 1.6;
    margin: 0;
}

/* Common Button */
.view-all-container {
    text-align: center;
    margin-top: 2rem;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: transparent;
    color: #3498db;
    border: 2px solid #3498db;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #3498db;
    color: white;
    gap: 0.75rem;
    transform: translateY(-2px);
}

/* Responsive Common Section Styles */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 3rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}


/* ============================================
   BLOG SECTION STYLES
============================================ */

.blog-section {
    padding: 30px 0;
    background: #f8fafc;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Blog Card */
.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Blog Image */
.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-image-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.blog-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-thumbnail {
    transform: scale(1.05);
}

.blog-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.blog-placeholder svg {
    width: 60px;
    height: 60px;
}

/* Blog Category Badge */
.blog-category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: #3498db;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Blog Content */
.blog-content {
    padding: 1.5rem;
}

/* Blog Meta */
.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #64748b;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 500;
}

.blog-date,
.blog-reading-time {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-date svg,
.blog-reading-time svg {
    width: 14px;
    height: 14px;
}

/* Blog Title */
.blog-title {
    font-size: 1.3rem;
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

.blog-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: #3498db;
}

/* Blog Excerpt */
.blog-excerpt {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Read More */
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #3498db;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #2980b9;
    gap: 0.75rem;
}

.read-more svg {
    width: 16px;
    height: 16px;
}

/* No Posts */
.no-posts {
    text-align: center;
    padding: 3rem;
    color: #94a3b8;
    font-size: 1.1rem;
    grid-column: 1 / -1;
}

/* Responsive */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .blog-section {
        padding: 20px 0;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-meta {
        flex-wrap: wrap;
    }
}



/* =========================================================
   POSTS PAGE / BLOG ARCHIVE (ONLY) — Premium look
   This will not break your homepage blog section
========================================================= */

.blog #primary,
.archive #primary,
.search-results #primary {
  padding: 36px 16px 70px;
  background: #0b1220; /* dark like your header area */
}

.blog .container,
.archive .container,
.search-results .container {
  max-width: 1180px;
  margin: 0 auto;
}

/* Page title */
.blog .page-header,
.archive .page-header,
.search-results .page-header {
  margin: 0 0 22px;
}

.blog .page-title,
.archive .page-title,
.search-results .page-title {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 900;
  letter-spacing: 0.04em;
  margin: 0;
  color: #d6ffec;
}

/* Grid (override only for posts page) */
.blog .blog-grid,
.archive .blog-grid,
.search-results .blog-grid {
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 640px) {
  .blog .blog-grid,
  .archive .blog-grid,
  .search-results .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog .blog-grid,
  .archive .blog-grid,
  .search-results .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Card */
.blog .blog-card,
.archive .blog-card,
.search-results .blog-card {
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 18px 55px rgba(0,0,0,.32);
  background: rgba(255,255,255,.96);
  transform: translateY(0);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.blog .blog-card:hover,
.archive .blog-card:hover,
.search-results .blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 75px rgba(0,0,0,.40);
  border-color: rgba(245,158,11,.35);
}

/* Image – consistent height (better than fixed height) */
.blog .blog-image,
.archive .blog-image,
.search-results .blog-image {
  height: auto;              /* override your fixed 200px */
  aspect-ratio: 16 / 10;     /* consistent card look */
  background: #e9eef8;
}

.blog .blog-image a,
.archive .blog-image a,
.search-results .blog-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.blog .blog-image img,
.archive .blog-image img,
.search-results .blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content */
.blog .blog-content,
.archive .blog-content,
.search-results .blog-content {
  padding: 18px 18px 20px;
}

/* Title */
.blog .blog-title,
.archive .blog-title,
.search-results .blog-title {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}

.blog .blog-title a,
.archive .blog-title a,
.search-results .blog-title a {
  color: #0b1220;
}

.blog .blog-title a:hover,
.archive .blog-title a:hover,
.search-results .blog-title a:hover {
  color: #0b1220;
  text-decoration: underline;
}

/* Meta row nicer */
.blog .blog-meta,
.archive .blog-meta,
.search-results .blog-meta {
  font-size: 13px;
  opacity: .85;
  margin-bottom: 10px;
}

/* Reading time badge on posts page */
.blog .blog-reading-time,
.archive .blog-reading-time,
.search-results .blog-reading-time {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .08);
  font-weight: 800;
}

/* Excerpt */
.blog .blog-excerpt,
.archive .blog-excerpt,
.search-results .blog-excerpt {
  font-size: 14.5px;
  margin: 0;
  color: rgba(11, 18, 32, .78);
}

/* Pagination (your blog-pagination wrapper) */
.blog .blog-pagination,
.archive .blog-pagination,
.search-results .blog-pagination {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.blog .blog-pagination .page-numbers,
.archive .blog-pagination .page-numbers,
.search-results .blog-pagination .page-numbers {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}

.blog .blog-pagination a.page-numbers,
.archive .blog-pagination a.page-numbers,
.search-results .blog-pagination a.page-numbers {
  color: rgba(255,255,255,.92);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
}

.blog .blog-pagination .page-numbers.current,
.archive .blog-pagination .page-numbers.current,
.search-results .blog-pagination .page-numbers.current {
  background: #f59e0b;
  color: #0b1220;
  font-weight: 900;
}


/* =========================================================
   FINAL POLISH (Blog page only)
========================================================= */

/* Softer premium background + subtle glow */
.blog #primary,
.archive #primary,
.search-results #primary{
  background:
    radial-gradient(900px 500px at 20% 10%, rgba(245,158,11,.10), transparent 60%),
    radial-gradient(800px 500px at 80% 30%, rgba(59,130,246,.10), transparent 60%),
    linear-gradient(180deg, #0b1220 0%, #070d18 100%);
}

/* Fix title spacing (your Blog heading area) */
.blog .page-header,
.archive .page-header,
.search-results .page-header{
  margin: 25px 0 25px;
  padding-top: 20px;
}

.blog .page-title,
.archive .page-title,
.search-results .page-title{
  line-height: 1.1;
  text-shadow: 0 10px 30px rgba(0,0,0,.35);
}

/* Grid breathing room */
.blog .blog-grid,
.archive .blog-grid,
.search-results .blog-grid{
  gap: 24px;
}

/* Card polish */
.blog .blog-card,
.archive .blog-card,
.search-results .blog-card{
  position: relative;
  border-radius: 20px;
  box-shadow: 0 18px 55px rgba(0,0,0,.30);
}

/* Subtle shine overlay on hover */
.blog .blog-card::before,
.archive .blog-card::before,
.search-results .blog-card::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.18) 35%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .6s ease;
}

.blog .blog-card:hover::before,
.archive .blog-card:hover::before,
.search-results .blog-card:hover::before{
  transform: translateX(120%);
}

/* Image corners cleaner */
.blog .blog-image,
.archive .blog-image,
.search-results .blog-image{
  border-bottom: 1px solid rgba(15,23,42,.08);
}

/* Content spacing + typography */
.blog .blog-content,
.archive .blog-content,
.search-results .blog-content{
  padding: 18px 18px 22px;
}

.blog .blog-title,
.archive .blog-title,
.search-results .blog-title{
  font-size: 20px;
  margin-bottom: 8px;
}

/* Meta row becomes nicer (category looks like pill link) */
.blog .blog-meta,
.archive .blog-meta,
.search-results .blog-meta{
  gap: 10px;
  margin-bottom: 12px;
  opacity: 1;
}

.blog .blog-meta a,
.archive .blog-meta a,
.search-results .blog-meta a{
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(245,158,11,.16);
  color: #b45309;
  font-weight: 800;
  text-decoration: none;
}

.blog .blog-meta a:hover,
.archive .blog-meta a:hover,
.search-results .blog-meta a:hover{
  filter: brightness(.98);
}

/* Date looks lighter and consistent */
.blog .blog-date,
.archive .blog-date,
.search-results .blog-date{
  color: rgba(11,18,32,.65);
  font-weight: 600;
}

/* Reading time as badge */
.blog .blog-reading-time,
.archive .blog-reading-time,
.search-results .blog-reading-time{
  background: rgba(15, 23, 42, .08);
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 800;
  color: rgba(11,18,32,.70);
}

/* Optional: excerpt a bit tighter */
.blog .blog-excerpt,
.archive .blog-excerpt,
.search-results .blog-excerpt{
  margin-top: 4px;
}

/* Pagination polish: bigger click targets */
.blog .blog-pagination a.page-numbers,
.archive .blog-pagination a.page-numbers,
.search-results .blog-pagination a.page-numbers{
  min-width: 40px;
  justify-content: center;
}

@media (max-width: 768px) {
    .blog .page-title,
    .archive .page-title,
    .search-results .page-title {
        margin-top: 30px;
    }
}


/* ============================================
   FOOTER STYLES
============================================ */

/* ============================================
   FOOTER STYLES (Improved & Cleaner)
============================================ */

.site-footer {
    background: #1a202c;
    color: #a0aec0;
    padding: 80px 0 40px;
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.06);
}

/* Footer Top */
.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Footer About */
.footer-about {
    max-width: 400px;
}

.footer-logo img {
    height: 40px;
    width: auto;
    margin-bottom: 1.5rem;
}

.footer-site-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
}

.footer-site-title a {
    color: white;
    text-decoration: none;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #a0aec0;
}

/* ============================================
   SOCIAL FIX (matches your HTML)
============================================ */

.footer-social__icons {
    display: flex;
    gap: 0.75rem;
}

.footer-social__icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #a0aec0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social__icons a:hover {
    background: #3498db;
    color: #fff;
    transform: translateY(-3px);
}

/* Footer Links */
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.footer-column-title {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer Menu */
.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 0.75rem;
}

.footer-menu a {
    color: #a0aec0;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-menu a:hover {
    color: #3498db;
    padding-left: 4px;
}

/* Footer Categories */
.footer-categories {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-categories li {
    margin-bottom: 0.75rem;
}

.footer-categories a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #a0aec0;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-categories a:hover {
    color: #3498db;
}

/* Improved Category Count */
.category-count {
    font-size: 0.75rem;
    color: #718096;
    border: 1px solid rgba(255,255,255,0.12);
    padding: 2px 8px;
    border-radius: 999px;
}

/* Contact Info */
.contact-info {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.contact-item svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #3498db;
}

.contact-item a,
.contact-item span {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #3498db;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    font-size: 0.9rem;
    color: #718096;
}

.footer-bottom-menu {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-bottom-menu a {
    color: #718096;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-menu a:hover {
    color: #3498db;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #2980b9;
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 20px 0 30px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-menu {
        justify-content: center;
    }
}


/* ============================================
   SIMPLE CLEAN FOOTER (Blog Style)
   Add BELOW your existing footer CSS
============================================ */

.site-footer--simple{
  background:#0b1220;
  border-top:1px solid rgba(255,255,255,.06);
}

/* simple grid (no cards) */
.footer-top--simple{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr 1.2fr;
  gap: 28px;
  padding-bottom: 34px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* titles */
.site-footer--simple .footer-column-title{
  font-size: .95rem;
  color:#fff;
  margin: 0 0 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* softer text */
.site-footer--simple .footer-description{
  color: rgba(226,232,240,.70);
  line-height: 1.7;
}

/* links */
.site-footer--simple .footer-menu a,
.site-footer--simple .footer-categories a,
.site-footer--simple .contact-item a,
.site-footer--simple .contact-item span{
  color: rgba(226,232,240,.68);
}
.site-footer--simple .footer-menu a:hover,
.site-footer--simple .footer-categories a:hover,
.site-footer--simple .contact-item a:hover{
  color:#7dd3fc;
}

/* categories count small and subtle */
.site-footer--simple .category-count{
  color: rgba(226,232,240,.45);
  font-size: .8rem;
}

/* social - clean circles */
.footer-social__icons{
  display:flex;
  gap:10px;
}
.footer-social__icons a{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  display:flex;
  align-items:center;
  justify-content:center;
  color: rgba(226,232,240,.8);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.footer-social__icons a:hover{
  transform: translateY(-2px);
  background: rgba(52,152,219,.14);
  border-color: rgba(52,152,219,.25);
  color:#fff;
}

/* recent posts (minimal lines, no boxes) */
.footer-recent-posts{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:10px;
}
.footer-post-link{
  text-decoration:none;
  display:flex;
  flex-direction:column;
  gap:2px;
}
.footer-post-title{
  color: rgba(226,232,240,.85);
  font-weight: 600;
  line-height: 1.35;
}
.footer-post-date{
  color: rgba(226,232,240,.45);
  font-size: .85rem;
}

/* bottom */
.footer-bottom--simple{
  padding-top: 18px;
}
.footer-bottom--simple .copyright{
  color: rgba(226,232,240,.45);
}

/* responsive */
@media (max-width: 1100px){
  .footer-top--simple{ grid-template-columns: 1fr 1fr; }
  .footer-about{ grid-column: 1 / -1; max-width: 100%; }
}
@media (max-width: 640px){
  .footer-top--simple{ grid-template-columns: 1fr; }
}



/* ============================================
   BLOGGER HERO SECTION
============================================ */

.blogger-hero-section {
    background: linear-gradient(135deg, 
        #0f172a 0%, 
        #1e293b 30%, 
        #334155 70%, 
        #475569 100%);
    color: white;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ============================================
   NAVIGATION BAR
============================================ */

.blogger-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.blogger-navbar.scrolled {
    padding: 0.75rem 0;
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.navbar-logo .logo-link {
    text-decoration: none;
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation Menu */
.navbar-menu {
    flex: 1;
    margin: 0 2rem;
}

.blogger-menu {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.blogger-menu li {
    position: relative;
}

.blogger-menu a {
    text-decoration: none;
    color: #cbd5e1;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    position: relative;
}

.blogger-menu a:hover {
    color: #fbbf24;
}

.blogger-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    transition: width 0.3s ease;
}

.blogger-menu a:hover::after,
.blogger-menu .current-menu-item a::after {
    width: 100%;
}

/* Navbar Actions */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.navbar-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #fbbf24;
    color: #0f172a;
    transform: translateY(-2px);
}

.navbar-search {
    background: none;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.navbar-search:hover {
    color: #fbbf24;
}



/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
}




/* ============================================
   HERO CONTENT
============================================ */

.blogger-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 1rem 0;
    flex: 1;
}

/* Left Column: Text Content */
.blogger-hero-text {
    max-width: 600px;
    padding-top: 30px
}

/* Category Badge */
.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.badge-icon {
    font-size: 1.2rem;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: #fbbf24;
    letter-spacing: 1px;
}

/* Main Title */
.blogger-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 1rem 0;
}

.title-line {
    display: block;
    font-size: 1.8rem;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.title-name {
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.title-name::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(251, 191, 36, 0.2);
    z-index: -1;
    border-radius: 4px;
}

/* Tagline */
.blogger-tagline {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 3rem;
    max-width: 500px;
}

/* Blogger Stats */
.blogger-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: nowrap;              /* add */
    justify-content: flex-start;    /* add */
    align-items: center;            /* add */
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Featured Categories */
.featured-categories {
    margin-bottom: 3rem;
    position: relative;
    z-index: 2
}

.categories-label {
    display: block;
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.category-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.category-tag:hover {
    background: #fbbf24;
    color: #0f172a;
    transform: translateY(-2px);
    border-color: #fbbf24;
}

@media (max-width: 768px) {
    .featured-categories {
        display: none;
    }
}

/* CTA Buttons */
.blogger-cta {
    display: flex;
    gap: 15px;
    position: relative;
    z-index: 10;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cta-btn.primary {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #0f172a;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cta-btn.secondary:hover {
    border-color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
    transform: translateY(-3px);
}

.btn-icon {
    font-size: 1.2rem;
}

/* ============================================
   PROFILE PICTURE SECTION
============================================ */

.blogger-hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    transform: scale(0.92);
    transform-origin: top center;
}

.profile-frame {
    position: relative;
    width: 500px;
    height: 500px;
}

/* Main Profile Picture */
.main-profile {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    z-index: 2;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(251, 191, 36, 0.2);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.main-profile:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.profile-pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.main-profile:hover .profile-pic {
    transform: scale(1.05);
}

.profile-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
}

.profile-placeholder svg {
    width: 100px;
    height: 100px;
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    z-index: 3;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: floatBadge 6s ease-in-out infinite;
}

.badge-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 20%;
    left: -10%;
    animation-delay: 3s;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

.badge-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-icon {
    font-size: 1.2rem;
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: #fbbf24;
}

/* Recent Posts Preview */
.recent-posts-preview {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 3;
}

.preview-title {
    font-size: 1rem;
    color: #fbbf24;
    margin: 0 0 1rem 0;
    font-weight: 600;
}

.preview-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.preview-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.preview-item:hover {
    background: rgba(251, 191, 36, 0.1);
    transform: translateX(5px);
}

.post-title {
    font-size: 0.9rem;
    color: #cbd5e1;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.post-date {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-left: 1rem;
}

/* ============================================
   BOTTOM NAVIGATION
============================================ */

.hero-bottom-nav {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    margin-top: auto;
}

.hero-bottom-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Quick Links */
.quick-links {
    display: flex;
    gap: 2rem;
    flex: 1;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #94a3b8;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
}

.quick-link:hover,
.quick-link.active {
    color: white;
    background: rgba(251, 191, 36, 0.1);
}

.quick-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: #fbbf24;
    border-radius: 2px;
}

.link-icon {
    font-size: 1.2rem;
}

.link-text {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Search Bar */
.hero-search {
    flex: 0 0 300px;
}

.search-form {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-field {
    flex: 1;
    background: none;
    border: none;
    padding: 0.75rem 1.5rem;
    color: white;
    font-size: 0.9rem;
}

.search-field::placeholder {
    color: #94a3b8;
}

.search-field:focus {
    outline: none;
}

.search-submit {
    background: #fbbf24;
    border: none;
    padding: 0.75rem 1.5rem;
    color: #0f172a;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-submit:hover {
    background: #f59e0b;
}

/* ============================================
   MOBILE MENU PANEL
============================================ */

.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: #0f172a;
    z-index: 1001;
    transition: right 0.4s ease;
    overflow-y: auto;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
}

.mobile-menu-panel.active {
    right: 0;
}

.mobile-menu-header {
    padding: 1.5rem;
    display: flex;
    justify-content: flex-end;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-content {
    padding: 2rem;
}

.mobile-blogger-menu {
    list-style: none;
    margin: 0 0 2rem 0;
    padding: 0;
}

.mobile-blogger-menu li {
    margin-bottom: 0.5rem;
}

.mobile-blogger-menu a {
    display: block;
    padding: 1rem 0;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.3s ease;
}

.mobile-blogger-menu a:hover {
    color: #fbbf24;
}

.mobile-social {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    display: block;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(251, 191, 36, 0.1);
    color: white;
}

/* ============================================
   BACKGROUND ELEMENTS
============================================ */

.blogger-hero-section {
    position: relative;
}

.blogger-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(251, 191, 36, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

/* ============================================
   RESPONSIVE DESIGN
============================================ */

@media (max-width: 1200px) {
    .blogger-hero-content {
        gap: 3rem;
    }
    
    .profile-frame {
        width: 450px;
        height: 450px;
    }
    
    .blogger-title {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .blogger-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        padding: 1rem 0;
    }
    
    .blogger-hero-text {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .blogger-stats {
        justify-content: center;
    }
    
    .categories-list {
        justify-content: center;
    }
    
    .blogger-cta {
        justify-content: center;
    }
    
    .profile-frame {
        width: 400px;
        height: 400px;
        margin: 0 auto;
    }
    
    .navbar-menu {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-bottom-nav .container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .quick-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .hero-search {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .blogger-hero-section {
        padding-top: 70px;
    }
    
    .blogger-title {
        font-size: 2.5rem;
    }
    
    .title-line {
        font-size: 1.5rem;
    }
    
    .blogger-tagline {
        font-size: 1.1rem;
    }
    
@media (max-width: 768px) {
  .blogger-stats{
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 14px;

    width: 100%;
    max-width: 420px;
    margin: 18px auto 0;
  }

  .blogger-stats .stat-item{
    flex: 1 1 0;
    text-align: center;
  }

  .blogger-stats .stat-item + .stat-item{
    border-left: 1px solid rgba(255,255,255,0.10);
    padding-left: 12px;
  }
}

    .blogger-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .profile-frame {
        width: 350px;
        height: 350px;
    }
    
    .floating-badge {
        transform: scale(0.9);
    }
    
    .badge-1 {
        right: -5%;
    }
    
    .badge-2 {
        left: -5%;
    }
}

@media (max-width: 576px) {
    .navbar-actions .subscribe-btn,
    .navbar-social {
        display: none;
    }
    
    .blogger-title {
        font-size: 2rem;
    }
    
    .title-line {
        font-size: 1.2rem;
    }
    
    .profile-frame {
        width: 300px;
        height: 300px;
    }
    
    .recent-posts-preview {
        display: none;
    }
    
    .floating-badge {
        display: none;
    }
    
    .quick-link .link-text {
        display: none;
    }
    
    .quick-link {
        padding: 0.5rem;
    }
}

/* Desktop: space between social icons & search */
@media (min-width: 769px){
  .navbar-actions{
    gap: 18px; /* overall spacing */
  }

  .navbar-social{
    margin-right: 10px; /* push socials away from search */
  }
}



/* ===========================
   Certificates Section
=========================== */
.certs{
  padding: 40px 16px;
  background: #0b1220;
}
.certs__container{
  max-width: 1180px;
  margin: 0 auto;
}
.certs__header{
  text-align: center;
  margin-bottom: 26px;
}
.certs__kicker{
  display:inline-block;
  font-weight: 800;
  letter-spacing: .14em;
  font-size: 18px;
  opacity: .80;
  color: #cbd5e1;
}
.certs__title{
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 900;
  letter-spacing: -0.02em;
}
.certs__subtitle{
  margin: 10px auto 0;
  max-width: 720px;
  color: rgba(255,255,255,.72);
  font-size: 15px;
  line-height: 1.7;
}

.certs__grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 22px;
}
@media (min-width: 640px){
  .certs__grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px){
  .certs__grid{ grid-template-columns: repeat(3, 1fr); }
}

.cert-card{
  display:block;
  border-radius: 18px;
  overflow:hidden;
  text-decoration: none;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.cert-card:hover{
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.20);
  background: rgba(255,255,255,.075);
}

.cert-card__top{
  padding: 16px 16px 0;
}
.cert-card__img{
  width: 100%;
  height: 165px;
  object-fit: cover;
  border-radius: 14px;
  display:block;
}
.cert-card__img--ph{
  width:100%;
  height:165px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 44px;
  background: rgba(0,0,0,.22);
  border: 1px dashed rgba(255,255,255,.18);
}

.cert-card__body{
  padding: 14px 16px 16px;
}
.cert-card__title{
  margin: 0 0 8px;
  color:#fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.cert-card__meta{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  align-items:center;
  color: rgba(255,255,255,.72);
  font-size: 13px;
}
.cert-card__dot{ opacity:.55; }

.cert-card__link{
  display:inline-block;
  margin-top: 10px;
  font-weight: 700;
  font-size: 13px;
  color: #ffd24a;
}


/* Certificates header button */
.certs__actions{
  margin-top: 16px;
  display:flex;
  justify-content:center;
}
.certs__btn{
  appearance:none;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color:#fff;
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 12px;
  cursor:pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.certs__btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.25);
}

/* Modal */
.certs-modal{
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
}
.certs-modal.is-open{ display:block; }

.certs-modal__overlay{
  position:absolute;
  inset:0;
  background: rgba(2,6,23,.7);
  backdrop-filter: blur(6px);
}

.certs-modal__dialog{
  position: relative;
  max-width: 980px;
  margin: 5vh auto;
  width: calc(100% - 28px);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(11,18,32,.92);
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
}

.certs-modal__close{
  position:absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  color:#fff;
  cursor:pointer;
}

.certs-modal__content{
  display:grid;
  grid-template-columns: 1fr;
}
@media (min-width: 900px){
  .certs-modal__content{
    grid-template-columns: 1.2fr .8fr;
    min-height: 520px;
  }
}

.certs-modal__media{
  padding: 18px;
}
.certs-modal__media img{
  width: 100%;
  height: 360px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.10);
}
@media (min-width: 900px){
  .certs-modal__media img{ height: 100%; min-height: 480px; }
}

.certs-modal__info{
  padding: 22px 20px 20px;
  color:#fff;
  display:flex;
  flex-direction:column;
  gap: 12px;
}
.certs-modal__title{
  margin:0;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.certs-modal__meta{
  margin:0;
  color: rgba(255,255,255,.75);
  font-size: 14px;
  display:flex;
  gap: 10px;
  align-items:center;
  flex-wrap:wrap;
}
.certs-modal__dot{ opacity:.6; }

.certs-modal__link{
  display:inline-block;
  width: fit-content;
  font-weight: 900;
  color: #ffd24a;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,210,74,.10);
  border: 1px solid rgba(255,210,74,.18);
}

.certs-modal__nav{
  margin-top: auto;
  display:flex;
  gap: 10px;
}
.certs-modal__navbtn{
  flex:1;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  color:#fff;
  font-weight: 900;
  cursor:pointer;
}


/* ============================================
   Search Page
============================================ */


.search-page {
    padding: 140px 20px 80px;
    background: #0f1a2e;
    min-height: 100vh;
    color: #fff;
}

.search-container {
    max-width: 1150px;
    margin: 0 auto;
}

.search-header {
    text-align: center;
    margin-bottom: 35px;
}

.search-header span {
    color: #f7b733;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.search-header h1 {
    font-size: 42px;
    margin: 12px 0;
}

.search-header strong {
    color: #f7b733;
}

.search-header p {
    color: #b8c0d4;
}

.search-page-form {
    max-width: 650px;
    margin: 0 auto 50px;
    display: flex;
    background: #17243d;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50px;
    overflow: hidden;
}

.search-page-form input {
    flex: 1;
    padding: 18px 24px;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 16px;
}

.search-page-form button {
    padding: 0 35px;
    border: none;
    background: #f7b733;
    color: #111;
    font-weight: 700;
    cursor: pointer;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.search-card {
    background: #17243d;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    transition: 0.3s;
}

.search-card:hover {
    transform: translateY(-6px);
}

.search-thumb img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.search-content {
    padding: 22px;
}

.search-date {
    color: #f7b733;
    font-size: 14px;
}

.search-content h2 {
    font-size: 22px;
    margin: 10px 0;
}

.search-content h2 a {
    color: #fff;
    text-decoration: none;
}

.search-content p {
    color: #b8c0d4;
    line-height: 1.6;
}

.search-read-more {
    color: #f7b733;
    font-weight: 700;
    text-decoration: none;
}

.search-pagination {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 30px;
}

.no-search-result {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    background: #17243d;
    border-radius: 18px;
}

@media (max-width: 992px) {
    .search-results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .search-page {
        padding-top: 120px;
    }

    .search-header h1 {
        font-size: 30px;
    }

    .search-page-form {
        flex-direction: column;
        border-radius: 18px;
    }

    .search-page-form button {
        padding: 16px;
    }

    .search-results-grid {
        grid-template-columns: 1fr;
    }
}


/* ===============================
   existing buttons to scroll/function
=============================== */


html {
    scroll-behavior: smooth;
}

#latest,
#popular,
#categories,
#newsletter {
    scroll-margin-top: 120px;
}

/* ===============================
   Newsletter Section
=============================== */
.newsletter-section {
    padding: 55px 20px;
    background: #111c31;
}

.newsletter-wrapper {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-icon {
    font-size: 34px;
    margin-bottom: 12px;
}

.newsletter-section .section-subtitle {
    color: #38bdf8;
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 700;
}

.newsletter-section .section-title {
    color: #ffffff;
    font-size: 30px;
    margin: 10px 0;
}

.newsletter-section .section-description {
    color: #b8c0d4;
    max-width: 500px;
    margin: 0 auto 24px;
    line-height: 1.6;
    font-size: 15px;
}

.newsletter-form {
    display: flex;
    max-width: 520px;
    margin: 0 auto;
    background: #1e2b45;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    overflow: hidden;
}

.newsletter-form input {
    flex: 1;
    height: 52px;
    padding: 0 18px;
    border: none;
    outline: none;
    background: transparent;
    color: #ffffff;
    font-size: 15px;
}

.newsletter-form input::placeholder {
    color: #aab3c5;
}

.newsletter-form button {
    height: 45px;
    padding: 0 24px;
    border: none;
    background: #fbbf24;
    color: #111827;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
}

.newsletter-form button:hover {
    background: #f59e0b;
}

@media (max-width: 768px) {
    .newsletter-section {
        padding: 45px 16px;
    }

    .newsletter-section .section-title {
        font-size: 26px;
    }

    .newsletter-form {
        flex-direction: column;
        background: transparent;
        border: none;
        gap: 10px;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        border-radius: 12px;
    }

    .newsletter-form input {
        background: #1e2b45;
        border: 1px solid rgba(255,255,255,0.12);
        padding: 1rem;
    }
}

.newsletter-success {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    padding: 12px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}