/**
 * Theme: Sajada — Taqmir.com
 * Palette: Orange #F97316 + Navy #1E2D40
 */

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --primary:       #F97316;
  --primary-dk:    #EA6A0E;
  --primary-lt:    #FFF3E8;
  --primary-mid:   #FDE8D0;
  --navy:          #1E2D40;
  --navy-md:       #2B3E55;
  --navy-lt:       #EAF0F7;
  --text:          #374151;
  --text-muted:    #6B7280;
  --text-light:    #9CA3AF;
  --border:        #E5E7EB;
  --bg:            #F8FAFC;
  --white:         #ffffff;
  --success:       #16A34A;
  --topbar-h:      40px;
  --header-h:      70px;
  --offset:        calc(var(--topbar-h) + var(--header-h));
  --radius-sm:     8px;
  --radius:        14px;
  --radius-lg:     20px;
  --shadow-sm:     0 1px 4px rgba(30,45,64,.06), 0 2px 8px rgba(30,45,64,.04);
  --shadow:        0 4px 16px rgba(30,45,64,.08), 0 1px 4px rgba(30,45,64,.04);
  --shadow-md:     0 8px 32px rgba(30,45,64,.12), 0 2px 8px rgba(30,45,64,.06);
  --shadow-lg:     0 20px 60px rgba(30,45,64,.15), 0 4px 16px rgba(30,45,64,.08);
  --transition:    0.25s cubic-bezier(.4,0,.2,1);
  scroll-behavior: smooth;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: "Inter", "Open Sans", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dk); }

h1,h2,h3,h4,h5,h6 {
  font-family: "Nunito", sans-serif;
  color: var(--navy);
  line-height: 1.25;
  font-weight: 700;
}

img { max-width: 100%; height: auto; }

/* ============================================================
   UTILITY
   ============================================================ */
.text-primary  { color: var(--primary)  !important; }
.text-navy     { color: var(--navy)     !important; }
.text-muted    { color: var(--text-muted) !important; }
.bg-primary    { background: var(--primary) !important; }
.bg-navy       { background: var(--navy)    !important; }
.bg-light-orange { background: var(--primary-lt); }

.rounded-card  { border-radius: var(--radius); }
.rounded-lg    { border-radius: var(--radius-lg); }
.shadow-card   { box-shadow: var(--shadow); }

