/* ==========================================================================
   DESIGN SYSTEM & FOUNDATION - MILAN MATRIMONY
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-color: #E91E63;
  --primary-hover: #C2185B;
  --bg-color: #F7F8FC;
  --card-bg: #FFFFFF;
  --text-color: #212121;
  --text-muted: #666666;
  --border-radius: 15px;
  --border-radius-sm: 8px;
  --border-radius-lg: 30px;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.04);
  --shadow-medium: 0 15px 35px rgba(0, 0, 0, 0.08);
  --shadow-primary: 0 10px 25px rgba(233, 30, 99, 0.15);
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --font-family: 'Poppins', sans-serif;
  --success-color: #4CAF50;
  --whatsapp-color: #25D366;
  --info-color: #00BCD4;
  --border-color: #E0E0E0;
}

/* Reset Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

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

/* Main Container */
main {
  min-height: calc(100vh - 80px - 350px); /* Fill space between navbar and footer */
  padding: 40px 0;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Button Component */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--border-radius-lg);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--primary-color);
  color: #ffffff;
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(233, 30, 99, 0.25);
}

.btn-secondary {
  background-color: var(--info-color);
  color: #ffffff;
}

.btn-secondary:hover {
  background-color: #00acc1;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: #ffffff;
}

.btn-success {
  background-color: var(--success-color);
  color: #ffffff;
}

.btn-success:hover {
  background-color: #43A047;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: var(--whatsapp-color);
  color: #ffffff;
}

.btn-whatsapp:hover {
  background-color: #128C7E;
  transform: translateY(-2px);
}

.btn-back {
  background-color: #37474F;
  color: #ffffff;
}

.btn-back:hover {
  background-color: #263238;
  transform: translateY(-2px);
}

/* ==========================================================================
   NAVBAR (STICKY & RESPONSIVE)
   ========================================================================== */

.header-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo img {
  height: 48px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-item a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-color);
  position: relative;
  padding: 8px 0;
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition-smooth);
}

.nav-item a:hover {
  color: var(--primary-color);
}

.nav-item a:hover::after {
  width: 100%;
}

.nav-item.active a {
  color: var(--primary-color);
}

.nav-item.active a::after {
  width: 100%;
}

.nav-login {
  margin-left: 10px;
}

/* Hamburger Menu Icon */
.hamburger {
  display: none;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 10px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 5px 0;
  transition: var(--transition-smooth);
  border-radius: 3px;
}

/* ==========================================================================
   TOP PROFILE SLIDER (HORIZONTAL SCROLL)
   ========================================================================== */

.slider-section {
  background-color: var(--card-bg);
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.slider-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  touch-action: pan-y;
}

.slider-track {
  display: flex;
  align-items: center;
  gap: 15px;
  transition: transform 0.3s ease;
  will-change: transform;
  user-select: none;
}

.slider-item {
  flex: 0 0 calc(100% / 12 - 15px); /* Responsive override in responsive.css */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.slider-item:hover {
  transform: translateY(-4px);
}

.slider-avatar-wrapper {
  position: relative;
  width: 68px;
  height: 68px;
  margin-bottom: 6px;
}

.slider-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-color);
  background-color: var(--bg-color);
  padding: 2px;
  box-shadow: 0 4px 10px rgba(233, 30, 99, 0.15);
}

.slider-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-color);
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slider-verified-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--success-color);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  border: 2px solid #ffffff;
}

/* ==========================================================================
   HERO / SEARCH SECTION
   ========================================================================== */

.hero-section {
  background: linear-gradient(135deg, #FFF3F6 0%, #E3F2FD 100%);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 20%, rgba(233, 30, 99, 0.03) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(0, 188, 212, 0.03) 0%, transparent 40%);
  pointer-events: none;
}

.hero-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-color);
  margin-bottom: 10px;
}

.hero-title span {
  color: var(--primary-color);
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 35px;
}

/* Search Bar Wrapper */
.search-container {
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--card-bg);
  padding: 15px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-medium);
}

.search-bar-form {
  display: flex;
  gap: 15px;
  align-items: center;
}

.search-group {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 20px;
  color: var(--text-muted);
}

.search-input {
  width: 100%;
  padding: 14px 20px 14px 45px;
  font-family: var(--font-family);
  font-size: 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  outline: none;
  background-color: var(--bg-color);
  transition: var(--transition-smooth);
}

.search-input:focus {
  border-color: var(--primary-color);
  background-color: var(--card-bg);
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.search-submit {
  height: 52px;
  padding: 0 30px;
}

/* ==========================================================================
   HOMEPAGE CONTENT GRID (FILTERS & PROFILES)
   ========================================================================== */

.home-layout {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  align-items: flex-start;
}

/* Filters Sidebar */
.filters-sidebar {
  flex: 0 0 380px; /* Widened to support 2-column dropdowns */
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 25px;
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 100px;
}

.filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--bg-color);
  padding-bottom: 10px;
}

