/* ========================
  GLOBAL TYPOGRAPHY
======================== */
body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: #333;
  background-color: #FFFFFF;
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  color: #2C2C54;
}

/* ========================
  HERO SECTION
======================== */
.hero-section {
  background: #F1F2F6;
}
.hero-section h1 {
  font-size: 2.5rem;
  line-height: 1.3;
}
.hero-img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  animation: float 3s ease-in-out infinite;
}
@media (max-width: 767px) {
  .hero-section h1 {
    font-size: 2rem;
  }
  .hero-section p.lead {
    font-size: 1rem;
  }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ========================
  CTA Button
======================== */
.btn-cta {
  background-color: #7B1FA2;
  color: #fff;
  border: none;
}
.btn-cta:hover {
  background-color: #6A1B9A;
  color: #fff;
}

/* ========================
  Reader Count Badge
======================== */
.live-count {
  display: inline-block;
  background: #7B1FA2;
  color: #fff;
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  min-width: 40px;
  text-align: center;
}
.cat-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 1.5rem 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.cat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

 .cat-img 
  {
  
  object-fit: cover;
  border-radius: 12px;
 object-fit: cover;
  margin-bottom: 10px;
}




/* 📦 Fix Card Clipping & Zoom Padding */
.swiper {
  overflow: visible !important;
}

.swiper-wrapper {
  padding-top: 20px;
  padding-bottom: 20px;
}

.swiper-slide {
  overflow: visible;
  padding: 10px;
  transition: transform 0.3s ease;
}

/* 🧲 Zoom Effect on Active Slide */
.swiper-slide-active .cat-card {
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(192, 0, 11, 0.3);
  z-index: 2;
  background: #fff;
  border-radius: 16px;
}

/* 🪟 Ensure Cat Cards Have Room to Expand */
.cat-card {
  padding: 20px;
  background: #f9f9f9;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Animation Keyframes */
@keyframes fadeUpScale {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Animate reveal */
.category-posts {
  transition: all 0.3s ease-in-out;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}
.category-posts.revealed {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  animation: fadeUpScale 0.6s ease forwards;
}

.category-posts .mb-3 {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.category-posts .mb-3:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Hybrid Card Style for Revealed Posts */
.post-thumb img.hover-zoom {
  transition: transform 0.3s ease;
}
.post-thumb:hover img.hover-zoom {
  transform: scale(1.05);
}
.post-card .card-body {
  padding: 1rem;
}
.post-card .card-title a:hover {
  color: #C0000B;
}
/* Ensure image takes full width without internal spacing */
.post-thumb {
  margin: 0;
  padding: 0;
}
.post-thumb img {
  display: block;
  width: auto;
  height: auto;
  object-fit: cover;
}

/* ==========================
  Newsletter CTA
========================== */
.newsletter-cta {
  background: radial-gradient(circle at top left, #fff3f3, #fff);
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(192, 0, 11, 0.1);
}

.newsletter-cta input[type="email"] {
  max-width: 400px;
}

.newsletter-cta .btn-primary {
  background-color: #C0000B;
  border: none;
}
.newsletter-cta .btn-primary:hover {
  background-color: #9b0009;
}


/* ==========================
  Scroll Reveal Animation
========================== */
.reveal-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

#newsletter-message {
  animation: fadeSlideIn 0.6s ease forwards;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ==========================
  Mission & Vision
========================== */

.mission-vision-section h2 {
  color: #1A1E3F;
}

.mission-vision-section .shadow-sm {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mission-vision-section .shadow-sm:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.mission-vision-section .shadow-sm {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mission-vision-section .shadow-sm:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}
/* Background Gradient Overlay */
.mission-vision-section .bg-gradient {
  background: radial-gradient(circle at top left, #fbeaea 0%, #ffffff 80%);
}

/* Hover Lift Animation */
.card-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* latest post */
.latest-posts .post-thumb img {
  transition: transform 0.3s ease;
}
.latest-posts .post-thumb:hover img {
  transform: scale(1.05);
}
/* Gradient Badges */
.badge-investing {
  background: linear-gradient(to right, #4CAF50, #2E7D32);
  color: #fff;
}
.badge-banking {
  background: linear-gradient(to right, #2196F3, #1565C0);
  color: #fff;
}
.badge-online {
  background: linear-gradient(to right, #FF9800, #EF6C00);
  color: #fff;
}
.badge-retirement {
  background: linear-gradient(to right, #9C27B0, #6A1B9A);
  color: #fff;
}

/* Hover Elevation */
.post-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

/* ==========================
  FEATURED AUTHOR SECTION
========================== */
.featured-author {
  position: relative;
  background: linear-gradient(135deg, #f9f9f9, #ffffff);
}

.featured-author img {
  border: 4px solid #fff;
  transition: transform 0.3s ease;
}
.featured-author img:hover {
  transform: scale(1.05);
}

.featured-author h4 {
  font-size: 1.5rem;
}
.featured-author h5 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Floating Badge */
.featured-author::before {
  content: "✨ Featured";
  position: absolute;
  top: 10px;
  left: 10px;
  background: #C0000B;
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Animation */
.featured-author .row {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}
.featured-author.visible .row {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================
  TESTIMONIALS SECTION
========================== */
.testimonials-section {
  background: linear-gradient(to right, #f8f9fa, #ffffff);
}

.testimonial-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.testimonial-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================
  TRUSTED BY / BRANDS SECTION
========================== */
.trusted-brands {
  background: #fefefe;
}

.brand-logo {
  max-height: 80px;
  opacity: 0.6;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.brand-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* ==========================
  Final CTA Banner
========================== */
.final-cta {
  background: linear-gradient(to right, #C0000B, #730007);
  color: #fff;
}
.final-cta .btn {
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.final-cta .btn:hover {
  opacity: 0.9;
}

/* ==========================
  CATEGORY PAGE STYLING
========================== */
.category-hero {
  background: linear-gradient(to right, #C0000B, #7B0006);
}
.category-hero h1 {
  font-size: 2.5rem;
}

.category-posts .post-card {
  transition: transform 0.3s ease;
}
.category-posts .post-card:hover {
  transform: translateY(-5px);
}
.hover-zoom {
  transition: transform 0.3s ease;
}
.hover-zoom:hover {
  transform: scale(1.05);
}
/* ==========================
  CHOOSE BY CATEGORY
========================== */
.choose-by-category .cat-box {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
}
.choose-by-category .cat-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.choose-by-category img {
  height: 140px;
  object-fit: cover;
  width: 100%;
}

/* ==========================
  SINGLE BLOG POST
========================== */
.post-hero h1 {
  font-size: 2.5rem;
  line-height: 1.3;
}
.content-body p {
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.content-body h2, .content-body h3 {
  margin-top: 2rem;
  font-weight: 600;
}
.post-author {
  background: #f9f9f9;
  border-radius: 8px;
  margin-top: 3rem;
}
/* ==========================
SCROLL PROGRESS BAR
========================== */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: #C0000B;
  z-index: 9999;
  transition: width 0.2s ease-out;
}
/* ==========================
  CATEGORY TAG STRIP
========================== */

.related-posts h4 {
  font-size: 1.6rem;
}
.related-posts .card:hover {
  transform: translateY(-4px);
  transition: transform 0.3s ease;
}
/* ==========================
 CATEGORY MARQUEE: Updated Styling
========================== */
.category-marquee {
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  background-color: #f4f5f7;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  padding: 12px 0;
}

.marquee-track {
  display: inline-flex;
  animation: marqueeScroll 25s linear infinite;
  gap: 16px; /* ⬅️ More spacing between pills */
}

.category-marquee:hover .marquee-track {
  animation-play-state: paused;
}

.cat-pill {
  display: inline-block;
  padding: 8px 20px;
  font-size: 0.95rem;
  color: #333;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.cat-pill:hover {
  background-color: #C0000B;
  color: #fff;
  border-color: #C0000B;
  transform: scale(1.1);
}

/* Marquee Animation */
@keyframes marqueeScroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* SIDEBAR AREA */
.widget {
  background: #fff;
  border: 1px solid #eee;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}



/* STICKY SIDEBAR CONTAINER */
@media (min-width: 992px) {
  .sticky-stack {
    position: sticky;
    top: 90px;
  }
}

/* ==========================
  MODERN COMMENT STYLING
========================== */
.comment {
  background: #f9f9f9;
  border: 1px solid #eee;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.03);
}

.comment-avatar img {
  border-radius: 50%;
}

.comment .reply a {
  color: #C0000B;
  font-size: 0.8rem;
  text-decoration: none;
}
.comment .reply a:hover {
  text-decoration: underline;
}

.comment-list {
  list-style: none;
  padding-left: 0;
}

.related-thumb {
  height: 180px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}




/* ==========================
  Newsletter CTA
========================== */
.newsletter-cta input.form-control {
  max-width: 300px;
}
#newsletter-success {
  transition: all 0.3s ease;
}

.fade-in {
  opacity: 0;
  animation: fadein 0.5s forwards;
}
@keyframes fadein {
  to { opacity: 1; }
}

/* ==========================
 SOCIAL EDGE PANEL
========================== */
.social-edge-panel {
  position: fixed;
  top: 40%;
  left: -60px; /* Fully hidden except slight preview */
  width: 60px;
  background: #1A1E3F; /* Sleek dark blue */
  padding: 12px 8px;
  border-radius: 0 10px 10px 0;
  transition: left 0.3s ease;
  z-index: 9999;
  box-shadow: 2px 4px 12px rgba(0,0,0,0.1);
}

.social-edge-panel ul li {
  margin: 12px 0;
  text-align: left;
}

.social-edge-panel ul li a {
  color: #fff;
  font-size: 18px;
  display: block;
  transition: transform 0.2s ease;
}


.social-edge-panel ul li {
  margin: 12px 0;
  text-align: center;
}
.social-edge-panel ul li a:hover {
  transform: scale(1.2);
}
/* Trigger Slide on Hover */
body:hover .social-edge-panel {
  left: 0;
}
.social-edge-panel:hover {
  left: 0;
}

@media (max-width: 768px) {
  .social-edge-panel {
    display: none;
  }
}

.author-box {
  transition: all 0.3s ease;
}
.author-box:hover {
  background: #f5f5f5;
}
.author-social a {
  color: #C0000B;
  font-size: 18px;
  transition: transform 0.2s ease;
}
.author-social a:hover {
  transform: scale(1.2);
}
/* Blog Card Upgrades */


.category-filter a {
  transition: all 0.3s ease;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  color: #333;
}
.category-filter a:hover,
.category-filter a:focus {
  background-color: #C0000B;
  color: #fff;
  border-color: #C0000B;
}

.blog-list-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #f1f1f1;
  background-color: #fff;
}

.blog-list-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.06);
  border-color: transparent;
}
.blog-list-item img {
  transition: transform 0.3s ease;
}
.blog-list-item:hover img {
  transform: scale(1.05);
}

/* Pagination */
.pagination {
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.pagination .page-numbers {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid #ddd;
  border-radius: 10px; /* Rounded square corners */
  color: #333;
  background-color: #f8f9fa;
  font-weight: 500;
  text-decoration: none;
  min-width: 42px;
  text-align: center;
  transition: all 0.3s ease;
}

.pagination .page-numbers:hover {
  background-color: #C0000B;
  color: #fff;
  border-color: #C0000B;
}

.pagination .current {
  background-color: #C0000B;
  color: #fff;
  border-color: #C0000B;
  pointer-events: none;
}

/* === Sidebar Search === */
.search-form input[type="search"] {
  border: 1px solid #ccc;
  padding: 10px;
  font-size: 0.95rem;
}

.search-form input[type="search"]:focus {
  outline: none;
  border-color: #C0000B;
  box-shadow: 0 0 0 0.15rem rgba(192, 0, 11, 0.15);
}

.search-form button {
  background-color: #C0000B;
  border: none;
}

.search-form button:hover {
  background-color: #a3000a;
}

/* ================================
   SIDEBAR STYLING
================================== */
.blog-sidebar {
  position: relative;
  padding-left: 1rem;
  border-left: 1px solid #eee;
}

.sidebar-widget {
  margin-bottom: 2.5rem;
}

.sidebar-widget h6 {
  font-size: 1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  color: #1A1E3F;
  border-bottom: 2px solid #C0000B;
  display: inline-block;
  padding-bottom: 5px;
}

/* Recent posts thumbnails */
.sidebar-widget ul li {
  list-style: none;
}
.sidebar-widget ul li a {
  color: #333;
}
.sidebar-widget ul li a:hover {
  color: #C0000B;
  text-decoration: none;
}

/* Tag Cloud */
.tag-cloud a {
  display: inline-block;
  background: #f3f3f3;
  color: #555;
  padding: 5px 10px;
  margin: 4px 4px 0 0;
  border-radius: 20px;
  font-size: 0.9em;
  transition: all 0.2s ease-in-out;
}
.tag-cloud a:hover {
  background: #C0000B;
  color: #fff;
  text-decoration: none;
}

/* Newsletter box */
.sidebar-widget form input[type="email"] {
  font-size: 0.9rem;
}
.sidebar-widget form button {
  font-size: 0.9rem;
}
#sidebar-newsletter-msg {
  font-style: italic;
  font-size: 0.85rem;
}

.sticky-share-panel {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.sticky-share-panel .btn {
  width: 38px;
  height: 38px;
  line-height: 38px;
  text-align: center;
  padding: 0;
  font-size: 16px;
  opacity: 0.75;
  transition: all 0.3s ease;
}
.sticky-share-panel .btn:hover {
  opacity: 1;
  background-color: #C0000B;
}

/*category page */

.cat-list-item {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cat-list-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.cat-list-thumb {
  width: 220px;
  height: 150px;
  overflow: hidden;
  border-radius: 10px;
  flex-shrink: 0;
}
.cat-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}
.cat-list-thumb:hover img {
  transform: scale(1.05);
}

.cat-list-content {
  flex: 1;
}
.cat-list-content .cat-card-title {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.cat-list-content .cat-title-link {
  color: #1A1E3F;
  text-decoration: none;
  position: relative;
}
.cat-title-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background-color: #C0000B;
  transition: width 0.3s ease;
}
.cat-title-link:hover::after {
  width: 100%;
}
.cat-title-link:hover {
  color: #C0000B;
}

.cat-list-content .cat-card-excerpt {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
}

.cat-read-btn {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  color: #C0000B;
  border: 1px solid #C0000B;
  text-decoration: none;
  transition: all 0.3s ease;
}
.cat-read-btn:hover {
  background-color: #C0000B;
  color: #fff;
}

/*category-author-box */

.cat-author-box {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
  transition: background 0.3s ease;
}
.cat-author-box:hover {
  background: #f9f9f9;
}

.cat-author-img {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.cat-author-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1A1E3F;
}

.cat-author-bio {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

.cat-author-social a {
  color: #C0000B;
  font-size: 18px;
  transition: transform 0.2s ease, color 0.2s ease;
}
.cat-author-social a:hover {
  transform: scale(1.2);
  color: #9b0009;
}

/* category-hero-section */

.category-hero-animated {
  background: linear-gradient(to right, #C0000B, #7B0006);
  padding-top: 6rem;
  padding-bottom: 6rem;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.cat-hero-inner {
  max-width: 700px;
  animation: fadeUpScale 0.8s ease-out forwards;
}

.cat-hero-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(255,255,255,0.1);
  display: inline-block;
  padding: 5px 12px;
  border-radius: 50px;
  font-weight: 500;
}

.cat-hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  animation: fadeSlideIn 0.8s ease-out forwards;
}

.cat-hero-subtext {
  font-size: 1.1rem;
  color: #f0f0f0;
  animation: fadeSlideIn 1s ease-out forwards;
}

/* Optional animated shape */
.cat-hero-bg-shape {
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle at center, #ffffff15 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*page style */

.page-hero-modern {
  background: linear-gradient(to right, #C0000B, #7B0006);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.hero-icon i {
  color: #fff;
  background: rgba(255,255,255,0.1);
  padding: 16px;
  border-radius: 50%;
}

.styled-page-content {
  background-color: #f9f9f9;
}
.page-article-content {
  font-size: 1rem;
  line-height: 1.7;
}
.page-article-content h2, .page-article-content h3 {
  font-weight: 600;
  margin-top: 2rem;
}
.page-article-content p {
  margin-bottom: 1.5rem;
}
.last-updated {
  font-style: italic;
  font-size: 0.85rem;
}

.universal-cta-box {
  background: linear-gradient(to right, #fdfdfd, #f8f8f8);
  border-top: 1px solid #eee;
}
.universal-cta-box h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1A1E3F;
}
.universal-cta-box p {
  font-size: 1rem;
  color: #666;
}
.btn-cta {
  background-color: #C0000B;
  color: #fff;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  transition: background 0.3s ease;
}
.btn-cta:hover {
  background-color: #9b0009;
  color: #fff;
}


/* Header Scroll Behavior */
header.site-header.scrolled {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

/* Nav Links Hover Effect */
.nav a {
  color: #1A1E3F;
  position: relative;
  text-decoration: none;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: #C0000B;
  transition: width 0.3s ease;
}
.nav a:hover::after,
.nav .current-menu-item a::after {
  width: 100%;
}


/* ==========================
 MODERN FOOTER UPGRADE
========================== */
.modern-footer {
  font-size: 0.95rem;
  background: linear-gradient(to right, #1a1e3f, #000000); /* cleaner tone */
  color: #ddd;
}

.modern-footer .text-muted {
  color: #aaa !important;
}

.modern-footer a {
  transition: color 0.3s ease, transform 0.3s ease;
  color: #ccc;
}
.modern-footer a:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.modern-footer .list-inline-item {
  margin: 0 10px;
}

.modern-footer img {
  filter: brightness(1.2);
}

.modern-footer .bi {
  font-size: 20px;
  transition: transform 0.3s ease, color 0.3s ease;
}
.modern-footer .bi:hover {
  color: #C0000B;
  transform: scale(1.2);
}
