 @import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Playfair+Display:wght@700;800&family=Amiri:wght@400;700&display=swap');

 :root {
     --green: #003f2c;
     --green-2: #006a4a;
     --gold: #d9a94f;
     --cream: #f8f4ec;
     --paper: #fffdf8;
     --muted: #777064;
     --ink: #162119;
     --line: #e8e0d5;
 }

 * {
     box-sizing: border-box;
 }

 body {
     margin: 0;
     min-height: 100vh;
     background: #f4efe7;
     color: var(--ink);
     font-family: Manrope, Arial, sans-serif;
     letter-spacing: 0;
 }

 a {
     color: inherit;
     text-decoration: none;
 }

 i {
     line-height: 1;
 }

 .page {
     width: 100%;
     min-height: 100vh;
     background:
         radial-gradient(circle at 18% 35%, rgba(219, 169, 79, 0.16), transparent 24%),
         linear-gradient(180deg, #fbf8f1 0%, #f2eadf 100%);
 }

 .announcement-stack {
     display: grid;
     gap: 0;
     background: var(--green);
 }

 .announcement-bar {
     position: relative;
     overflow: hidden;
     white-space: nowrap;
     border-bottom: 1px solid rgba(255, 255, 255, 0.15);
     box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.08);
 }

 .announcement-bar::before,
 .announcement-bar::after {
     content: "";
     position: absolute;
     top: 0;
     bottom: 0;
     width: 90px;
     z-index: 2;
     pointer-events: none;
 }

 .announcement-bar::before {
     left: 0;
     background: linear-gradient(90deg, rgba(0, 63, 44, 1), rgba(0, 63, 44, 0));
 }

 .announcement-bar::after {
     right: 0;
     background: linear-gradient(270deg, rgba(0, 63, 44, 1), rgba(0, 63, 44, 0));
 }

 .prayer-announcement {
     background: linear-gradient(90deg, #003f2c, #006a4a);
     color: #fff;
 }

 .eid-announcement {
     background: linear-gradient(90deg, #d9a94f, #f0cf83);
     color: #123428;
 }

 .eid-announcement::before {
     background: linear-gradient(90deg, rgba(217, 169, 79, 1), rgba(217, 169, 79, 0));
 }

 .eid-announcement::after {
     background: linear-gradient(270deg, rgba(240, 207, 131, 1), rgba(240, 207, 131, 0));
 }

 .announcement-text {
     display: flex;
     width: max-content;
     font-size: 14px;
     line-height: 1.25;
     font-weight: 800;
     letter-spacing: 0;
     animation: announcement-slide 34s linear infinite;
 }

 .eid-announcement .announcement-text {
     font-size: 16px;
     animation-duration: 52s;
 }

 .announcement-group {
     display: flex;
     flex-shrink: 0;
 }

 .announcement-item {
     display: inline-flex;
     align-items: center;
     flex-shrink: 0;
     padding: 7px 32px;
 }

 .eid-announcement .announcement-item {
     padding-top: 8px;
     padding-bottom: 8px;
 }

 .announcement-text i {
     margin: 0 10px 0 24px;
     color: #e6c46d;
 }

 .eid-announcement .announcement-text i {
     color: #123428;
 }

 @keyframes announcement-slide {
     from {
         transform: translateX(0);
     }

     to {
         transform: translateX(-50%);
     }
 }

 .shell {
     width: 100%;
     margin: 0;
 }

 .site-card {
     position: relative;
     overflow: hidden;
     min-height: calc(100vh - 60px);
     border-radius: 0;
     background: var(--paper);
     box-shadow: 0 20px 45px rgba(68, 51, 24, 0.15);
 }

 .nav {
     height: 96px;
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 26px;
     padding: 0 32px 0 34px;
     background: rgba(255, 255, 255, 0.88);
     border-bottom: 1px solid rgba(34, 31, 25, 0.08);
     backdrop-filter: blur(16px);
     position: relative;
     z-index: 3;
 }

 .brand {
     display: flex;
     align-items: center;
     min-width: 255px;
     gap: 13px;
 }

 .brand img {
     width: 78px;
     height: 78px;
     object-fit: contain;
 }

 .brand-logo {
     width: 200px !important;
     height: 80px !important;
 }

 .brand-title {
     display: grid;
     gap: 3px;
 }

 .brand-title strong {
     color: var(--green);
     font-family: "Playfair Display", Georgia, serif;
     font-size: 28px;
     line-height: 1;
     font-weight: 800;
 }

 .brand-title span {
     font-size: 13px;
     font-weight: 800;
     letter-spacing: 0.8px;
     color: #303127;
 }

 .brand-title small {
     color: #445049;
     font-size: 10px;
     font-weight: 700;
     letter-spacing: 0.5px;
 }

 .menu {
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 30px;
     flex: 1;
     font-size: 13px;
     font-weight: 800;
 }

 .menu a {
     position: relative;
     padding: 38px 0;
     transition: color 0.22s ease;
 }

 .menu-item {
     position: relative;
 }

 .menu-item>a {
     display: inline-flex;
     align-items: center;
     gap: 6px;
 }

 .menu a:hover {
     color: var(--green-2);
 }

 .dropdown {
     position: absolute;
     left: 0;
     top: calc(100% - 14px);
     min-width: 150px;
     padding: 8px;
     border: 1px solid rgba(34, 31, 25, 0.08);
     border-radius: 8px;
     background: #fff;
     box-shadow: 0 18px 34px rgba(65, 52, 34, 0.14);
     opacity: 0;
     visibility: hidden;
     transform: translateY(8px);
     transition: 0.2s ease;
 }

 .dropdown a {
     display: block;
     padding: 10px 12px;
     border-radius: 6px;
     white-space: nowrap;
 }

 .dropdown a:hover {
     background: #f5f4ef;
 }

 .has-dropdown:hover .dropdown,
 .has-dropdown:focus-within .dropdown {
     opacity: 1;
     visibility: visible;
     transform: translateY(0);
 }

 .menu .active::after {
     content: "";
     position: absolute;
     left: 0;
     right: 0;
     bottom: 25px;
     height: 2px;
     background: var(--gold);
 }

 .actions {
     display: flex;
     align-items: center;
     gap: 14px;
 }

 .donate {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     gap: 9px;
     height: 43px;
     min-width: 142px;
     padding: 0 18px;
     border-radius: 7px;
     background: var(--green);
     color: #fff;
     box-shadow: 0 9px 18px rgba(0, 63, 44, 0.22);
     font-size: 13px;
     font-weight: 800;
     transition: 0.24s ease;
 }

 .donate:hover {
     background: #00543a;
     box-shadow: 0 16px 30px rgba(0, 63, 44, 0.26);
     transform: translateY(-2px);
 }

 .donate .coin {
     color: #e6c46d;
     font-size: 16px;
 }

 .search {
     width: 43px;
     height: 43px;
     display: grid;
     place-items: center;
     border: 1px solid var(--line);
     border-radius: 7px;
     background: #fff;
     font-size: 20px;
     transition: 0.24s ease;
     box-shadow: 0 8px 18px rgba(65, 52, 34, 0.05);
 }

 .search:hover {
     border-color: rgba(0, 63, 44, 0.32);
     box-shadow: 0 14px 24px rgba(65, 52, 34, 0.12);
     transform: translateY(-2px);
 }

 .hero {
     position: relative;
     min-height: 404px;
     display: grid;
     grid-template-columns: minmax(350px, 0.8fr) minmax(160px, 1fr) 260px 395px;
     align-items: center;
     gap: 18px;
     padding: 30px 32px 36px;
     isolation: isolate;
 }

 .hero::before {
     content: "";
     position: absolute;
     inset: 0;
     z-index: -3;
     background:
         linear-gradient(90deg, rgba(250, 244, 233, 0.98) 0%, rgba(250, 244, 233, 0.88) 25%, rgba(250, 244, 233, 0.08) 43%, rgba(250, 244, 233, 0.08) 68%, rgba(250, 244, 233, 0.9) 100%),
         url("images/hero.jpeg") center bottom / cover no-repeat;
     filter: saturate(0.82) sepia(0.22) brightness(1.08);
 }

 .hero::after {
     content: "";
     position: absolute;
     left: 0;
     right: 0;
     bottom: 0;
     height: 56%;
     z-index: -2;
     background: linear-gradient(0deg, rgba(231, 214, 188, 0.76), transparent 76%);
 }

 .content {
     align-self: end;
     padding-bottom: 3px;
 }

 .eyebrow {
     display: inline-flex;
     align-items: center;
     gap: 8px;
     padding: 9px 13px;
     border-radius: 7px;
     background: rgba(239, 226, 207, 0.94);
     color: #314037;
     font-size: 14px;
     font-weight: 800;
     margin-bottom: 14px;
 }

 h1 {
     margin: 0 0 8px;
     color: var(--green);
     font-family: "Playfair Display", Georgia, serif;
     font-size: clamp(42px, 4vw, 54px);
     line-height: 0.98;
     letter-spacing: 0;
 }

 .subtitle {
     margin: 0 0 21px;
     width: min(420px, 100%);
     color: #263228;
     font-size: 20px;
     line-height: 1.25;
     font-weight: 500;
 }

 .arabic {
     margin: 0 0 10px;
     font-family: Amiri, Georgia, serif;
     
     color: var(--green);
     font-size: 23px;
     line-height: 1.35;
 }

 .quote {
     width: min(390px, 100%);
     margin: 0 0 7px;
     color: #252a24;
     font-size: 13px;
     line-height: 1.55;
     font-weight: 500;
 }

 .ref {
     margin: 0 0 23px;
     color: #313830;
     font-size: 12px;
     font-weight: 700;
 }

 .hero-buttons {
     display: flex;
     align-items: center;
     gap: 18px;
 }

 .btn {
     height: 44px;
     display: inline-flex;
     align-items: center;
     justify-content: center;
     gap: 10px;
     border-radius: 7px;
     padding: 0 23px;
     font-size: 12px;
     font-weight: 800;
     border: 1px solid transparent;
     transition: 0.24s ease;
 }

 .btn.primary {
     background: var(--green);
     color: #fff;
     box-shadow: 0 10px 20px rgba(0, 63, 44, 0.2);
 }

 .btn.primary:hover {
     background: #00543a;
     box-shadow: 0 16px 30px rgba(0, 63, 44, 0.24);
     transform: translateY(-2px);
 }

 .btn.secondary {
     background: rgba(255, 255, 255, 0.86);
     border-color: #dacdbb;
     color: #18241c;
 }

 .btn.secondary:hover {
     background: #fff;
     border-color: rgba(0, 63, 44, 0.28);
     box-shadow: 0 14px 24px rgba(61, 47, 28, 0.12);
     transform: translateY(-2px);
 }

 .btn.secondary span,
 .btn.primary span {
     color: #cf9f42;
 }

 .center-photo-space {
     min-height: 300px;
 }

 .next-card {
     width: 245px;
     min-height: 220px;
     justify-self: end;
     margin-left: 0;
     margin-top: 34px;
     padding: 24px 21px 21px;
     border-radius: 9px;
     background:
         linear-gradient(140deg, rgba(0, 61, 43, 0.99), rgba(0, 88, 62, 0.98)),
         url("images/masjid1.jpg") center / cover;
     color: #fff;
      text-align: center;
     box-shadow: 0 18px 38px rgba(0, 54, 39, 0.28);
     overflow: hidden;
     transition: 0.28s ease;
     position: relative;
 }

 .next-card::before {
     content: "";
     position: absolute;
     inset: 0;
     background:
         radial-gradient(circle at 22% 16%, rgba(242, 198, 111, 0.12), transparent 30%),
         linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 42%);
     pointer-events: none;
 }

 .next-card:hover {
     transform: translateY(-4px);
     box-shadow: 0 24px 48px rgba(0, 54, 39, 0.34);
 }

 .next-card>* {
     position: relative;
     z-index: 1;
 }

 .next-card .top {
     display: flex;
     justify-content: flex-end;
     color: #e6c46d;
     font-size: 24px;
     line-height: 1;
     margin-bottom: 4px;
 }

 .next-card p {
     margin: 0;
     font-size: 14px;
     font-weight: 800;
 }

 .next-card h2 {
     margin: 10px 0 7px;
     font-family: "Playfair Display", Georgia, serif;
     font-size: 30px;
     line-height: 1;
 }

 .next-card small {
     display: block;
     margin-bottom: 12px;
     font-size: 13px;
     font-weight: 700;
 }

 .time {
     width: 100%;
     margin: 0 auto 9px;
     color: #f2c66f;
     font-family: "Playfair Display", Georgia, serif;
     font-size: clamp(31px, 2.55vw, 35px);
     line-height: 1;
     font-weight: 800;
     white-space: nowrap;
     letter-spacing: 0;
 }

 .labels {
     display: flex;
     justify-content: center;
     gap: 16px;
     margin-bottom: 17px;
     font-size: 10px;
     font-weight: 800;
     opacity: 0.92;
 }

 .next-foot {
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 12px;
     font-size: 10.8px;
     font-weight: 700;
     color: rgba(255, 255, 255, 0.9);
     white-space: nowrap;
 }

 .next-foot span {
     flex-shrink: 0;
 }

 .times-panel {
     align-self: center;
     margin: 0;
     padding: 26px 25px 23px;
     border-radius: 12px;
     background: rgba(255, 255, 255, 0.95);
     border: 1px solid rgba(219, 211, 199, 0.92);
     box-shadow: 0 18px 38px rgba(67, 54, 35, 0.14);
     transition: 0.28s ease;
 }

 .times-panel:hover {
     box-shadow: 0 24px 50px rgba(67, 54, 35, 0.18);
     transform: translateY(-3px);
 }

 .times-panel h3 {
     margin: 0 0 4px;
     font-size: 18px;
     line-height: 1.2;
     font-weight: 800;
 }

 .hijri {
     margin: 0 0 13px;
     color: #5e655f;
     font-size: 12px;
     font-weight: 700;
 }

 .rows {
     overflow: hidden;
     border-radius: 6px;
     margin-bottom: 17px;
 }

 .row {
     min-height: 38px;
     display: grid;
     grid-template-columns: 24px 1fr auto 1fr;
     align-items: center;
     gap: 8px;
     padding: 0 8px;
     color: #202720;
     font-size: 12px;
     font-weight: 800;
     transition: 0.2s ease;
     position: relative;
 }

 .row i {
     width: 17px;
      text-align: center;
     color: #07513c;
     font-size: 13px;
     opacity: 0.92;
 }

  .row:hover {
      background: #f5f4ef;
      transform: translateX(2px);
  }

  .row.header-row:hover {
      background: var(--green) !important;
      transform: none !important;
      color: #fff !important;
  }

 .row:nth-child(even) {
     background: #eceae2;
 }

 .row.active {
     background: #e1e5dc;
 }

 @keyframes pulse-green {
     0% {
         box-shadow: 0 0 0 0 rgba(0, 106, 74, 0.5);
     }

     70% {
         box-shadow: 0 0 0 7px rgba(0, 106, 74, 0);
     }

     100% {
         box-shadow: 0 0 0 0 rgba(0, 106, 74, 0);
     }
 }

 .row.active::after {
     content: "";
     position: absolute;
     right: 10px;
     top: 50%;
     transform: translateY(-50%);
     width: 7px;
     height: 7px;
     background-color: #006a4a;
     border-radius: 50%;
     animation: pulse-green 1.8s infinite;
 }

 .row:first-child {
     border-radius: 6px 6px 0 0;
 }

 .row:last-child {
     border-radius: 0 0 6px 6px;
 }

 .row span:nth-child(3),
 .row span:nth-child(4) {
     justify-self: center;
     font-weight: 600;

     color: #1f251f;
 }

 .panel-buttons {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 15px;
     margin-top: 19px;
 }

 .panel-buttons a {
     min-height: 52px;
     display: inline-flex;
     align-items: center;
     justify-content: center;
     gap: 10px;
     border: 1px solid #d8d0c3;
     border-radius: 8px;
     background: #fff;
     color: #29332b;
     font-size: 12.5px;
     font-weight: 800;
      text-align: center;
     padding: 0 15px;
     box-shadow: 0 8px 18px rgba(61, 47, 28, 0.06);
     transition: 0.22s ease;
 }

 .panel-buttons a i {
     color: #07513c;
     font-size: 16px;
 }

 .panel-buttons a:hover {
     background: #fbfaf6;
     border-color: rgba(0, 63, 44, 0.26);
     box-shadow: 0 16px 28px rgba(61, 47, 28, 0.13);
     transform: translateY(-2px);
 }

 .section {
     padding: 72px 6vw;
     width: 100%;
    
 }

 .section:nth-of-type(even) {
     background: #fbf7ef;
 }

 .section-copy {
     max-width: 650px;
 }

 .section-kicker {
     display: inline-flex;
     align-items: center;
     gap: 9px;
     margin-bottom: 14px;
     color: var(--green-2);
     font-size: 13px;
     font-weight: 800;
     text-transform: uppercase;
 }

 .section h2,
 .page-hero h1 {
     margin: 0 0 15px;
     color: var(--green);
     font-family: "Playfair Display", Georgia, serif;
     font-size: clamp(34px, 4vw, 56px);
     line-height: 1;
 }

 .section p,
 .page-hero p,
 .site-footer p {
     margin: 0;
     color: #485148;
     font-size: 16px;
     line-height: 1.75;
 }

 .intro-grid,
 .split-section,
 .page-hero {
     display: grid;
     grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
     align-items: center;
     gap: 42px;
 }

 .mini-actions {
     display: flex;
     gap: 14px;
     flex-wrap: wrap;
     margin-top: 28px;
 }

 .feature-panel,
 .feature-card,
 .deep-card,
 .info-card,
 .member-card,
 .gallery-card {
     border: 1px solid rgba(219, 211, 199, 0.92);
     border-radius: 10px;
     background: rgba(255, 255, 255, 0.94);
     box-shadow: 0 18px 36px rgba(67, 54, 35, 0.1);
 }

 .image-panel {
     overflow: hidden;
 }

 .image-panel img {
     width: 100%;
     height: 260px;
     display: block;
     object-fit: cover;
 }

 .image-panel div {
     display: grid;
     gap: 8px;
     padding: 22px;
 }

 .image-panel strong {
     color: var(--green);
     font-size: 21px;
     font-weight: 800;
 }

 .image-panel span {
     color: #586159;
     line-height: 1.55;
 }

 .feature-grid,
 .card-grid,
 .member-grid,
 .gallery-grid {
     display: grid;
     grid-template-columns: repeat(3, minmax(0, 1fr));
     gap: 24px;
 }

 .feature-card,
 .info-card,
 .member-card,
 .gallery-card {
     padding: 28px;
     transition: 0.24s ease;
 }

 .feature-card:hover,
 .info-card:hover,
 .member-card:hover,
 .gallery-card:hover {
     transform: translateY(-4px);
     box-shadow: 0 24px 46px rgba(67, 54, 35, 0.15);
 }

 .feature-card i,
 .info-card i,
 .member-avatar {
     width: 48px;
     height: 48px;
     display: grid;
     place-items: center;
     margin-bottom: 20px;
     border-radius: 9px;
     background: #eaf3ee;
     color: var(--green);
     font-size: 22px;
 }

 .feature-card h3,
 .info-card h3,
 .member-card h3,
 .gallery-card h3 {
     margin: 0 0 10px;
     color: #1b2a21;
     font-size: 21px;
     line-height: 1.2;
 }

 .deep-card {
     min-height: 320px;
     display: flex;
     flex-direction: column;
     justify-content: flex-end;
     padding: 34px;
     color: #fff;
     background:
         linear-gradient(145deg, rgba(0, 48, 34, 0.94), rgba(0, 91, 64, 0.82)),
         url("images/hero.jpeg") center / cover;
 }

 .deep-card span {
     color: #f2c66f;
     font-weight: 800;
 }

 .deep-card h2,
 .deep-card p {
     color: #fff;
 }

 .deep-card a {
     margin-top: 22px;
     color: #f2c66f;
     font-weight: 800;
 }

 .page-hero {
     position: relative;
     padding: 78px 6vw;
     isolation: isolate;
     overflow: hidden;
 }

 .page-hero::before {
     content: "";
     position: absolute;
     inset: 0;
     z-index: -2;
     background:
         linear-gradient(90deg, rgba(250, 244, 233, 0.98), rgba(250, 244, 233, 0.76), rgba(250, 244, 233, 0.2)),
         url("images/hero.jpeg") center / cover;
 }

 .page-badge {
     justify-self: end;
     width: min(100%, 340px);
     padding: 28px;
     border-radius: 10px;
     background: rgba(0, 63, 44, 0.94);
     color: #fff;
     box-shadow: 0 22px 44px rgba(0, 54, 39, 0.25);
 }

 .page-badge i {
     color: #f2c66f;
     font-size: 28px;
     margin-bottom: 18px;
 }

 .page-badge strong {
     display: block;
     margin-bottom: 8px;
     font-family: "Playfair Display", Georgia, serif;
     font-size: 30px;
 }

 .page-badge span {
     color: rgba(255, 255, 255, 0.84);
     line-height: 1.6;
 }

 .stat-strip {
     display: grid;
     grid-template-columns: repeat(4, 1fr);
     gap: 1px;
     background: #d8d0c3;
 }

 .stat {
     padding: 28px 6vw;
     background: #fffaf1;
 }

 .stat strong {
     display: block;
     color: var(--green);
     font-family: "Playfair Display", Georgia, serif;
     font-size: 34px;
 }

 .stat span {
     color: #5b625b;
     font-weight: 800;
 }

 .timetable {
     overflow: hidden;
     border: 1px solid var(--line);
     border-radius: 10px;
     background: #fff;
 }

 .time-line {
     display: grid;
     grid-template-columns: 1.1fr 1fr 1fr;
     gap: 12px;
     padding: 18px 22px;
     border-bottom: 1px solid var(--line);
     font-weight: 800;
 }

 .time-line.header {
     background: var(--green);
     color: #fff;
 }

 .time-line:last-child {
     border-bottom: 0;
 }

 .event-list {
     display: grid;
     gap: 18px;
 }

 .event-item {
     display: grid;
     grid-template-columns: 90px 1fr;
     gap: 20px;
     align-items: center;
     padding: 22px;
     border: 1px solid var(--line);
     border-radius: 10px;
     background: #fff;
 }

 .event-date {
     display: grid;
     place-items: center;
     min-height: 84px;
     border-radius: 8px;
     background: #eaf3ee;
     color: var(--green);
     font-weight: 800;
      text-align: center;
 }

 .event-date strong {
     display: block;
     font-size: 30px;
 }

 .gallery-card img {
     width: 100%;
     height: 180px;
     object-fit: cover;
     border-radius: 8px;
     margin-bottom: 18px;
 }

 .site-footer {
     background: #062f23;
     color: #fff;
     padding: 52px 6vw 24px;
 }

 .footer-main {
     display: grid;
     grid-template-columns: 1.4fr 1fr 1fr 1fr;
     gap: 34px;
     padding-bottom: 34px;
     border-bottom: 1px solid rgba(255, 255, 255, 0.14);
 }

 .footer-logo {
     width: 240px !important;
     height: 90px !important;
     object-fit: contain;
     background: #fff;
     border-radius: 8px;
     margin-bottom: 16px;
 }

 .site-footer h4 {
     margin: 0 0 14px;
     color: #f2c66f;
     font-size: 16px;
 }

 .site-footer a {
     display: block;
     margin-bottom: 10px;
     color: rgba(255, 255, 255, 0.82);
     font-weight: 700;
 }

 .site-footer p {
     color: rgba(255, 255, 255, 0.78);
 }

 .socials {
     display: flex;
     gap: 10px;
     margin-top: 14px;
 }

 .socials a {
     width: 38px;
     height: 38px;
     min-width: 38px;
     min-height: 38px;
     display: grid;
     place-items: center;
     margin: 0;
     border-radius: 50%;
     background: rgba(255, 255, 255, 0.1);
     border: 1px solid rgba(255, 255, 255, 0.18);
     flex-shrink: 0;
     transition: background 0.22s ease, transform 0.22s ease;
 }

 .socials a:hover {
     background: rgba(255, 255, 255, 0.2);
     transform: translateY(-2px);
 }

 .footer-bottom {
     display: flex;
     justify-content: space-between;
     gap: 18px;
     padding-top: 22px;
     color: rgba(255, 255, 255, 0.66);
     font-size: 13px;
     font-weight: 700;
 }

 .whatsapp {
     position: fixed;
     right: 22px;
     top: 156px;
     z-index: 9;
     width: 43px;
     height: 43px;
     display: grid;
     place-items: center;
     border-radius: 50%;
     background: #1dbd73;
     color: #fff;
     border: 4px solid rgba(255, 255, 255, 0.8);
     box-shadow: 0 12px 25px rgba(0, 0, 0, 0.16);
     font-size: 22px;
     font-weight: 800;
     transition: 0.24s ease;
 }

 .whatsapp:hover {
     background: #15a964;
     box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
     transform: translateY(-3px) scale(1.04);
 }

 @media (max-width: 1120px) {
     .menu {
         gap: 16px;
         font-size: 12px;
     }

     .brand-logo {
         width: 220px !important;
         height: 96px !important;
     }

     .hero {
         grid-template-columns: minmax(320px, 1fr) 205px 315px;
     }

     .center-photo-space {
         display: none;
     }
 }

 @media (max-width: 940px) {
     .site-card {
         border-radius: 0;
     }


     .nav {
         height: auto;
         flex-wrap: wrap;
         padding: 18px;
     }

     .menu {
         order: 3;
         flex-basis: 100%;
         justify-content: flex-start;
         overflow-x: auto;
         padding-bottom: 4px;
     }

     .menu a {
         padding: 10px 0;
     }

     .dropdown {
         top: 100%;
     }

     .menu .active::after {
         bottom: 3px;
     }

     .hero {
         grid-template-columns: 1fr;
         padding: 26px 18px;
     }

     .hero::before {
         background:
             linear-gradient(90deg, rgba(250, 244, 233, 0.98) 0%, rgba(250, 244, 233, 0.78) 45%, rgba(250, 244, 233, 0.18) 100%),
             url("images/hero.jpeg") center bottom / cover no-repeat;
     }

     .center-photo-space {
         display: none;
     }

     .next-card {
         width: min(100%, 320px);
         justify-self: start;
         margin: 0;
     }

     .times-panel {
         width: 100%;
     }

     .intro-grid,
     .split-section,
     .page-hero {
         grid-template-columns: 1fr;
     }

     .page-badge {
         justify-self: start;
     }

     .feature-grid,
     .card-grid,
     .member-grid,
     .gallery-grid,
     .footer-main {
         grid-template-columns: 1fr 1fr;
     }

     .stat-strip {
         grid-template-columns: 1fr 1fr;
     }
 }

 @media (max-width: 560px) {
     .brand {
         min-width: 100%;
     }

     .brand-logo {
         width: 210px !important;
         height: 86px !important;
     }

     .announcement-bar::before,
     .announcement-bar::after {
         width: 42px;
     }

     .announcement-text {
         font-size: 13px;
         animation-duration: 36s;
     }

     .eid-announcement .announcement-text {
         font-size: 14px;
         animation-duration: 46s;
     }

     .announcement-item {
         padding: 6px 22px;
     }

     .eid-announcement .announcement-item {
         padding-top: 7px;
         padding-bottom: 7px;
     }

     .brand-title strong {
         font-size: 24px;
     }

     .actions {
         width: 100%;
         justify-content: space-between;
     }

     .donate {
         flex: 1;
     }

     .hero-buttons,
     .panel-buttons {
         grid-template-columns: 1fr;
         display: grid;
     }

     .btn {
         width: 100%;
     }

     .row {
         grid-template-columns: 24px 1fr auto 1fr;
         font-size: 11px;
     }

     .whatsapp {
         right: 12px;
         top: auto;
         bottom: 14px;
     }

     .section,
     .page-hero {
         padding: 46px 18px;
     }

     .feature-grid,
     .card-grid,
     .member-grid,
     .gallery-grid,
     .footer-main,
     .stat-strip {
         grid-template-columns: 1fr;
     }

     .time-line,
     .event-item {
         grid-template-columns: 1fr;
     }

     .footer-bottom {
         flex-direction: column;
     }
 }

 /* --- Premium Islamic Aesthetic & Enhanced Component Styles --- */

 /* SVG Geometric Islamic Pattern Overlay */
 .islamic-pattern-bg {
     background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0 L60 30 L30 60 L0 30 Z M30 10 L50 30 L30 50 L10 30 Z' fill='none' stroke='%23d9a94f' stroke-width='0.5' opacity='0.08'/%3E%3C/svg%3E");
 }

 .islamic-pattern-dark {
     background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0 L60 30 L30 60 L0 30 Z M30 10 L50 30 L30 50 L10 30 Z' fill='none' stroke='%23d9a94f' stroke-width='0.5' opacity='0.12'/%3E%3C/svg%3E");
 }

 /* Hero / Callout Gradient Enhancements */
 .hero {
     background-color: #faf4e9 !important;
 }

 .page-hero {
     background-color: #faf4e9 !important;
     border-bottom: 2px solid rgba(217, 169, 79, 0.3);
 }

 /* Pulsing Dot for Active Row */
 @keyframes pulse-green {
     0% {
         box-shadow: 0 0 0 0 rgba(0, 106, 74, 0.4);
     }

     70% {
         box-shadow: 0 0 0 8px rgba(0, 106, 74, 0);
     }

     100% {
         box-shadow: 0 0 0 0 rgba(0, 106, 74, 0);
     }
 }


 /* Timeline Styles (About Page) */
 .timeline {
     position: relative;
     max-width: 800px;
     margin: 40px auto 0;
     padding: 0 20px;
 }

 .timeline::before {
     content: "";
     position: absolute;
     top: 0;
     bottom: 0;
     left: 31px;
     width: 2px;
     background: var(--line);
 }

 .timeline-item {
     position: relative;
     margin-bottom: 40px;
     padding-left: 60px;
 }

 .timeline-item::before {
     content: "\f017";
     font-family: "Font Awesome 6 Free";
     font-weight: 900;
     position: absolute;
     left: 17px;
     top: 2px;
     width: 30px;
     height: 30px;
     border-radius: 50%;
     background: var(--green);
     color: var(--gold);
     border: 2px solid var(--gold);
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 12px;
     z-index: 1;
 }

 .timeline-item.milestone::before {
     content: "\f005";
 }

 .timeline-year {
     font-family: "Playfair Display", Georgia, serif;
     font-size: 24px;
     font-weight: 800;
     color: var(--green);
     margin: 0 0 6px 0;
 }

 .timeline-content {
     background: #fff;
     border: 1px solid var(--line);
     border-radius: 8px;
     padding: 20px;
     box-shadow: 0 6px 16px rgba(0, 0, 0, 0.03);
 }

 .timeline-content h3 {
     margin: 0 0 8px 0;
     font-size: 18px;
     color: var(--ink);
 }

 /* FAQ Accordion Styles */
 .faq-accordion {
     max-width: 800px;
     margin: 40px auto 0;
     display: grid;
     gap: 15px;
 }

 .faq-item {
     border: 1px solid var(--line);
     border-radius: 8px;
     background: #fff;
     overflow: hidden;
     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
     transition: all 0.3s ease;
 }

 .faq-header {
     padding: 20px;
     display: flex;
     justify-content: space-between;
     align-items: center;
     cursor: pointer;
     font-weight: 700;
     font-size: 16px;
     color: var(--green);
     user-select: none;
     transition: background 0.2s ease;
 }

 .faq-header:hover {
     background: #faf7f2;
 }

 .faq-header i {
     transition: transform 0.3s ease;
     color: var(--gold);
 }

 .faq-body {
     max-height: 0;
     overflow: hidden;
     transition: max-height 0.3s ease-out;
     background: #fffdfb;
 }

 .faq-content {
     padding: 0 20px 20px 20px;
     font-size: 14.5px;
     line-height: 1.6;
     color: #485148;
     border-top: 1px solid rgba(0, 0, 0, 0.02);
 }

 .faq-item.open .faq-header i {
     transform: rotate(180deg);
 }

 .faq-item.open .faq-body {
     max-height: 300px;
 }

 /* Donation Widget Styles (Get Involved Page) */
 .donation-widget {
     max-width: 480px;
     margin: 0 auto;
     padding: 32px;
     background: #fff;
     border: 1px solid var(--line);
     border-radius: 12px;
     box-shadow: 0 20px 40px rgba(67, 54, 35, 0.08);
 }

 .donation-freq {
     display: grid;
     grid-template-columns: 1fr 1fr;
     background: #f5f0e6;
     padding: 4px;
     border-radius: 8px;
     margin-bottom: 24px;
 }

 .freq-btn {
     border: none;
     background: none;
     padding: 10px;
     border-radius: 6px;
     font-weight: 800;
     font-size: 13px;
     color: var(--muted);
     cursor: pointer;
     transition: all 0.22s ease;
 }

 .freq-btn.active {
     background: var(--green);
     color: #fff;
     box-shadow: 0 4px 10px rgba(0, 63, 44, 0.2);
 }

 .donation-grid {
     display: grid;
     grid-template-columns: repeat(4, 1fr);
     gap: 10px;
     margin-bottom: 20px;
 }

 .amount-btn {
     border: 1px solid var(--line);
     background: #fff;
     padding: 12px 6px;
     border-radius: 8px;
     font-weight: 800;
     font-size: 15px;
     color: var(--green);
     cursor: pointer;
     transition: all 0.2s ease;
 }

 .amount-btn:hover,
 .amount-btn.active {
     border-color: var(--gold);
     background: #fdfaf2;
     color: var(--gold);
 }

 .amount-btn.active {
     box-shadow: inset 0 0 0 2px var(--gold);
 }

 .custom-amount-input {
     position: relative;
     margin-bottom: 24px;
 }

 .custom-amount-input span {
     position: absolute;
     left: 14px;
     top: 50%;
     transform: translateY(-50%);
     font-weight: 800;
     color: var(--muted);
 }

 .custom-amount-input input {
     width: 100%;
     padding: 12px 12px 12px 30px;
     border: 1px solid var(--line);
     border-radius: 8px;
     font-size: 16px;
     font-weight: 700;
     outline: none;
     transition: border-color 0.25s ease;
 }

 .custom-amount-input input:focus {
     border-color: var(--green);
 }

 /* Generic Premium Form Fields */
 .form-group {
     margin-bottom: 20px;
     text-align: left;
 }

 .form-group label {
     display: block;
     margin-bottom: 8px;
     font-weight: 800;
     font-size: 12.5px;
     text-transform: uppercase;
     letter-spacing: 0.5px;
     color: var(--green);
 }

 .form-control {
     width: 100%;
     padding: 12px 14px;
     border: 1px solid var(--line);
     border-radius: 8px;
     background: #fff;
     color: var(--ink);
     font-size: 14px;
     font-weight: 600;
     outline: none;
     transition: all 0.24s ease;
 }

 .form-control:focus {
     border-color: var(--green);
     box-shadow: 0 0 0 3px rgba(0, 63, 44, 0.1);
 }

 textarea.form-control {
     min-height: 100px;
     resize: vertical;
 }

 .btn-submit {
     width: 100%;
     padding: 14px;
     border: none;
     border-radius: 8px;
     background: var(--green);
     color: #fff;
     font-weight: 800;
     font-size: 14px;
     cursor: pointer;
     box-shadow: 0 10px 20px rgba(0, 63, 44, 0.2);
     transition: all 0.25s ease;
 }

 .btn-submit:hover {
     background: #00543a;
     transform: translateY(-2px);
     box-shadow: 0 14px 28px rgba(0, 63, 44, 0.25);
 }

 /* Progress Bar (Get Involved Page) */
 .progress-container {
     background: #eceae2;
     border-radius: 20px;
     height: 14px;
     width: 100%;
     overflow: hidden;
     margin: 15px 0 8px;
 }

 .progress-bar {
     height: 100%;
     background: linear-gradient(90deg, var(--green), var(--gold));
     border-radius: 20px;
     transition: width 1s ease-in-out;
 }

 .progress-meta {
     display: flex;
     justify-content: space-between;
     font-size: 13px;
     font-weight: 800;
     color: var(--muted);
 }

 .progress-meta strong {
     color: var(--green);
 }

 /* Event Filter Styles (Events Page) */
 .filter-buttons {
     display: flex;
     justify-content: center;
     gap: 10px;
     margin-bottom: 35px;
     flex-wrap: wrap;
 }

 .btn-filter {
     border: 1px solid var(--line);
     background: #fff;
     padding: 10px 18px;
     border-radius: 20px;
     font-weight: 800;
     font-size: 12.5px;
     cursor: pointer;
     transition: all 0.22s ease;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.02);
 }

 .btn-filter.active,
 .btn-filter:hover {
     background: var(--green);
     color: #fff;
     border-color: var(--green);
     box-shadow: 0 8px 16px rgba(0, 63, 44, 0.15);
 }

 /* Interactive Madrasah Curriculum Tabs (Madrasah Page) */
 .curriculum-tabs {
     display: flex;
     justify-content: center;
     gap: 15px;
     margin-bottom: 30px;
 }

 .tab-btn {
     border: none;
     background: none;
     padding: 12px 24px;
     border-bottom: 3px solid transparent;
     font-weight: 800;
     font-size: 15px;
     color: var(--muted);
     cursor: pointer;
     transition: all 0.25s ease;
 }

 .tab-btn:hover,
 .tab-btn.active {
     color: var(--green);
 }

 .tab-btn.active {
     border-bottom-color: var(--gold);
 }

 .tab-content {
     display: none;
     animation: fadeIn 0.4s ease forwards;
 }

 .tab-content.active {
     display: block;
 }

 @keyframes fadeIn {
     from {
         opacity: 0;
         transform: translateY(8px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 /* Custom SVG Calligraphy Frame Divider */
 .islamic-divider {
      text-align: center;
     margin: 40px auto;
     max-width: 200px;
     height: 24px;
     background-repeat: no-repeat;
     background-position: center;
     background-size: contain;
     background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' width='100' height='20'%3E%3Cpath d='M10,10 Q50,0 90,10 Q50,20 10,10 M30,10 Q50,5 70,10 Q50,15 30,10 M45,10 A5,5 0 1,1 55,10 A5,5 0 1,1 45,10' fill='none' stroke='%23d9a94f' stroke-width='1'/%3E%3C/svg%3E");
     opacity: 0.7;
 }

 /* Upgraded Footer Layout & Components */
 .site-footer {
     background-color: #04251c !important;
     /* Richer deeper green */
     border-top: 4px solid var(--gold);
     position: relative;
     overflow: hidden;
     padding: 60px 6vw 30px !important;
 }

 .site-footer::after {
     content: "";
     position: absolute;
     inset: 0;
     z-index: 0;
     background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0 L60 30 L30 60 L0 30 Z M30 10 L50 30 L30 50 L10 30 Z' fill='none' stroke='%23d9a94f' stroke-width='0.5' opacity='0.03'/%3E%3C/svg%3E");
     pointer-events: none;
 }

 .site-footer>* {
     position: relative;
     z-index: 1;
 }

 .footer-divider {
     display: flex;
     align-items: center;
     justify-content: center;
     margin-bottom: 40px;
 }

 .footer-divider::before,
 .footer-divider::after {
     content: "";
     flex: 1;
     height: 1px;
     background: linear-gradient(90deg, transparent, rgba(217, 169, 79, 0.4), transparent);
 }

 .footer-divider i {
     margin: 0 15px;
     color: var(--gold);
     font-size: 22px;
     text-shadow: 0 0 12px rgba(217, 169, 79, 0.7);
 }

 .footer-quote-box {
     background: rgba(255, 255, 255, 0.03);
     border: 1px solid rgba(217, 169, 79, 0.15);
     border-radius: 10px;
     padding: 18px;
     margin-top: 15px;
     box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.2);
     text-align: left;
 }

 .footer-quote-box h5 {
     color: var(--gold);
     margin: 0 0 8px 0;
     font-size: 11px;
     font-weight: 800;
     text-transform: uppercase;
     letter-spacing: 1.2px;
     display: flex;
     align-items: center;
     gap: 6px;
 }

 .footer-quote-text {
     font-size: 12.5px;
     line-height: 1.5;
     color: rgba(255, 255, 255, 0.85);
     margin: 0;
     font-style: italic;
     transition: opacity 0.3s ease;
 }

 .footer-newsletter {
     margin-top: 20px;
 }

 .footer-newsletter h4 {
     margin: 0 0 8px 0 !important;
     color: var(--gold);
     font-size: 15px;
 }

 .footer-newsletter .newsletter-form {
     display: flex;
     gap: 6px;
     margin-top: 10px;
 }

 .footer-newsletter .newsletter-form input {
     flex: 1;
     background: rgba(255, 255, 255, 0.05);
     border: 1px solid rgba(255, 255, 255, 0.12);
     border-radius: 6px;
     padding: 10px 12px;
     color: #fff;
     font-size: 12.5px;
     outline: none;
     transition: all 0.3s ease;
 }

 .footer-newsletter .newsletter-form input:focus {
     border-color: var(--gold);
     background: rgba(255, 255, 255, 0.08);
     box-shadow: 0 0 8px rgba(217, 169, 79, 0.2);
 }

 .footer-newsletter .newsletter-form button {
     background: var(--gold);
     color: #003f2c;
     border: none;
     border-radius: 6px;
     padding: 0 14px;
     font-weight: 800;
     font-size: 12.5px;
     cursor: pointer;
     transition: all 0.25s ease;
 }

 .footer-newsletter .newsletter-form button:hover {
     background: #f0cf83;
     transform: translateY(-1px);
 }

 .socials a {
     transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
 }

 .socials a:hover {
     background: var(--gold) !important;
     color: #04251c !important;
     transform: translateY(-3px) scale(1.08);
     box-shadow: 0 5px 15px rgba(217, 169, 79, 0.4);
 }

 /* Back to top button */
 .back-to-top {
     position: fixed;
     bottom: 22px;
     right: 80px;
     width: 43px;
     height: 43px;
     border-radius: 50%;
     background: var(--green);
     color: #fff;

     box-shadow: 0 12px 25px rgba(0, 0, 0, 0.16);
     display: flex;
     align-items: center;
     justify-content: center;
     cursor: pointer;
     opacity: 0;
     visibility: hidden;
     transform: translateY(10px);
     transition: all 0.3s ease;
     z-index: 99;
 }

 .back-to-top.visible {
     opacity: 1;
     visibility: visible;
     transform: translateY(0);
 }

 .back-to-top:hover {
     background: var(--green-2);
     color: var(--gold);
     transform: translateY(-3px);
 }

 /* Floating effect for icons */
 @keyframes float {
     0% {
         transform: translateY(0px);
     }

     50% {
         transform: translateY(-6px);
     }

     100% {
         transform: translateY(0px);
     }
 }

 .floating-icon {
     animation: float 3s ease-in-out infinite;
 }

 /* Media and Gallery tab components */
 .gallery-tabs {
     display: flex;
     justify-content: center;
     gap: 15px;
     margin-bottom: 30px;
 }

 .audio-playlist {
     background: #fff;
     border: 1px solid var(--line);
     border-radius: 10px;
     padding: 24px;
     box-shadow: 0 10px 25px rgba(67, 54, 35, 0.05);
     max-width: 600px;
     margin: 20px auto 0;
 }

 .audio-item {
     display: flex;
     align-items: center;
     justify-content: space-between;
     padding: 12px 16px;
     border-bottom: 1px solid var(--line);
     transition: background 0.2s ease;
     border-radius: 6px;
 }

 .audio-item:last-child {
     border-bottom: none;
 }

 .audio-item:hover {
     background: #faf8f5;
 }

 .audio-info {
     display: flex;
     align-items: center;
     gap: 12px;
     text-align: left;
 }

 .audio-info i {
     color: var(--green);
     font-size: 16px;
 }

 .audio-play-btn {
     background: var(--green);
     color: #fff;
     border: none;
     width: 32px;
     height: 32px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     cursor: pointer;
     transition: all 0.2s ease;
     flex-shrink: 0;
 }

 .audio-play-btn:hover {
     background: var(--gold);
     color: var(--green);
     transform: scale(1.1);
 }

 /* Interactive Event Modal */
 .modal {
     position: fixed;
     inset: 0;
     background: rgba(4, 37, 28, 0.6);
     backdrop-filter: blur(4px);
     z-index: 1000;
     display: flex;
     align-items: center;
     justify-content: center;
     opacity: 0;
     visibility: hidden;
     transition: all 0.3s ease;
 }

 .modal.open {
     opacity: 1;
     visibility: visible;
 }

 .modal-content {
     background: #fffdfb;
     border: 2px solid var(--gold);
     border-radius: 12px;
     width: min(90%, 500px);
     padding: 32px;
     box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
     position: relative;
     transform: scale(0.9);
     transition: transform 0.3s ease;
     text-align: left;
 }

 .modal.open .modal-content {
     transform: scale(1);
 }

 .modal-close {
     position: absolute;
     top: 16px;
     right: 16px;
     font-size: 20px;
     color: var(--muted);
     cursor: pointer;
     transition: color 0.2s ease;
 }

 .modal-close:hover {
     color: var(--green);
 }

 .modal h2 {
     margin: 0 0 16px 0;
     color: var(--green);
     font-family: "Playfair Display", Georgia, serif;
 }

 /* Success alerts */
 .alert-success {
     background: #eaf6f0;
     border: 1px solid #15a964;
     color: #0c643b;
     padding: 16px;
     border-radius: 8px;
     font-weight: 700;
     margin-top: 15px;
     display: none;
     align-items: center;
     gap: 10px;
     animation: fadeIn 0.3s ease forwards;
 }

 /* ============================================================
           MOBILE HAMBURGER & SIDEBAR NAVIGATION STYLES
           ============================================================ */

 /* Hamburger button hidden on desktop */
 .hamburger-btn {
     display: none;
     align-items: center;
     justify-content: center;
     background: transparent;
     border: 2px solid var(--green);
     border-radius: 8px;
     width: 44px;
     height: 44px;
     color: var(--green);
     font-size: 20px;
     cursor: pointer;
     transition: all 0.2s ease;
 }

 .hamburger-btn:hover {
     background: var(--green);
     color: white;
 }

 /* Sidebar Overlay */
 .masjid-sidebar-overlay {
     position: fixed;
     top: 0;
     left: 0;
     width: 100vw;
     height: 100vh;
     background: rgba(0, 0, 0, 0.65);
     z-index: 99999;
     opacity: 0;
     visibility: hidden;
     transition: opacity 0.3s ease, visibility 0.3s ease;
     backdrop-filter: blur(4px);
 }

 .masjid-sidebar-overlay.active {
     opacity: 1;
     visibility: visible;
 }

 /* Sidebar Panel */
 .masjid-sidebar {
     position: fixed;
     top: 0;
     left: 0;
     width: 100vw;
     max-width: 100%;
     height: 100vh;
     background: var(--paper);
     z-index: 100000;
     transform: translateX(-100%);
     transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
     display: flex;
     flex-direction: column;
     box-shadow: none;
 }

 .masjid-sidebar.open {
     transform: translateX(0);
 }

 .sidebar-header {
     display: flex;
     align-items: center;
     justify-content: space-between;
     padding: 16px 20px;
     background: var(--green);
     border-bottom: 3px solid var(--gold);
 }

 .sidebar-logo img {
     height: 44px;
     object-fit: contain;
 }

 .sidebar-close-btn {
     background: transparent;
     border: none;
     color: white;
     font-size: 22px;
     cursor: pointer;
     width: 36px;
     height: 36px;
     display: flex;
     align-items: center;
     justify-content: center;
     border-radius: 50%;
     transition: background 0.2s;
     margin-left: auto;
 }

 .sidebar-close-btn:hover {
     background: rgba(255, 255, 255, 0.15);
 }

 .sidebar-content {
     flex: 1;
     overflow-y: auto;
     padding: 15px 0;
 }

 .sidebar-links {
     list-style: none;
     padding: 0;
     margin: 0;
 }

 .sidebar-links>li {
     border-bottom: 1px solid var(--line);
 }

 .sidebar-links>li:last-child {
     border-bottom: none;
 }

 .sidebar-links a {
     display: flex;
     align-items: center;
     gap: 12px;
     padding: 14px 24px;
     color: var(--ink);
     font-size: 15px;
     font-weight: 700;
     transition: all 0.25s ease;
 }

 .sidebar-links a i {
     font-size: 16px;
     color: var(--green);
     width: 20px;
      text-align: center;
 }

 .sidebar-links a:hover,
 .sidebar-links a.active {
     background: var(--cream);
     color: var(--green-2);
     padding-left: 30px;
 }

 .sidebar-links .has-submenu {
     position: relative;
 }

 .sidebar-links .submenu-toggle {
     justify-content: space-between;
 }

 .sidebar-links .submenu-toggle span {
     display: flex;
     align-items: center;
     gap: 12px;
 }

 .sidebar-links .chevron {
     font-size: 12px;
     transition: transform 0.3s ease;
     color: var(--muted);
 }

 .sidebar-links .has-submenu.open .chevron {
     transform: rotate(180deg);
 }

 .sidebar-links .submenu {
     display: none;
     list-style: none;
     padding: 0;
     margin: 0;
     background: #faf8f5;
     border-left: 4px solid var(--gold);
 }

 .sidebar-links .submenu.open {
     display: block;
 }

 .sidebar-links .submenu a {
     padding: 11px 24px 11px 48px;
     font-size: 14px;
     font-weight: 600;
 }

 .sidebar-links .cta-li {
     padding: 20px 24px;
     border-bottom: none;
 }

 .sidebar-links .sidebar-donate-btn {
     display: flex;
     align-items: center;
     justify-content: center;
     background: var(--green);
     color: white !important;
     padding: 14px 20px;
     border-radius: 8px;
     font-weight: 700;
     box-shadow: 0 4px 12px rgba(0, 63, 44, 0.2);
     transition: all 0.25s ease;
 }

 .sidebar-links .sidebar-donate-btn:hover {
     background: var(--green-2);
     transform: translateY(-2px);
     padding-left: 20px;
 }

 .sidebar-links .sidebar-donate-btn i {
     color: var(--gold);
 }

 body.sidebar-open {
     overflow: hidden;
 }

 /* ============================================================
           NEW SECTIONS STYLING (Donations & Schedule)
           ============================================================ */

 /* Quick Donation Section */
 .donation-section {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 40px;
     align-items: center;
     padding: 80px 40px;
     border-bottom: 1px solid var(--line);
 }

 .donation-benefits {
     list-style: none;
     padding: 0;
     margin: 20px 0 0 0;
     display: grid;
     gap: 12px;
 }

 .donation-benefits li {
     display: flex;
     align-items: center;
     gap: 10px;
     font-weight: 600;
     color: var(--ink);
 }

 .donation-benefits li i {
     color: var(--green-2);
     font-size: 18px;
 }

 .donation-widget-card {
     background: var(--cream);
     border: 1px solid var(--line);
     border-radius: 16px;
     padding: 30px;
     box-shadow: 0 8px 24px rgba(68, 51, 24, 0.05);
 }

 .donation-widget-card h3 {
     margin: 0 0 20px 0;
     color: var(--green);
     font-family: "Playfair Display", Georgia, serif;
     font-size: 24px;
 }

 .freq-selector {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 10px;
     margin-bottom: 20px;
 }

 .freq-btn {
     background: white;
     border: 1px solid var(--line);
     padding: 10px;
     font-size: 14px;
     font-weight: 700;
     border-radius: 8px;
     cursor: pointer;
     color: var(--muted);
     transition: all 0.2s;
 }

 .freq-btn.active,
 .freq-btn:hover {
     border-color: var(--green);
     color: var(--green);
     background: #faf8f5;
 }

 .amount-grid {
     display: grid;
     grid-template-columns: repeat(4, 1fr);
     gap: 10px;
     margin-bottom: 20px;
 }

 .amount-btn {
     background: white;
     border: 1px solid var(--line);
     padding: 12px;
     font-size: 16px;
     font-weight: 800;
     border-radius: 8px;
     cursor: pointer;
     color: var(--ink);
     transition: all 0.2s;
 }

 .amount-btn.active,
 .amount-btn:hover {
     background: var(--green);
     border-color: var(--green);
     color: white;
 }

 .custom-amount-wrapper {
     position: relative;
     margin-bottom: 20px;
 }

 .currency-symbol {
     position: absolute;
     left: 14px;
     top: 50%;
     transform: translateY(-50%);
     font-size: 16px;
     font-weight: 800;
     color: var(--muted);
 }

 #custom-donation-amount {
     width: 100%;
     padding: 14px 14px 14px 30px;
     border: 1px solid var(--line);
     border-radius: 8px;
     font-size: 16px;
     font-weight: 700;
     color: var(--ink);
 }

 #custom-donation-amount:focus {
     outline: none;
     border-color: var(--green);
     box-shadow: 0 0 0 3px rgba(0, 63, 44, 0.1);
 }

 .project-selector-wrapper {
     margin-bottom: 24px;
     display: flex;
     flex-direction: column;
     gap: 8px;
 }

 .project-selector-wrapper label {
     font-size: 13px;
     font-weight: 800;
     color: var(--muted);
 }

 #donation-project {
     padding: 12px;
     border: 1px solid var(--line);
     border-radius: 8px;
     font-size: 15px;
     font-weight: 700;
     color: var(--ink);
     background: white;
 }

 .btn-donate-submit {
     width: 100%;
     padding: 15px;
     background: var(--green-2);
     color: white;
     border: none;
     border-radius: 8px;
     font-size: 16px;
     font-weight: 700;
     cursor: pointer;
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 10px;
     box-shadow: 0 4px 12px rgba(0, 106, 74, 0.2);
     transition: all 0.25s;
 }

 .btn-donate-submit:hover {
     background: var(--green);
     transform: translateY(-2px);
 }

 .btn-donate-submit i {
     color: var(--gold);
 }

 .donation-success-alert {
     display: none;
     align-items: center;
     gap: 12px;
     background: #eaf6f0;
     border: 1px solid #15a964;
     color: #0c643b;
     padding: 16px;
     border-radius: 8px;
     font-weight: 700;
     margin-top: 15px;
     animation: fadeIn 0.3s ease forwards;
 }

 /* Weekly Programs Schedule */
 .weekly-schedule-section {
     padding: 80px 40px;
     background: #faf8f4;
     border-bottom: 1px solid var(--line);
 }

 .text-center-wrapper {
      text-align: center;
     max-width: 600px;
     margin: 0 auto 50px auto;
 }

 .section-desc {
     font-size: 16px;
     color: var(--muted);
     margin-top: 10px;
 }

 .schedule-grid {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 30px;
 }

 .schedule-card {
     background: white;
     border: 1px solid var(--line);
     border-radius: 12px;
     padding: 24px;
     position: relative;
     transition: all 0.3s ease;
 }

 .schedule-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 12px 30px rgba(68, 51, 24, 0.08);
 }

 .schedule-card.highlighted {
     border-top: 4px solid var(--gold);
     background: var(--paper);
 }

 .day-badge {
     display: inline-block;
     background: var(--cream);
     color: var(--green);
     padding: 6px 12px;
     border-radius: 4px;
     font-size: 11px;
     font-weight: 800;
     letter-spacing: 0.8px;
     margin-bottom: 16px;
 }

 .schedule-card.highlighted .day-badge {
     background: var(--gold);
     color: var(--green);
 }

 .schedule-card h4 {
     margin: 0 0 6px 0;
     font-size: 18px;
     color: var(--green);
 }

 .instructor {
     font-size: 13px;
     font-weight: 700;
     color: var(--gold);
     margin: 0 0 14px 0;
 }

 .schedule-card .desc {
     font-size: 14px;
     color: var(--muted);
     line-height: 1.6;
     margin: 0 0 20px 0;
 }

 .time-loc {
     border-top: 1px solid var(--line);
     padding-top: 14px;
     font-size: 13px;
     font-weight: 700;
     color: var(--ink);
     display: flex;
     align-items: center;
     gap: 8px;
 }

 .time-loc i {
     color: var(--green-2);
 }

 /* ============================================================
           NEW HOMEPAGE SECTIONS: DUA, SPACES, VOLUNTEER, Q&A
           ============================================================ */

 /* 1. Daily Supplications (Dua Widget) */
 .dua-section {
     background: var(--paper);
     padding: 80px 32px;
 }

 .dua-widget-card {
     max-width: 800px;
     margin: 40px auto 0;
     background: white;
     border: 1px solid var(--line);
     border-radius: 16px;
     padding: 40px;
     box-shadow: 0 15px 35px rgba(67, 54, 35, 0.06);
      text-align: center;
 }

 .dua-tabs {
     display: flex;
     justify-content: center;
     gap: 15px;
     margin-bottom: 35px;
     flex-wrap: wrap;
 }

 .dua-tab-btn {
     background: var(--cream);
     border: 1px solid var(--line);
     padding: 10px 20px;
     border-radius: 30px;
     font-family: Manrope, Arial, sans-serif;
     font-size: 13px;
     font-weight: 800;
     color: var(--muted);
     cursor: pointer;
     transition: all 0.25s ease;
 }

 .dua-tab-btn:hover {
     color: var(--green);
     border-color: rgba(0, 63, 44, 0.3);
     background: #fbfaf7;
 }

 .dua-tab-btn.active {
     background: var(--green);
     color: white;
     border-color: var(--green);
     box-shadow: 0 8px 20px rgba(0, 63, 44, 0.18);
 }

 .dua-content {
    display: none;
    animation: fadeIn 0.4s ease;
    text-align: center;
}

 .dua-content.active {
    display: flex;
    flex-direction: column;
    align-items: center;
}

 .dua-arabic {
     font-family: Amiri, Georgia, serif;
     font-size: 32px;
     color: var(--green);
     margin: 0 0 18px;
     line-height: 1.6;
     
     text-align: center;
 }

 .dua-transliteration {
     font-style: italic;
     color: var(--muted);
     font-size: 15px;
     margin-bottom: 12px;
     text-align: center;
 }

 .dua-translation {
     font-size: 18px;
     font-weight: 500;
     color: var(--ink);
     line-height: 1.5;
     max-width: 600px;
     margin: 0 auto 15px;
     text-align: center;
 }

 .dua-reference {
     font-size: 12px;
     font-weight: 800;
     color: var(--gold);
     letter-spacing: 0.5px;
 }

 /* 2. Masjid Spaces (Virtual Tour) */
 .spaces-section {
     padding: 80px 32px;
     background: #faf8f3;
 }

 .spaces-grid {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 30px;
     margin-top: 40px;
 }

 .space-card {
     background: white;
     border-radius: 16px;
     border: 1px solid var(--line);
     overflow: hidden;
     box-shadow: 0 10px 25px rgba(67, 54, 35, 0.04);
     transition: all 0.3s ease;
 }

 .space-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 20px 40px rgba(67, 54, 35, 0.1);
 }

 .space-image-wrapper {
     position: relative;
     height: 220px;
     overflow: hidden;
 }

 .space-image-wrapper img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: transform 0.5s ease;
 }

 .space-card:hover .space-image-wrapper img {
     transform: scale(1.06);
 }

 .space-capacity {
     position: absolute;
     bottom: 12px;
     right: 12px;
     background: rgba(0, 63, 44, 0.9);
     backdrop-filter: blur(4px);
     color: white;
     padding: 5px 12px;
     border-radius: 20px;
     font-size: 11px;
     font-weight: 800;
     display: flex;
     align-items: center;
     gap: 6px;
 }

 .space-info {
     padding: 24px;
 }

 .space-info h3 {
     margin: 0 0 10px;
     font-size: 20px;
     color: var(--green);
     font-family: "Playfair Display", Georgia, serif;
 }

 .space-info p {
     margin: 0;
     font-size: 14px;
     color: var(--muted);
     line-height: 1.6;
 }

 /* 3. Volunteer Banner Section */
 .volunteer-section {
     padding: 80px 32px;
 }

 .volunteer-banner {
     max-width: 1200px;
     margin: 0 auto;
     background: linear-gradient(135deg, var(--green) 0%, #00543a 100%);
     border-radius: 20px;
     padding: 50px;
     display: grid;
     grid-template-columns: 1.2fr 1fr;
     gap: 50px;
     align-items: center;
     color: white;
     position: relative;
     overflow: hidden;
     box-shadow: 0 20px 45px rgba(0, 63, 44, 0.25);
 }

 .volunteer-banner::before {
     content: "";
     position: absolute;
     inset: 0;
     background: radial-gradient(circle at 90% 10%, rgba(219, 169, 79, 0.12), transparent 40%);
     pointer-events: none;
 }

 .volunteer-copy h2 {
     font-family: "Playfair Display", Georgia, serif;
     font-size: 38px;
     line-height: 1.15;
     color: white;
     margin: 10px 0 20px;
 }

 .volunteer-copy p {
     color: rgba(255, 255, 255, 0.85);
     font-size: 15px;
     line-height: 1.7;
     margin-bottom: 30px;
 }

 .volunteer-roles {
     display: flex;
     flex-wrap: wrap;
     gap: 15px;
 }

 .volunteer-roles span {
     background: rgba(255, 255, 255, 0.12);
     border: 1px solid rgba(255, 255, 255, 0.15);
     padding: 8px 16px;
     border-radius: 8px;
     font-size: 13px;
     font-weight: 700;
     display: flex;
     align-items: center;
     gap: 8px;
     backdrop-filter: blur(4px);
 }

 .volunteer-roles span i {
     color: var(--gold);
 }

 .volunteer-form-card {
     background: white;
     border-radius: 16px;
     padding: 32px;
     color: var(--ink);
     box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
 }

 .volunteer-form-card h3 {
     margin: 0 0 20px;
     font-size: 22px;
     color: var(--green);
     font-family: "Playfair Display", Georgia, serif;
 }

 /* 4. Ask the Imam / Q&A Section */
 .qna-section {
     padding: 80px 32px;
     background: #fdfcf9;
 }

 .qna-split-grid {
     max-width: 1200px;
     margin: 0 auto;
     display: grid;
     grid-template-columns: 1.2fr 1fr;
     gap: 60px;
     align-items: flex-start;
 }

 .qna-info h2 {
     margin: 10px 0 20px;
     font-size: clamp(30px, 3.5vw, 44px);
     color: var(--green);
     font-family: "Playfair Display", Georgia, serif;
 }

 .qna-info p {
     color: var(--muted);
     line-height: 1.7;
     margin-bottom: 30px;
 }

 .qna-accordion {
     display: grid;
     gap: 15px;
 }

 .qna-item {
     border: 1px solid var(--line);
     border-radius: 10px;
     background: white;
     overflow: hidden;
     transition: all 0.25s ease;
 }

 .qna-item.open {
     border-color: rgba(0, 63, 44, 0.25);
     box-shadow: 0 8px 20px rgba(67, 54, 35, 0.05);
 }

 .qna-header {
     width: 100%;
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 18px 24px;
     background: transparent;
     border: none;
     text-align: left;
     font-family: Manrope, Arial, sans-serif;
     font-size: 15px;
     font-weight: 700;
     color: var(--ink);
     cursor: pointer;
     transition: all 0.2s ease;
 }

 .qna-header:hover {
     color: var(--green-2);
 }

 .qna-header i {
     font-size: 13px;
     color: var(--muted);
     transition: transform 0.3s ease;
 }

 .qna-item.open .qna-header i {
     transform: rotate(180deg);
     color: var(--green);
 }

 .qna-body {
     max-height: 0;
     overflow: hidden;
     transition: max-height 0.35s ease-out;
 }

 .qna-item.open .qna-body {
     max-height: 320px;
 }

 .qna-body p {
     padding: 0 24px 20px;
     margin: 0;
     font-size: 14px;
     line-height: 1.6;
     color: var(--muted);
 }

 .qna-form-card {
     background: white;
     border: 1px solid var(--line);
     border-radius: 16px;
     padding: 35px;
     box-shadow: 0 15px 35px rgba(67, 54, 35, 0.06);
 }

 .qna-form-card h3 {
     margin: 0 0 8px;
     font-size: 24px;
     color: var(--green);
     font-family: "Playfair Display", Georgia, serif;
 }

 .qna-form-card .form-sub {
     font-size: 13px;
     color: var(--muted);
     margin-bottom: 24px;
     line-height: 1.5;
 }

 /* 5. Newsletter Section (Homepage) */
 .newsletter-section {
     padding: 80px 32px;
 }

 .newsletter-container {
     max-width: 720px;
     margin: 0 auto;
 }

 .newsletter-card {
     background: white;
     border: 1px solid var(--line);
     border-radius: 20px;
     padding: 48px 40px;
     text-align: center;
     box-shadow: 0 18px 40px rgba(67, 54, 35, 0.08);
 }

 .newsletter-card h2 {
     margin: 12px 0 10px;
     font-size: clamp(28px, 3vw, 38px);
     color: var(--green);
     font-family: "Playfair Display", Georgia, serif;
 }

 .newsletter-card .section-desc {
     max-width: 520px;
     margin: 0 auto 28px;
     line-height: 1.7;
 }

 .home-newsletter-form {
     display: flex;
     gap: 12px;
     max-width: 520px;
     margin: 0 auto;
     align-items: stretch;
 }

 .home-newsletter-form input {
     flex: 1;
     min-width: 0;
     background: var(--cream);
     border: 1px solid var(--line);
     border-radius: 10px;
     padding: 16px 18px;
     font-size: 15px;
     color: var(--ink);
     outline: none;
     transition: border-color 0.2s ease, box-shadow 0.2s ease;
 }

 .home-newsletter-form input:focus {
     border-color: var(--green-2);
     box-shadow: 0 0 0 3px rgba(0, 106, 74, 0.12);
 }

 .home-newsletter-form .btn {
     padding: 16px 28px;
     border-radius: 10px;
     white-space: nowrap;
     font-size: 15px;
     font-weight: 700;
     border: none;
     cursor: pointer;
 }

 /* Shared form styling for new forms */
 .interactive-form {
     display: grid;
     gap: 18px;
 }

 .form-group {
     display: grid;
     gap: 8px;
 }

 .form-group label {
     font-size: 12px;
     font-weight: 800;
     color: var(--ink);
     text-transform: uppercase;
     letter-spacing: 0.5px;
 }

 .interactive-form input,
 .interactive-form select,
 .interactive-form textarea {
     width: 100%;
     padding: 12px 16px;
     border: 1px solid var(--line);
     border-radius: 8px;
     font-family: Manrope, Arial, sans-serif;
     font-size: 14px;
     color: var(--ink);
     background: #faf8f5;
     transition: all 0.25s ease;
 }

 .interactive-form input:focus,
 .interactive-form select:focus,
 .interactive-form textarea:focus {
     outline: none;
     border-color: var(--green);
     background: white;
     box-shadow: 0 0 0 3px rgba(0, 63, 44, 0.08);
 }

 .btn-submit {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     gap: 10px;
     background: var(--green);
     color: white;
     border: none;
     border-radius: 8px;
     padding: 14px 24px;
     font-family: Manrope, Arial, sans-serif;
     font-size: 14px;
     font-weight: 800;
     cursor: pointer;
     transition: all 0.25s ease;
     box-shadow: 0 8px 18px rgba(0, 63, 44, 0.15);
 }

 .btn-submit:hover {
     background: #00543a;
     transform: translateY(-2px);
     box-shadow: 0 12px 24px rgba(0, 63, 44, 0.2);
 }

 /* Madrasah Admission Form */
 .admission-section {
     background: #fbf7ef;
     padding: 80px 32px;
 }

 .admission-header {
     text-align: center;
     max-width: 720px;
     margin: 0 auto 40px;
 }

 .admission-header h2 {
     font-family: "Playfair Display", Georgia, serif;
     color: var(--green);
     font-size: clamp(26px, 3vw, 40px);
     margin: 12px 0;
 }

 .admission-header p {
     color: #485148;
     font-size: 16px;
     line-height: 1.75;
     margin: 0;
 }

 .admission-form-card {
     max-width: 920px;
     margin: 0 auto;
     background: #fff;
     border: 1px solid var(--line);
     border-radius: 16px;
     padding: 40px 44px;
     box-shadow: 0 20px 40px rgba(67, 54, 35, 0.07);
 }

 .admission-form {
     gap: 22px;
 }

 .admission-form-row {
     display: grid;
     grid-template-columns: repeat(2, minmax(0, 1fr));
     gap: 22px;
 }

 .admission-form .form-group {
     margin-bottom: 0;
 }

 .admission-form .form-group--full {
     grid-column: 1 / -1;
 }

 .admission-form .btn-submit {
     width: 100%;
     margin-top: 4px;
 }


 @keyframes fadeIn {
     from {
         opacity: 0;
         transform: translateY(8px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 /* ============================================================
           MEDIA QUERY RESPONSIVENESS OVERRIDES
           ============================================================ */

 @media (max-width: 1024px) {
     .nav {
         height: 80px;
         padding: 0 24px;
     }

     .brand {
         position: absolute;
         left: 50%;
         transform: translateX(-50%);
         min-width: auto;
     }

     .brand-logo {
         width: 180px !important;
         height: auto !important;
     }

     .footer-main .brand {
         position: static !important;
         transform: none !important;
         margin: 0 auto 15px !important;
         display: inline-block !important;
     }

     .footer-logo {
         width: 180px !important;
         height: auto !important;
     }

     .menu {
         display: none !important;
     }

     .actions {
         display: none !important;
     }

     .hamburger-btn {
         display: flex;
         margin-left: auto;
         position: relative;
         z-index: 4;
     }

     /* Hero responsive adjustment & centering */
     .hero {
         grid-template-columns: 1fr !important;
         gap: 40px !important;
         padding: 40px 24px !important;
          text-align: center;
     }

     .hero .content {
         display: flex;
         flex-direction: column;
         align-items: center;
          text-align: center;
     }

     .hero h1 {
         font-size: 42px !important;
          text-align: center;
     }

     .hero .subtitle {
         margin: 0 auto 21px;
          text-align: center;
     }

     .hero .arabic {
         font-size: 28px !important;
          text-align: center;
         margin-left: auto;
         margin-right: auto;
     }

     .hero .quote {
         margin: 0 auto 7px;
          text-align: center;
     }

     .hero .ref {
          text-align: center;
     }

     .hero-buttons {
         justify-content: center;
         flex-wrap: wrap;
         width: 100%;
     }

     .hero .center-photo-space {
         display: none;
     }

     .next-card {
         max-width: 320px;
         margin: 0 auto;
         order: 2;
     }

     .times-panel {
         order: 3;
     }

     /* Intro Grid centering */
     .intro-grid {
         grid-template-columns: 1fr !important;
         gap: 30px !important;
         padding: 40px 24px !important;
     }

     .intro-grid .section-copy {
          text-align: center;
         display: flex;
         flex-direction: column;
         align-items: center;
     }

     .intro-grid .mini-actions {
         justify-content: center;
         width: 100%;
     }

     .intro-grid .feature-panel {
          text-align: center;
         display: flex;
         flex-direction: column;
         align-items: center;
     }

     .intro-grid .feature-panel div {
          text-align: center;
     }

     .image-panel div {
          text-align: center;
         width: 100%;
         padding: 24px;
     }

     /* Donation widget responsive & centering */
     .donation-section {
         grid-template-columns: 1fr;
         padding: 60px 24px;
         gap: 30px;
     }

     .donation-section .section-copy {
          text-align: center;
         display: flex;
         flex-direction: column;
         align-items: center;
     }

     .donation-benefits {
         text-align: left;
         display: inline-block;
         margin: 0 auto;
     }

     /* Weekly schedule grid responsive & centering */
     .schedule-grid {
         grid-template-columns: 1fr;
         gap: 20px;
     }

     .weekly-schedule-section {
         padding: 60px 24px;
     }

     .schedule-card {
          text-align: center;
         display: flex;
         flex-direction: column;
         align-items: center;
     }

     .time-loc {
         justify-content: center;
         width: 100%;
     }

     /* Split section layout responsive & centering */
     .split-section {
         grid-template-columns: 1fr !important;
         gap: 30px !important;
         padding: 40px 24px !important;
     }

     .split-section .section-copy {
          text-align: center;
         display: flex;
         flex-direction: column;
         align-items: center;
     }

     .deep-card {
          text-align: center;
         align-items: center;
         justify-content: center;
         gap: 15px;
     }

     .deep-card a {
         align-self: center;
     }

     /* New Sections Responsive Overrides & Centering */
     .dua-section {
         padding: 60px 24px;
     }

     .dua-widget-card {
         padding: 24px 16px;
     }

     .dua-arabic {
         font-size: 26px;
     }

     .spaces-section {
         padding: 60px 24px;
     }

     .spaces-grid {
         grid-template-columns: 1fr;
         gap: 24px;
     }

     .space-card {
          text-align: center;
     }

     .space-info {
         display: flex;
         flex-direction: column;
         align-items: center;
     }

     .space-image-wrapper {
         height: 180px;
     }

     .volunteer-section {
         padding: 60px 24px;
     }

     .volunteer-banner {
         grid-template-columns: 1fr;
         gap: 35px;
         padding: 32px 20px;
          text-align: center;
         display: flex;
         flex-direction: column;
         align-items: center;
     }

     .volunteer-copy h2 {
         font-size: 28px;
     }

     .volunteer-roles {
         justify-content: center;
     }

     .qna-section {
         padding: 60px 24px;
     }

     .qna-split-grid {
         grid-template-columns: 1fr;
         gap: 40px;
     }

     .qna-info {
          text-align: center;
         display: flex;
         flex-direction: column;
         align-items: center;
     }

     .qna-header {
         justify-content: space-between;
     }

     .qna-body p {
          text-align: center;
     }
 }

 @media (max-width: 768px) {
     .feature-grid {
         grid-template-columns: 1fr !important;
         gap: 20px !important;
         padding: 40px 24px !important;
     }

     /* Feature card centering */
     .feature-card {
          text-align: center;
         display: flex;
         flex-direction: column;
         align-items: center;
     }

     /* Footer responsive & centering updates */
     .footer-main {
         grid-template-columns: 1fr !important;
         gap: 45px !important;
          text-align: center;
         display: flex;
         flex-direction: column;
         align-items: center;
     }

     .footer-main>div {
         display: flex;
         flex-direction: column;
         align-items: center;
          text-align: center;
         width: 100%;
     }

     .footer-main a {
         display: inline-flex;
         justify-content: center;
         align-items: center;
         width: max-content;
     }

     .footer-newsletter {
         width: 100%;
         max-width: 320px;
         margin: 15px auto 0;
     }

     .footer-newsletter .newsletter-form {
         display: flex;
         width: 100%;
     }

     .footer-newsletter .newsletter-form input {
          text-align: center;
     }

     .home-newsletter-form {
         flex-direction: column;
     }

     .home-newsletter-form .btn {
         width: 100%;
         justify-content: center;
     }

     .newsletter-card {
         padding: 36px 24px;
     }

     .footer-quote-box {
         margin: 15px auto 0;
          text-align: center;
         max-width: 380px;
     }

     .socials {
         justify-content: center;
         width: 100%;
     }

     .footer-bottom {
         flex-direction: column;
         gap: 12px;
          text-align: center;
     }
 }
/* Feature List Styles */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    border-left: 3px solid var(--gold);
}

.feature-item i {
    color: var(--gold);
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.feature-item span {
    color: var(--ink);
    font-size: 15px;
    line-height: 1.5;
}

/* Timeline Section Styles */
.timeline-section {
    padding: 80px 24px;
}

.timeline-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--gold), var(--green-2));
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: left;
    margin-right: 30px;
    margin-left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: right;
    margin-left: 30px;
    margin-right: 0;
}

.timeline-date {
    background: var(--gold);
    color: var(--green);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-date {
    margin-left: 30px;
}

.timeline-item:nth-child(even) .timeline-date {
    margin-right: 30px;
}

.timeline-content {
    flex: 1;
    max-width: 400px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    border: 1px solid var(--line);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.timeline-content h3 {
    margin: 0 0 8px;
    color: var(--green);
    font-size: 18px;
}

.timeline-content p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.timeline-item.current .timeline-date {
    background: var(--green);
    color: #fff;
}

.timeline-item.current .timeline-content {
    border-color: var(--gold);
    background: linear-gradient(135deg, rgba(217, 169, 79, 0.1), rgba(255, 255, 255, 0.9));
}

/* Featured Gallery Styles */
.featured-gallery {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.featured-image-large {
    position: relative;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.featured-image-large img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 63, 44, 0.9));
    padding: 30px 24px 20px;
    color: #fff;
}

.image-caption h4 {
    margin: 0 0 8px;
    font-size: 22px;
    color: var(--gold);
}

.image-caption p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.featured-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.featured-item:hover {
    transform: translateY(-5px);
}

.featured-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.featured-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 63, 44, 0.85);
    color: #fff;
    padding: 12px;
     text-align: center;
    font-weight: 500;
    font-size: 14px;
}