/* hover lift */
.hover-lift { transition: transform var(--transition), box-shadow var(--transition); }
.hover-lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed; visibility: hidden; opacity: 0;
  right: 20px; bottom: 20px; z-index: 99999;
  background: var(--primary); width: 44px; height: 44px;
  border-radius: 50%; transition: all var(--transition);
  box-shadow: var(--shadow-md);
}
.back-to-top i  { font-size: 22px; color: #fff; line-height: 0; }
.back-to-top:hover { background: var(--primary-dk); transform: translateY(-2px); }
.back-to-top.active { visibility: visible; opacity: 1; }

/* ============================================================
   SECTIONS
   ============================================================ */
section { padding: 72px 0; overflow: hidden; }

.section-header { text-align: center; padding-bottom: 48px; }
.section-header h2 {
  display: inline-block;
  font-size: 12px; letter-spacing: 2px; font-weight: 800;
  color: var(--primary); text-transform: uppercase;
  background: var(--primary-lt); padding: 4px 14px;
  border-radius: 20px; margin-bottom: 12px;
}
.section-header p {
  font-size: 36px; line-height: 1.2; font-weight: 800; color: var(--navy); margin: 0;
}
@media (max-width: 768px) { .section-header p { font-size: 26px; } }

/* ============================================================
   TOP INFO BAR
   ============================================================ */
.sajada-topbar {
  background: var(--navy);
  height: var(--topbar-h);
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1050;
  display: flex; align-items: center;
  font-size: 12.5px;
}
.sajada-topbar .topbar-info { display: flex; align-items: center; gap: 24px; }
.sajada-topbar .topbar-info span { color: rgba(255,255,255,.78); }
.sajada-topbar .topbar-info i { color: var(--primary); margin-right: 5px; }
.sajada-topbar .topbar-right { display: flex; align-items: center; gap: 12px; }
.sajada-topbar .topbar-right a {
  color: rgba(255,255,255,.6); font-size: 15px;
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.sajada-topbar .topbar-right a:hover { color: var(--primary); background: rgba(255,255,255,.08); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  top: var(--topbar-h);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 1040; padding: 0;
  transition: all var(--transition);
}
.header.header-scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: transparent;
}
.header .container-xl { height: var(--header-h); }

/* Logo */
.sajada-logo-badge {
  width: auto;
  min-width: clamp(2.1rem, 5vw, 2.75rem);
  height: clamp(2rem, 5vw, 2.75rem);
  padding: 0 clamp(0.4rem, 1vw, 0.6rem);
  background: linear-gradient(135deg, var(--primary), var(--primary-dk));
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: clamp(0.7rem, 1.8vw, 0.95rem);
  margin-right: 10px;
  letter-spacing: -.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 4rem;
  box-shadow: 0 2px 8px rgba(249,115,22,.25);
}
.sajada-logo-badge--sm {
  min-width: clamp(1.6rem, 4vw, 2rem);
  height: clamp(1.6rem, 4vw, 2rem);
  padding: 0 0.3rem;
  font-size: clamp(0.6rem, 1.4vw, 0.75rem);
  border-radius: 6px;
  margin-right: 0;
  box-shadow: none;
}
.sajada-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.sajada-logo-text .logo-name {
  font-family: "Nunito", sans-serif; font-size: 17px; font-weight: 800;
  color: var(--navy); line-height: 1.15;
}
.sajada-logo-text .logo-sub { font-size: 10.5px; color: var(--text-muted); font-weight: 400; }

/* Navbar */
.navbar { padding: 0; height: 100%; }
.navbar ul { margin: 0; padding: 0; display: flex; list-style: none; align-items: center; height: 100%; }
.navbar li { position: relative; height: 100%; display: flex; align-items: center; }
.navbar a, .navbar a:focus {
  display: flex; align-items: center;
  padding: 0 16px;
  font-family: "Nunito", sans-serif; font-size: 14.5px; font-weight: 700;
  color: var(--navy); white-space: nowrap;
  transition: color var(--transition);
  height: 100%; border-bottom: 3px solid transparent;
}
.navbar a i { font-size: 11px; line-height: 0; margin-left: 4px; }
.navbar a:hover, .navbar .active, .navbar .active:focus, .navbar li:hover > a {
  color: var(--primary); border-bottom-color: var(--primary);
}
.navbar .getstarted, .navbar .getstarted:focus {
  background: var(--primary); border-radius: var(--radius-sm);
  color: #fff; padding: 8px 20px; margin-left: 8px;
  height: auto; border-bottom: none;
}
.navbar .getstarted:hover { background: var(--primary-dk); color: #fff; border-bottom: none; }

/* Dropdown */
.navbar .dropdown ul {
  display: block; position: absolute; left: 0;
  top: 100%; padding: 8px 0;
  z-index: 999; opacity: 0; visibility: hidden;
  transform: translateY(6px);
  background: #fff; box-shadow: var(--shadow-lg);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  border-radius: var(--radius);
  border-top: 3px solid var(--primary); min-width: 220px;
  pointer-events: none;
}
.navbar .dropdown ul li { height: auto; }
.navbar .dropdown ul a {
  padding: 9px 20px; font-size: 13.5px; font-weight: 600;
  color: var(--navy); height: auto; border-bottom: none;
}
.navbar .dropdown ul a:hover, .navbar .dropdown ul li:hover > a { color: var(--primary); background: var(--primary-lt); }
.navbar .dropdown:hover > ul,
.navbar .dropdown:focus-within > ul {
  opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
}

/* Mobile nav toggle */
.mobile-nav-toggle {
  color: var(--navy); font-size: 26px; cursor: pointer;
  display: none; line-height: 0; transition: var(--transition);
}
.mobile-nav-toggle.bi-x { color: #fff; }
@media (max-width: 991px) {
  .mobile-nav-toggle { display: block; }
  .navbar ul { display: none; }
}
.navbar-mobile {
  position: fixed; overflow: hidden; inset: 0;
  background: rgba(30,45,64,.95); transition: var(--transition); z-index: 9998;
}
.navbar-mobile .mobile-nav-toggle { position: absolute; top: 16px; right: 16px; }
.navbar-mobile ul {
  display: block; position: absolute;
  top: 60px; right: 15px; bottom: 15px; left: 15px;
  padding: 12px 0; border-radius: var(--radius-lg);
  background: var(--white); overflow-y: auto;
}
.navbar-mobile li { height: auto; }
.navbar-mobile a, .navbar-mobile a:focus {
  height: auto; padding: 11px 22px; font-size: 14.5px;
  color: var(--navy); border-bottom: none;
}
.navbar-mobile a:hover, .navbar-mobile .active, .navbar-mobile li:hover > a { color: var(--primary); background: var(--primary-lt); }
.navbar-mobile .dropdown ul { position: static; display: none; margin: 0 16px; border-radius: var(--radius-sm); opacity: 1; visibility: visible; border-top: none; }
.navbar-mobile .dropdown ul a { padding: 9px 22px; font-size: 13.5px; }
.navbar-mobile .dropdown > .dropdown-active { display: block; }

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
  padding: 24px 0 20px;
  background: var(--navy);
  margin-top: var(--offset);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.breadcrumbs::after {
  content: '';
  position: absolute; bottom: -1px; left: 0; right: 0;
  height: 24px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
@media (max-width: 992px) { .breadcrumbs { margin-top: calc(var(--topbar-h) + 60px); } }
.breadcrumbs h2 { font-size: 24px; font-weight: 800; color: #fff; margin: 0; }
.breadcrumbs ol {
  display: flex; flex-wrap: wrap; list-style: none;
  padding: 0 0 6px 0; margin: 0; font-size: 13px;
}
.breadcrumbs ol a { color: rgba(255,255,255,.72); }
.breadcrumbs ol a:hover { color: var(--primary); }
.breadcrumbs ol li + li { padding-left: 10px; }
.breadcrumbs ol li + li::before { display: inline-block; padding-right: 10px; color: var(--primary); content: "/"; }

/* Contain page content below fixed header */
#main { position: relative; z-index: 1; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  width: 100%; min-height: 100vh;
  padding-top: calc(var(--offset) + 32px);
  padding-bottom: 60px;
  display: flex; align-items: center;
}
#hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-md) 55%, #2c4a6e 100%);
}
.hero h1 { font-size: 52px; font-weight: 900; color: #fff; line-height: 1.1; }
.hero h1 span { color: var(--primary); }
.hero h2 { color: rgba(255,255,255,.75); font-size: 20px; font-weight: 400; margin: 16px 0 0; line-height: 1.65; }
.hero p { color: rgba(255,255,255,.7); }

.hero .btn-get-started {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 32px; padding: 14px 36px;
  border-radius: var(--radius); background: var(--primary);
  color: #fff; font-family: "Nunito",sans-serif; font-weight: 700; font-size: 16px;
  box-shadow: 0 8px 24px rgba(249,115,22,.4);
  transition: all var(--transition);
}
.hero .btn-get-started:hover { background: var(--primary-dk); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(249,115,22,.5); color: #fff; }
.hero .btn-get-started i { transition: transform var(--transition); }
.hero .btn-get-started:hover i { transform: translateX(4px); }

.hero .btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 32px; margin-left: 14px; padding: 13px 30px;
  border-radius: var(--radius); border: 2px solid rgba(255,255,255,.45);
  color: #fff; font-weight: 600; transition: all var(--transition);
}
.hero .btn-white:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.7); color: #fff; }

@media (max-width: 991px) {
  .hero { padding-top: calc(var(--topbar-h) + 64px); }
  .hero h1 { font-size: 34px; }
  .hero .hero-img { text-align: center; margin-top: 48px; }
  .hero .hero-img img { width: 80%; }
}
@media (max-width: 768px) {
  .hero { text-align: center; }
  .hero h1 { font-size: 28px; }
  .hero h2 { font-size: 16px; }
  .hero .btn-white { margin-left: 0; margin-top: 12px; }
  .hero .hero-img img { width: 100%; }
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about .content {
  background: var(--primary-lt);
  padding: 48px; border-radius: var(--radius-lg);
  border-left: 5px solid var(--primary);
}
.about h3 { font-size: 12px; font-weight: 800; color: var(--primary); text-transform: uppercase; letter-spacing: 1.5px; }
.about h2 { font-size: 28px; color: var(--navy); margin-top: 6px; }
.about p { color: var(--text); line-height: 1.8; margin: 16px 0 28px; }
.about .btn-read-more {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 32px; border-radius: var(--radius);
  background: var(--primary); color: #fff;
  font-family: "Nunito",sans-serif; font-weight: 700;
  box-shadow: 0 4px 16px rgba(249,115,22,.3);
  transition: all var(--transition);
}
.about .btn-read-more:hover { background: var(--primary-dk); transform: translateY(-2px); color: #fff; }
.about .btn-read-more i { transition: transform var(--transition); }
.about .btn-read-more:hover i { transform: translateX(4px); }

/* ============================================================
   COUNTS (QUOTE AREA)
   ============================================================ */
.counts { padding: 56px 0; background: var(--primary-lt); }
.counts .count-box {
  display: flex; align-items: center; padding: 28px;
  background: var(--white); box-shadow: var(--shadow);
  border-radius: var(--radius); gap: 16px;
  transition: all var(--transition);
}
.counts .count-box:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.counts .count-box i { font-size: 40px; color: var(--primary); flex-shrink: 0; }
.counts .count-box span { font-size: 34px; display: block; font-weight: 800; color: var(--navy); line-height: 1; }
.counts .count-box p { margin: 4px 0 0; font-size: 13px; color: var(--text-muted); }

/* ============================================================
   VALUES / FEATURE BOXES
   ============================================================ */
.values .box {
  padding: 32px 28px; text-align: center;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); height: 100%;
  transition: all var(--transition);
  border-top: 4px solid transparent;
}
.values .box:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-top-color: var(--primary); }
.values .box img { max-height: 100px; margin-bottom: 16px; transition: transform var(--transition); }
.values .box:hover img { transform: scale(1.05); }
.values .box h3 { font-size: 20px; color: var(--navy); margin-bottom: 10px; }
.values .box p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin: 0; }

/* ============================================================
   FEATURES
   ============================================================ */
.features .feature-box {
  padding: 22px 20px; border-radius: var(--radius);
  box-shadow: var(--shadow); height: 100%;
  transition: all var(--transition);
}
.features .feature-box:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.features .feature-box h3 { font-size: 16px; color: var(--navy); margin: 0; }
.features .feature-box i {
  line-height: 0; background: var(--primary-lt); color: var(--primary);
  padding: 5px; margin-right: 10px; font-size: 22px; border-radius: 6px;
  transition: all var(--transition);
}
.features .feature-box:hover i { background: var(--primary); color: #fff; }

/* ============================================================
   SERVICES CARDS
   ============================================================ */
.services .service-box {
  padding: 28px 24px; border-radius: var(--radius);
  box-shadow: var(--shadow); height: 100%;
  border-bottom: 4px solid transparent;
  transition: all var(--transition); background: var(--white);
}
.services .service-box:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-bottom-color: var(--primary); }
.services .service-box h3 { font-size: 19px; color: var(--navy); margin-bottom: 10px; }
.services .service-box h3 a { color: var(--navy); }
.services .service-box h3 a:hover { color: var(--primary); }
.services .service-box h4 { font-size: 13px; color: var(--text-muted); font-weight: 600; }
.services .service-box p { font-size: 14px; color: var(--text); line-height: 1.7; margin-bottom: 16px; }
.services .service-box .card-image { border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 14px; }
.services .service-box .card-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius-sm); }
.services .service-box.blue,
.services .service-box.orange { border-bottom-color: var(--primary); }
.services .service-box .read-more {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary); font-weight: 700; font-size: 13.5px;
  transition: gap var(--transition);
}
.services .service-box .read-more:hover { gap: 10px; }

