/* ============================================
   White Falcon Publishing - Homepage Redesign
   Modern, polished overrides for the Ark theme
   ============================================ */

/* ---------- Google Fonts Import ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --wfp-primary: #1a3c5e;
  --wfp-primary-light: #2a5a8a;
  --wfp-accent: #c8a962;
  --wfp-accent-light: #e0c882;
  --wfp-teal: #00bcd4;
  --wfp-dark: #1a1a2e;
  --wfp-gray-50: #f8f9fc;
  --wfp-gray-100: #f0f2f5;
  --wfp-gray-200: #e4e7ec;
  --wfp-gray-600: #6b7280;
  --wfp-gray-800: #2d3748;
  --wfp-white: #ffffff;
  --wfp-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --wfp-shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
  --wfp-shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --wfp-shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
  --wfp-radius: 12px;
  --wfp-radius-lg: 20px;
  --wfp-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Global Overrides ---------- */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  color: var(--wfp-gray-800);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif !important;
  color: var(--wfp-dark);
}

p {
  font-family: 'Inter', sans-serif !important;
  line-height: 1.8;
  color: var(--wfp-gray-600);
}

/* ---------- Hero / Banner Section ---------- */
.headvideodesk {
  position: relative;
}

.headvideodesk .carousel-inner .item img {
  width: 100%;
  height: auto;
  filter: brightness(0.95);
}

#slider-block-header {
  position: relative;
}


/* ---------- Section Headings ---------- */
.heading-v1-title {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-weight: 700 !important;
  font-size: 36px !important;
  color: var(--wfp-dark) !important;
  position: relative;
  padding-bottom: 16px;
}

.heading-v1-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, var(--wfp-accent), var(--wfp-accent-light));
  border-radius: 2px;
}

.heading-v1 {
  margin-bottom: 30px !important;
}

/* Override large margin-bottom utility classes for tighter spacing */
.heading-v1.margin-b-80 {
  margin-bottom: 30px !important;
}

.heading-v1.margin-b-20 {
  margin-bottom: 20px !important;
}

/* ---------- Section Backgrounds ---------- */
.bg-color-sky-light {
  background-color: var(--wfp-gray-50) !important;
}

.bg-color-tint-light {
  background-color: var(--wfp-white) !important;
}

/* ---------- Intro Video Section ---------- */
.wfp-intro-section {
  padding: 50px 0 40px;
  background: var(--wfp-gray-50);
}

.wfp-intro-section .news-v1-heading-title {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 28px !important;
  font-weight: 600 !important;
  color: var(--wfp-dark) !important;
  text-align: center;
  margin-bottom: 8px;
}

.wfp-intro-section .news-v1-heading-title a {
  color: var(--wfp-dark) !important;
  text-decoration: none;
}

.wfp-intro-section .news-v1-heading {
  background: transparent !important;
  padding: 0 0 30px !important;
}

.wfp-intro-section iframe {
  border-radius: var(--wfp-radius) !important;
  box-shadow: var(--wfp-shadow-lg);
}

.wfp-intro-subtitle {
  text-align: center;
  color: var(--wfp-gray-600);
  font-size: 16px;
  margin-bottom: 30px;
  font-family: 'Inter', sans-serif;
}

/* ---------- Card Styles (news-v1) ---------- */
.news-v1 {
  background: var(--wfp-white) !important;
  border-radius: var(--wfp-radius) !important;
  overflow: hidden;
  box-shadow: var(--wfp-shadow-sm) !important;
  border: 1px solid var(--wfp-gray-200) !important;
  transition: var(--wfp-transition) !important;
}

.news-v1:hover {
  box-shadow: var(--wfp-shadow-lg) !important;
  transform: translateY(-4px);
}

.news-v1 .news-v1-heading {
  padding: 20px 24px 12px !important;
  background: transparent !important;
  border-bottom: none !important;
}

.news-v1 .news-v1-heading-title {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
}

.news-v1 .news-v1-heading-title a {
  color: var(--wfp-dark) !important;
  text-decoration: none !important;
}

.news-v1 .news-v1-content {
  padding: 8px 24px 28px !important;
}

