/* === User's Original CSS === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  background: #fbfbfd;
  color: #1d1d1f;
  min-height: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  box-sizing: border-box;
}
html, body {
  height: 100%;
}
/* Apple-style Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 44px;
  background: rgba(251, 251, 253, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.navbar-content {
  max-width: 980px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
}
.nav-left, .nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.nav-icon:hover {
  opacity: 0.7;
}
.nav-icon svg {
  width: 16px;
  height: 16px;
  fill: #1d1d1f;
}
.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.nav-title {
  font-family: "SF Pro Display", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #1d1d1f;
}
.nav-subtitle {
  font-size: 8px;
  color: #6e6e73;
  letter-spacing: 0.02em;
}
/* Desktop Navigation Menu Items */
.nav-menu-items {
  display: none;
  gap: 32px;
  align-items: center;
}
.nav-menu-item {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
  color: #6e6e73;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}
.nav-menu-item.active {
  color: #0071e3;
  background: rgba(0, 113, 227, 0.1);
}
.nav-menu-item:hover {
  background: rgba(0, 0, 0, 0.04);
}
.nav-menu-icon {
  font-size: 16px;
}
.nav-signin-btn {
  display: none; /* <-- FIX: Changed from 'flex' to 'none'. Ab yeh mobile par hide rahega. */
  padding: 6px 16px;
  background: #0071e3;
  color: #ffffff;
  border: none;
  border-radius: 980px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 8px;
  align-items: center;
  gap: 8px;
}
.nav-signin-btn:hover {
  background: #0077ed;
  /* transform: scale(1.05); */ /* <-- PROBLEM REMOVED */
}
.nav-signin-btn svg {
    width: 16px;
    height: 16px;
    fill: white;
}
@media (min-width: 769px) {
  .nav-signin-btn {
    display: flex;
  }
}
/* Hero Section - Apple Style */
.hero-section {
  margin-top: 44px;
  padding: 0;
  text-align: center;
  background: linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 100%);
  position: relative;
  overflow: hidden;
  display: none;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(0, 113, 227, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
}
.hero-title {
  display: none;
}
.hero-subtitle {
  display: none;
}
.hero-cta {
  display: none;
}
.btn-primary {
  font-family: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  background: #0071e3;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.022em;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover {
  background: #0077ed;
  /* transform: scale(1.02); */ /* <-- PROBLEM REMOVED */
}
.btn-secondary {
  font-family: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  background: transparent;
  color: #0071e3;
  padding: 12px 24px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.022em;
  border: 1px solid #0071e3;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}
.btn-secondary:hover {
  background: rgba(0, 113, 227, 0.1);
}

/* Services Grid - Apple Card Style */
.services-section {
  padding: 52px 20px 12px;
  max-width: 980px;
  margin: 0 auto;
}
@media (min-width: 769px) {
  .services-section {
    padding-bottom: 12px;
  }
}
.section-header {
  display: none;
}
.section-title {
  font-family: "SF Pro Display", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  color: #f5f5f7;
}
.section-subtitle {
  font-size: 21px;
  color: #a1a1a6;
  font-weight: 400;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 0;
}
@media (min-width: 600px) and (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
@media (min-width: 769px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
}
.service-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 24px 12px; 
  text-align: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
@media (min-width: 600px) {
  .service-card {
    padding: 28px 16px; /* Desktop/Tablet ke liye bhi padding barhai */
  }
}
@media (min-width: 769px) {
  .service-card {
    padding: 32px 20px; /* Bade screens ke liye bhi padding barhai */
  }
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 113, 227, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.service-card:hover {
  /* transform: translateY(-4px); */ /* <-- PROBLEM REMOVED */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 0, 0, 0.12);
}
.service-card:hover::before {
  opacity: 1;
}
.service-icon {
  font-size: 36px;
  margin-bottom: 6px;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}
@media (min-width: 600px) {
  .service-icon {
    font-size: 42px;
    margin-bottom: 8px;
  }
}
@media (min-width: 769px) {
  .service-icon {
    font-size: 48px;
    margin-bottom: 10px;
  }
}
.service-name {
  font-family: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #1d1d1f;
  position: relative;
  z-index: 1;
}
@media (min-width: 600px) {
  .service-name {
    font-size: 15px;
  }
}
@media (min-width: 769px) {
  .service-name {
    font-size: 16px;
  }
}
/* Ibadat Section - Full Width Apple Style */
.ibadat-section {
  background: transparent;
  padding: 12px 20px 12px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 0;
}
.ibadat-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: moveGrid 20s linear infinite;
  opacity: 0.3;
}
@keyframes moveGrid {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}
.ibadat-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}
.ibadat-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0;
  background: #ffffff;
  padding: 20px 15px; 
  border-radius: 10px;
  display: block;
  cursor: pointer;
  
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
              
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, 
    #FF0080 0%, 
    #FF8C00 10%, 
    #FFD700 20%, 
    #00FF00 30%, 
    #00CED1 40%, 
    #0080FF 50%, 
    #8B00FF 60%, 
    #FF0080 70%, 
    #FF8C00 80%, 
    #FFD700 90%, 
    #00FF00 100%);
  background-size: 200% 100%;
  animation: rainbowShift 3s linear infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@media (min-width: 600px) {
  .ibadat-title {
    font-size: 16px;
    padding: 22px 20px; /* Tablet ke liye padding barhai */
  }
}
@media (min-width: 769px) {
  .ibadat-title {
    font-size: 18px;
    padding: 24px 24px; /* Desktop ke liye padding barhai */
  }
}
@keyframes rainbowShift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}
.ibadat-title::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  opacity: 1;
  transition: opacity 0.4s ease;
  z-index: -1;
}
.ibadat-title:hover {
  /* transform: translateY(-4px); */ /* <-- PROBLEM REMOVED */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 0, 0, 0.12);
}
.ibadat-title:active::before {
  opacity: 0.8; 
}
.ibadat-subtitle {
  display: none;
}
.ibadat-btn {
  display: none;
}
/* Announcement Bar - Apple Style */
.announcement-bar {
  background: #f5f5f7;
  padding: 10px 20px;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  
  margin-top: 44px;
}
.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 980px;
  margin: 0 auto;
}
.announcement-icon {
  font-size: 13px;
}
.announcement-text {
  font-size: 10px;
  font-weight: 400;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}