.filters-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-reset {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-color);
  background: none;
  border: none;
  cursor: pointer;
}

.btn-reset:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* Disabled Reset Button state styling */
.btn-reset:disabled,
#resetFiltersBtnMobile:disabled {
  opacity: 0.4;
  cursor: default !important;
  pointer-events: none;
}


/* Filters Responsive Grid */
.filters-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.filter-group {
  margin-bottom: 0px; /* Handled by grid-gap */
}

.filter-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 6px;
}

.filter-select {
  width: 100%;
  padding: 10px 12px;
  font-family: var(--font-family);
  font-size: 13px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  outline: none;
  background-color: #ffffff;
  color: var(--text-color);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-select:focus {
  border-color: var(--primary-color);
}

/* Profile Results Feed */
.profiles-feed {
  flex: 1;
}

.feed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.results-count {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
}

.results-count span {
  color: var(--text-color);
  font-weight: 700;
}

/* Grid Layout for Profile Cards */
.profiles-grid {
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(4, 1fr); /* Default Desktop */
}

/* Profile Card Styling */
.profile-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  border: 1px solid rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
}

.profile-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
  border-color: rgba(233, 30, 99, 0.1);
}

.profile-card-image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: #eaeaea;
}

.profile-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.profile-card:hover .profile-card-image img {
  transform: scale(1.05);
}

