:root {
  /* Primary Colors - Based on #1D3557 (Dreams to Reality Estate) */
  --primary: #1D3557;           /* Main brand color - Deep Navy */
  --primary-dark: #0a192f;      /* Darker shade for hover states */
  --primary-light: #2a4b7c;     /* Lighter shade */
  --primary-soft: #457b9d;      /* Soft blue for backgrounds */
  --primary-extra-light: #e8f0f8; /* Very light blue for subtle backgrounds */
  
  /* Secondary Colors - Elegant & Professional */
  --secondary: #E63946;         /* Vibrant accent for CTAs */
  --secondary-dark: #c1121f;    /* Darker red */
  --secondary-light: #f8ad9d;   /* Light pink for highlights */
  
  /* Tertiary Colors - Luxury & Premium */
  --tertiary: #A8DADC;          /* Light teal for acc.service-iconents */
  --tertiary-dark: #457b9d;     /* Medium teal */
  --gold: #D4AF37;              /* Gold for premium accents */
  --gold-light: #F4E4A6;        /* Light gold */
  
  /* Neutral Colors - Clean & Professional */
  --muted: #6c757d;             /* Gray for muted text */
  --muted-light: #adb5bd;       /* Light gray */
  --light: #f8f9fa;             /* Light background */
  --white: #ffffff;             /* White */
  --off-white: #f8f9fa;         /* Off-white */
  --dark: #212529;              /* Dark text */
  --darker: #1a1a1a;            /* Darker text for headers */
  --border: #dee2e6;            /* Border color */
  --border-light: #e9ecef;      /* Light border */
  --border-dark: #ced4da;       /* Darker border */
  
  /* Status Colors */
  --success: #28a745;           /* Green */
  --success-light: #d4edda;     /* Light green */
  --warning: #ffc107;           /* Yellow */
  --warning-light: #fff3cd;     /* Light yellow */
  --danger: #dc3545;            /* Red */
  --danger-light: #f8d7da;      /* Light red */
  --info: #17a2b8;              /* Teal */
  --info-light: #d1ecf1;        /* Light teal */
  
  /* Shadows - Premium feel */
  --shadow-sm: 0 1px 3px rgba(29, 53, 87, 0.1);
  --shadow-md: 0 4px 12px rgba(29, 53, 87, 0.08);
  --shadow-lg: 0 10px 30px rgba(29, 53, 87, 0.12);
  --shadow-xl: 0 20px 50px rgba(29, 53, 87, 0.15);
  --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.05);
  
  /* Border Radius - Elegant curves */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-full: 9999px;
  --radius-pill: 50px;
  
  /* Transitions - Smooth animations */
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-family-heading: 'Montserrat', var(--font-family);
}

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

html, body {
  height: 100%;
  width: 100%;
}

body {
  background: var(--light);
  font-family: var(--font-family);
  color: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  font-weight: 600;
  color: var(--darker);
  line-height: 1.2;
}

/* Main Layout */
.main-content {
  /* min-height: 100vh; */
  padding-bottom: 80px;
  position: relative;
}

/* Enhanced Link Styling */
a {
  color: var(--border);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}

a:hover {
  color: var(--primary-extra-light);
}

a:not(.btn):hover::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--primary);
  opacity: 0.5;
}

/* Premium Hero Section */
.hero {
  position: relative;
  background-color: var(--primary);
  background-size: cover;
  background-position: center;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(29, 53, 87, 0.85);
  z-index: 1;
}

.hero .container { 
  position: relative; 
  z-index: 2; 
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.hero h1 { 
  color: var(--white);
  /*font-weight: 700;*/
  font-size: 2.2rem;
  line-height: 1.1;
  /*text-align: center;*/
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.hero p { 
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  max-width: 750px;
  /*text-align: center;*/
  margin-bottom: 2rem;
}

/* Premium Search Panel */
.search-panel {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.search-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
}

.search-panel .form-control,
.search-panel .form-select {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.875rem 1rem;
  font-size: 1rem;
  transition: var(--transition);
}

.search-panel .form-control:focus,
.search-panel .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29, 53, 87, 0.1);
  outline: none;
}