@media (min-width: 600px) {
  .announcement-text {
    font-size: 12px;
  }
}
@media (min-width: 769px) {
  .announcement-text {
    font-size: 13px;
  }
  
  .announcement-bar {
  	margin-top: 44px;
  }
}
.announcement-link {
  color: #0071e3;
  text-decoration: none;
  font-weight: 500;
  margin-left: 8px;
  transition: opacity 0.3s ease;
  display: none;
}
.announcement-link:hover {
  opacity: 0.7;
}

/* Featured Slider Section - Apple Style */
.featured-slider-section {
  padding: 12px 20px 64px;
  background: #fbfbfd;
  overflow: hidden;
}
@media (min-width: 769px) {
  .featured-slider-section {
    padding: 12px 20px 32px;
  }
}
/* ▼▼▼ SLIDER CONTAINER MEIN POSITION RELATIVE ADD KIYA ▼▼▼ */
.slider-container {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  overflow: visible;
}
.slider-wrapper {
  overflow: hidden;
  padding: 16px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative; /* Added for arrow positioning */
}
.slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}
.slide {
  min-width: 85%;
  max-width: 85%;
  flex-shrink: 0;
  background: linear-gradient(135deg, #ffffff 0%, #f5f5f7 100%);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  opacity: 0.4;
  transform: scale(0.92);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 0 7.5%;
}
@media (min-width: 600px) and (max-width: 768px) {
  .slide {
    min-width: 70%;
    max-width: 70%;
    margin: 0 15%;
    padding: 20px 24px;
  }
}
@media (min-width: 769px) {
  .slide {
    min-width: 60%;
    max-width: 60%;
    margin: 0 20%;
    padding: 24px 32px;
  }
}
.slide.active {
  opacity: 1;
  transform: scale(1);
}
.slide-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  align-items: center;
}
.slide-badge {
  display: inline-block;
  background: #0071e3;
  color: #ffffff;
  padding: 4px 11px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  width: fit-content;
}
.slide-title {
  font-family: "SF Pro Display", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #1d1d1f;
  line-height: 1.1;
}
@media (min-width: 600px) {
  .slide-title {
    font-size: 20px;
  }
}
@media (min-width: 769px) {
  .slide-title {
    font-size: 24px;
  }
}
.slide-description {
  font-size: 12px;
  color: #6e6e73;
  font-weight: 400;
  line-height: 1.2;
}
@media (min-width: 600px) {
  .slide-description {
    font-size: 14px;
  }
}
@media (min-width: 769px) {
  .slide-description {
    font-size: 16px;
  }
}
.slide-price {
  font-size: 15px;
  font-weight: 600;
  color: #1d1d1f;
  margin-top: 2px;
}
@media (min-width: 600px) {
  .slide-price {
    font-size: 17px;
  }
}
@media (min-width: 769px) {
  .slide-price {
    font-size: 20px;
  }
}
.slide-btn {
  background: #0071e3;
  color: #ffffff;
  padding: 7px 16px;
  border-radius: 980px;
  font-size: 12px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  width: fit-content;
  margin-top: 2px;
}
.slide-btn:hover {
  background: #0077ed;
  /* transform: scale(1.05); */ /* <-- PROBLEM REMOVED */
}
.slide-image {
  display: none;
}
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 12px;
}
.slider-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: #1d1d1f;
}
.slider-arrow:hover {
  background: rgba(0, 0, 0, 0.1);
  /* transform: scale(1.1); */ /* <-- PROBLEM REMOVED */
}
.slider-arrow svg {
  width: 18px;
  height: 18px;
}
.slider-dots {
  display: flex;
  gap: 7px;
  align-items: center;
}
.slider-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}
.slider-dot.active {
  background: #0071e3;
  width: 20px;
  border-radius: 3.5px;
}
.slider-dot:hover {
  background: rgba(0, 0, 0, 0.4);
}
/* Bottom Navigation - iOS Style */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 52px;
  background: rgba(251, 251, 253, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 1000;
}
.nav-items {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  height: 100%;
  padding: 0 22px;
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  width: 60px;
  height: 100%;
  transition: opacity 0.3s ease;
  color: #6e6e73;
}
.nav-item.active {
  color: #0071e3;
}
.nav-item:hover {
  opacity: 0.7;
}
.nav-item-icon {
  font-size: 20px;
  transition: transform 0.2s ease;
}
.nav-item.active .nav-item-icon {
  transform: scale(1.05);
}
.nav-item-label {
  font-family: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
/* Side Menu - iOS Apple Style */
.side-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2000;
}
.side-menu-overlay.show {
  opacity: 1;
  visibility: visible;
}
.side-menu {
  position: fixed;
  top: 0;
  left: -85%;
  width: 85%;
  max-width: 375px;
  height: 100%;
  background: rgba(242, 242, 247, 0.98);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2001;
  overflow-y: auto;
  box-shadow: 2px 0 24px rgba(0, 0, 0, 0.15);
}
.side-menu.open {
  left: 0;
}
.menu-header {
  padding: 50px 16px 16px;
  background: transparent;
}
.language-switch {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  background: rgba(0, 0, 0, 0.05);
  padding: 4px;
  border-radius: 10px;
}
.lang-btn {
  font-family: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  flex: 1;
  padding: 8px 16px;
  border: none;
  background: transparent;
  color: #1d1d1f;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.016em;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.lang-btn.active {
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
.lang-btn:active {
  transform: scale(0.98);
}
.menu-signin-section {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  margin-bottom: 16px;
}
.signin-prompt {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.signin-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0071e3 0%, #0077ed 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 113, 227, 0.3);
}
.signin-text {
  flex: 1;
}
.signin-title {
  font-family: "SF Pro Display", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}
.signin-subtitle {
  font-size: 13px;
  color: #8e8e93;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.signin-buttons {
  display: flex;
  gap: 10px;
}
.menu-signin-btn, .menu-signup-btn {
  flex: 1;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}
.menu-signin-btn {
  background: #0071e3;
  color: #ffffff;
}
.menu-signin-btn:active {
  /* transform: scale(0.98); */ /* <-- PROBLEM REMOVED */
  background: #0077ed;
}
.menu-signup-btn {
  background: transparent;
  color: #0071e3;
  border: 1px solid #0071e3;
}
.menu-signup-btn:active {
  /* transform: scale(0.98); */ /* <-- PROBLEM REMOVED */
  background: rgba(0, 113, 227, 0.1);
}
.user-profile-section {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  margin-bottom: 16px;
}
.user-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0071e3 0%, #0077ed 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 113, 227, 0.3);
}
.user-info {
  flex: 1;
  min-width: 0;
}
.user-name {
  font-family: "SF Pro Display", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-phone {
  font-size: 14px;
  color: #8e8e93;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.edit-profile-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 113, 227, 0.1);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.edit-profile-btn:active {
  /* transform: scale(0.95); */ /* <-- PROBLEM REMOVED */
  background: rgba(0, 113, 227, 0.2);
}
.edit-icon {
  width: 16px;
  height: 16px;
  fill: #0071e3;
}
.menu-separator {
  height: 1px;
  background: rgba(60, 60, 67, 0.12);
  margin: 0 16px 16px;
}
.menu-items {
  padding: 8px 16px 20px;
}
.menu-section {
  background: #ffffff;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.menu-item {
  font-family: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
  color: #1d1d1f;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.01em;
  border-bottom: 0.5px solid rgba(60, 60, 67, 0.12);
  position: relative;
}
.menu-item:last-child {
  border-bottom: none;
}
.menu-item:active {
  background: rgba(0, 0, 0, 0.05);
}
.menu-item::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-right: 2px solid #c7c7cc;
  border-top: 2px solid #c7c7cc;
  transform: translateY(-50%) rotate(45deg);
}
.menu-item-icon {
  font-size: 22px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.menu-item-text {
  flex: 1;
}
.menu-footer {
  padding: 20px;
  text-align: center;
}
.menu-version {
  font-size: 12px;
  color: #8e8e93;
  font-weight: 400;
}
/* Desktop Menu Bar */
.desktop-menu {
  display: none;
}
@media (min-width: 769px) {
  .bottom-nav {
    display: none;
  }
  .desktop-menu {
    display: none;
  }
  /* Show menu items in navbar on desktop */
  .nav-menu-items {
    display: flex;
  }
  /* Hide mobile menu button on desktop */
  #menuBtn {
    display: none;
  }
  /* Adjust navbar layout for desktop */
  .nav-center {
    position: static;
    transform: none;
  }
  .navbar-content {
    justify-content: space-between;
  }
  .hero-section {
    margin-top: 44px;
  }
  .services-section {
    padding-top: 52px;
  }
  /* Show Auth button on desktop */
  .btn-auth-whatsapp {
    display: flex;
  }
}
/* Responsive Design */
@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }
  .btn-primary, .btn-secondary {
    width: 100%;
  }
}