.badge-gender {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.badge-male {
  background-color: var(--info-color);
}

.badge-female {
  background-color: var(--primary-color);
}

.badge-verified-card {
  position: absolute;
  bottom: 15px;
  left: 15px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
  background-color: var(--success-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.badge-premium-card {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  color: #212121;
  background-color: #FFD700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 10;
}

.badge-new-card {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
  background-color: var(--primary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.profile-card-details {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.profile-card-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-meta-list {
  margin-bottom: 20px;
}

.profile-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.profile-meta-item i {
  color: var(--primary-color);
  width: 16px;
  text-align: center;
}

.profile-card-action {
  width: 100%;
}

/* Skeleton Loading State */
.skeleton-card {
  pointer-events: none;
}

.skeleton-image {
  aspect-ratio: 4 / 5;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

.skeleton-text {
  height: 16px;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 4px;
}

.skeleton-name {
  height: 22px;
  width: 70%;
  margin-bottom: 15px;
}

.skeleton-meta {
  width: 90%;
}

.skeleton-btn {
  height: 40px;
  width: 100%;
  border-radius: 20px;
  margin-top: 10px;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* No Results State */
.no-results {
  text-align: center;
  padding: 60px 20px;
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
}

.no-results i {
  font-size: 50px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.no-results h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.no-results p {
  color: var(--text-muted);
}

/* ==========================================================================
   PROFILE DETAIL PAGE
   ========================================================================== */

.profile-detail-layout {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 30px;
  align-items: start;
}

/* Profile Left Panel */
.profile-panel-left {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 25px;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.profile-avatar-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  margin-bottom: 20px;
  background-color: #f0f0f0;
}

.profile-avatar-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-details-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 5px;
}

.profile-details-id {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 15px;
}

.profile-details-badges {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 25px;
}

.badge-detail {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.badge-verified {
  background-color: #E8F5E9;
  color: #2E7D32;
}

.badge-premium {
  background-color: #FFF8E1;
  color: #F57F17;
}

.profile-action-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.profile-action-buttons .btn {
  width: 100%;
}

/* Profile Right Panel */
.profile-panel-right {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Section Box Components */
.profile-section-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow-soft);
}

.profile-section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid var(--bg-color);
  padding-bottom: 10px;
}

.profile-section-title i {
  color: var(--primary-color);
}

.about-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Info Grid Layout */
.profile-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.info-item {
  display: flex;
  flex-direction: column;
}

.info-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.info-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-color);
}

/* Image Gallery Style */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.gallery-item {
  aspect-ratio: 1 / 1;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  cursor: pointer;
  background-color: #f0f0f0;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-item::after {
  content: '\f00e';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(233, 30, 99, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
  opacity: 0;
  transition: var(--transition-smooth);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover::after {
  opacity: 1;
}

/* Lightbox Modal CSS */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  position: relative;
  max-width: 80%;
  max-height: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 70vh;
  border-radius: var(--border-radius-sm);
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #ffffff;
  font-size: 30px;
  cursor: pointer;
  background: none;
  border: none;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #ffffff;
  font-size: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  transition: var(--transition-smooth);
}

.lightbox-nav:hover {
  color: var(--primary-color);
}

.lightbox-prev {
  left: -80px;
}

.lightbox-next {
  right: -80px;
}

.lightbox-counter {
  color: #ffffff;
  margin-top: 15px;
  font-size: 14px;
}

/* ==========================================================================
   ABOUT US PAGE & CONTACT PAGE
   ========================================================================== */

/* About Section CSS */
.about-hero {
  text-align: center;
  padding: 50px 0;
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  margin-bottom: 40px;
}

.about-hero h1 {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.about-hero p {
  font-size: 16px;
  color: var(--text-muted);
}

.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 50px;
}

.feature-box {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: var(--transition-smooth);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
  border-color: rgba(233, 30, 99, 0.1);
}

.feature-icon {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.feature-box h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.feature-box p {
  color: var(--text-muted);
  font-size: 14px;
}

.team-section {
  text-align: center;
  margin-top: 50px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.team-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  text-align: center;
  padding: 20px;
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 15px auto;
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--primary-color);
  box-shadow: var(--shadow-soft);
}

.team-card h4 {
  font-size: 16px;
  margin-bottom: 5px;
}

.team-card p {
  color: var(--text-muted);
  font-size: 13px;
}

/* Contact Page CSS */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  background-color: var(--card-bg);
  padding: 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(233, 30, 99, 0.08);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.contact-card h4 {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-card p {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
}

.contact-form-card {
  background-color: var(--card-bg);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 15px;
  font-family: var(--font-family);
  font-size: 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  outline: none;
  background-color: var(--bg-color);
  transition: var(--transition-smooth);
}

.form-input:focus {
  border-color: var(--primary-color);
  background-color: var(--card-bg);
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.08);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.alert-message {
  margin-top: 15px;
  padding: 12px 15px;
  border-radius: var(--border-radius-sm);
  font-size: 14px;
  font-weight: 500;
  display: none;
}

.alert-success {
  background-color: #E8F5E9;
  color: #2E7D32;
  border: 1px solid #C8E6C9;
}

/* ==========================================================================
   TERMS, PRIVACY POLICY & 404
   ========================================================================== */

.policy-card {
  background-color: var(--card-bg);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  max-width: 900px;
  margin: 0 auto;
}

.policy-card h1 {
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 10px;
  text-align: center;
}

.policy-last-updated {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.policy-card h2 {
  font-size: 18px;
  margin-top: 25px;
  margin-bottom: 10px;
  color: var(--text-color);
}

.policy-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 15px;
  line-height: 1.8;
}

/* 404 Page Design */
.error-page-layout {
  text-align: center;
  padding: 80px 20px;
  max-width: 600px;
  margin: 0 auto;
}

.error-code {
  font-size: 120px;
  font-weight: 800;
  line-height: 1;
  color: var(--primary-color);
  margin-bottom: 15px;
  letter-spacing: -2px;
  text-shadow: 0 10px 20px rgba(233, 30, 99, 0.15);
}

.error-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.error-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 30px;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */

.footer-section {
  background-color: #1A1A24;
  color: #B0B0C0;
  padding: 60px 0 20px 0;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-desc {
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 5px;
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #2E2E3C;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: var(--transition-smooth);
}

.social-icon:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #2E2E3C;
  padding-top: 20px;
  font-size: 13px;
}

/* ==========================================================================
   CARD DIRECT CONTACT BUTTONS STYLES
   ========================================================================== */
.profile-card-actions-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: auto;
}

.profile-card-contact-buttons {
  display: flex;
  gap: 10px;
  width: 100%;
}

.btn-call {
  background-color: var(--success-color);
  color: #ffffff !important;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 15px;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-smooth);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
}

.btn-call:hover {
  background-color: #2e7d32;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(76, 175, 80, 0.2);
}

.btn-call:focus-visible {
  outline: none;
  border-color: #212121;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.4);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #ffffff !important;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 15px;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-smooth);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
}

.btn-whatsapp:hover {
  background-color: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:focus-visible {
  outline: none;
  border-color: #212121;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.4);
}

@media (max-width: 380px) {
  .profile-card-contact-buttons {
    flex-direction: column;
    gap: 8px;
  }
}

/* ==========================================================================
   MOBILE FILTER BOTTOM SHEET STYLES
   ========================================================================== */
.mobile-filter-toggle-container {
  display: none;
}

.filter-close-btn {
  display: none;
}

.filter-actions-mobile {
  display: none;
}

.filter-backdrop.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   PREMIUM LIGHT PROFILE PAGE STYLES - SCOPED
   ========================================================================== */

/* Vertical Info List in Left Panel */
body.profile-page .header-details-list {
  text-align: left;
  margin: 25px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fcfcfd;
  padding: 18px 15px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-color);
}

body.profile-page .header-details-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f4;
}

body.profile-page .header-details-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

body.profile-page .detail-label {
  color: var(--text-muted);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

body.profile-page .detail-label i {
  color: var(--primary-color);
  width: 16px;
  text-align: center;
}

body.profile-page .detail-value {
  color: var(--text-color);
  font-weight: 600;
  font-size: 13px;
}

/* Photo Gallery Item with Caption Support */
body.profile-page .gallery-grid {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 15px;
}

body.profile-page .gallery-item-wrapper {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

body.profile-page .gallery-item-wrapper:hover {
  transform: translateY(-4px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-soft);
}

body.profile-page .gallery-item {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

body.profile-page .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

body.profile-page .gallery-item:hover img {
  transform: scale(1.05);
}

body.profile-page .gallery-caption {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  padding: 8px 10px;
  background: #fdfdfd;
  border-top: 1px solid #f0f0f4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

/* Rate Card Table Section */
body.profile-page .rate-card-container {
  overflow-x: auto;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-color);
  background: #fcfcfd;
}

body.profile-page .rate-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

body.profile-page .rate-table th {
  color: var(--text-color);
  background-color: #f0f0f4;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 12px 15px;
  border-bottom: 2px solid var(--border-color);
}

body.profile-page .rate-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #f0f0f4;
  font-size: 14px;
}

body.profile-page .rate-table tr:last-child td {
  border-bottom: none;
}

body.profile-page .rate-value {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 15px;
}

/* Services tags style */
body.profile-page .services-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

body.profile-page .service-tag {
  background: rgba(233, 30, 99, 0.05);
  border: 1px solid rgba(233, 30, 99, 0.2);
  color: var(--primary-hover);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

body.profile-page .service-tag:hover {
  background: rgba(233, 30, 99, 0.1);
  border-color: var(--primary-color);
  transform: translateY(-1px);
}

body.profile-page .service-tag i {
  color: var(--primary-color);
  font-size: 11px;
}

/* Edit Mode Layouts & Forms Styling */
body.profile-page .form-group {
  margin-bottom: 18px;
  text-align: left;
}

body.profile-page .form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

body.profile-page .form-select,
body.profile-page .form-textarea {
  width: 100%;
  padding: 12px 15px;
  font-family: var(--font-family);
  font-size: 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  outline: none;
  background-color: var(--bg-color);
  transition: var(--transition-smooth);
}

body.profile-page .form-select:focus,
body.profile-page .form-textarea:focus {
  border-color: var(--primary-color);
  background-color: var(--card-bg);
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.08);
}

body.profile-page .form-select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23E91E63' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 35px;
}

body.profile-page .languages-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 12px;
  background: var(--bg-color);
  border-radius: var(--border-radius-sm);
  max-height: 140px;
  overflow-y: auto;
  border: 1px solid var(--border-color);
}

body.profile-page .checklist-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-color);
  cursor: pointer;
}

body.profile-page .checklist-item input[type="checkbox"] {
  accent-color: var(--primary-color);
  width: 15px;
  height: 15px;
  cursor: pointer;
}

/* Edit Mode Photo Gallery Grid */
body.profile-page .gallery-edit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px;
}

body.profile-page .gallery-edit-card {
  background: var(--card-bg);
  border: 1px dashed var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

body.profile-page .gallery-edit-preview {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  background: #eaeaea;
  border: 1px solid var(--border-color);
}

body.profile-page .gallery-edit-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.profile-page .gallery-edit-controls {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.profile-page .btn-file-upload {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(233, 30, 99, 0.05);
  color: var(--primary-color);
  border: 1px solid rgba(233, 30, 99, 0.2);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
}

body.profile-page .btn-file-upload:hover {
  background: rgba(233, 30, 99, 0.1);
  border-color: var(--primary-color);
}

body.profile-page .gallery-caption-input {
  width: 100%;
  padding: 6px 10px;
  font-size: 12px;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  color: var(--text-color);
}

body.profile-page .gallery-caption-input:focus {
  border-color: var(--primary-color);
}

/* Rate Card Edit styling */
body.profile-page .rate-card-edit {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.profile-page .rate-edit-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: center;
  gap: 15px;
}

body.profile-page .rate-edit-row label {
  color: var(--text-color);
  font-size: 13px;
  font-weight: 500;
}

/* Services Offered Checklist in Edit Mode */
body.profile-page .services-edit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}

body.profile-page .service-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  color: var(--text-color);
  cursor: pointer;
  transition: var(--transition-smooth);
}

body.profile-page .service-checkbox-label:hover {
  border-color: var(--primary-color);
  background: var(--bg-color);
}

body.profile-page .service-checkbox-label input[type="checkbox"] {
  accent-color: var(--primary-color);
  width: 16px;
  height: 16px;
}

body.profile-page .service-checkbox-label span {
  font-size: 13px;
  font-weight: 500;
}

/* Profile Avatar Custom Overlay */
body.profile-page .avatar-edit-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
  gap: 8px;
}

body.profile-page .profile-avatar-container:hover .avatar-edit-overlay {
  opacity: 1;
}

