:root {
  --blue-dark: #0a3d7a;
  --blue-main: #185a9d;
  --blue-light: #4cb8c4;
  --bg-gradient-top: #0a3d7a;
  --bg-gradient-bottom: #f2e3c6;
  --white: #ffffff;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --text-light: #e2e8f0;
  --glass-bg: rgba(255, 255, 255, 0.25);
  --glass-border: rgba(255, 255, 255, 0.4);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --radius-pill: 50px;
  --shadow-soft: 0 10px 30px rgba(0,0,0,0.08);
  --shadow-strong: 0 15px 40px rgba(10, 61, 122, 0.25);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Geist', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  letter-spacing: -0.01em;
  overflow-x: hidden;
  background-color: #f8f9fa;
}

h1, h2, h3, h4, .logo-text, .pc-name, .np-left h2, .np-countdown {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.03em;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 5%;
  transition: all 0.3s ease;
}

header.scrolled {
  background: var(--white) !important;
  backdrop-filter: blur(10px);
  padding: 10px 5%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

header.scrolled .logo-text, 
header.scrolled .logo-text b {
  color: var(--blue-dark) !important;
}

header.scrolled .desktop-nav a {
  color: var(--blue-dark);
}

header.scrolled .desktop-nav a:hover {
  color: var(--blue-light);
}

header.scrolled .nav-separator {
  color: rgba(10, 61, 122, 0.2);
}

header.scrolled .btn-contact {
  background: var(--blue-dark);
  color: var(--white);
  border: 1px solid var(--blue-dark);
}

header.scrolled .btn-contact:hover {
  background: var(--blue-main);
  transform: translateY(-2px);
}

header.scrolled .mobile-menu-toggle {
  color: var(--blue-dark);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}

.logo-img { height: 60px; width: auto; }
.logo-text { font-size: 1.1rem; line-height: 1.1; font-weight: 500; }
.logo-text b { font-weight: 800; font-size: 1.3rem; }

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.desktop-nav a {
  text-decoration: none;
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.3s;
}

.desktop-nav a:hover { color: var(--white); }
.nav-separator { color: rgba(255,255,255,0.3); font-size: 0.8rem; }

.btn-contact {
  background: var(--white);
  color: var(--blue-dark);
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255,255,255,0.3);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  color: var(--white);
  border: none;
  cursor: pointer;
}

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--blue-dark);
  display: flex;
  flex-direction: column;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-menu.active {
  max-height: 300px;
  padding: 15px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu a {
  color: var(--white);
  text-decoration: none;
  padding: 12px 5%;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 5% 50px;
  background: linear-gradient(180deg, var(--bg-gradient-top) 0%, var(--blue-main) 60%, var(--bg-gradient-bottom) 100%);
  overflow: hidden;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0; 
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center right;
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

.hero-gradient-overlay {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to right, 
    var(--bg-gradient-top) 0%, 
    var(--bg-gradient-top) 5%, 
    rgba(10, 61, 122, 0.4) 60%, 
    rgba(10, 61, 122, 0.2) 100%
  );
  mask-image: linear-gradient(to top, transparent 0%, black 10%);
  -webkit-mask-image: linear-gradient(to top, transparent 0%, black 20%);
}

.hero-content-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-ticker {
  display: flex;
  gap: 15px;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 25px;
  letter-spacing: 1px;
}

.floating-hero-card {
  width: 100%;
  max-width: 600px;
  background: var(--glass-bg);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-strong);
  color: var(--white);
}

.floating-hero-card h1 {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.1;
}