/* === NEW STYLES FOR FIREBASE AUTH & PROFILE === */

.hidden {
  display: none !important;
}

/* WhatsApp-style Auth Button */
.btn-auth-whatsapp {
  display: none; /* <-- FIX: Changed from 'flex' to 'none'. Ab yeh mobile par hide rahega. */
  align-items: center;
  gap: 8px;
  background-color: #25D366;
  color: white;
  padding: 6px 16px;
  border: none;
  border-radius: 980px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 8px;
  white-space: nowrap;
}
.btn-auth-whatsapp:hover {
  background-color: #1EBE57;
  /* transform: scale(1.05); */ /* <-- PROBLEM REMOVED */
}
.btn-auth-whatsapp svg {
  width: 16px;
  height: 16px;
  fill: white;
}

/* ******** YEH FIX HAI ******** */
/* Mobile par (768px se kam) Auth button ko chupao */
@media (max-width: 768px) {
    .btn-auth-whatsapp,
    .nav-signin-btn { /* <-- FIX: Dono buttons ko hide karne ke liye rule update kiya */
        display: none !important; 
    }
}

/* Auth Modal Styles */
.auth-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.auth-modal-content {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
}
.auth-modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 30px;
  height: 30px;
  background: #f0f0f5;
  border: none;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 600;
  color: #86868b;
  cursor: pointer;
}
.auth-modal-title {
  font-size: 24px;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 8px;
  text-align: center;
}
.auth-modal-subtitle {
  font-size: 16px;
  color: #86868b;
  margin-bottom: 24px;
  text-align: center;
}
.auth-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e8e8ed;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 16px;
}
.auth-input:focus {
  outline: none;
  border-color: #007aff;
  box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.15);
}
.auth-btn {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  background: #007aff;
  color: white;
  transition: all 0.3s ease;
}
.auth-btn:hover {
  background: #0051d5;
}
.auth-btn:disabled {
  background: #d1d1d6;
  cursor: not-allowed;
}
.otp-input-container {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 24px 0;
}
.otp-input {
  width: 45px;
  height: 55px;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  border: 2px solid #e8e8ed;
  border-radius: 12px;
}
.otp-input:focus {
  outline: none;
  border-color: #007aff;
}
#recaptcha-container {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