/* ============================================================
   TEAM SECTION
   ============================================================ */
.team { background: var(--bg); }
.team .member {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; height: 100%;
  transition: all var(--transition); text-align: center;
}
.team .member:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); }
.team .member .member-img { overflow: hidden; position: relative; }
.team .member .member-img img { width: 100%; aspect-ratio: 1/1; object-fit: cover; transition: transform .5s ease; }
.team .member:hover .member-img img { transform: scale(1.06); }
.team .member .member-info { padding: 20px 16px 22px; }
.team .member .member-info h4 { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.team .member .member-info span { font-size: 13px; color: var(--primary); font-weight: 600; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--navy); padding: 72px 0; }
.testimonials .section-header h2 { color: var(--primary); }
.testimonials .section-header p { color: rgba(255,255,255,.9); }
.testimonials .testimonial-item {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 32px 28px; text-align: center;
}
.testimonials .testimonial-item p { color: rgba(255,255,255,.85); font-size: 15px; line-height: 1.8; }
.testimonials .testimonial-item .stars i { color: #FCD34D; font-size: 16px; }
.testimonials .testimonial-item .profile { margin-top: 20px; }
.testimonials .testimonial-item .profile img { width: 60px; height: 60px; border-radius: 50%; border: 3px solid var(--primary); margin-bottom: 10px; object-fit: cover; }
.testimonials .testimonial-item .profile h3 { font-size: 16px; color: #fff; margin: 0; }
.testimonials .swiper-pagination-bullet { background: rgba(255,255,255,.4); }
.testimonials .swiper-pagination-bullet-active { background: var(--primary); }

/* ============================================================
   RECENT BLOG POSTS (homepage)
   ============================================================ */
.recent-blog-posts { background: var(--bg); }
.post-box {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; height: 100%;
  display: flex; flex-direction: column;
  transition: all var(--transition);
}
.post-box:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.post-box .post-img { overflow: hidden; }
.post-box .post-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .5s ease; }
.post-box:hover .post-img img { transform: scale(1.04); }
.post-box .post-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-box .post-date {
  display: inline-block; font-size: 11.5px; font-weight: 700;
  color: var(--primary); background: var(--primary-lt);
  padding: 3px 10px; border-radius: 20px; margin-bottom: 10px;
  letter-spacing: .5px; text-transform: uppercase;
}
.post-box .post-title { font-size: 17px; color: var(--navy); font-weight: 700; line-height: 1.4; flex: 1; margin-bottom: 16px; }
.post-box .readmore {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary); font-weight: 700; font-size: 13.5px;
  transition: gap var(--transition);
}
.post-box .readmore:hover { gap: 10px; }