.news-v1 .news-v1-content p {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--wfp-gray-600);
}

.news-v1 .news-v1-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-v1 .news-v1-content ul li {
  position: relative;
  padding: 6px 0 6px 24px;
  border-bottom: 1px solid var(--wfp-gray-100);
}

.news-v1 .news-v1-content ul li:last-child {
  border-bottom: none;
}

.news-v1 .news-v1-content ul li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--wfp-teal);
  font-weight: 700;
  font-size: 14px;
}

.news-v1 .news-v1-content ul li h5 {
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--wfp-gray-800) !important;
  margin: 0 !important;
}

/* ---------- Three Column Section (Premium, Process, Books) ---------- */
.masonry-grid-item.col-3 .news-v1 img {
  border-radius: 0;
  transition: var(--wfp-transition);
}

.masonry-grid-item.col-3 .news-v1:hover img {
  transform: scale(1.03);
}

.masonry-grid-item.col-3 {
  padding: 0 15px;
}

/* ---------- Two Column Sections - Equal Height via Flexbox ---------- */
.masonry-grid {
  display: flex !important;
  flex-wrap: wrap !important;
}

.masonry-grid-item.col-2 {
  padding: 0 15px;
  display: flex !important;
}

.masonry-grid-item.col-2 .news-v1 {
  height: 100%;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.masonry-grid-item.col-2 .news-v1 .news-v1-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.masonry-grid-item.col-2 .news-v1 .news-v1-content p {
  flex: 1;
}

.masonry-grid-item.col-2 .news-v1 .news-v1-content center {
  margin-top: auto;
}

.masonry-grid-item.col-3 {
  display: flex !important;
}

.masonry-grid-item.col-3 .news-v1 {
  height: 100%;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.masonry-grid-item.col-3 .news-v1 .news-v1-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.masonry-grid-item.col-3 .news-v1 .news-v1-content center {
  margin-top: auto;
}


/* ---------- CTA Buttons ---------- */
.btn-base-bg-slide,
button[type="button"].btn-base-bg-slide {
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  padding: 12px 32px !important;
  border-radius: 50px !important;
  background: linear-gradient(135deg, var(--wfp-accent), var(--wfp-accent-light)) !important;
  color: var(--wfp-dark) !important;
  border: none !important;
  transition: var(--wfp-transition) !important;
  box-shadow: 0 4px 15px rgba(200, 169, 98, 0.3) !important;
}

.btn-base-bg-slide1,
button[type="button"].btn-base-bg-slide1 {
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  padding: 10px 10px !important;
  border-radius: 50px !important;
  background: linear-gradient(135deg, var(--wfp-accent), var(--wfp-accent-light)) !important;
  color: var(--wfp-dark) !important;
  border: none !important;
  transition: var(--wfp-transition) !important;
  box-shadow: 0 4px 15px rgba(200, 169, 98, 0.3) !important;
}


.btn-base-bg-slide:hover,
button[type="button"].btn-base-bg-slide:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 25px rgba(200, 169, 98, 0.45) !important;
  background: linear-gradient(135deg, var(--wfp-accent-light), var(--wfp-accent)) !important;
}

/* Primary CTA (for hero/key actions) */
.wfp-cta-primary {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 16px 48px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--wfp-accent), var(--wfp-accent-light));
  color: var(--wfp-dark);
  border: none;
  transition: var(--wfp-transition);
  box-shadow: 0 4px 20px rgba(200, 169, 98, 0.4);
  text-decoration: none;
}

.wfp-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(200, 169, 98, 0.5);
  color: var(--wfp-dark);
  text-decoration: none;
}

/* ---------- Stats Banner ---------- */
.wfp-stats-banner {
  background: linear-gradient(135deg, var(--wfp-primary), var(--wfp-primary-light));
  padding: 40px 0;
  margin: 0;
}

.wfp-stats-banner .stat-item {
  text-align: center;
  padding: 15px;
}

.wfp-stats-banner .stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--wfp-accent);
  line-height: 1;
  margin-bottom: 8px;
}