/* Profile Page Styles */
.profile-page-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fbfbfd;
  z-index: 1500;
  overflow-y: auto;
  padding: 20px;
  padding-top: 64px; /* For navbar */
}
.profile-page-content {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.profile-page-title {
  font-size: 24px;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 8px;
  text-align: center;
}
.profile-page-subtitle {
  font-size: 16px;
  color: #86868b;
  margin-bottom: 24px;
  text-align: center;
}
.profile-input-group {
  margin-bottom: 16px;
}
.profile-input-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 8px;
}
.profile-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e8e8ed;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
}
.profile-input:focus {
  outline: none;
  border-color: #007aff;
  box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.15);
}
.profile-btn-save {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  background: #34c759; /* Green */
  color: white;
  transition: all 0.3s ease;
}
.profile-btn-save:hover {
  background: #2da84a;
}
.profile-btn-close {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  background: #f5f5f7;
  color: #1d1d1f;
  transition: all 0.3s ease;
  margin-top: 12px;
}
.profile-btn-close:hover {
  background: #e8e8ed;
}

/* Service Card Link */
.service-card-link {
  text-decoration: none;
  color: inherit;
}

/* --- YAHAN SE NAYA/UPDATED CODE SHURU HOTA HAI --- */

/* --- UI/UX OVERHAUL (Request 16-Nov) --- */