.pc-name {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

.hero-ticker span {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.np-countdown {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.floating-hero-card p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 30px;
}

/* The Wrapper Box */
.custom-glass-dropdown {
  position: relative;
  width: 100%;
  cursor: pointer;
  z-index: 100;
}

.dropdown-selected {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 12px 15px;
  display: flex;
  align-items: center;
  color: white;
  gap: 10px;
}

.dropdown-options-glass {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7) !important;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  list-style: none;
  padding: 10px;
  display: none;
  max-height: 300px;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.dropdown-options-glass::-webkit-scrollbar {
  display: none;
}

.dropdown-options-glass {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.dropdown-options-glass.active {
  display: block;
}

.dropdown-options-glass li {
  padding: 12px 15px;
  color: #fceabb;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
  font-size: 0.95rem;
}

.dropdown-options-glass li:hover {
  background: rgba(255, 255, 255, 0.2);
}

.arrow-icon { margin-left: auto; transition: transform 0.3s; }
.active .arrow-icon { transform: rotate(180deg); }

.btn-solid-white {
  display: inline-block;
  background: var(--white);
  color: var(--blue-dark);
  text-decoration: none;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s;
}

.btn-solid-white:hover {
  background: var(--blue-dark);
  color: var(--white);
  border: 1px solid var(--white);
}

.btn-dark-text {
  color: var(--text-dark);
  box-shadow: var(--shadow-soft);
}
.btn-dark-text:hover {
  background: var(--text-dark);
  border: 1px solid transparent;
}

.hero-prayer-focus {
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 30px;
}

.dates-wrapper {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}

.hijri-text { color: #fceabb; }

.custom-select-wrapper {
  position: relative;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  padding: 10px 15px;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
}

.custom-select-wrapper select {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--white);
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  outline: none;
  cursor: pointer;
}

.custom-select-wrapper select option { color: var(--text-dark); }

.next-prayer-highlight {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 15px;
}

.np-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.8; }
.np-left h2 { font-size: 2.2rem; margin: 0; line-height: 1; }
.np-time { font-size: 1.1rem; color: #fceabb; font-weight: 600; }
.np-countdown { font-size: 1.8rem; font-family: monospace; font-weight: 700; color: #fceabb; }

.prayer-grid-section {
  background: var(--bg-gradient-bottom);
  padding: 60px 5% 80px;
  position: relative;
}

.pg-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  gap: 50px;
  align-items: center;
}

.pg-left-text {
  flex: 0 0 35%;
}

.pg-left-text h2 {
  font-size: 2.8rem;
  color: var(--blue-dark);
  line-height: 1.2;
  margin-bottom: 20px;
}

.pg-left-text p {
  color: #505050;
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.pg-right-cards {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.prayer-card-ui {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 25px 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.prayer-card-ui:hover { transform: translateY(-10px); }
.prayer-card-ui.active { border: 2px solid var(--blue-main); box-shadow: var(--shadow-strong); }

.pc-icon {
  width: 60px; height: 60px;
  background: #f1f5f9;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-main);
}
.pc-icon .material-icons-round { font-size: 30px; }

.pc-name { font-size: 1.2rem; color: var(--text-dark); }
.pc-time { font-size: 1rem; color: var(--text-muted); font-weight: 600; }

.about-section {
  background: var(--white);
  padding: 100px 5%;
}

.container-standard {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  color: var(--blue-dark);
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 60px; height: 4px;
  background: var(--blue-main);
  border-radius: 2px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.about-text-content p {
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.rounded-image-large {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.mission-vision-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.mv-card {
  background: #f8fafc;
  padding: 40px;
  border-radius: var(--radius-md);
  border-top: 5px solid var(--blue-light);
  box-shadow: var(--shadow-soft);
}

.mv-icon {
  width: 50px; height: 50px;
  background: var(--blue-main);
  color: var(--white);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}

.mv-card h3 { font-size: 1.5rem; color: var(--blue-dark); margin-bottom: 15px; }
.mv-card p { color: var(--text-muted); }

.contact-section {
  background: var(--blue-dark);
  padding: 100px 5%;
  color: var(--white);
}

.text-white { color: var(--white); }
.text-light-blue { color: rgba(255,255,255,0.7); }

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-method-item {
  display: flex; gap: 20px;
  margin-top: 30px;
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border-radius: var(--radius-md);
}

.cm-icon {
  width: 45px; height: 45px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.cm-text h4 { font-size: 1.2rem; margin-bottom: 5px; }
.cm-text p { color: rgba(255,255,255,0.7); font-size: 0.95rem; }

.contact-form-side {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  color: var(--text-dark);
}

.form-title { font-size: 1.8rem; margin-bottom: 25px; color: var(--blue-dark); }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--text-muted); }

.form-group input, .form-group textarea {
  width: 100%; padding: 15px;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem;
  background: #f8fafc;
}
.form-group textarea { height: 120px; resize: vertical; }

.submit-btn {
  width: 100%; background: var(--blue-main); color: var(--white);
  border: none; padding: 15px; border-radius: var(--radius-pill);
  font-size: 1.1rem; font-weight: 700; cursor: pointer;
  transition: background 0.3s;
}
.submit-btn:hover { background: var(--blue-dark); }

.success-message {
  display: none; align-items: center; gap: 10px;
  background: #dcfce7; color: #166534;
  padding: 15px; border-radius: var(--radius-sm); margin-bottom: 20px; font-weight: 600;
}

footer {
  background: #062347;
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 30px 5%;
}

@media (max-width: 1024px) {
  .hero-bg-wrapper { width: 100%; }
  .hero-gradient-overlay { background: linear-gradient(180deg, var(--bg-gradient-top) 0%, rgba(10, 61, 122, 0.7) 40%, transparent 100%); }
  .pg-container, .about-grid, .contact-wrapper { flex-direction: column; grid-template-columns: 1fr; gap: 40px; }
  .pg-right-cards { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
}

@media (max-width: 768px) {
  .desktop-nav, .desktop-btn { display: none; }
  .mobile-menu-toggle { display: block; font-size: 28px; }
  header { padding: 15px 5%; background: var(--bg-gradient-top); } /* Solid on mobile for readability */
  
  .hero-section { padding: 120px 5% 60px; background: var(--bg-gradient-top); }
  .hero-ticker { flex-wrap: wrap; justify-content: center; font-size: 0.85rem; }
  
  .floating-hero-card {
    padding: 25px 20px;
    border-radius: var(--radius-md);
    -webkit-backdrop-filter: blur(25px);
    background: rgba(255, 255, 255, 0.15);
  }
  .floating-hero-card h1 { font-size: 2.5rem; }
  
  .next-prayer-highlight { flex-direction: column; align-items: flex-start; gap: 15px; }
  .np-countdown { font-size: 1.5rem; }
  
  .pg-right-cards { grid-template-columns: repeat(2, 1fr); gap: 15px; }
  .prayer-card-ui { padding: 15px 10px; }
  .pc-icon { width: 45px; height: 45px; }
  .pc-icon .material-icons-round { font-size: 22px; }
  .pc-name { font-size: 1rem; }
  
  .about-section, .contact-section { padding: 60px 5%; }
  .mission-vision-cards { grid-template-columns: 1fr; }
  .contact-form-side { padding: 25px 15px; }

  .form-group input, .form-group textarea, .custom-select-wrapper select { font-size: 16px; }
}

@media (max-width: 480px) {
  .floating-hero-card h1 { font-size: 2.2rem; }
  .dates-wrapper { flex-direction: column; gap: 5px; }
}


    /* Prayer Grid Styles */
    .prayer-row-3 {
      width: 100%;
      margin: 0 auto;
    }

    .prayer-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      grid-template-rows: repeat(2, auto);
      gap: 15px;
      width: 100%;
    }

    .prayer-column {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 20px 15px;
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
      border-radius: 15px;
      border: 1px solid rgba(255, 255, 255, 0.2);
      transition: all 0.3s ease;
      text-align: center;
    }

    .prayer-column:hover {
      background: rgba(255, 255, 255, 0.15);
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

    .prayer-icon {
      font-size: 24px;
      color: #f4d03f;
      margin-bottom: 10px;
    }

    .prayer-name {
      font-family: 'Outfit', sans-serif;
      font-size: 14px;
      font-weight: 600;
      color: #fff;
      margin-bottom: 5px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .prayer-time {
      font-family: 'Geist', sans-serif;
      font-size: 16px;
      font-weight: 500;
      color: #fff;
    }

    /* Prayer Times Row in Hero Section */
    .prayer-times-row {
      margin-top: 25px;
      padding: 20px;
      background: rgba(255, 255, 255, 0.05);
      backdrop-filter: blur(15px);
      border-radius: 20px;
      border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .prayer-times-row .prayer-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      grid-template-rows: repeat(2, auto);
      gap: 12px;
      width: 100%;
    }

    .prayer-block {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 15px 10px;
      background: rgba(255, 255, 255, 0.08);
      backdrop-filter: blur(10px);
      border-radius: 12px;
      border: 1px solid rgba(255, 255, 255, 0.15);
      transition: all 0.3s ease;
      text-align: center;
      position: relative;
    }

    .prayer-block:hover {
      background: rgba(255, 255, 255, 0.12);
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    }

    .prayer-block.active {
      background: rgba(212, 175, 116, 0.2);
      border-color: rgba(212, 175, 116, 0.4);
      box-shadow: 0 0 20px rgba(212, 175, 116, 0.3);
    }

    .pb-icon {
      font-size: 20px;
      color: #f4d03f;
      margin-bottom: 8px;
    }

    .pb-name {
      font-family: 'Outfit', sans-serif;
      font-size: 12px;
      font-weight: 600;
      color: #fff;
      margin-bottom: 4px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .pb-time {
      font-family: 'Geist', sans-serif;
      font-size: 14px;
      font-weight: 500;
      color: #fff;
    }

    /* Login Modal Styles */
    .login-modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 9999;
      background: rgba(0, 0, 0, 0.5);
      backdrop-filter: blur(5px);
    }

    .modal-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.3);
    }

    .modal-content {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
      border-radius: 20px;
      padding: 40px;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
      border: 1px solid rgba(212, 175, 116, 0.2);
      max-width: 400px;
      width: 90%;
      text-align: center;
    }

    .modal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 30px;
    }

    .modal-header h2 {
      font-family: 'Outfit', sans-serif;
      font-size: 24px;
      font-weight: 600;
      color: #1a365d;
      margin: 0;
    }

    .modal-close {
      background: linear-gradient(135deg, #d4a574, #b8935f);
      border: none;
      border-radius: 50%;
      width: 40px;
      height: 40px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
    }

    .modal-close:hover {
      transform: scale(1.1);
      box-shadow: 0 4px 20px rgba(212, 175, 116, 0.4);
    }

    .login-form {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .input-wrapper {
      position: relative;
      display: flex;
      align-items: center;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 10px;
      padding: 12px 15px;
      transition: all 0.3s ease;
    }

    .input-wrapper:focus-within {
      border-color: rgba(212, 175, 116, 0.3);
      box-shadow: 0 0 0 4px rgba(212, 175, 116, 0.1);
    }

    .input-icon {
      color: #d4a574;
      margin-right: 10px;
      font-size: 18px;
    }

    .login-form input {
      flex: 1;
      background: transparent;
      border: none;
      outline: none;
      font-family: 'Geist', sans-serif;
      font-size: 14px;
      color: #1a365d;
    }

    .login-form input::placeholder {
      color: rgba(26, 32, 46, 0.5);
    }

    .password-toggle {
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 8px;
      border-radius: 5px;
      transition: all 0.3s ease;
    }

    .password-toggle:hover {
      background: rgba(212, 175, 116, 0.1);
    }

    .login-submit-btn {
      background: linear-gradient(135deg, #d4a574, #b8935f);
      color: white;
      border: none;
      border-radius: 50px;
      padding: 15px 30px;
      font-size: 16px;
      font-weight: 600;
      font-family: 'Outfit', sans-serif;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
    }

    .login-submit-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(212, 175, 116, 0.4);
    }

    .forgot-password {
      margin-top: 15px;
    }

    .forgot-password a {
      color: #d4a574;
      text-decoration: none;
      font-size: 14px;
      font-family: 'Geist', sans-serif;
      transition: all 0.3s ease;
    }

    .forgot-password a:hover {
      color: #b8935f;
      text-decoration: underline;
    }

    /* Mobile Responsive for Prayer Grid */
    @media (max-width: 768px) {
      .prayer-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, auto);
        gap: 10px;
      }
      
      .prayer-column {
        padding: 15px 10px;
      }
      
      .prayer-icon {
        font-size: 20px;
      }
      
      .prayer-name {
        font-size: 12px;
      }
      
      .prayer-time {
        font-size: 14px;
      }

      .prayer-times-row .prayer-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, auto);
        gap: 8px;
      }

      .prayer-block {
        padding: 12px 8px;
      }
      
      .pb-icon {
        font-size: 18px;
        margin-bottom: 6px;
      }
      
      .pb-name {
        font-size: 11px;
      }
      
      .pb-time {
        font-size: 13px;
      }
    }

    @media (max-width: 576px) {
      .prayer-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, auto);
        gap: 8px;
      }
      
      .prayer-column {
        padding: 12px 8px;
      }
      
      .prayer-icon {
        font-size: 18px;
        margin-bottom: 8px;
      }
      
      .prayer-name {
        font-size: 11px;
      }
      
      .prayer-time {
        font-size: 13px;
      }

      .prayer-times-row {
        padding: 15px;
        margin-top: 20px;
      }

      .prayer-times-row .prayer-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, auto);
        gap: 6px;
      }

      .prayer-block {
        padding: 10px 6px;
      }
      
      .pb-icon {
        font-size: 16px;
        margin-bottom: 5px;
      }
      
      .pb-name {
        font-size: 10px;
      }
      
      .pb-time {
        font-size: 12px;
      }
    }

    /* Mobile Responsive for Prayer Section Content */
    @media (max-width: 768px) {
      .mobile-center {
        text-align: center !important;
      }
      
      .floating-hero-card h1.mobile-center {
        text-align: center !important;
        white-space: nowrap;
        font-size: clamp(1.2rem, 4vw, 2rem);
      }
      
      .floating-hero-card p.mobile-center {
        text-align: center !important;
        margin: 0 auto;
        max-width: 95%;
        font-size: clamp(0.9rem, 2.5vw, 1.1rem);
        line-height: 1.6;
      }
    }

    @media (max-width: 576px) {
      .floating-hero-card h1.mobile-center {
        font-size: clamp(1rem, 5vw, 1.6rem);
      }
      
      .floating-hero-card p.mobile-center {
        font-size: clamp(0.8rem, 3vw, 1rem);
        max-width: 98%;
      }
    }

    /* Desktop Responsive for Heading */
    @media (min-width: 769px) {
      .floating-hero-card h1.mobile-center {
        white-space: nowrap;
        font-size: clamp(1.8rem, 2.5vw, 2.2rem);
      }
      
      .next-prayer-highlight {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 30px;
        text-align: left;
      }
      
      .prayer-details {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 15px;
      }
      
      .np-left, .np-right {
        width: 100%;
        text-align: left;
      }
      
      .np-label {
        display: block;
        font-size: 12px;
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 5px;
      }
      
      .np-countdown {
        font-size: 18px;
        font-weight: 600;
        color: #f4d03f;
      }
      
      .analog-clock-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        flex-shrink: 0;
      }
      
      .analog-clock {
        position: relative;
        width: 120px;
        height: 120px;
        background: rgba(255, 255, 255, 0.1);
        border: 2px solid rgba(212, 175, 116, 0.3);
        border-radius: 50%;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
      }
      
      .clock-face {
        position: relative;
        width: 100%;
        height: 100%;
        border-radius: 50%;
      }
      
      .clock-center {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 8px;
        height: 8px;
        background: #d4a574;
        border-radius: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
      }
      
      .hand {
        position: absolute;
        top: 50%;
        left: 50%;
        transform-origin: bottom center;
        border-radius: 4px;
      }
      
      .hour-hand {
        width: 4px;
        height: 35px;
        background: #d4a574;
        transform: translate(-50%, -100%) rotate(0deg);
      }
      
      .minute-hand {
        width: 3px;
        height: 45px;
        background: #1a365d;
        transform: translate(-50%, -100%) rotate(0deg);
      }
      
      .second-hand {
        width: 2px;
        height: 50px;
        background: #f4d03f;
        transform: translate(-50%, -100%) rotate(0deg);
      }
      
      .clock-numbers {
        position: absolute;
        width: 100%;
        height: 100%;
      }
      
      .number {
        position: absolute;
        top: 50%;
        left: 50%;
        font-size: 12px;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.8);
        transform: translate(-50%, -50%);
        transform-origin: center;
      }
      
      .number:nth-child(1) { transform: translate(-50%, -50%) rotate(30deg) translateY(-45px); }
      .number:nth-child(2) { transform: translate(-50%, -50%) rotate(60deg) translateY(-45px); }
      .number:nth-child(3) { transform: translate(-50%, -50%) rotate(90deg) translateY(-45px); }
      .number:nth-child(4) { transform: translate(-50%, -50%) rotate(120deg) translateY(-45px); }
      .number:nth-child(5) { transform: translate(-50%, -50%) rotate(150deg) translateY(-45px); }
      .number:nth-child(6) { transform: translate(-50%, -50%) rotate(180deg) translateY(-45px); }
      .number:nth-child(7) { transform: translate(-50%, -50%) rotate(210deg) translateY(-45px); }
      .number:nth-child(8) { transform: translate(-50%, -50%) rotate(240deg) translateY(-45px); }
      .number:nth-child(9) { transform: translate(-50%, -50%) rotate(270deg) translateY(-45px); }
      .number:nth-child(10) { transform: translate(-50%, -50%) rotate(300deg) translateY(-45px); }
      .number:nth-child(11) { transform: translate(-50%, -50%) rotate(330deg) translateY(-45px); }
      .number:nth-child(12) { transform: translate(-50%, -50%) rotate(0deg) translateY(-45px); }
      
      .prayer-marker {
        text-align: center;
        margin-top: 8px;
        padding: 4px 8px;
        background: rgba(212, 175, 116, 0.2);
        border-radius: 6px;
        border: 1px solid rgba(212, 175, 116, 0.3);
      }
      
      .prayer-marker-text {
        display: block;
        font-size: 11px;
        font-weight: 600;
        color: #d4a574;
        margin-bottom: 2px;
      }
      
      .prayer-marker-time {
        display: block;
        font-size: 10px;
        color: rgba(255, 255, 255, 0.7);
      }
    }
    
    /* Mobile Responsive for Clock Layout */
    @media (max-width: 768px) {
      .next-prayer-highlight {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 15px;
        text-align: left;
        min-height: 150px; /* Increased for larger clock with padding */
        overflow: visible; /* Prevent clipping */
      }
      
      .prayer-details {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 12px;
        min-width: 0; /* Prevent flex item overflow */
      }
      
      .np-left, .np-right {
        width: 100%;
        text-align: left;
      }
      
      .np-label {
        font-size: 11px;
        margin-bottom: 3px;
      }
      
      .np-countdown {
        font-size: 16px;
      }
      
      .analog-clock-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
        min-width: 110px; /* Increased from 100px */
        position: relative; /* Ensure proper positioning */
        z-index: 1; /* Ensure clock is above other elements */
      }
      
      .analog-clock {
        width: 110px; /* Increased from 100px */
        height: 110px; /* Increased from 100px */
        min-width: 110px; /* Prevent shrinking */
        min-height: 110px; /* Maintain aspect ratio */
        flex-shrink: 0; /* Prevent compression */
        position: relative;
        z-index: 2; /* Ensure clock face is above */
        background: rgba(255, 255, 255, 0.1);
        border: 2px solid rgba(212, 175, 116, 0.3);
        border-radius: 50%;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
        padding: 0; /* Remove padding to ensure proper circle */
      }
      
      .clock-face {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        position: relative;
        overflow: hidden; /* Keep elements contained */
      }
      
      .clock-center {
        width: 7px;
        height: 7px;
        background: #d4a574;
        border-radius: 50%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
      }
      
      .hand {
        position: absolute;
        top: 50%;
        left: 50%;
        transform-origin: bottom center;
        border-radius: 4px;
        z-index: 5;
      }
      
      .hour-hand {
        width: 3px;
        height: 35px;
        background: #d4a574;
        transform: translate(-50%, -100%) rotate(0deg);
      }
      
      .minute-hand {
        width: 2px;
        height: 44px;
        background: #1a365d;
        transform: translate(-50%, -100%) rotate(0deg);
      }
      
      .second-hand {
        width: 1px;
        height: 47px;
        background: #f4d03f;
        transform: translate(-50%, -100%) rotate(0deg);
      }
      
      .clock-numbers {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 3;
        padding: 0; /* Remove padding */
      }
      
      .number {
        font-size: 10px; /* Reduced from 11px */
        font-weight: 600;
        color: rgba(255, 255, 255, 0.8);
        position: absolute;
        top: 50%;
        left: 50%;
        transform-origin: center;
        z-index: 4;
      }
      
      .number:nth-child(1) { transform: translate(-50%, -50%) rotate(30deg) translateY(-42px); }
      .number:nth-child(2) { transform: translate(-50%, -50%) rotate(60deg) translateY(-42px); }
      .number:nth-child(3) { transform: translate(-50%, -50%) rotate(90deg) translateY(-42px); }
      .number:nth-child(4) { transform: translate(-50%, -50%) rotate(120deg) translateY(-42px); }
      .number:nth-child(5) { transform: translate(-50%, -50%) rotate(150deg) translateY(-42px); }
      .number:nth-child(6) { transform: translate(-50%, -50%) rotate(180deg) translateY(-42px); }
      .number:nth-child(7) { transform: translate(-50%, -50%) rotate(210deg) translateY(-42px); }
      .number:nth-child(8) { transform: translate(-50%, -50%) rotate(240deg) translateY(-42px); }
      .number:nth-child(9) { transform: translate(-50%, -50%) rotate(270deg) translateY(-42px); }
      .number:nth-child(10) { transform: translate(-50%, -50%) rotate(300deg) translateY(-42px); }
      .number:nth-child(11) { transform: translate(-50%, -50%) rotate(330deg) translateY(-42px); }
      .number:nth-child(12) { transform: translate(-50%, -50%) rotate(0deg) translateY(-42px); }
    }
    
    /* Extra Small Mobile Fix */
    @media (max-width: 480px) {
      .next-prayer-highlight {
        gap: 12px;
      }
      
      .analog-clock-container {
        min-width: 80px;
      }
      
      .analog-clock {
        width: 80px;
        height: 80px;
        min-width: 80px;
        min-height: 80px;
      }
      
      .hour-hand {
        height: 25px;
      }
      
      .minute-hand {
        height: 32px;
      }
      
      .second-hand {
        height: 35px;
      }
      
      .number {
        font-size: 8px;
      }
      
      .number:nth-child(1) { transform: translate(-50%, -50%) rotate(30deg) translateY(-32px); }
      .number:nth-child(2) { transform: translate(-50%, -50%) rotate(60deg) translateY(-32px); }
      .number:nth-child(3) { transform: translate(-50%, -50%) rotate(90deg) translateY(-32px); }
      .number:nth-child(4) { transform: translate(-50%, -50%) rotate(120deg) translateY(-32px); }
      .number:nth-child(5) { transform: translate(-50%, -50%) rotate(150deg) translateY(-32px); }
      .number:nth-child(6) { transform: translate(-50%, -50%) rotate(180deg) translateY(-32px); }
      .number:nth-child(7) { transform: translate(-50%, -50%) rotate(210deg) translateY(-32px); }
      .number:nth-child(8) { transform: translate(-50%, -50%) rotate(240deg) translateY(-32px); }
      .number:nth-child(9) { transform: translate(-50%, -50%) rotate(270deg) translateY(-32px); }
      .number:nth-child(10) { transform: translate(-50%, -50%) rotate(300deg) translateY(-32px); }
      .number:nth-child(11) { transform: translate(-50%, -50%) rotate(330deg) translateY(-32px); }
      .number:nth-child(12) { transform: translate(-50%, -50%) rotate(0deg) translateY(-32px); }
    }