/* ============================================================
   BLOG LIST PAGE
   ============================================================ */
.blog { background: var(--bg); }

/* Blog card grid item */
.blog-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  display: flex; flex-direction: column; height: 100%;
  transition: all var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.blog-card .blog-card-img { overflow: hidden; position: relative; }
.blog-card .blog-card-img img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  transition: transform .5s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card .blog-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.blog-card .blog-card-date {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 700; color: var(--primary);
  background: var(--primary-lt); padding: 3px 10px;
  border-radius: 20px; margin-bottom: 12px;
  width: fit-content; letter-spacing: .4px;
}
.blog-card h2 {
  font-size: 18px; line-height: 1.45; color: var(--navy); margin-bottom: 10px;
}
.blog-card h2 a { color: var(--navy); }
.blog-card h2 a:hover { color: var(--primary); }
.blog-card .blog-card-excerpt { font-size: 14px; color: var(--text-muted); line-height: 1.7; flex: 1; margin-bottom: 18px; }
.blog-card .blog-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border); padding-top: 14px; margin-top: auto;
}
.blog-card .blog-card-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13.5px; font-weight: 700; color: var(--primary);
  transition: gap var(--transition);
}
.blog-card .blog-card-link:hover { gap: 9px; }

/* Featured first post */
.blog-featured {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); overflow: hidden;
  display: flex; flex-direction: column;
  transition: all var(--transition); margin-bottom: 40px;
}
.blog-featured:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
@media (min-width: 768px) { .blog-featured { flex-direction: row; } }
.blog-featured .blog-featured-img { overflow: hidden; flex-shrink: 0; }
@media (min-width: 768px) { .blog-featured .blog-featured-img { width: 48%; } }
.blog-featured .blog-featured-img img {
  width: 100%; height: 100%; min-height: 260px;
  object-fit: cover; transition: transform .5s ease;
}
.blog-featured:hover .blog-featured-img img { transform: scale(1.04); }
.blog-featured .blog-featured-body { padding: 32px 36px; display: flex; flex-direction: column; justify-content: center; }
.blog-featured .blog-featured-label {
  display: inline-block; font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1px; color: var(--primary); background: var(--primary-lt);
  padding: 4px 12px; border-radius: 20px; margin-bottom: 14px;
}
.blog-featured h2 { font-size: 26px; line-height: 1.3; color: var(--navy); margin-bottom: 12px; }
.blog-featured h2 a { color: var(--navy); }
.blog-featured h2 a:hover { color: var(--primary); }
.blog-featured .blog-featured-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; display: flex; align-items: center; gap: 6px; }
.blog-featured p { font-size: 15px; color: var(--text); line-height: 1.75; margin-bottom: 24px; }
.blog-featured .btn-read {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: #fff;
  padding: 10px 24px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 14px;
  transition: all var(--transition);
  width: fit-content;
}
.blog-featured .btn-read:hover { background: var(--primary-dk); color: #fff; transform: translateX(3px); }

/* ============================================================
   BLOG LIST — entry cards (list page only, NOT detail)
   ============================================================ */
#blog .entry {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; margin-bottom: 36px;
  transition: all var(--transition);
}
#blog .entry:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
#blog .entry-img img { width: 100%; max-height: 320px; object-fit: cover; }
#blog .entry-body { padding: 28px 32px; }
#blog .entry-title { font-size: 22px; font-weight: 800; color: var(--navy); line-height: 1.3; margin-bottom: 14px; }
#blog .entry-title a { color: var(--navy); }
#blog .entry-title a:hover { color: var(--primary); }
#blog .entry-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 16px; padding: 0; }
#blog .entry-meta li { display: flex; align-items: center; gap: 5px; list-style: none; font-size: 13px; color: var(--text-muted); }
#blog .entry-meta li i { color: var(--primary); }
#blog .entry-meta a { color: var(--text-muted); }
#blog .entry-meta a:hover { color: var(--primary); }
#blog .entry-content { font-size: 14.5px; line-height: 1.8; color: var(--text); }
#blog .entry-content p { margin-bottom: 14px; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar { position: sticky; top: calc(var(--offset) + 24px); }
.sidebar-widget {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px; margin-bottom: 24px;
}
.sidebar-widget h3 {
  font-size: 16px; font-weight: 800; color: var(--navy);
  margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 3px solid var(--primary);
}
/* Legacy .sidebar-item compatibility */
.sidebar .sidebar-item {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px; margin-bottom: 20px;
}
.sidebar .sidebar-item h3 {
  font-size: 16px; font-weight: 800; color: var(--navy);
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 3px solid var(--primary);
}
.sidebar .sidebar-item .search-form input {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  border-right: none; border-color: var(--border);
}
.sidebar .sidebar-item .search-form button {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--primary); border-color: var(--primary); color: #fff;
}

