/* 
  FRENTECH ELECTRICAL REWINDERS — THEME DESIGN SYSTEM v2.1
  Brand Colors: #194b72 (Navy) | #b7110c (Red)
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&display=swap');

:root {
  /* ── Brand Palette ── */
  --navy: #194b72;
  --navy-dark: #0f2e47;
  --navy-light: #2a6496;
  --red: #b7110c;
  --red-dark: #8e0d09;
  --red-light: #d41309;

  /* ── Neutral ── */
  --bg-page: #f5f7fa;
  --bg-white: #ffffff;
  --bg-light: #edf2f7;
  --text-dark: #1a2332;
  --text-body: #4a5568;
  --text-muted: #6b7280;
  --border: #d1d9e0;
  --border-light: #e8edf2;

  /* ── Gradients ── */
  --grad-brand: linear-gradient(135deg, #194b72 0%, #2a6496 100%);
  --grad-red: linear-gradient(135deg, #b7110c 0%, #d41309 100%);
  --grad-hero: linear-gradient(135deg, rgba(25, 75, 114, 0.92) 0%, rgba(25, 75, 114, 0.72) 55%, rgba(183, 17, 12, 0.25) 100%);

  /* ── Shadows ── */
  --shadow-sm: 0 2px 8px rgba(25, 75, 114, 0.08);
  --shadow-md: 0 8px 30px rgba(25, 75, 114, 0.12);
  --shadow-lg: 0 20px 60px rgba(25, 75, 114, 0.18);

  /* ── Motion ── */
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --transition: all 0.35s var(--ease);
  --transition-slow: all 0.6s var(--ease);
}

/* ─── RESET & BASE ───────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--red);
}

img {
  max-width: 100%;
  display: block;
}

/* ─── UTILITIES ──────────────────────────────── */
.container-extra {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Text gradients */
.text-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-red {
  color: var(--red) !important;
}

.text-navy {
  color: var(--navy) !important;
}

/* Section label (small caps eyebrow) */
.section-label {
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--red);
}

.ls-1 {
  letter-spacing: 1px;
}

.ls-2 {
  letter-spacing: 2px;
}

.ls-3 {
  letter-spacing: 3px;
}

.fw-800 {
  font-weight: 800;
}

.py-section {
  padding: 96px 0;
}

.mb-section {
  margin-bottom: 70px;
}

/* ─── SCROLLBAR ──────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--navy);
  border-radius: 10px;
}

/* ─── NAVBAR ─────────────────────────────────── */
.navbar-custom {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 8px 0;
  /* Reduced from 16px */
  z-index: 1050;
  transition: var(--transition-slow);
}

.navbar-inner {
  background: rgba(25, 75, 114, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 70px;
  padding: 6px 20px;
  /* Reduced from 8px 24px */
  transition: var(--transition-slow);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-custom.scrolled {
  padding: 10px 0;
}

.navbar-custom.scrolled .navbar-inner {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-md);
  border-color: var(--border-light);
}

/* Logo sizing — ultra-compact & professional */
.navbar-custom .site-logo {
  height: 36px;
  width: auto;
  transition: var(--transition);
}

/* Header Logo Frame — Ensuring visibility on all backgrounds */
.navbar-brand .site-logo {
  background: #ffffff;
  border-radius: 50%;
  padding: 5px;
  border: 2.5px solid var(--red);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 46px !important;
  height: 46px !important;
  object-fit: contain;
}

.navbar-custom.scrolled .navbar-brand .site-logo {
  width: 38px !important;
  height: 38px !important;
  border-color: var(--navy);
}

/* Mobile Toggle Color Fix */
.navbar-custom .btn-link i {
  color: #fff !important;
  transition: var(--transition);
}

.navbar-custom.scrolled .btn-link i {
  color: var(--navy) !important;
}

/* Nav links */
.nav-link {
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 600;
  font-size: 0.78rem;
  /* Slightly smaller text */
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 6px 14px !important;
  /* Tighter padding */
  border-radius: 30px;
  transition: var(--transition);
  position: relative;
}

.navbar-custom.scrolled .nav-link {
  color: var(--text-dark) !important;
}

.nav-link:hover {
  color: #fff !important;
  background: rgba(183, 17, 12, 0.85);
}

.navbar-custom.scrolled .nav-link:hover {
  color: #fff !important;
  background: var(--red);
}

/* ─── BUTTONS ────────────────────────────────── */

/* Primary (Navy→Blue gradient) */
.btn-frentech {
  background: var(--grad-brand);
  color: #fff !important;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 100px;
  border: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.82rem;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(25, 75, 114, 0.30);
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
}

.btn-frentech:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(25, 75, 114, 0.40);
  background: linear-gradient(135deg, #0f2e47 0%, #194b72 100%);
  color: #fff !important;
}

/* Red CTA variant */
.btn-frentech-red {
  background: var(--grad-red);
  color: #fff !important;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 100px;
  border: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.82rem;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(183, 17, 12, 0.30);
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
}

.btn-frentech-red:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(183, 17, 12, 0.45);
  color: #fff !important;
}

/* Outline variant */
.btn-frentech-outline {
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.6);
  padding: 13px 36px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: var(--transition);
  display: inline-block;
  text-decoration: none;
}

