.my-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  background-position: center;
  background-size: cover;
  height: 100vh;
}
.hover-zoom {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform-origin: center center;
}

/* Basic Zoom Effect */
.zoom {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform-origin: center center;
  display: inline-block; /* Ensures the transform takes effect */
}

/* 🌿 Subtle, Professional Zoom */
.zoom {
  position: relative;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  transform-origin: center center;
  z-index: 0;
  cursor: zoom-in;
}

.zoom:hover {
  transform: scale(1.4); /* Smooth and elegant zoom level */
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  z-index: 999;
}

/* Ensure zoomed item stays visible */
.wp-block-column,
.wp-block-group {
  overflow: visible !important;
}
/* 💎 Style Zoom — Elegant Hover with Stylish Lift & Glow */
.stylezoom {
  position: relative;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1),
              box-shadow 0.6s ease,
              filter 0.6s ease;
  transform-origin: center center;
  z-index: 0;
  cursor: pointer;
  will-change: transform;
}

.stylezoom:hover {
  transform: scale(1.22) translateY(-15px); /* stylish lift + soft zoom */
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.25),
              0 8px 20px rgba(0, 0, 0, 0.15),
              0 0 20px rgba(255, 255, 255, 0.1); /* layered depth */
  filter: brightness(1.08) contrast(1.05);
  z-index: 20;
}

/* Prevent cut-off in WordPress columns/groups */
.wp-block-column,
.wp-block-group {
  overflow: visible !important;
}
.oneline input[type="text"],
.oneline textarea {
  display: inline-block;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  resize: none;
  box-sizing: border-box;
  line-height: 1.4;
  padding: 8px 12px;
}
.cover {
  background: #ffffff;
  position: relative;
  border-radius: 12px;
  padding: 50px 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.principal-cover::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, transparent, #f6f6f6);
}
/* Shift About Us text right */
.about-text {
  padding-left: 50px !important;   /* You can adjust 50px to suit your need */
  box-sizing: border-box;
}

/* Optional: prevent overflow issues on mobile */
@media (max-width: 768px) {
  .about-text {
    padding-left: 20px !important;
  }
}
/* 🌿 Principal's Message Section — Premium Static Redesign */
.principal-message {
  background: linear-gradient(145deg, #fdfdfd, #f7f9fb);
  padding: 80px 70px;
  border-radius: 24px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
  font-family: "Poppins", sans-serif;
  position: relative;
  overflow: hidden;
}

/* Subtle decorative overlay */
.principal-message::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -40%;
  width: 80%;
  height: 180%;
  background: radial-gradient(circle at center, rgba(199,165,107,0.08), transparent 70%);
  transform: rotate(25deg);
  z-index: 0;
}

/* Content layers */
.principal-message .wp-block-group__inner-container,
.principal-message img {
  position: relative;
  z-index: 1;
}

/* Text Section */
.principal-message .wp-block-group__inner-container {
  flex: 1 1 55%;
  color: #2d2d2d;
}

/* Headings */
.principal-message h2,
.principal-message h3 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  color: #111;
  margin-bottom: 1rem;
  letter-spacing: 0.3px;
}

.principal-message h2 {
  font-size: 2.5rem;
  border-left: 6px solid #c7a56b;
  padding-left: 18px;
  line-height: 1.3;
}

.principal-message h3 {
  font-size: 1.45rem;
  color: #007a74;
}

/* Subheading (As-salamu alaykum) */
.principal-message p:first-of-type {
  color: #555;
  font-style: italic;
  font-size: 1.05rem;
  margin-bottom: 1.8rem;
}

/* Paragraphs */
.principal-message p {
  line-height: 1.85;
  margin-bottom: 1rem;
  font-size: 1.02rem;
  color: #333;
}

/* Qur’an Quote Box */
.principal-message blockquote {
  border-left: 4px solid #007a74;
  padding-left: 18px;
  margin: 2rem 0;
  background: #eefcfb;
  border-radius: 10px;
  color: #007a74;
  font-style: italic;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  transition: background 0.3s ease;
}

.principal-message blockquote:hover {
  background: #e4faf8;
}

/* Qur’an Reference */
.principal-message blockquote p:last-child {
  font-weight: 600;
  margin-top: 10px;
  font-style: normal;
}