/* --- 1. Compact Mobile "App" Layout --- */
html, body {
  height: 100%;
  overflow: hidden; 
  font-family: 'Inter', sans-serif; 
}

.main-wrapper {
  height: 100vh; 
  display: flex;
  flex-direction: column;
  background: #f8f9fa; 
}

.main-header, .main-footer {
  flex-shrink: 0; 
}

.content-area {
  flex: 1; 
  overflow-y: auto; 
  padding: 0 16px; 
}

/* --- 2. Spacing Kam Karna --- */
.services-section, 
.featured-slider-section, 
.ibadat-section {
  padding-top: 16px;
  padding-bottom: 16px;
  padding-left: 0;  
  padding-right: 0;
}

.section-header {
  display: none; 
  margin-bottom: 16px; 
  padding: 0; 
  text-align: left; 
}
.section-title {
  font-size: 22px; 
  font-weight: 700;
  color: #1d1d1f; 
  letter-spacing: -0.01em;
  margin-bottom: 0;
}


/* --- 3. Slider Ki Spacing (FIXED) --- */
.featured-slider-section {
  padding-top: 16px; /* Ooper laya gaya hai isliye normal padding */
  padding-bottom: 16px; /* Spacing kam ki taake dots nazar aayein */
  background: transparent; 
}
.slider-container {
  padding-top: 0; 
  position: relative; /* Arrows ke liye zaroori */
}
/* Slider Wrapper ab relative hai */
.slider-wrapper {
  position: relative;
}