.btn-frentech-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  color: #fff !important;
  transform: translateY(-3px);
}

/* ─── HERO SECTION with Image Slider ────────── */
.hero-v3 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

/* Red accent line at bottom of hero */
.hero-v3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--red);
  z-index: 20;
}

.hero-text {
  position: relative;
  z-index: 10;
  padding-top: 160px;
  /* clears fixed navbar (~90px) + breathing room */
  padding-bottom: 100px;
}

/* ── Hero logo card (glass frame so transparent PNG shows on dark bg) ── */
.hero-logo-card {
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  padding: 36px 32px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Typewriter animation ── */
.typewriter-wrap {
  display: inline-block;
  position: relative;
}

.typewriter-text {
  border-right: 3px solid var(--red);
  white-space: nowrap;
  overflow: hidden;
  animation: cursorBlink 0.75s step-end infinite;
  max-width: 100%;
}

/* Allow wrapping on very small screens to avoid overflow */
@media (max-width: 480px) {
  .typewriter-text {
    white-space: normal;
    border-right: none;
    animation: none;
  }
}

@keyframes cursorBlink {

  0%,
  100% {
    border-color: var(--red);
  }

  50% {
    border-color: transparent;
  }
}

/* ── Slider backgrounds ── */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 1.2s ease, transform 1.4s ease;
  will-change: transform, opacity;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  transform: translateX(0);
}

.hero-slide.exit {
  opacity: 0;
  transform: translateX(-60px);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
  z-index: 2;
}

/* Slider dots */
.hero-dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  cursor: pointer;
  transition: all .4s ease;
  display: inline-block;
}

.hero-dot.active {
  background: var(--red);
  transform: scale(1.5);
}

/* Floating logo in hero right column */
.hero-logo-float {
  width: min(320px, 90%);
  margin: 0 auto;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, .5));
}

.hero-display {
  font-size: clamp(2.6rem, 5vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  color: #fff;
  letter-spacing: -1px;
}

.hero-badge {
  background: rgba(183, 17, 12, 0.15);
  border: 1px solid rgba(183, 17, 12, 0.4);
  border-radius: 100px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  backdrop-filter: blur(10px);
}

.hero-badge i {
  color: #ff6b6b;
}

/* ─── STATS BAR ──────────────────────────────── */
.stats-bar {
  background: var(--bg-white);
  padding: 36px 0;
  border-bottom: 3px solid var(--red);
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Dividers between stats */
.stat-divider {
  border-left: 1px solid var(--border-light);
}

/* ─── SECTION HEADER ─────────────────────────── */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 70px;
}

.section-header h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 800;
}

/* ─── SERVICE CARDS ──────────────────────────── */
.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 22px;
  padding: 36px 30px;
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
  height: 100%;
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 62px;
  height: 62px;
  background: rgba(25, 75, 114, 0.08);
  color: var(--navy);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 22px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--navy);
  color: #fff;
  transform: scale(1.08) rotate(6deg);
}