/* Signature */
.principal-signature {
  font-family: "Great Vibes", cursive;
  color: #007a74;
  font-size: 1.7rem;
  margin-top: 1.5rem;
  letter-spacing: 0.5px;
}

/* Image — Static, clean, dignified */
.principal-message img {
  border-radius: 22px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  max-width: 100%;
  filter: brightness(1.03) contrast(1.02);
  transition: none;
  transform: none;
}

/* Scroll Appearance Animation */
@keyframes fadeSlideUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

.principal-message {
  animation: fadeSlideUp 0.8s ease-out both;
}

/* Responsive */
@media (max-width: 992px) {
  .principal-message {
    padding: 60px 40px;
    gap: 40px;
  }
  .principal-message h2 { font-size: 2rem; }
}

@media (max-width: 768px) {
  .principal-message {
    flex-direction: column;
    text-align: center;
    padding: 45px 25px;
  }
  .principal-message h2 {
    border: none;
    padding-left: 0;
    font-size: 1.8rem;
  }
  .principal-message blockquote {
    text-align: left;
  }
  .principal-message img {
    margin-top: 25px;
    width: 90%;
  }
}
/* 🌿 Reusable Typewriter Animation — Smart Cursor */
.typewriter {
  color: #555;
  font-style: italic;
  font-size: 1.1rem;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid rgba(0, 122, 116, 0.5);
  width: 0;
  display: inline-block;
  animation: 
    typewriter 3s steps(40, end) 0.5s forwards, 
    blinkCursor 0.9s step-end 0.5s 6 alternate; /* blink only 6 times */
}

/* Typing animation */
@keyframes typewriter {
  from { width: 0; }
  to { width: 100%; }
}

/* Soft blinking cursor */
@keyframes blinkCursor {
  50% { border-color: transparent; }
}
/* 🌿 Reusable Smooth Entrance Animation */
.soft-reveal {
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  animation: softReveal 1.6s cubic-bezier(0.19, 1, 0.22, 1) 0.3s forwards;
}

/* Keyframes */
@keyframes softReveal {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* ✨ Refined About Section */
.section-original {
  display: flex;
  align-items: stretch;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(245,245,245,0.93) 55%, #ffffff 100%), 
              url('your-image-url.jpg') 25% center / cover no-repeat; /* shifted slightly right */
  padding: 80px 60px;
  color: #222;
  font-family: "Poppins", sans-serif;
  position: relative;
  overflow: hidden;
}

/* Text block */
.section-original .content {
  width: 58%;
  z-index: 2;
  padding-right: 50px;
}

/* Subtle left image enhancement */
.section-original::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 42%;
  height: 100%;
  background: url('your-image-url.jpg') 25% center / cover no-repeat;
  filter: brightness(1.1) contrast(1.1) saturate(1.1);
  z-index: 1;
}

/* Improve readability */
.section-original h2,
.section-original p {
  text-shadow: 0 1px 3px rgba(255,255,255,0.7);
  line-height: 1.7;
}

/* Faint divider */
.section-original::after {
  content: "";
  position: absolute;
  left: 42%;
  top: 0;
  width: 1px;
  height: 100%;
  background: rgba(0,0,0,0.05);
}

/* 📱 Mobile adjustments */
@media (max-width: 900px) {
  .section-original {
    flex-direction: column;
    background: url('your-image-url.jpg') center/cover no-repeat;
    padding: 50px 25px;
  }

  .section-original::before,
  .section-original::after {
    display: none;
  }

  .section-original .content {
    width: 100%;
    background: rgba(255,255,255,0.9);
    padding: 20px;
    border-radius: 12px;
  }
}
/* ---------- HERO TEXT STYLES (Drop into Custom CSS) ---------- */

/* Main H1 / title container — you already applied .highlight-text */
.highlight-text {
  display: inline-block;
  background: rgba(0,0,0,0.46);       /* dark translucent pill */
  color: #fff !important;
  padding: 14px 30px;
  border-radius: 8px;
  backdrop-filter: blur(4px);         /* frosted look */
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.45); /* depth */
  border: 1px solid rgba(255,255,255,0.06); /* faint edge for separation */
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: none;
  line-height: 1;
}

/* Secondary heading (H2) — make it airy and readable */
.hero-subtitle {
  display: block;
  color: #ffffff;
  font-weight: 400;
  font-size: 34px;
  margin-top: 18px;
  margin-bottom: 12px;
  text-shadow: 0 6px 22px rgba(0,0,0,0.6); /* soft strong shadow for contrast */
  letter-spacing: 0.2px;
  max-width: 900px;
}