/* Premium Cards */
.card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  background: var(--white);
  position: relative;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-soft);
}

.card-img-top {
  height: 240px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card:hover .card-img-top {
  transform: scale(1.03);
}

.card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary);
  color: var(--white);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: var(--shadow-md);
}

/* Premium Property Card Badges */
.property-card .card-badge.featured {
  background: var(--secondary);
}

.property-card .card-badge.new {
  background: var(--gold);
  color: var(--dark);
}

/* Price Styling */
.price {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.5rem;
}

.price::before {
  content: '₹';
  font-size: 1rem;
  vertical-align: super;
  margin-right: 2px;
}



/* =========================================== */
/* TOP BAR & STICKY NAVIGATION */
/* =========================================== */

/* Top Bar */
.top-bar {
  background-color: var(--primary-dark);
  color: var(--white);
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
  opacity: 0.9;
}

.top-bar a:hover {
  opacity: 1;
  color: var(--white);
}

.top-bar .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
  padding: 0.25rem 0.75rem;
}

.top-bar .btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.top-bar .btn-primary {
  padding: 0.25rem 0.75rem;
  background-color: rgba(255, 255, 255, 0.2);
  border-color: transparent;
}

.top-bar .btn-primary:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

/* Mobile Top Bar */
.mobile-top-bar {
  background-color: var(--primary-dark);
  color: var(--white);
  font-size: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: none;
}

@media (max-width: 767.98px) {
  .mobile-top-bar {
    display: block;
  }
  
  .mobile-top-bar .btn-outline-light {
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
  }
}

/* Sticky Navigation Wrapper */
.sticky-top-wrapper {
  position: sticky;
  top: 0;
  z-index: 1030;
  width: 100%;
}

/* Sticky Navbar */
.navbar.sticky-top {
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

/* Navbar when scrolled */
.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Navbar Brand */
.navbar-brand {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary) !important;
}

.navbar-brand .brand-text {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation Links */
.nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  color: var(--dark) !important;
  position: relative;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary) !important;
}

.nav-link.active {
  color: var(--primary) !important;
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background-color: var(--primary);
  border-radius: 1px;
}

/* Dropdown Menu */
.dropdown-menu {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  margin-top: 0.5rem;
}

.dropdown-item {
  padding: 0.5rem 1rem;
  color: var(--dark);
  transition: var(--transition);
}

.dropdown-item:hover {
  background-color: var(--primary-extra-light);
  color: var(--primary);
}

/* Agent Login Button */
.navbar .btn-primary {
  padding: 0.5rem 1.25rem;
  font-weight: 500;
}

/* Mobile Navigation Toggle */
.navbar-toggler {
  border: none;
  padding: 0.5rem;
  font-size: 1.25rem;
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

/* Mobile Menu Styling */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: var(--white);
    padding: 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    margin-top: 1rem;
    border: 1px solid var(--border-light);
  }
  
  .nav-link {
    padding: 0.75rem 0 !important;
    border-bottom: 1px solid var(--border-light);
  }
  
  .nav-link:last-child {
    border-bottom: none;
  }
  
  .nav-link.active::after {
    display: none;
  }
  
  .nav-link.active {
    background-color: var(--primary-extra-light);
    padding-left: 1rem !important;
    border-radius: var(--radius-sm);
  }
  
  .dropdown-menu {
    border: none;
    box-shadow: none;
    padding-left: 1rem;
  }
}







/* =========================================== */
/* ENHANCED SECTIONS STYLING */
/* =========================================== */

/* Section Title Enhancement */
.section-title.text-center h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.section-title.text-center h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

/* Project Cards */
.project-card {
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl) !important;
  border-color: var(--primary-soft);
}

.project-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary);
  color: var(--white);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: var(--shadow-md);
}

.project-badge.bg-success {
  background: var(--secondary) !important;
}

.project-badge.bg-gold {
  background: var(--gold) !important;
  color: var(--dark) !important;
}

.property-type-tag {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  padding: 0.25rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  margin: 1rem;
}

.property-type-tag.bg-secondary {
  background: var(--secondary) !important;
  color: var(--white) !important;
}

