/* Subtle colored background for welcome page hero section */
.section-bg-welcome {
  background: linear-gradient(120deg, #f7fbff 0%, #f6fcfa 100%);
  border-radius: 18px;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 16px rgba(11, 94, 215, 0.06);
}
/* Colorful cards for Local Amenities & Attractions */
.amenity-card {
  border-radius: 18px;
  border: none;
  margin-bottom: 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.amenity-card:hover {
  box-shadow: 0 8px 32px rgba(11, 94, 215, 0.18);
  transform: translateY(-2px) scale(1.03);
}
.amenity-card-body {
  padding: 1.5rem 1.2rem;
}
/* Distinct background for Local Amenities & Attractions */
.section-bg-amenities {
  border-radius: 18px;
  padding: 2rem 1.5rem;
  background: #f8fafc;
}
/* -------------------------------
   SECTION BACKGROUNDS FOR LOCATIONS PAGE
--------------------------------*/
.section-bg-hero {
  border-radius: 18px;
  padding: 2rem 1.5rem;
}
.section-bg-map {
  border-radius: 18px;
  padding: 2rem 1.5rem;
}
.section-bg-neighborhoods {
  border-radius: 18px;
  padding: 2rem 1.5rem;
}
.section-bg-transportation {
  border-radius: 18px;
  padding: 2rem 1.5rem;
}

.section-bg-education {
  border-radius: 18px;
  padding: 2rem 1.5rem;
}
.section-bg-safety {
  border-radius: 18px;
  padding: 2rem 1.5rem;
}
.section-bg-cta {
  border-radius: 18px;
  padding: 2rem 1.5rem;
}
/* -------------------------------
   LOCATIONS PAGE ENHANCEMENTS
--------------------------------*/
.locations-section {
  background: transparent;
  border-radius: 24px;
  box-shadow: none;
  padding: 2.5rem 2rem;
  margin-bottom: 2.5rem;
}

.locations-section-divider {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, #0b5ed7 0%, #3ecf8e 100%);
  margin: 2.5rem 0 2rem 0;
  opacity: 0.25;
}

.locations-card {
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(11, 94, 215, 0.08);
  background: linear-gradient(120deg, #ffffff 60%, #e7f1ff 100%);
  transition: box-shadow 0.2s, transform 0.2s;
}
.locations-card:hover {
  box-shadow: 0 8px 32px rgba(11, 94, 215, 0.18);
  transform: translateY(-2px) scale(1.03);
}

.locations-card-header {
  background: linear-gradient(90deg, #0b5ed7 0%, #3ecf8e 100%);
  color: #fff;
  border-radius: 18px 18px 0 0;
  padding: 1rem 1.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.locations-card-body {
  padding: 1.5rem;
}

/* 6-Column Grid Layout for Locations */
.locations-grid-7 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(60px, auto);
  gap: 1rem;
  width: 100%;
  align-items: stretch;
}

.location-grid-item {
  display: flex;
  flex-direction: column;
  min-height: 60px;
}

.location-grid-item .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.location-grid-item .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.5rem;
}

/* Responsive design for 6-column grid */
@media (max-width: 1400px) {
  .locations-grid-7 {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 1200px) {
  .locations-grid-7 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .locations-grid-7 {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(70px, auto);
  }
}

@media (max-width: 768px) {
  .locations-grid-7 {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    grid-auto-rows: minmax(80px, auto);
  }
  
  .location-grid-item .card-body {
    padding: 0.75rem;
  }
}

@media (max-width: 576px) {
  .locations-grid-7 {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    grid-auto-rows: auto;
  }
  
  .location-grid-item {
    min-height: auto;
  }
}

/* Optimized text sizing for 7-column layout */
@media (min-width: 1200px) {
  .location-grid-item h6 {
    font-size: 0.85rem;
    line-height: 1.2;
    margin-bottom: 0.25rem;
  }
  
  .location-grid-item small {
    font-size: 0.7rem;
    line-height: 1.1;
  }
  
  .location-grid-item .btn-sm {
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
  }
}

@media (min-width: 1600px) {
  .location-grid-item h6 {
    font-size: 0.9rem;
  }
  
  .location-grid-item small {
    font-size: 0.75rem;
  }
  
  .location-grid-item .btn-sm {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
  }
  
  .location-grid-item .card-body {
    padding: 1rem;
  }
}

/* -------------------------------
   PAYMENT FORM STYLING
--------------------------------*/
.payment-form .form-control:focus,
.payment-form .form-select:focus {
  border-color: #0b5ed7;
  box-shadow: 0 0 0 0.2rem rgba(11, 94, 215, 0.25);
}

.payment-form .form-check-input:checked {
  background-color: #0b5ed7;
  border-color: #0b5ed7;
}

.payment-form .form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(11, 94, 215, 0.25);
}

.payment-methods .form-check-label {
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
}

.payment-methods .form-check-input:checked + .form-check-label {
  background-color: rgba(11, 94, 215, 0.1);
  color: #0b5ed7;
  font-weight: 600;
}

.payment-details {
  background-color: #f8f9fa;
  border-radius: 0.5rem;
  padding: 1.5rem;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.payment-form .card {
  transition: all 0.3s ease;
}

.payment-form .card:hover {
  box-shadow: 0 4px 15px rgba(11, 94, 215, 0.1);
}

.payment-form .btn-primary {
  background: linear-gradient(135deg, #0b5ed7, #3ecf8e);
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(11, 94, 215, 0.3);
}

.payment-form .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 94, 215, 0.4);
}

.payment-form .btn-primary:disabled {
  background: #6c757d;
  transform: none;
  box-shadow: none;
}

/* Security indicators */
.payment-form input[name="card_number"],
.payment-form input[name="cvv"],
.payment-form input[name="expiry_date"] {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23198754"><path d="M12 1l3.09 6.26L22 9l-5.91 2.74L19 22l-7-3-7 3 2.91-10.26L2 9l6.91-1.74L12 1z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}

/* Responsive adjustments for payment form */
@media (max-width: 768px) {
  .payment-form .card-body {
    padding: 1.5rem;
  }
  
  .payment-details {
    padding: 1rem;
  }
  
  .payment-form h6 {
    font-size: 1rem;
  }
}

.locations-bullet {
  font-size: 1.2em;
  color: #3ecf8e;
  margin-right: 0.5em;
}

.locations-section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #063970;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.locations-section-subtitle {
  font-size: 1.3rem;
  font-weight: 500;
  color: #0b5ed7;
  margin-bottom: 1rem;
}
/* -------------------------------
   COLOR VARIABLES
--------------------------------*/
:root {
  --primary-blue: #0b5ed7;
  --primary-blue-dark: #063970;
  --primary-blue-light: #e7f1ff;

  --primary-green: #3ecf8e;
  --primary-green-light: #e6f9f0;

  --primary-grey: #f4f7fb;
  --primary-grey-dark: #b0b8c1;

  --neutral-bg: #f4f7fb;
}

/* -------------------------------
   GLOBAL LAYOUT & CENTERING
--------------------------------*/
* {
  box-sizing: border-box;
}

html {
  width: 100%;
  overflow-x: hidden;
}

body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  margin: 0 auto;
  background-color: #ffffff;
}

/* Ensure all main content containers are properly centered */
.container,
.container-fluid {
  margin-left: auto;
  margin-right: auto;
}

/* Prevent horizontal overflow */
* {
  max-width: 100%;
}

img, 
video, 
iframe, 
embed, 
object {
  max-width: 100%;
  height: auto;
}

/* -------------------------------
   NAVIGATION BAR
--------------------------------*/
.main-nav {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(11, 94, 215, 0.75);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  background: linear-gradient(270deg, var(--primary-blue) 0%, var(--primary-green) 100%);
  background-size: 200% 200%;
  animation: navGradient 8s ease-in-out infinite;
}

@keyframes navGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.main-nav .navbar-nav .nav-link,
.main-nav .navbar-brand,
.main-nav .dropdown-toggle,
.main-nav .btn {
  color: #ffffff !important;
}

.main-nav .nav-link.active,
.main-nav .nav-link:hover,
.main-nav .nav-link:focus {
  color: #6c757d !important;
}

/* Ensure dropdown menu appears on top of all page content */
.dropdown-menu {
  z-index: 9999 !important;
}

/* -------------------------------
   HERO SECTION
--------------------------------*/
.hero-section {
  background: linear-gradient(
    120deg,
    var(--primary-blue-light) 0%,
    var(--primary-green-light) 40%,
    #e7f1ff 70%,
    #f4f7fb 100%
  );
  background-size: 200% 200%;
  animation: heroGradientMove 10s ease-in-out infinite;
}

@keyframes heroGradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Shared gradient animation for non-hero sections */
@keyframes sectionGradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* -------------------------------
   SECTIONS BACKGROUND GRADIENTS
--------------------------------*/
.gallery-section {
  background: linear-gradient(90deg, #e7f1ff 0%, #f4f7fb 60%, #b7e4c7 100%);
  background-size: 200% 200%;
  animation: sectionGradientMove 12s ease-in-out infinite;
}

.featured-section {
  background: linear-gradient(90deg, #f4f7fb 0%, #e7f1ff 50%, #b5c2ca 100%);
  background-size: 200% 200%;
  animation: sectionGradientMove 12s ease-in-out infinite;
}

.faq-section {
  background: linear-gradient(120deg, #e6f9f0 0%, #e7f1ff 100%);
  background-size: 200% 200%;
  animation: sectionGradientMove 12s ease-in-out infinite;
}

.info-section {
  background: #f4f7fb;
  color: var(--primary-blue) !important;
}

/* -------------------------------
   INFO COLUMNS
--------------------------------*/
.info-col {
  background: #ffffff;
  border-radius: 16px;
  padding: 1rem 1rem; /* reduced vertical padding */
  box-shadow: 0 2px 12px rgba(11, 94, 215, 0.04);
  margin-bottom: 1rem;
}

.info-col-logo {
  background: linear-gradient(135deg, #dbeafe 60%, #e6f9f0 100%);
}

.info-col-address {
  background: linear-gradient(135deg, #e0ecff 60%, #f4f7fb 100%);
}

.info-col-hours {
  background: linear-gradient(135deg, #e6f0ff 60%, #e6f9f0 100%);
}

/* -------------------------------
   CARDS
--------------------------------*/
.card-property {
  background: linear-gradient(120deg, #e7f1ff 60%, #b5c2ca 100%);
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.card-property:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(11, 94, 215, 0.15);
}

/* Featured homes image styling with high specificity */
.card-property .featured-home-img,
.card-property img.card-img-top,
.card-property img {
  object-fit: cover !important;
  height: 220px !important;
  width: 100% !important;
  border-radius: 0 !important;
  transition: transform 0.3s ease;
}

.card-property:hover .featured-home-img,
.card-property:hover img.card-img-top,
.card-property:hover img {
  transform: scale(1.05);
}

/* Featured homes placeholder styling */
.card-property .featured-home-placeholder,
.card-property .bg-light {
  height: 220px !important;
  border-radius: 0 !important;
}

.bg-secondary.rounded-4 {
  height: 300px !important;
}

/* Responsive image sizing */
@media (max-width: 768px) {
  .card-property .featured-home-img,
  .card-property img.card-img-top,
  .card-property img {
    height: 200px !important;
  }
  
  .gallery-img-animate {
    height: 250px;
  }
  
  .bg-secondary.rounded-4 {
    height: 250px !important;
  }
  
  .card-property .featured-home-placeholder,
  .card-property .bg-light {
    height: 200px !important;
  }
}

@media (max-width: 576px) {
  .card-property .featured-home-img,
  .card-property img.card-img-top,
  .card-property img {
    height: 180px !important;
  }
  
  .gallery-img-animate {
    height: 220px;
  }
  
  .bg-secondary.rounded-4 {
    height: 220px !important;
  }
  
  .card-property .featured-home-placeholder,
  .card-property .bg-light {
    height: 180px !important;
  }
}

/* -------------------------------
   BADGES
--------------------------------*/
.hero-badge {
  background: #b7e4c7;
  color: #063970;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* -------------------------------
   BUTTONS
--------------------------------*/
.btn-primary {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.btn-primary:hover {
  background-color: var(--primary-blue-dark);
  border-color: var(--primary-blue-dark);
}

/* -------------------------------
   CAROUSEL FADE
--------------------------------*/
.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-fade .carousel-item.active {
  opacity: 1;
  z-index: 1;
}

/* -------------------------------
   HERO CAROUSEL SIZING
--------------------------------*/
.hero-slide-media {
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(11, 94, 215, 0.15);
  transition: transform 0.3s ease;
}

.carousel-inner {
  border-radius: 12px !important;
  overflow: hidden;
}

.hero-carousel-container {
  max-width: 100%;
  width: 100%;
}

.hero-carousel-container .carousel {
  width: 100%;
  margin-left: 0;
  max-width: none;
}

/* Responsive hero slide sizing */
@media (max-width: 992px) {
  .hero-slide-media {
    height: 420px !important;
  }
}

@media (max-width: 768px) {
  .hero-slide-media {
    height: 350px !important;
  }
}

@media (max-width: 576px) {
  .hero-slide-media {
    height: 300px !important;
  }
}

/* -------------------------------
   GALLERY ANIMATIONS
--------------------------------*/
.gallery-img-animate {
  animation: galleryZoomIn 1.2s cubic-bezier(0.4, 0.2, 0.2, 1);
  height: 300px;
  object-fit: cover;
  width: 100%;
}

@keyframes galleryZoomIn {
  0% { transform: scale(1.08); opacity: 0.2; }
  100% { transform: scale(1); opacity: 1; }
}

.gallery-text-animate {
  animation: galleryTextFadeIn 1.2s cubic-bezier(0.4, 0.2, 0.2, 1);
}

@keyframes galleryTextFadeIn {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}
/* -------------------------------
   FOOTER  
--------------------------------*/
.footer {
  background: linear-gradient(90deg, #063970, #0b5ed7, #3a86ff);
   backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  padding: 2rem 0;
}
.footer a,
.footer p,
.footer small,
.footer span,
.footer h5 {
  color: #ffffff !important;
}

/* -------------------------------
   CHAT BUTTON (FLOATING)
--------------------------------*/
.chat-float-btn {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  z-index: 1050;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
  color: #fff;
  border: none;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(11, 94, 215, 0.18);
  padding: 0.75rem 2rem 0.75rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.chat-float-btn:hover, .chat-float-btn:focus {
  background: linear-gradient(135deg, var(--primary-blue-dark), var(--primary-green-light));
  box-shadow: 0 6px 24px rgba(11, 94, 215, 0.28);
  transform: translateY(-2px) scale(1.04);
  color: #fff;
  text-decoration: none;
}
.chat-float-btn .chat-icon {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* -------------------------------
   WHY 3 C'S SECTION STYLING
--------------------------------*/
.why-3cs-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e7f1ff 50%, #f6fcfa 100%);
  position: relative;
  overflow: hidden;
}

.why-3cs-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23e7f1ff" fill-opacity="0.3"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>') repeat;
  opacity: 0.4;
  z-index: 1;
}

.why-3cs-section .container {
  position: relative;
  z-index: 2;
}

.feature-icon-wrapper {
  position: relative;
  z-index: 1;
}

.feature-icon {
  width: 80px; 
  height: 80px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 3px solid transparent;
  background-clip: padding-box;
}

.feature-icon::before {
  content: '';
  position: absolute;
  inset: -3px;
  padding: 3px;
  background: linear-gradient(135deg, transparent 0%, rgba(11, 94, 215, 0.1) 50%, transparent 100%);
  border-radius: inherit;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.why-3cs-section .col-lg-4:hover .feature-icon,
.why-3cs-section .col-md-6:hover .feature-icon {
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 12px 32px rgba(11, 94, 215, 0.15);
}

.why-3cs-section .col-lg-4:hover .feature-icon::before,
.why-3cs-section .col-md-6:hover .feature-icon::before {
  opacity: 1;
}

.why-3cs-section h4 {
  color: #2d3748;
  transition: color 0.3s ease;
}

.why-3cs-section .col-lg-4:hover h4,
.why-3cs-section .col-md-6:hover h4 {
  color: #0b5ed7;
}

.why-3cs-section p {
  transition: all 0.3s ease;
  line-height: 1.6;
}

.why-3cs-section .col-lg-4:hover p,
.why-3cs-section .col-md-6:hover p {
  color: #4a5568 !important;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .why-3cs-section {
    padding: 3rem 0;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
  }
  
  .feature-icon svg {
    width: 24px;
    height: 24px;
  }
}

/* Legal Document Styling for Modals */
.modal-lg .modal-dialog {
    max-width: 900px;
}

.terms-content,
.privacy-content {
    text-align: left;
    line-height: 1.6;
    color: #333;
}

.terms-content h2,
.privacy-content h2 {
    border-bottom: 3px solid #007bff;
    padding-bottom: 15px;
    margin-bottom: 30px;
    font-size: 2.2rem;
    font-weight: 600;
}

.terms-content h3,
.privacy-content h3 {
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-style: italic;
}

.terms-content h4,
.privacy-content h4 {
    margin-top: 35px;
    margin-bottom: 20px;
    border-left: 4px solid #007bff;
    padding-left: 15px;
    background-color: #f8f9fa;
    padding: 15px 15px 15px 25px;
    border-radius: 5px;
}

.terms-content h6,
.privacy-content h6 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 1.1rem;
}

.terms-content ul,
.privacy-content ul {
    margin-bottom: 15px;
    padding-left: 25px;
}

.terms-content li,
.privacy-content li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.terms-content p,
.privacy-content p {
    margin-bottom: 15px;
    text-align: justify;
}

.terms-content .alert,
.privacy-content .alert {
    margin: 25px 0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.terms-content .border-top,
.privacy-content .border-top {
    border-top: 2px solid #e9ecef !important;
    margin-top: 30px;
    padding-top: 20px;
}

/* Modal Specific Enhancements */
.modal-body:has(.terms-content, .privacy-content) {
    max-height: 70vh;
    overflow-y: auto;
    padding: 30px;
}

/* Scrollbar Styling for Webkit Browsers */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%) !important;
    border-top: 3px solid #007bff;
}

footer h6 {
    color: #007bff !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

footer a {
    transition: all 0.3s ease;
    position: relative;
}

footer a:hover {
    color: #007bff !important;
    text-decoration: none !important;
    transform: translateX(5px);
}

footer a:before {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #007bff;
    transition: width 0.3s ease;
}

footer a:hover:before {
    width: 100%;
}

footer ul li {
    transition: all 0.3s ease;
}

footer ul li:hover {
    transform: translateX(3px);
}

footer .border-top {
    border-color: #4a5568 !important;
}

footer .text-muted {
    color: #a0aec0 !important;
}

/* Footer responsive adjustments */
@media (max-width: 768px) {
    footer .col-md-3 {
        margin-bottom: 2rem;
    }
    
    footer .text-md-end {
        text-align: center !important;
    }
    
    footer .d-flex {
        justify-content: center;
    }
}

/* Professional Phone Number Styles for Navbar */
.phone-glow {
    font-size: 0.9rem;
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.25));
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.3px;
    font-weight: 500;
}

/* Subtle animation for professional appeal */
.phone-glow {
    animation: subtlePulse 3s ease-in-out infinite;
}

@keyframes subtlePulse {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        border-color: rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.5);
    }
}

/* Professional hover effect */
.phone-glow:hover {
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.35));
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 16px rgba(0, 123, 255, 0.25);
    transform: translateY(-1px) scale(1.02);
    cursor: pointer;
}

/* Active state for better feedback */
.phone-glow:active {
    transform: translateY(0) scale(1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Navbar phone number specific styles */
.navbar-text.phone-glow {
    margin: 0;
    line-height: 1.2;
    color: #ffffff !important;
}

/* Focus state for accessibility */
.phone-glow:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Responsive adjustments for phone in navbar */
@media (max-width: 768px) {
    .phone-glow {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
        letter-spacing: 0.2px;
    }
}

@media (max-width: 576px) {
    .phone-glow {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
}