/* Short description under the headings */
.hero-desc {
  color: rgba(255,255,255,0.95);
  font-size: 15px;
  max-width: 900px;
  margin-top: 10px;
  line-height: 1.6;
  text-shadow: 0 3px 10px rgba(0,0,0,0.45);
}

/* Optional thin separator under H1 to add visual rhythm */
.highlight-text + .hero-subtitle::before {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, rgba(255,255,255,0.95), rgba(255,255,255,0.3));
  margin: 14px 0 6px;
  border-radius: 3px;
  opacity: 0.9;
}

/* Make sure the title stack is centered and constrained for hero areas */
.hero-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* change to center if you want centered text */
  gap: 8px;
  max-width: 1200px;
  padding: 40px 20px;
}

/* Responsive scaling for smaller screens */
@media (max-width: 991px) {
  .highlight-text { padding: 12px 18px; font-size: 30px; }
  .hero-subtitle { font-size: 26px; max-width: 520px; }
  .hero-desc { font-size: 14px; max-width: 520px; }
  .hero-wrapper { padding: 30px 18px; }
}

@media (max-width: 480px) {
  .highlight-text { display: block; padding: 10px 14px; font-size: 24px; width: auto; }
  .hero-subtitle { font-size: 20px; line-height: 1.15; }
  .hero-desc { font-size: 13px; }
  .highlight-text + .hero-subtitle::before { margin: 10px 0 6px; width: 48px; height: 3px; }
}

/* If you want the text aligned center on smaller screens, add this */
@media (max-width: 768px) {
  .hero-wrapper { align-items: center; text-align: center; }
}
.slider-content h2 {
    font-size: 32px;              /* Clean and visible */
    font-weight: 500;             /* Medium weight */
    color: #ffffff;               /* White text */
    margin-top: 10px;
    margin-bottom: 8px;
    letter-spacing: 0.5px;        /* Slightly premium look */
    text-shadow: 0 2px 4px rgba(0,0,0,0.35); /* Soft readability shadow */
}

.slider-content h3 {
    font-size: 18px;              /* Smaller subtitle */
    font-weight: 300;             /* Light, elegant */
    color: #f1f1f1;               /* Softer white */
    margin-top: 0;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4); /* Subtle for clarity */
    max-width: 750px;             /* Keeps long text neat */
}
.force-click {
  position: relative;
  z-index: 999;
}
.principal-message a,
.principal-message button {
  position: relative;
  z-index: 10;
}
.principal-message::before {
  pointer-events: none;
}
.principal-message img {
  pointer-events: none;
}
.principal-message {
  overflow: visible;
}
/* ==============================================/* ==================================================
   LATEST UPDATES — STYLISH / PREMIUM EDITION
   Modern • Calm • Editorial
================================================== */