.wfp-stats-banner .stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ---------- Why Choose Us Section ---------- */
.wfp-why-choose {
  padding: 0;
  background: var(--wfp-white);
}

.wfp-why-choose .content-md {
  padding: 50px 15px 20px !important;
}

.wfp-why-choose .row {
  display: flex;
  flex-wrap: wrap;
}

.wfp-why-choose .row > [class*="col-"] {
  display: flex;
  margin-bottom: 20px;
}

.wfp-feature-card {
  text-align: center;
  padding: 30px 22px;
  border-radius: var(--wfp-radius);
  background: var(--wfp-gray-50);
  border: 1px solid var(--wfp-gray-200);
  transition: var(--wfp-transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.wfp-feature-card:hover {
  box-shadow: var(--wfp-shadow-md);
  transform: translateY(-5px);
  border-color: var(--wfp-accent);
}

.wfp-feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wfp-primary), var(--wfp-primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 26px;
  color: var(--wfp-white);
  flex-shrink: 0;
}

.wfp-feature-card h4 {
  font-family: 'Playfair Display', serif !important;
  font-size: 17px;
  font-weight: 600;
  color: var(--wfp-dark);
  margin-bottom: 10px;
}

.wfp-feature-card p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--wfp-gray-600);
  margin: 0;
  flex: 1;
}

/* ---------- Authors Section ---------- */
.author_image {
  border-radius: 50% !important;
  margin-bottom: 15px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
  border: 3px solid var(--wfp-white) !important;
  transition: var(--wfp-transition) !important;
  width: 110px !important;
  height: 110px !important;
  object-fit: cover !important;
}

.author_image:hover {
  transform: scale(1.08) !important;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15) !important;
  border-color: var(--wfp-accent) !important;
}

#owl-demo .item {
  text-align: center;
  padding: 10px 5px;
}

.news-v7-title {
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--wfp-dark) !important;
  margin-top: 8px !important;
}

.news-v7-title a {
  color: var(--wfp-dark) !important;
  text-decoration: none !important;
}

.news-v7-title a:hover {
  color: var(--wfp-teal) !important;
}

.news-v7-subtitle {
  font-family: 'Inter', sans-serif !important;
  font-size: 11px !important;
  color: var(--wfp-gray-600) !important;
  font-weight: 400 !important;
}