.property-type-tag.bg-dark {
  background: var(--dark) !important;
  color: var(--white) !important;
}

.feature-badge {
  background: var(--primary-extra-light);
  color: var(--primary);
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
}

/* Property Price Overlay */
.property-price-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  backdrop-filter: blur(2px);
}

/* Property Details */
.detail-item {
  padding: 0.5rem;
}

.detail-item i {
  font-size: 1.5rem !important;
  color: var(--primary);
}

/* Service Cards */
.service-card {
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg) !important;
  border-color: var(--primary);
}

.service-icon-wrapper {
  display: flex;
  justify-content: center;
}

.service-icon {
  width: 70px;
  height: 70px;
  background: var(--primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-icon.bg-secondary {
  background: var(--secondary) !important;
}

.service-icon.bg-gold {
  background: var(--gold) !important;
  color: var(--dark) !important;
}

/* CTA Enhancement */
.cta-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  z-index: 0;
}

.cta-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.z-index-1 {
  position: relative;
  z-index: 1;
}

.text-white-80 {
  color: rgba(255, 255, 255, 0.9) !important;
}

.cta-stats {
  transition: var(--transition);
}

.cta-stats:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg) !important;
}

/* Progress Bar Colors */
.progress-bar.bg-primary {
  background-color: var(--primary) !important;
}

.progress-bar.bg-success {
  background-color: var(--secondary) !important;
}

.progress-bar.bg-gold {
  background-color: var(--gold) !important;
}

/* Add gold color to root if not present */
:root {
  --gold: #D4AF37;
  --gold-light: #F4E4A6;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
  .section-title.text-center h2 {
    font-size: 1.75rem;
  }
  
  .section-title.text-center p.lead {
    font-size: 1rem;
  }
  
  .detail-item i {
    font-size: 1.25rem !important;
  }
  
  .cta-stats {
    margin-top: 2rem;
  }
}











/* =========================================== */
/* PROFESSIONAL FOOTER STYLING */
/* =========================================== */

/* Footer */
.footer {
  background: var(--primary-dark) !important;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--secondary);
}

/* Text Colors */
.text-white-70 {
  color: rgba(255, 255, 255, 0.7) !important;
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.5) !important;
}

/* Links */
.footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer a:hover {
  color: var(--white) !important;
  padding-left: 5px;
}

.hover-text-primary:hover {
  color: var(--secondary) !important;
}

/* Footer Brand */
.footer .navbar-brand {
  color: var(--white) !important;
  font-size: 1.75rem;
}

.footer .navbar-brand .text-secondary {
  color: var(--secondary) !important;
}

/* Footer Contact */
.footer-contact i {
  width: 20px;
  text-align: center;
}

.footer-contact a:hover {
  color: var(--secondary) !important;
  text-decoration: underline !important;
}

/* Social Icons */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 1.1rem;
  transition: var(--transition);
}

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