.slider-controls {
  margin-top: 8px; /* Dots ko qareeb kiya */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px; 
}
/* ▼▼▼ ARROW STYLING (Inside card) ▼▼▼ */
.slider-arrow {
  width: 28px; 
  height: 28px;
  background: rgba(255, 255, 255, 0.8); /* Semi-transparent */
  backdrop-filter: blur(5px);
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  border-radius: 50%; 
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  cursor: pointer;
  color: #333; 
  
  /* Position absolute */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10; /* Card ke ooper */
}
.slider-arrow.slider-prev {
  left: 8px; /* Card ke andar left par */
}
.slider-arrow.slider-next {
  right: 8px; /* Card ke andar right par */
}

.slider-arrow svg {
  width: 16px; 
  height: 16px;
  stroke: #333; 
  fill: #333; 
  stroke-width: 2; 
}
.slider-arrow:hover {
  background: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.slider-dots {
  flex-grow: 1; 
  justify-content: center;
  display: flex;
  gap: 6px;
}
.slider-dot {
  width: 7px; 
  height: 7px;
}
.slider-dot.active {
  background: #007aff; 
  width: 9px; 
  height: 9px;
  border-radius: 50%; 
}


/* --- 4. Naya Ibadat Button Grid --- */
.ibadat-section {
  background: transparent;
  padding-top: 0; 
}
.ibadat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: 12px;
  width: 100%;
}

.ibadat-btn {
  display: flex; 
}
.ibadat-btn.grid-btn {
  background-color: #ffffff; 
  color: #1d1d1f;
  border: 1px solid #e0e0e5; 
  border-radius: 16px;
  padding: 16px;
  height: 80px; 
  font-size: 15px;
  font-weight: 600;
  
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden; 
  margin-top: 0; 
}

.ibadat-btn.grid-btn .menu-item-icon {
  font-size: 24px;
  margin-bottom: 8px;
  margin-right: 0; 
}

.ibadat-btn.grid-btn:hover {
  background-color: #f5f5f7;
  /* transform: translateY(-2px); */ /* <-- PROBLEM REMOVED */
  border-color: #c0c0c5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Feedback ke liye shadow */
}

.ibadat-btn#umrahGuideBtn {
  background-color: #007aff;
  color: white;
  border: none;
}
.ibadat-btn#umrahGuideBtn:hover {
  background-color: #0056b3;
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.2); /* Shadow update */
}


/* --- 5. NAYA "Slow Slide" Animation (FIXED) --- */

/* Keyframe (5s stay + 2s move) * 5 items = 35s total */
@keyframes slide-text-slow {
  /* Total 35s loop (5s stay + 2s move) * 5 items */
  /* 0% - 14.28% (5s): Item 1 (Zikr) stays */
  0%   { transform: translateY(0); }
  14.28% { transform: translateY(0); }
  /* 14.28% - 20% (2s): Move to Item 2 */
  20%  { transform: translateY(-16.666%); }
  
  /* 20% - 34.28% (5s): Item 2 (Duain) stays */
  34.28% { transform: translateY(-16.666%); }
  /* 34.28% - 40% (2s): Move to Item 3 */
  40%  { transform: translateY(-33.333%); }
  
  /* 40% - 54.28% (5s): Item 3 (Ibadah) stays */
  54.28% { transform: translateY(-33.333%); }
  /* 54.28% - 60% (2s): Move to Item 4 */
  60%  { transform: translateY(-50%); }
  
  /* 60% - 74.28% (5s): Item 4 (Tasbih) stays */
  74.28% { transform: translateY(-50%); }
  /* 74.28% - 80% (2s): Move to Item 5 */
  80%  { transform: translateY(-66.666%); }
  
  /* 80% - 94.28% (5s): Item 5 (Pray) stays */
  94.28% { transform: translateY(-66.666%); }
  /* 94.28% - 100% (2s): Move to Item 6 (Loop) */
  100% { transform: translateY(-83.333%); }
}