/* Gallery Row Styles */
.gallery-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent, rgba(0, 63, 44, 0.8));
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    color: #fff;
    margin: 0;
    font-size: 18px;
}

/* CTA Section Styles */
.cta-section {
    padding: 80px 32px;
    text-align: center;
}

.cta-section .text-center-wrapper {
    max-width: 720px;
    margin: 0 auto;
}

.cta-section h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(28px, 3vw, 40px);
    color: var(--green);
    margin: 12px 0 16px;
}

.cta-section .section-desc {
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-buttons .btn.primary {
    background: var(--gold);
    color: var(--green);
}

.cta-buttons .btn.primary:hover {
    background: #c4983d;
    transform: translateY(-2px);
}

.cta-buttons .btn.secondary {
    background: var(--green);
    color: #fff;
}

.cta-buttons .btn.secondary:hover {
    background: var(--green-2);
    transform: translateY(-2px);
}

/* Responsive Styles for New Sections */
@media (max-width: 768px) {
    .timeline-container::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 50px;
    }

    .timeline-item:nth-child(odd) .timeline-date,
    .timeline-item:nth-child(even) .timeline-date {
        margin: 0 0 12px 0;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        text-align: left;
        margin: 0;
        max-width: 100%;
    }

    .featured-image-large img {
        height: 250px;
    }

    .gallery-row {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

.dua-arabic {
    text-align: center !important;
}

.dua-transliteration {
    text-align: center !important;
}

.dua-translation {
    text-align: center !important;
}