/* ============================================================
   BLOG PAGINATION
   ============================================================ */
.blog-pagination { margin-top: 40px; text-align: center; }
.pagination { justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pagination li { list-style: none; }
.pagination li a {
  display: flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 10px;
  background: var(--white); color: var(--navy);
  border-radius: var(--radius-sm); font-weight: 700; font-size: 13.5px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.pagination li a:hover, .pagination li.active a {
  background: var(--primary); color: #fff; border-color: var(--primary);
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-item { overflow: hidden; border-radius: var(--radius); }
.gallery-item img { border-radius: var(--radius); transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-info { background: rgba(249,115,22,.88) !important; border-radius: var(--radius); }

/* ============================================================
   CALENDAR (Kegiatan)
   ============================================================ */
.calendar-container { background: var(--white); padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); }
.simple-calendar th { background-color: var(--navy); color: white; padding: 14px 8px; border-radius: 0; }
.simple-calendar th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.simple-calendar th:last-child  { border-radius: 0 var(--radius-sm) 0 0; }
.simple-calendar .today { background-color: var(--primary-lt) !important; border: 2px solid var(--primary); }
.simple-calendar .event.kegiatan { background-color: var(--primary); color: white; border-radius: 4px; }
.simple-calendar .event.jumat    { background-color: var(--success); color: white; border-radius: 4px; }
.calendar-header h3 { color: var(--navy); font-size: 1.4rem; }
.calendar-nav button { background: var(--navy); color: #fff; border: none; border-radius: var(--radius-sm); padding: 9px 18px; cursor: pointer; font-weight: 600; transition: background var(--transition); }
.calendar-nav button:hover { background: var(--navy-md); }
.calendar-nav .today-btn { background: var(--text-muted); }
.calendar-nav .today-btn:hover { background: #4B5563; }

/* ============================================================
   PRAYER SCHEDULE
   ============================================================ */
.prayer-time-card { border-left: 4px solid var(--primary) !important; border-radius: var(--radius) !important; }
.prayer-active { background: var(--primary) !important; color: #fff !important; border-color: var(--primary-dk) !important; }

/* ============================================================
   QIBLA CARD
   ============================================================ */
.qibla-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-md) 55%, #1a4a7a 100%);
  border-radius: var(--radius-lg); padding: 36px;
  text-align: center; color: #fff;
  box-shadow: var(--shadow-lg);
}
.qibla-card h3 { color: #fff; margin-bottom: 24px; }

/* ── Kirim Pesan ── */
.php-email-form button[type="submit"] {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dk) 100%);
  border: 0;
  padding: 13px 40px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border-radius: 50px;
  box-shadow: 0 4px 18px rgba(249, 115, 22, 0.45);
  cursor: pointer;
  min-width: 170px;
}
.php-email-form button[type="submit"]:hover {
  background: linear-gradient(135deg, var(--primary-dk) 0%, #d45f00 100%);
  box-shadow: 0 8px 28px rgba(249, 115, 22, 0.55);
  transform: translateY(-2px);
}
.php-email-form button[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
}

/* ============================================================
   DONATION / FORM CARD
   ============================================================ */
.form-card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 36px;
  border-top: 5px solid var(--primary);
}
.form-card .form-label { font-weight: 600; color: var(--navy); font-size: 14px; margin-bottom: 6px; }
.form-control {
  border-radius: var(--radius-sm); border-color: var(--border);
  padding: 10px 14px; font-size: 14.5px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(249,115,22,.15); }
.form-select { border-radius: var(--radius-sm); border-color: var(--border); }
.form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(249,115,22,.15); }

.pay-method-btn { border-color: var(--border) !important; border-radius: var(--radius-sm) !important; transition: all var(--transition) !important; }
.pay-method-btn:hover { border-color: var(--primary) !important; background: var(--primary-lt) !important; }
.pay-method-btn.selected { border-color: var(--primary) !important; background: var(--primary-lt) !important; }

/* ============================================================
   BUTTONS (global)
   ============================================================ */
.btn-primary { background: var(--primary); border-color: var(--primary); border-radius: var(--radius-sm); font-weight: 700; transition: all var(--transition); }
.btn-primary:hover, .btn-primary:focus { background: var(--primary-dk); border-color: var(--primary-dk); transform: translateY(-1px); }
.btn-outline-primary { color: var(--primary); border-color: var(--primary); border-radius: var(--radius-sm); font-weight: 700; }
.btn-outline-primary:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-success  { background: var(--success); border-color: var(--success); border-radius: var(--radius-sm); font-weight: 700; }
.btn-success:hover { background: #15803d; border-color: #15803d; }

/* ============================================================
   CARD (Bootstrap override)
   ============================================================ */
.card { border: none; border-radius: var(--radius); box-shadow: var(--shadow); }
.card-body { padding: 24px; }

/* ============================================================
   TABLE (Fasilitas, etc.)
   ============================================================ */
.table { border-radius: var(--radius); overflow: hidden; }
.table thead th { background: var(--navy); color: #fff; border-color: var(--navy-md); font-size: 13.5px; }
.table-striped > tbody > tr:nth-of-type(odd) { background: var(--bg); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy); color: rgba(255,255,255,.72); font-size: 14px; }
.footer .footer-top { padding: 64px 0 32px; border-bottom: 1px solid rgba(255,255,255,.09); }
.footer .footer-info p { color: rgba(255,255,255,.65); line-height: 1.8; margin-top: 12px; }
.footer h4 {
  font-size: 15px; font-weight: 800; color: #fff; margin-bottom: 16px;
  padding-bottom: 8px;
  background: linear-gradient(to right, var(--primary) 40%, transparent 40%) bottom/100% 2px no-repeat;
  display: inline-block;
}
.footer .footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer .footer-links ul li { padding: 5px 0; }
.footer .footer-links ul li::before { content: "›"; color: var(--primary); margin-right: 6px; font-weight: 700; }
.footer .footer-links ul li a { color: rgba(255,255,255,.62); transition: color var(--transition); }
.footer .footer-links ul li a:hover { color: var(--primary); }
.footer .footer-contact p { color: rgba(255,255,255,.65); line-height: 1.9; }
.footer .copyright { text-align: center; padding: 20px 0 4px; color: rgba(255,255,255,.5); }
.footer .copyright strong { color: rgba(255,255,255,.85); }
.footer .credits { text-align: center; padding: 0 0 20px; font-size: 12.5px; color: rgba(255,255,255,.38); }
.footer .credits a { color: var(--primary); }
.footer .social-links a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.7);
  margin-right: 6px; font-size: 15px; transition: all var(--transition);
}
.footer .social-links a:hover { background: var(--primary); color: #fff; }

/* ============================================================
   MEDIUM-STYLE BLOG DETAIL
   ============================================================ */

/* Reading progress bar — fixed at very top, sits above topbar */
.reading-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--primary); z-index: 9999;
  transition: width .1s linear;
  border-radius: 0 2px 2px 0;
}