/* ---------- Services Section (Quality Publishing Services carousel) ---------- */
.news-v1-new {
  background: var(--wfp-white) !important;
  border-radius: var(--wfp-radius) !important;
  overflow: hidden !important;
  box-shadow: var(--wfp-shadow-sm) !important;
  border: 1px solid var(--wfp-gray-200) !important;
  transition: var(--wfp-transition) !important;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-v1-new:hover {
  box-shadow: var(--wfp-shadow-lg) !important;
  transform: translateY(-5px) !important;
}

.news-v1-new .zoom_hidden {
  flex-shrink: 0;
}

.news-v1-new .news-v1-content {
  padding: 20px 24px !important;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-v1-new .news-v1-title,
.news-v1-new .news-v1-title a {
  font-family: 'Playfair Display', serif !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  color: var(--wfp-dark) !important;
  margin-bottom: 12px !important;
  text-decoration: none !important;
}

.news-v1-new .news-v1-content p {
  font-size: 13.5px !important;
  line-height: 1.7 !important;
  color: var(--wfp-gray-600) !important;
  flex: 1;
}

/* Equal-height items in the owl carousel for services */
.owl-carousel-testimonials-four-item .owl-item > .item {
  height: 100% !important;
}

.owl-carousel-testimonials-four-item .owl-item > .item > .news-v1-new {
  width: 100% !important;
}

.zoom_hidden {
  overflow: hidden;
  border-radius: var(--wfp-radius) var(--wfp-radius) 0 0;
}

.zoom_img {
  transition: var(--wfp-transition) !important;
  width: 100% !important;
  display: block;
}

.news-v1-new:hover .zoom_img {
  transform: scale(1.05) !important;
}

/* ---------- Owl carousel arrows - fix < > alignment ---------- */
.owl-arrow {
  background: var(--wfp-primary) !important;
  color: var(--wfp-white) !important;
  width: 44px !important;
  height: 44px !important;
  line-height: 44px !important;
  border-radius: 50% !important;
  font-size: 18px !important;
  transition: var(--wfp-transition) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.owl-arrow:hover {
  background: var(--wfp-accent) !important;
  color: var(--wfp-dark) !important;
}

.owl-arrow.fa::before {
  line-height: 1 !important;
  vertical-align: middle !important;
}

/* ---------- Carousel control arrows - fix < > alignment ---------- */
.carousel-control .carousel-control-arrows-v1 {
  background: var(--wfp-primary) !important;
  color: var(--wfp-white) !important;
  width: 44px !important;
  height: 44px !important;
  line-height: 1 !important;
  border-radius: 50% !important;
  transition: var(--wfp-transition) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  font-size: 20px !important;
}

.carousel-control .carousel-control-arrows-v1:hover {
  background: var(--wfp-accent) !important;
  color: var(--wfp-dark) !important;
}

.carousel-control .carousel-control-arrows-v1.fa::before {
  line-height: 1 !important;
  vertical-align: middle !important;
}

/* Fix the carousel-control itself to properly vertically center the arrow */
.carousel-control.theme-carousel-control-v1 {
  display: flex !important;
  align-items: center !important;
  width: 60px !important;
  opacity: 1 !important;
  background-image: none !important;
  background: none !important;
}

/* ---------- Book Marketing Carousel ---------- */
.wfp-marketing-section .carousel-inner img {
  border-radius: var(--wfp-radius);
  box-shadow: var(--wfp-shadow-md);
}

/* ---------- Featured On / Press Section ---------- */
.quote-list {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 30px !important;
  list-style: none !important;
  padding: 0 !important;
}

.quote-list a {
  opacity: 0.6;
  transition: var(--wfp-transition);
  display: inline-block;
}

.quote-list a:hover {
  opacity: 1;
  transform: scale(1.05);
}

.quote-list img {
  filter: grayscale(100%);
  transition: var(--wfp-transition);
  max-height: 45px;
  width: auto !important;
}

.quote-list a:hover img {
  filter: grayscale(0%);
}

/* ---------- Reduced Content Sections Spacing ---------- */
.content-sm {
  padding: 40px 0 !important;
}

.content-md {
  padding: 50px 0 !important;
}

.content-md-2 {
  padding: 40px 0 !important;
}

/* Also reduce the container-fluid padding used by Authors section */
.content-md.container-fluid {
  padding: 40px 15px !important;
}

/* ---------- Scrolling Text Strip (Trust Banner) ---------- */
.wfp-trust-strip {
  background: linear-gradient(135deg, var(--wfp-primary), var(--wfp-primary-light));
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
}

.wfp-trust-strip-content {
  display: inline-block;
  animation: wfpScroll 30s linear infinite;
}

.wfp-trust-strip-content span {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0 40px;
}

.wfp-trust-strip-content span::before {
  content: '\2605';
  color: var(--wfp-accent);
  margin-right: 12px;
}

@keyframes wfpScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Section Divider ---------- */
.wfp-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--wfp-gray-200), transparent);
  margin: 0;
}

/* ---------- Smooth Scrolling ---------- */
html {
  scroll-behavior: smooth;
}

/* ---------- Header Enhancements ---------- */
.header-sticky.header-transparent {
  transition: var(--wfp-transition) !important;
}

.header-sticky.header-transparent.header-fixed-shrink {
  box-shadow: var(--wfp-shadow-md) !important;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(10px) !important;
}

.nav-item-child {
  font-family: 'Inter', sans-serif !important;
  font-weight: 500 !important;
  font-size: 13px !important;
  letter-spacing: 0.3px !important;
}

/* ---------- Back to Top - positioned above WhatsApp ---------- */
.back-to-top-theme {
  background: var(--wfp-primary) !important;
  border-radius: 50% !important;
  width: 48px !important;
  height: 48px !important;
  box-shadow: var(--wfp-shadow-md) !important;
  transition: var(--wfp-transition) !important;
  bottom: 24px !important;
  right: 28px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  font-size: 20px !important;
  z-index: 998 !important;
}