.service-card h3,
.service-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

/* ─── ABOUT / MISSION ────────────────────────── */
.mission-card {
  border-left: 4px solid var(--navy);
  background: var(--bg-light);
  border-radius: 0 14px 14px 0;
  padding: 24px;
  height: 100%;
}

.mission-card.vision {
  border-left-color: var(--red);
}

/* ─── PROCESS STEPS ──────────────────────────── */
.step-number {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--grad-brand);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.88rem;
}

/* ─── PARALLAX BANNER ────────────────────────── */
.parallax-banner {
  position: relative;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  padding: 110px 0;
  color: #fff;
}

.parallax-banner .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(25, 75, 114, 0.88) 0%, rgba(183, 17, 12, 0.55) 100%);
}

.parallax-banner .container {
  position: relative;
  z-index: 2;
}

/* ─── MARQUEE ────────────────────────────────── */
.marquee-wrapper {
  overflow: hidden;
  position: relative;
}

.marquee {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marqueeScroll 38s linear infinite;
}

.marquee img {
  height: 260px;
  width: 380px;
  object-fit: cover;
  border-radius: 18px;
  flex-shrink: 0;
  filter: grayscale(0.15);
  transition: var(--transition);
}

.marquee img:hover {
  filter: grayscale(0);
  transform: scale(1.03);
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ─── TESTIMONIALS ───────────────────────────── */
.testimonial-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--red);
  border-radius: 18px;
  padding: 32px;
  transition: var(--transition);
  height: 100%;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

/* ─── BLOG CARDS ─────────────────────────────── */
.blog-entry-premium {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-slow);
  height: 100%;
}

.blog-entry-premium:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-entry-premium .entry-img img {
  transition: var(--transition-slow);
}

.blog-entry-premium:hover .entry-img img {
  transform: scale(1.06);
}

.blog-entry-premium .entry-meta {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.blog-entry-premium h3 a {
  color: var(--text-dark);
}

.blog-entry-premium h3 a:hover {
  color: var(--navy);
}

/* ─── FAQ ────────────────────────────────────── */
.accordion-item {
  border-color: var(--border-light) !important;
}

.accordion-button {
  font-weight: 700;
  color: var(--text-dark) !important;
  background: var(--bg-white) !important;
}

.accordion-button:not(.collapsed) {
  color: var(--navy) !important;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed)::after {
  filter: none;
}

.accordion-button:focus {
  box-shadow: none !important;
}

/* ─── CONTACT ────────────────────────────────── */
.contact-icon-box {
  width: 52px;
  height: 52px;
  background: rgba(25, 75, 114, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.form-control-frentech {
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  color: var(--text-dark);
  padding: 14px 18px;
  border-radius: 12px;
  width: 100%;
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition);
  appearance: none;
}

.form-control-frentech:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(25, 75, 114, 0.10);
}

.form-control-frentech::placeholder {
  color: var(--text-muted);
}

/* ─── FOOTER ─────────────────────────────────── */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 80px 0 0;
  border-top: 4px solid var(--red);
}

.site-footer .footer-logo {
  height: 54px;
  width: auto;
}

.site-footer h6 {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}

.footer-link {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  display: block;
  margin-bottom: 11px;
  transition: var(--transition);
  font-weight: 500;
}

.footer-link:hover {
  color: #fff;
  padding-left: 8px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
}

.footer-contact-item i {
  color: var(--red);
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  margin-top: 60px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  margin: 0;
}

/* ─── SOCIAL ICONS ───────────────────────────── */
.social-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  transition: var(--transition);
  text-decoration: none;
}

.social-icon:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff !important;
  transform: translateY(-4px);
}

/* ─── WHATSAPP FLOAT ─────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  z-index: 9999;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.40);
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.12) translateY(-4px);
  box-shadow: 0 14px 40px rgba(37, 211, 102, 0.55);
  color: #fff;
}

/* ─── QUOTE MODAL ────────────────────────────── */
.modal-content {
  border: none;
  border-radius: 22px;
  overflow: hidden;
}