/* Article outer wrapper — no padding, lets hero bleed full-width */
.medium-article-wrap {
  background: var(--white);
}

/* Hero — full-width image, no border-radius */
.medium-hero {
  width: 100%; max-height: 560px; overflow: hidden;
  background: var(--navy);
}
.medium-hero img {
  width: 100%; height: 100%; max-height: 560px;
  object-fit: cover; display: block;
}
.medium-hero-caption {
  text-align: center; font-size: 13px;
  color: var(--text-muted); padding: 8px 0 0;
  font-style: italic;
}

/* Article inner container — narrow column like Medium */
.medium-header {
  padding: 44px 0 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

/* Top meta line — date · read time */
.medium-topmeta {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  margin-bottom: 20px;
}
.medium-topmeta .medium-tag {
  display: inline-block; font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--primary); background: var(--primary-lt);
  padding: 4px 12px; border-radius: 20px;
}
.medium-topmeta .medium-dot { color: var(--text-light); font-size: 16px; }
.medium-topmeta .medium-readtime { font-size: 13px; color: var(--text-muted); }
.medium-topmeta .medium-date    { font-size: 13px; color: var(--text-muted); }

/* Title */
.medium-title {
  font-size: 38px; font-weight: 900; color: var(--navy);
  line-height: 1.18; margin-bottom: 24px; letter-spacing: -.5px;
}
@media (max-width: 768px) { .medium-title { font-size: 26px; letter-spacing: -.2px; } }