.back-to-top-theme:after {
  line-height: 1 !important;
}

.back-to-top-theme:hover {
  background: var(--wfp-accent) !important;
  transform: translateY(-3px) !important;
}

/* ---------- WhatsApp button - positioned at bottom ---------- */
.whatsapp-hover-btn {
  position: fixed !important;
  bottom: 90px !important;
  right: 24px !important;
  z-index: 999 !important;
  background: #25d366 !important;
  border-radius: 50% !important;
  width: 56px !important;
  height: 56px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4) !important;
  transition: var(--wfp-transition) !important;
}

.whatsapp-hover-btn:hover {
  transform: scale(1.1) !important;
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5) !important;
}

.whatsapp-hover-btn .tooltip {
  display: none;
}

/* ---------- Carousel books section ---------- */
#blog-grid-2-col .carousel-inner {
  border-radius: var(--wfp-radius);
  overflow: hidden;
}

/* ---------- Image enhancements ---------- */
.masonry-grid-item .news-v1 > div:first-child img {
  width: 100%;
  /*display: block;*/
}

/* ---------- Plans and Distribution images ---------- */
#planscontainer img,
#distributioncontainer img,
#scholarcontainer img,
#booksfundrcontainer img {
  border-radius: var(--wfp-radius);
  box-shadow: var(--wfp-shadow-sm);
  transition: var(--wfp-transition);
}

#planscontainer img:hover,
#distributioncontainer img:hover,
#scholarcontainer img:hover,
#booksfundrcontainer img:hover {
  box-shadow: var(--wfp-shadow-md);
}

/* ---------- About & Video Section ---------- */
.wfp-about-section {
  padding: 50px 0;
  background: var(--wfp-gray-50);
}

.wfp-about-title {
  font-family: 'Playfair Display', serif !important;
  font-size: 30px !important;
  font-weight: 700 !important;
  color: var(--wfp-dark) !important;
  margin-bottom: 16px;
  line-height: 1.25;
}

.wfp-about-lead {
  font-size: 15px !important;
  line-height: 1.75 !important;
  color: var(--wfp-gray-600) !important;
  margin-bottom: 20px;
}

.wfp-about-lead strong {
  color: var(--wfp-gray-800);
}

.wfp-about-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wfp-about-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--wfp-gray-800);
}

.wfp-about-highlights li i {
  color: var(--wfp-teal);
  font-size: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.wfp-about-highlights li strong {
  color: var(--wfp-dark);
}

.wfp-video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: var(--wfp-radius);
  overflow: hidden;
  box-shadow: var(--wfp-shadow-lg);
}

.wfp-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- POD Steps Section ---------- */
.wfp-pod-section {
  padding: 50px 0;
  background: var(--wfp-white);
}

.wfp-pod-section .row {
  display: flex;
  flex-wrap: wrap;
}

.wfp-pod-section .row > [class*="col-"] {
  display: flex;
  margin-bottom: 20px;
}

.wfp-pod-step {
  text-align: center;
  padding: 28px 20px;
  border-radius: var(--wfp-radius);
  background: var(--wfp-gray-50);
  border: 1px solid var(--wfp-gray-200);
  transition: var(--wfp-transition);
  width: 100%;
  position: relative;
}

.wfp-pod-step:hover {
  box-shadow: var(--wfp-shadow-md);
  transform: translateY(-4px);
  border-color: var(--wfp-accent);
}

.wfp-pod-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wfp-primary), var(--wfp-primary-light));
  color: var(--wfp-white);
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 44px;
  text-align: center;
  margin: 0 auto 14px;
}

.wfp-pod-step h4 {
  font-family: 'Playfair Display', serif !important;
  font-size: 17px;
  font-weight: 600;
  color: var(--wfp-dark);
  margin-bottom: 8px;
}

.wfp-pod-step p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--wfp-gray-600);
  margin: 0;
}

/* ---------- Quality Over Quantity Banner ---------- */
.wfp-quality-banner {
  padding: 50px 0;
  background: linear-gradient(135deg, var(--wfp-primary), var(--wfp-primary-light));
}