/* Recent Properties */
.recent-property-item {
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.recent-property-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.recent-property-item a:hover h6 {
  color: var(--secondary) !important;
}

/* Newsletter Form */
.subscribe-form .form-control {
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: var(--white) !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

.subscribe-form .form-control:focus {
  border-color: var(--secondary) !important;
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.2) !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

.subscribe-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}

.subscribe-form .btn-primary {
  background: var(--secondary) !important;
  border-color: var(--secondary) !important;
}

.subscribe-form .btn-primary:hover {
  background: var(--secondary-dark) !important;
  border-color: var(--secondary-dark) !important;
}

/* Mobile Newsletter */
.newsletter-mobile {
  background: var(--primary) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-mobile .form-control {
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
}

/* Footer Lists */
.footer ul.list-unstyled li {
  margin-bottom: 0.75rem;
}

.footer ul.list-unstyled li a {
  display: flex;
  align-items: center;
}

.footer ul.list-unstyled li a i {
  transition: var(--transition);
}

.footer ul.list-unstyled li a:hover i {
  color: var(--secondary) !important;
  transform: translateX(3px);
}

/* Divider */
.footer hr {
  opacity: 0.1;
}

/* Bottom Footer Links */
.footer .small:hover {
  color: var(--secondary) !important;
}

/* Responsive */
@media (max-width: 767.98px) {
  .footer {
    padding-top: 3rem !important;
    padding-bottom: 2rem !important;
  }
  
  .footer .col-md-6,
  .footer .col-md-4 {
    margin-bottom: 2rem;
  }
  
  .footer h5 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  }
  
  .footer-about {
    text-align: center;
  }
  
  .footer-about .navbar-brand {
    justify-content: center;
  }
  
  .footer-contact {
    text-align: center;
  }
  
  .footer-contact div {
    justify-content: center;
  }
  
  .footer-social {
    text-align: center;
  }
  
  .social-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

@media (max-width: 991.98px) {
  .footer .col-lg-3,
  .footer .col-lg-4 {
    margin-bottom: 2rem;
  }
}

/* Animation for hover effects */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.footer a:hover {
  animation: slideIn 0.3s ease-out;
}











/* =========================================== */
/* FIXED MOBILE BOTTOM NAVIGATION - PERFECT ALIGNMENT */
/* =========================================== */
.mobile-bottom-nav {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 9999 !important;
  background: var(--white) !important;
  border-top: 1px solid var(--border-light) !important;
  box-shadow: 0 -4px 20px rgba(29, 53, 87, 0.1) !important;
  height: 70px !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  transform: translateZ(0) !important;
  -webkit-transform: translateZ(0) !important;
}

/* Container for perfect alignment */
.mobile-bottom-nav .nav-container {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 10px !important;
  height: 100% !important;
  position: relative !important;
}

/* Regular nav items */
.mobile-bottom-nav .nav-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  color: var(--muted) !important;
  text-decoration: none !important;
  padding: 8px 6px !important;
  transition: var(--transition) !important;
  flex: 1 !important;
  min-width: 0 !important;
  position: relative !important;
  height: 100% !important;
  margin-top: 5px !important;
}

.mobile-bottom-nav .nav-item.active {
  color: var(--primary) !important;
}

.mobile-bottom-nav .nav-item:hover {
  color: var(--primary) !important;
}

/* Icon styling */
.mobile-bottom-nav .nav-icon {
  font-size: 1.3rem !important;
  margin-bottom: 3px !important;
  transition: var(--transition) !important;
}

/* Label styling */
.mobile-bottom-nav .nav-label {
  font-size: 0.65rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.2px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
}

/* =========================================== */
/* FIXED ADD BUTTON - PERFECTLY CENTERED */
/* =========================================== */
.mobile-bottom-nav .add-btn-wrapper {
  position: relative !important;
  flex: 0 0 auto !important;
  width: 80px !important;
  height: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start !important;
  margin: 0 5px !important;
}

.mobile-bottom-nav .add-btn {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-decoration: none !important;
  width: 100% !important;
  height: 100% !important;
  position: relative !important;
  padding-top: 0 !important;
}

/* Perfectly centered circle */
.add-circle {
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  background: var(--primary) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--white) !important;
  font-size: 1.6rem !important;
  box-shadow: 0 8px 25px rgba(29, 53, 87, 0.3) !important;
  transition: var(--transition) !important;
  border: 4px solid var(--white) !important;
  position: absolute !important;
  top: -28px !important; /* Half of height */
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 10001 !important;
}

.add-circle:hover {
  background: var(--primary-dark) !important;
  transform: translateX(-50%) scale(1.05) !important;
  box-shadow: 0 12px 30px rgba(29, 53, 87, 0.4) !important;
}

/* Add button label positioning */
.mobile-bottom-nav .add-btn .nav-label {
  position: absolute !important;
  bottom: 10px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  color: var(--muted) !important;
  font-size: 0.65rem !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}

/* Adjust regular nav items to accommodate the raised button */
.mobile-bottom-nav .nav-item:not(.add-btn) .nav-icon {
  margin-top: 5px !important;
}

.mobile-bottom-nav .nav-item:not(.add-btn) .nav-label {
  margin-top: 2px !important;
}

/* Active state dot */
.mobile-bottom-nav .nav-item.active::after {
  content: '' !important;
  position: absolute !important;
  bottom: 5px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 4px !important;
  height: 4px !important;
  background: var(--primary) !important;
  border-radius: 50% !important;
}