.modal-sidebar {
  background: var(--grad-brand);
  padding: 50px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.modal-sidebar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--red);
}

.modal-sidebar i {
  font-size: 3rem;
  opacity: 0.5;
  margin-bottom: 24px;
}

.modal-sidebar h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.modal-sidebar p {
  opacity: 0.78;
  font-size: 0.88rem;
}

.modal-sidebar .contact-detail {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  margin-top: 20px;
  font-size: 0.84rem;
  opacity: 0.7;
}

/* Service modals */
.service-modal-header {
  background: var(--grad-brand);
  color: #fff;
  border: none;
  padding: 24px 28px;
  border-radius: 22px 22px 0 0 !important;
}

.service-modal-header h5 {
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.service-check-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
  font-weight: 500;
}

.service-check-list li:last-child {
  border-bottom: none;
}

.service-check-list i {
  color: var(--navy);
}

/* ─── PAGE HERO (inner pages) ────────────────── */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--red);
}

.page-hero h1 {
  color: #fff;
}

/* ─── SINGLE POST ────────────────────────────── */
.single-post-content {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 50px;
}

.single-post-content .entry-content {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.85;
}

.single-post-content .entry-content p {
  margin-bottom: 1.6rem;
}

.single-post-content .entry-content img {
  border-radius: 14px;
  margin: 30px 0;
  box-shadow: var(--shadow-md);
}

.single-post-content .entry-content h2,
.single-post-content .entry-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--navy);
}

.post-nav-link {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 24px 28px;
  display: block;
  text-decoration: none;
  transition: var(--transition);
  flex: 1;
}

.post-nav-link:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.post-nav-link .nav-direction {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 6px;
}

.post-nav-link .nav-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
}

.share-btn {
  width: 42px;
  height: 42px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-body);
  transition: var(--transition);
}

.share-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  transform: translateY(-3px);
}

/* ─── PAGINATION ─────────────────────────────── */
.pagination {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  text-decoration: none;
  color: var(--text-dark) !important;
  font-weight: 700;
  transition: var(--transition);
}

.page-numbers.current,
.page-numbers:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff !important;
}

/* ─── BRANDS ─────────────────────────────────── */
.brand-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 2px;
  transition: var(--transition);
}

.brand-name:hover {
  color: var(--navy);
}

/* ─── HERO CAROUSEL OVERLAY ──────────────────── */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
  z-index: 1;
}

/* ─── FLOAT ANIMATION ────────────────────────── */
.float-anim {
  animation: floatAnim 5s ease-in-out infinite;
}

@keyframes floatAnim {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

/* ─── REVEAL ANIMATION ───────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(38px);
  transition: var(--transition-slow);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─────────────────────────────── */
@media (max-width: 991px) {
  .container-extra {
    padding: 0 20px;
  }

  .py-section {
    padding: 70px 0;
  }

  .marquee img {
    height: 200px;
    width: 280px;
  }

  /* Fix for typewriter text in about section */
  .typewriter-wrap {
    display: inline;
  }

  .stat-divider:nth-child(odd) {
    border-left: none;
  }
}

@media (max-width: 480px) {
  .container-extra {
    padding: 0 15px;
  }

  .navbar-inner {
    padding: 6px 15px;
    border-radius: 40px;
  }

  .btn-frentech,
  .btn-frentech-red,
  .btn-frentech-outline {
    padding: 12px 24px;
    font-size: 0.75rem;
  }
}

@media (max-width: 767px) {
  .hero-display {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
    word-break: break-word;
  }

  .display-4 {
    font-size: clamp(1.6rem, 7vw, 2.5rem);
  }

  .single-post-content {
    padding: 24px 15px;
  }

  .post-nav-link {
    padding: 18px 20px;
  }

  /* Featured image height on mobile */
  [style*="height: 450px"] {
    height: 280px !important;
  }
}