.wfp-quality-banner h3 {
  font-family: 'Playfair Display', serif !important;
  font-size: 28px !important;
  font-weight: 700;
  color: var(--wfp-accent) !important;
  margin-bottom: 16px;
}

.wfp-quality-banner p {
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  line-height: 1.8 !important;
  color: rgba(255, 255, 255, 0.85) !important;
  max-width: 850px;
  margin: 0 auto;
}

/* ---------- Final CTA Section ---------- */
.wfp-final-cta {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--wfp-dark), #2a2a4a);
}

.wfp-final-cta h2 {
  font-family: 'Playfair Display', serif !important;
  font-size: 34px !important;
  font-weight: 700;
  color: var(--wfp-white) !important;
  margin-bottom: 16px;
}

.wfp-final-cta p {
  font-family: 'Inter', sans-serif !important;
  font-size: 16px !important;
  line-height: 1.75 !important;
  color: rgba(255, 255, 255, 0.75) !important;
  max-width: 650px;
  margin: 0 auto 30px;
}

/* ---------- Footer improvements ---------- */
#footer {
  background: var(--wfp-dark) !important;
}

.footer-v4-title {
  font-family: 'Playfair Display', serif !important;
  color: var(--wfp-accent) !important;
  font-size: 18px !important;
}

.footer-v4-text, .footer-v4-text a {
  font-family: 'Inter', sans-serif !important;
}

.footer-v4-copyright {
  border-top-color: rgba(255, 255, 255, 0.1) !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .heading-v1-title {
    font-size: 28px !important;
  }

  .wfp-stats-banner .stat-number {
    font-size: 32px;
  }

  .content-md {
    padding: 40px 0 !important;
  }
}

@media (max-width: 768px) {
  .heading-v1-title {
    font-size: 24px !important;
  }

  .wfp-stats-banner .stat-number {
    font-size: 28px;
  }

  .wfp-stats-banner .stat-item {
    padding: 12px;
  }

  .masonry-grid {
    display: block !important;
  }

  .masonry-grid-item.col-2,
  .masonry-grid-item.col-3 {
    display: block !important;
    margin-bottom: 20px;
  }

  .masonry-grid-item.col-2 .news-v1 {
    height: auto;
  }

  .wfp-why-choose .row {
    display: block;
  }

  .wfp-why-choose .row > [class*="col-"] {
    display: block;
    margin-bottom: 15px;
  }

  .content-md {
    padding: 35px 15px !important;
  }

  .content-sm {
    padding: 30px 15px !important;
  }

  .wfp-feature-card {
    padding: 25px 20px;
  }

  .news-v1 .news-v1-content {
    padding: 8px 18px 24px !important;
  }

  .wfp-about-section .row {
    display: block;
  }

  .wfp-about-section .col-md-5,
  .wfp-about-section .col-md-7 {
    width: 100%;
  }

  .wfp-about-section .col-md-7 {
    margin-top: 30px;
  }

  .wfp-about-title {
    font-size: 24px !important;
  }

  .wfp-pod-section .row {
    display: block;
  }

  .wfp-pod-section .row > [class*="col-"] {
    display: block;
    width: 100%;
  }

  .wfp-quality-banner h3 {
    font-size: 22px !important;
  }

  .wfp-final-cta h2 {
    font-size: 26px !important;
  }
}

@media (max-width: 480px) {
  .heading-v1-title {
    font-size: 22px !important;
  }

  .btn-base-bg-slide,
  button[type="button"].btn-base-bg-slide {
    padding: 10px 24px !important;
    font-size: 13px !important;
  }
}

/* ---------- Animation classes ---------- */
.wfp-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.wfp-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Content formatting improvements ---------- */
.wfp-content-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wfp-content-list li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--wfp-gray-600);
}

.wfp-content-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wfp-teal);
}

/* ========== Services Grid Section ========== */
.wfp-services-grid-section {
  padding: 60px 0 50px;
  background: #fafbfc;
}

.wfp-services-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.wfp-service-item {
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wfp-service-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 28px rgba(26,60,94,0.13);
}