/* =========================================== */
/* RESPONSIVE FIXES */
/* =========================================== */
@media (max-width: 767.98px) {
  .mobile-bottom-nav {
    height: 70px !important;
  }
  
  .mobile-bottom-nav .nav-container {
    padding: 0 8px !important;
  }
  
  .mobile-bottom-nav .nav-item {
    padding: 8px 4px !important;
  }
  
  .mobile-bottom-nav .nav-icon {
    font-size: 1.2rem !important;
  }
  
  .mobile-bottom-nav .nav-label {
    font-size: 0.6rem !important;
  }
  
  .add-circle {
    width: 52px !important;
    height: 52px !important;
    top: -26px !important;
    font-size: 1.5rem !important;
  }
  
  .mobile-bottom-nav .add-btn-wrapper {
    width: 70px !important;
  }
}

/* For very small phones */
@media (max-width: 360px) {
  .mobile-bottom-nav .nav-container {
    padding: 0 5px !important;
  }
  
  .mobile-bottom-nav .nav-item {
    padding: 8px 2px !important;
  }
  
  .mobile-bottom-nav .nav-label {
    font-size: 0.55rem !important;
  }
  
  .add-circle {
    width: 48px !important;
    height: 48px !important;
    top: -24px !important;
    font-size: 1.4rem !important;
  }
  
  .mobile-bottom-nav .add-btn-wrapper {
    width: 65px !important;
  }
}



/* =========================================== */
/* HIDE MOBILE NAV ON DESKTOP */
/* =========================================== */
@media (min-width: 768px) {
  .mobile-bottom-nav {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }
  
  /* Also adjust main content padding on desktop */
  .main-content {
    padding-bottom: 0 !important;
  }
}

/* Show only on mobile */
@media (max-width: 767.98px) {
  .mobile-bottom-nav {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .main-content {
    padding-bottom: 70px !important; /* Height of mobile nav */
  }
}


/* Modal Form Styling */
.filter-card {
    background: #ffffff;
    padding: 20px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.filter-card h5 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

/* Labels */
.filter-card label {
    font-weight: 600;
    margin-top: 5px;
    display: block;
}

/* Inputs & Textarea */
.filter-card .index,
.filter-card textarea {
    width: 100%;
    padding: 10px 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.filter-card .index:focus,
.filter-card textarea:focus {
    border-color: #0078ff;
    box-shadow: 0 0 5px rgba(0,120,255,0.4);
    outline: none;
}

/* Submit Button */
.filter-card .btn-apply {
    margin-top: 18px;
    width: 100%;
    background: #0078ff;
    color: #fff;
    border: none;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease;
}

.filter-card .btn-apply:hover {
    background: #005dc7;
}


.header-image-wrapper{
  position: relative;
  overflow: hidden;
  margin-top: -72px;
  padding-top: 36px;
}
.header-image-wrapper .header-image-content{
  position: relative;
  min-height: 320px;
  color: #fff;
  z-index: 1;
  box-sizing: border-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
}
.header-image-wrapper .header-image-content.offset-bottom{
  padding-bottom: 80px;
  min-height: 400px;
}
.header-image-wrapper .header-image-content.home-page{
  min-height: 480px;
}
.header-image-wrapper .header-image-content.mh-200{
  min-height: 200px;
}
.header-image-wrapper .header-image-content .title{
  font-size: 48px; 
  text-transform: uppercase; 
  padding: 0 16px;
  text-align: center;
}
.header-image-wrapper .header-image-content .desc{
  margin: 0;
  font-size: 24px; 
  font-style: italic; 
  padding: 0 16px;
  text-align: center;
}
.header-image-wrapper .header-image-content .mdc-button{
  color: rgba(0, 0, 0, 0.87);
  background-color: white;
  text-transform: uppercase;
  margin: 0 4px;
}  
.header-image-wrapper .mask{ 
  background: rgba(0, 0, 0, 0.7); 
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
  z-index: 1;
}
.header-image-wrapper .bg{
  width: 110%;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-image: url('../assets/images/others/homepage.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center; 
}