.latest-updates-section {
  position: relative;
  padding: 90px 0 100px;
  background:
    linear-gradient(180deg, #fff8e6 0%, #ffffff 65%);
  overflow: hidden;
}

/* Ambient light wash (very modern) */
.latest-updates-section::before {
  content: "";
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 320px;
  background: radial-gradient(
    ellipse at center,
    rgba(255,183,3,0.18),
    transparent 70%
  );
  animation: ambientGlow 9s ease-in-out infinite;
  pointer-events: none;
}

@keyframes ambientGlow {
  0%   { opacity: 0.35; }
  50%  { opacity: 0.65; }
  100% { opacity: 0.35; }
}

/* =====================================
   HEADING — CLEAN & CONFIDENT
===================================== */

.latest-updates-section h2 {
  font-weight: 700;
  letter-spacing: 0.6px;
  position: relative;
  margin-bottom: 48px;
}

/* Stylish underline with depth */
.latest-updates-section h2::after {
  content: "";
  display: block;
  margin: 14px auto 0;
  width: 110px;
  height: 3px;
  background:
    linear-gradient(90deg,
      transparent,
      #ffb703,
      #f4c430,
      transparent
    );
  border-radius: 6px;
}

/* =====================================
   CARDS — FLOATING & SOFT
===================================== */

.latest-updates-section article,
.latest-updates-section .eael-grid-post {
  background: #ffffff;
  border-radius: 26px;
  overflow: hidden;
  box-shadow:
    0 25px 45px rgba(0,0,0,0.12),
    0 6px 14px rgba(0,0,0,0.06);
  transition:
    transform 0.55s cubic-bezier(.22,.61,.36,1),
    box-shadow 0.55s ease;
  position: relative;
}

/* Image = visual anchor */
.latest-updates-section img {
  height: 240px;
  width: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 1.2s ease;
}

/* Micro zoom on hover (premium feel) */
.latest-updates-section article:hover img,
.latest-updates-section .eael-grid-post:hover img {
  transform: scale(1.05);
}

/* Card lift */
.latest-updates-section article:hover,
.latest-updates-section .eael-grid-post:hover {
  transform: translateY(-14px);
  box-shadow:
    0 40px 80px rgba(0,0,0,0.18),
    0 10px 20px rgba(0,0,0,0.10);
}

/* =====================================
   TYPOGRAPHY — AIR & RHYTHM
===================================== */

.latest-updates-section h3 {
  font-weight: 700;
  margin: 20px 0 6px;
}

.latest-updates-section .entry-meta,
.latest-updates-section .eael-entry-meta {
  font-size: 13px;
  opacity: 0.65;
  margin-bottom: 10px;
}

.latest-updates-section p {
  line-height: 1.6;
  opacity: 0.85;
}

/* =====================================
   READ MORE — MODERN PILL
===================================== */

.latest-updates-section a.elementor-post__read-more,
.latest-updates-section .eael-read-more-button {
  background:
    linear-gradient(135deg, #ffb703, #ffd166);
  color: #000 !important;
  padding: 12px 30px;
  border-radius: 40px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.35s ease;
}

.latest-updates-section a.elementor-post__read-more:hover,
.latest-updates-section .eael-read-more-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.25);
}
/* ===============================
   VALUES SECTION – CLASSY EDITION
================================ */

.values-section {
  background: #faf8f3;
  padding: 80px 60px;
  border-radius: 28px;
}

/* Left text */
.values-section h2,
.values-section h3 {
  color: #1f1f1f;
}

.values-section p {
  color: #555;
  line-height: 1.7;
}

/* Cards container */
.values-section .wp-block-group,
.values-section .elementor-widget-container {
  display: flex;
  gap: 24px;
}

/* Individual value cards */
.values-section .value-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px 26px;
  box-shadow:
    0 10px 25px rgba(0,0,0,0.08);
  position: relative;
  transition: all 0.35s ease;
}

/* Accent line (classy touch) */
.values-section .value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 4px;
  background: #ffb703;
  border-radius: 4px 0 0 4px;
}

/* Hover = subtle lift */
.values-section .value-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 18px 40px rgba(0,0,0,0.12);
}

/* Icons */
.values-section .value-card svg,
.values-section .value-card img {
  width: 42px;
  margin-bottom: 14px;
  opacity: 0.9;
}

/* Titles */
.values-section .value-card h4 {
  font-weight: 700;
  margin-bottom: 6px;
  color: #222;
}

/* Descriptions */
.values-section .value-card p {
  font-size: 14px;
  color: #666;
}
/* =====================================
   UMMAH CALLOUT — CLASSY FINISH
===================================== */

.ummah-callout {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 42px 46px;
  border-radius: 24px;
  max-width: 540px;

  /* Soft depth */
  box-shadow:
    0 25px 50px rgba(0,0,0,0.18),
    0 6px 14px rgba(0,0,0,0.08);

  /* Quiet accent */
  border-left: 4px solid #ffb703;
  position: relative;
}

/* Decorative quote mark (this is the missing elegance) */
.ummah-callout::before {
  content: "“";
  position: absolute;
  top: 18px;
  left: 18px;
  font-family: 'Playfair Display', serif;
  font-size: 60px;
  color: rgba(255, 183, 3, 0.35);
  line-height: 1;
}

/* Heading refinement */
.ummah-callout h2,
.ummah-callout h3 {
  font-weight: 600;
  margin-bottom: 18px;
}

/* Quote text */
.ummah-callout p:first-of-type {
  font-size: 19px;
  font-style: italic;
  margin-bottom: 20px;
}

/* Body text */
.ummah-callout p {
  marble-bottom: 0;
  line-height: 1.75;
}