.wfp-service-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wfp-navy) 0%, #2a5a8a 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.wfp-service-icon-wrap i {
  font-size: 26px;
  color: var(--wfp-gold);
}

.wfp-service-text h4 {
  font-family: var(--wfp-heading-font);
  font-size: 16px;
  font-weight: 700;
  color: var(--wfp-navy);
  margin: 0 0 8px;
}

.wfp-service-text p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--wfp-gray-600);
  margin: 0;
}

@media (max-width: 991px) {
  .wfp-services-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 575px) {
  .wfp-services-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .wfp-service-item {
    flex-direction: row;
    text-align: left;
    padding: 20px;
    gap: 16px;
  }

  .wfp-service-icon-wrap {
    width: 52px;
    height: 52px;
    margin-bottom: 0;
  }

  .wfp-service-icon-wrap i {
    font-size: 22px;
  }
}

/* ========== Blog Listing Page ========== */

/* Hero */
.wfp-blog-hero {
  background: linear-gradient(135deg, var(--wfp-primary) 0%, var(--wfp-primary-light) 100%);
  padding: 60px 0 50px;
  text-align: center;
}

.wfp-blog-hero-title {
  font-family: var(--wfp-heading-font, 'Playfair Display', serif);
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
}

.wfp-blog-hero-subtitle {
  font-family: var(--wfp-body-font, 'Inter', sans-serif);
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  margin: 0;
}

/* Listing wrapper */
.wfp-blog-listing {
  background: var(--wfp-gray-50, #f8f9fc);
  padding: 50px 0 60px;
}

/* 2-column grid */
.wfp-blog-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.wfp-blog-grid-wrapper .blog-grid {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 0 !important;
  display: flex;
  flex-direction: column;
}

.wfp-blog-grid-wrapper .blog-grid:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(26,60,94,0.13);
}

/* Cover image */
.wfp-blog-card-img {
  display: block;
  height: 200px;
  overflow: hidden;
  text-decoration: none;
  flex-shrink: 0;
}

.wfp-blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.wfp-blog-grid-wrapper .blog-grid:hover .wfp-blog-card-img img {
  transform: scale(1.05);
}

/* Card content */
.wfp-blog-grid-wrapper .blog-grid-box-shadow {
  box-shadow: none !important;
  border: none !important;
  background: transparent !important;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.wfp-blog-grid-wrapper .blog-grid-content {
  padding: 24px 24px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.wfp-blog-grid-wrapper .blog-grid-title-lg {
  font-family: var(--wfp-heading-font, 'Playfair Display', serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 12px;
  color: var(--wfp-primary, #1a3c5e);
}

.wfp-blog-grid-wrapper .blog-grid-title-lg a,
.wfp-blog-grid-wrapper .blog-grid-title-lg a.blog-grid-title-link {
  color: var(--wfp-primary, #1a3c5e);
  text-decoration: none;
  transition: color 0.2s ease;
}

.wfp-blog-grid-wrapper .blog-grid-title-lg a:hover {
  color: var(--wfp-accent, #c8a962);
}

.wfp-blog-grid-wrapper .blog-grid-content > p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--wfp-gray-600, #6b7280);
  margin-bottom: 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wfp-blog-grid-wrapper .blog-grid-supplemental-title {
  font-size: 13px;
  color: var(--wfp-gray-600, #6b7280);
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  border-top: 1px solid var(--wfp-gray-200, #e4e7ec);
  padding-top: 14px;
}

.wfp-blog-grid-wrapper .blog-grid-supplemental-category {
  font-weight: 600;
  color: var(--wfp-accent, #c8a962) !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.wfp-blog-grid-wrapper .blog-grid-supplemental-category:hover {
  color: var(--wfp-primary, #1a3c5e) !important;
}

/* Responsive: single column on mobile */
@media (max-width: 767px) {
  .wfp-blog-hero {
    padding: 40px 0 35px;
  }

  .wfp-blog-hero-title {
    font-size: 32px;
  }

  .wfp-blog-grid-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .wfp-blog-card-img {
    height: 160px;
  }

  .wfp-blog-grid-wrapper .blog-grid-content {
    padding: 18px 18px 16px;
  }
}