/* Author row */
.medium-author-row {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 20px;
}
.medium-author-avatar {
  width: clamp(40px, 8vw, 50px);
  height: clamp(40px, 8vw, 50px);
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-dk));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: clamp(0.8rem, 2vw, 1rem);
  letter-spacing: -.2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.medium-author-info { line-height: 1.35; }
.medium-author-info strong { font-size: 14.5px; color: var(--navy); font-weight: 700; }
.medium-author-info span   { font-size: 13px; color: var(--text-muted); display: block; }

/* Share bar */
.medium-share-bar {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 14px 0; border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.medium-share-bar span { font-size: 13px; color: var(--text-muted); margin-right: 4px; }
.medium-share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: 24px; font-size: 13px; font-weight: 600;
  border: 1.5px solid var(--border); color: var(--text);
  background: var(--white); transition: all var(--transition); cursor: pointer;
}
.medium-share-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-lt); }
.medium-share-btn.wa   { border-color: #22c55e; color: #16a34a; }
.medium-share-btn.wa:hover { background: #f0fdf4; }
.medium-share-btn.copy.copied { border-color: var(--primary); color: var(--primary); background: var(--primary-lt); }

/* ── Body Content ── */
.medium-content {
  font-size: 18.5px; line-height: 1.88;
  color: #1a1a1a; padding-bottom: 40px;
}
.medium-content p         { margin-bottom: 28px; }
.medium-content p:first-child { font-size: 20px; color: var(--navy); font-weight: 400; }
.medium-content h2        { font-size: 28px; font-weight: 800; color: var(--navy); margin: 44px 0 18px; }
.medium-content h3        { font-size: 22px; font-weight: 700; color: var(--navy); margin: 36px 0 14px; }
.medium-content h4        { font-size: 18px; font-weight: 700; color: var(--navy); margin: 28px 0 10px; }
.medium-content img       { max-width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); margin: 32px auto; display: block; }
.medium-content blockquote {
  margin: 32px 0; padding: 20px 28px;
  border-left: 4px solid var(--primary);
  background: var(--primary-lt); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 20px; color: var(--navy); font-style: italic;
}
.medium-content blockquote p { margin-bottom: 0; font-size: 20px; }
.medium-content ul, .medium-content ol { margin-bottom: 28px; padding-left: 28px; }
.medium-content li   { margin-bottom: 8px; }
.medium-content a    { color: var(--primary); border-bottom: 1px solid rgba(249,115,22,.3); transition: border-color var(--transition); }
.medium-content a:hover { border-bottom-color: var(--primary); }
.medium-content figure { margin: 40px 0; }
.medium-content figure figcaption { text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 10px; font-style: italic; }

/* ── End divider ── */
.medium-divider {
  text-align: center; margin: 48px 0 40px;
  color: var(--text-light); font-size: 24px; letter-spacing: 8px;
  user-select: none;
}

/* ── Author card (end of article) ── */
.medium-author-card {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--bg); border-radius: var(--radius-lg);
  padding: 28px 32px; margin-bottom: 48px;
  border: 1px solid var(--border);
}
.medium-author-card .avatar {
  width: clamp(52px, 10vw, 72px);
  height: clamp(52px, 10vw, 72px);
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-dk));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  overflow: hidden;
  white-space: nowrap;
}
.medium-author-card .info h4  { font-size: clamp(15px, 2.5vw, 18px); font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.medium-author-card .info p   { font-size: 14px; color: var(--text-muted); margin: 0 0 8px; line-height: 1.65; }
.medium-author-card .info a   { font-size: 13px; color: var(--primary); font-weight: 600; }
@media (max-width: 576px) {
  .medium-author-card { flex-direction: column; align-items: center; text-align: center; }
}

/* ── Related Posts section ── */
.related-posts-section {
  background: var(--bg);
  padding: 72px 0 80px;
  border-top: 1px solid var(--border);
}
.related-posts-section .section-label {
  font-size: 12px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 2px; color: var(--primary); margin-bottom: 6px;
}
.related-posts-section h2 {
  font-size: 28px; font-weight: 900; color: var(--navy); margin-bottom: 36px;
}

/* ============================================================
   DISABLE AOS DELAY — MOBILE
   ============================================================ */
@media screen and (max-width: 768px) { [data-aos-delay] { transition-delay: 0 !important; } }