/* Gentle presence on hover (optional but classy) */
.ummah-callout {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.ummah-callout:hover {
  transform: translateY(-6px);
  box-shadow:
    0 35px 70px rgba(0,0,0,0.22),
    0 10px 22px rgba(0,0,0,0.12);
}

/* STOP HORIZONTAL SCROLL — ALL DEVICES */
html, body {
  max-width: 100%;
  overflow-x: hidden !important;
}
@media (max-width: 768px) {

  .top-header {
    padding: 6px 10px !important;
    font-size: 12px !important;
    line-height: 1.3;
  }

  .top-header a,
  .top-header span {
    font-size: 12px !important;
    word-break: break-word;
  }

}
@media (max-width: 768px) {

  .mobile-header {
    display: none !important;
  }

}
@media (max-width: 768px) {

  .header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 12px !important;
  }

}
@media (max-width: 768px) {

  .header .logo img {
    max-height: 38px !important;
    width: auto !important;
  }

}
@media (max-width: 768px) {

  .header .toggle,
  .header .menu-toggle {
    font-size: 22px !important;
    padding: 6px !important;
  }

}
@media (max-width: 768px) {

  .header .logo {
    margin: 0 !important;
    padding: 0 !important;
  }

}
/* ===== MOBILE FIX FOR HERO SLIDER ===== */
@media (max-width: 768px) {

  /* Ensure slider itself is not full height */
  .home-hero-slider {
    min-height: auto !important;
    height: auto !important;
    overflow: hidden !important;
  }

  /* Image must stay visible */
  .home-hero-slider img,
  .home-hero-slider .wp-block-cover__image-background {
    position: relative !important;
    z-index: 1 !important;
    height: auto !important;
    min-height: 220px !important;
    object-fit: cover !important;
  }

  /* THIS IS THE MAIN FIX: yellow overlay */
  .home-hero-slider .wp-block-cover__inner-container {
    position: absolute !important;
    bottom: 0 !important;
    left: 0;
    right: 0;

    min-height: unset !important;
    height: auto !important;
    max-height: 40% !important;

    padding: 12px 14px !important;
    background: rgba(255, 193, 7, 0.92) !important;

    z-index: 2 !important;
  }

}

}
/* =========================================
   GLOBAL MOBILE TEXT WIDTH FIX
   + SELECTED BLOCK MOBILE IMPROVEMENTS
========================================= */

@media (max-width: 768px) {

  /* 1️⃣ REMOVE DESKTOP WIDTH CONSTRAINTS */
  .entry-content,
  .container,
  .content-area,
  .wp-block-group,
  .wp-block-columns,
  .wp-block-column {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* 2️⃣ FIX SIDE PADDING (KEY FIX FOR YOUR ISSUE) */
  .entry-content,
  .wp-block-group,
  .wp-block-column {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* 3️⃣ ENSURE TEXT USES FULL WIDTH */
  .entry-content p,
  .entry-content h1,
  .entry-content h2,
  .entry-content h3,
  .entry-content h4 {
    max-width: 100% !important;
  }

  /* =====================================
     BLOCK-SPECIFIC FIX (if class is added)
     Class: mobile-fix-block
  ===================================== */

  .mobile-fix-block {
    position: relative;
    padding: 14px 10px !important;
    overflow: hidden;
    text-align: left;
  }

  /* Image */
  .mobile-fix-block img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 12px auto !important;
    position: relative;
    z-index: 1;
  }

  /* Overlay (Cover block background) */
  .mobile-fix-block .wp-block-cover__background {
    opacity: 0.55 !important;
  }

  /* Overlay via pseudo elements (if any) */
  .mobile-fix-block::before,
  .mobile-fix-block::after {
    opacity: 0.55 !important;
  }

  /* Text above overlay */
  .mobile-fix-block h1,
  .mobile-fix-block h2,
  .mobile-fix-block h3,
  .mobile-fix-block p,
  .mobile-fix-block .wp-block-button {
    position: relative;
    z-index: 2;
    max-width: 100% !important;
  }

  /* Headings size */
  .mobile-fix-block h1 { font-size: 22px !important; line-height: 1.3; }
  .mobile-fix-block h2 { font-size: 20px !i
.wp-block-image,
.wp-block-image img {
  position: relative;
  z-index: 5;
}

.overlay,
.decorative-shape,
.section::before {
  z-index: 0 !important;
}