/* Style for the container button */
.ibadat-btn#ibadahGuideBtn {
  background-color: #ffffff;
  color: #1d1d1f;
  border-color: #e0e0e5;
  padding: 0; /* Padding inner container handle karega */
  animation: none; /* Button par koi animation nahi */
}
.ibadat-btn#ibadahGuideBtn:hover {
  background-color: #f5f5f7;
  border-color: #c0c0c5;
}

/* Container for the sliding text */
.anim-text-container {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* The sliding element (Class from products.html) */
.anim-text-breathe { 
  height: 600%; /* 6 items (5 + 1 loop) */
  width: 100%;
  /* Naya 35-second animation */
  animation: slide-text-slow 35s linear infinite;
}

.anim-text-breathe span {
  display: flex;
  flex-direction: column; /* Icon ooper */
  align-items: center;
  justify-content: center;
  height: 16.666%; /* 100 / 6 */
  width: 100%;
  font-size: 15px;
  font-weight: 600;
  color: #1d1d1f; 
}

/* Icons ko color karein */
.anim-text-breathe span .menu-item-icon {
  color: #007aff; /* Blue icon */
  font-size: 24px;
  margin-bottom: 8px;
  animation: none; /* Icon par alag animation nahi */
}


/* --- 6. Explore All Packages Button (Rainbow Effect FIX) --- */
.explore-packages-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin-top: 16px;
  width: 100%;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;

  /* Rainbow Effect Logic */
  background: linear-gradient(90deg, 
    #FF0080 0%, #FF8C00 10%, #FFD700 20%, #00FF00 30%, #00CED1 40%, 
    #0080FF 50%, #8B00FF 60%, #FF0080 70%, #FF8C00 80%, #FFD700 90%, #00FF00 100%);
  background-size: 200% 100%;
  animation: rainbowShift 3s linear infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent; /* Fallback */
}

/* Background *behind* the text */
.explore-packages-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff; /* White background */
  opacity: 1;
  transition: all 0.3s ease;
  z-index: -1;
}

/* --- HOVER EFFECT FIX --- */
.explore-packages-btn:hover {
  /* transform: translateY(-2px); */ /* <-- PROBLEM REMOVED */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  
  /* Rainbow text effect hatayein */
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  
  /* Aap ka requested color */
  color: #737373; 
}
.explore-packages-btn:hover::before {
    background: #f0f2f5; /* Hover par background change karein */
    opacity: 1;
}
.explore-packages-btn:hover .explore-icon {
   color: #737373; /* Emoji color bhi match karein */
   -webkit-background-clip: none;
   -webkit-text-fill-color: initial;
   background: none;
}
/* --- HOVER FIX END --- */


.explore-packages-btn .explore-icon {
  font-size: 18px;
  margin-right: 8px;
  -webkit-background-clip: none;
  -webkit-text-fill-color: initial;
  background: none;
  color: #333; 
}


/* --- 7. Desktop View Ko Behtar Karna --- */
@media (min-width: 768px) {
  
  html, body {
    height: auto;
    overflow: auto;
    background: #f0f0f5; 
  }
  
  .main-wrapper {
    height: auto;
  }
  
  .content-area {
    overflow-y: visible; 
    flex: none;
    width: 100%;
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 24px;
    
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* Left column (slider) bara */
    gap: 24px;
    
    /* Grid areas (SLIDER AT TOP) */
    grid-template-areas:
      "slider products";
  }
  
  #products-container {
    grid-area: products; 
    background-color: white; 
    border-radius: 16px; 
    padding: 24px; 
  }
  #slider-container {
    grid-area: slider; 
    padding: 0;
    background-color: white;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .services-section {
    padding: 0; 
  }
  
  .ibadat-section {
    padding: 0; 
    margin-top: 24px; 
    background: none; 
  }
  
  .ibadat-title {
    display: none;
  }

  .ibadat-grid {
    grid-template-columns: 1fr 1fr; 
    gap: 16px;
  }
  
  .featured-slider-section {
    padding: 24px; 
    background: transparent;
  }
  .slider-controls {
    margin-top: 16px;
  }
}