:root {
    --primary-blue: #0A3D62;
    --primary-gold: #B8860B;
    --light-gold: #D4AF37;
    --dark-blue: #06283D;
    --cream: #F5F5F0;
    --text-dark: #333; /* For general dark text */
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--cream);
    color: var(--text-dark); /* Use variable for consistency */
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: sans-serif, serif; 
    font-weight: 600;
    color: var(--dark-blue); /* Ensure headings are dark blue */
}

/* Premium gold underline effect */
.gold-underline:after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    bottom: -5px;
    left: 20%;
    background: linear-gradient(to right, var(--primary-gold), var(--light-gold));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.gold-underline:hover:after {
    transform: scaleX(1);
}

.header-bg {
    background-color: white; /* white background */
    backdrop-filter: none;
    transition: all 0.3s ease;
    position: fixed;  /* changed from sticky to fixed */
    top: 0;           /* screen ke top par fix karna */
    left: 0;
    width: 100%;      /* pura width le */
    z-index: 9999;    /* dusre elements ke upar rahe */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* subtle shadow */
}

.header-bg.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Nav links in main header (for large screens) */
.navbar-expand-lg .navbar-nav .nav-link {
    color: var(--primary-blue); /* Dark color for white header */
    position: relative;
    padding: 5px 0;
    transition: all 0.3s ease;
}

.navbar-expand-lg .navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.navbar-expand-lg .navbar-nav .nav-link:hover {
    color: var(--primary-gold); /* Gold on hover */
}

/* Specific styles for nav links inside offcanvas (for small screens) */
.offcanvas {
    background-color: white !important; /* Set offcanvas background to white */
    color: var(--primary-blue) !important; /* Set default text color to dark blue */
}

.offcanvas .offcanvas-header .btn-close {
    filter: invert(1); /* Makes the close button dark for a light background */
}

.offcanvas-body .nav-link {
    color: var(--primary-blue); /* Dark color for light offcanvas */
    padding: 10px 0; /* Adjust padding for better touch targets in mobile menu */
    margin-bottom: 5px; /* Spacing between menu items */
    font-size: 1.1rem; /* Slightly larger text */
}

.offcanvas-body .nav-link:hover {
    color: var(--primary-gold); /* Gold on hover */
}

/* Buttons */
.btn-gold-gradient {
    background: linear-gradient(135deg, var(--primary-gold), var(--light-gold));
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
    border: none;
}

.btn-gold-gradient:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-gold-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(184, 134, 11, 0.4);
    color: white;
}

.btn-gold-gradient:hover:before {
    left: 100%;
}

.btn-blue-outline {
    border: 3px solid var(--dark-blue); /* Changed to use variable */
    color: var(--primary-blue); /* Changed to use variable */
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.btn-blue-outline:hover {
    background-color: var(--primary-blue);
    color: white;
    box-shadow: 0 6px 20px rgba(10, 61, 98, 0.3);
}

/* Project cards */
.project-card {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: white;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-gold), var(--light-gold));
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
    position: relative;
}
.overflow-hidden.position-relative {
  position: relative; /* to position overlays inside */
}

.property-type-overlay {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(184, 134, 11, 0.85); /* Baba Infra Gold */
  color: #fff;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  z-index: 10;
}

.rera-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 50px; /* adjust size as needed */
  height: auto;
  z-index: 20;
  filter: drop-shadow(0 0 4px rgba(0,0,0,0.2));
  pointer-events: none; /* so that clicks pass through */
}

.project-card:hover img {
    transform: scale(1.05);
}

/* Progress bar */
.h-2-5 { /* Custom height class for progress bar */
    height: 10px; /* Equivalent to 2.5 * 0.25rem if 1rem = 16px */
}

.progress-bar-container { /* Added a container for the progress bar */
    width: 100%;
    background-color: var(--cream); /* Light background for the track */
    border-radius: 999px; /* Fully rounded */
    overflow: hidden;
    position: relative;
    height: 10px; /* Match h-2-5 */
}

.progress-bar-fill {
    transition: width 1.5s cubic-bezier(0.65, 0, 0.35, 1);
    background: linear-gradient(to right, var(--primary-gold), var(--light-gold));
    position: absolute; /* Position relative to container */
    height: 100%; /* Fill the container height */
    left: 0;
    top: 0;
    border-radius: 999px; /* Inherit rounded corners */
    overflow: hidden;
}

.progress-bar-fill:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progressShine 2s infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Modal styling */
.modal-overlay {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    animation: fadeInScale 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    background: white;
    border-top: 5px solid var(--primary-gold);
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Hero section */
.hero-section {
    background: linear-gradient(rgba(18, 36, 48, 0.13), rgba(7, 31, 46, 0.7)),
                url('img/shalimar.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Legacy section */
.legacy-stat {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.legacy-stat:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

/* Scroll to top button */
#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 100px; /* Adjusted to be above mobile footer with more clearance */
    right: 30px;
    z-index: 1000; /* Higher z-index to be above mobile footer */
    border: none;
    outline: none;
    background: linear-gradient(135deg, var(--primary-gold), var(--light-gold));
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#scrollToTopBtn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(184, 134, 11, 0.4);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-section {
        background-attachment: scroll;
    }
}

@media (max-width: 768px) {
    .header-bg {
        padding: 15px 0;
    }
    
    .project-card img {
        height: 200px;
    }
    .contact-info-col {
        padding: 1.5rem !important;
    }
    
    .contact-info-item {
        padding: 1.5rem !important;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    /* Adjust scroll to top button for smaller screens - now handled by 100px in main style */
    /* #scrollToTopBtn {
        bottom: 80px;
        right: 20px;
    } */
}

/* Animation classes */
.animate-fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animation-delay-200 {
    animation-delay: 0.2s;
}

.animation-delay-400 {
    animation-delay: 0.4s;
}

/* Bounce animation for scroll indicator */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-20px);}
    60% {transform: translateY(-10px);}
}

.animate-bounce {
    animation: bounce 2s infinite;
}

/* Price display */
.price-display {
    transition: all 0.3s ease;
}

/* Footer styling */
footer {
  background-color: var(--dark-blue); /* Changed to dark blue from light brown */
  color: white;
  padding: 40px 0 20px;
  text-align: center;
}

.footer-logo {
  max-width: 140px;
  margin: 0 auto 15px;
  display: block;
}

.footer-links,
.footer-projects {
  margin-bottom: 20px;
}

.footer-links a,
.footer-projects a {
  color: white; /* Changed links to white */
  text-decoration: none;
  margin: 0 10px;
  display: inline-block;
  font-size: 16px;
}

.footer-links a:hover,
.footer-projects a:hover {
  text-decoration: underline;
  color: var(--light-gold); /* Gold on hover */
}

.footer-section-title {
  font-weight: 600;
  font-size: 18px;
  color: #fff;
  margin-bottom: 10px;
}

/* Social icons in footer */
.footer-social a {
  color: white; /* Default color for social icons */
  font-size: 1.25rem;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: var(--light-gold); /* Gold on hover */
}

/* Responsive layout for projects section */
@media (max-width: 576px) {
  .footer-links a,
  .footer-projects a {
    display: block;
    margin: 5px 0;
    font-size: 14px;
  }

  .footer-section-title {
    font-size: 16px;
  }

  .footer-logo {
    max-width: 110px;
  }
}

/* Sticky Mobile Footer */
.mobile-fixed-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--dark-blue);
  padding: 10px 16px;
  z-index: 1001;
  display: none;
  justify-content: center;
  gap: 12px;
  padding-bottom: env(safe-area-inset-bottom); /* 👈 Add this for iPhones notch area */
}

.mobile-footer-btn {
  background: linear-gradient(135deg, var(--primary-gold), var(--light-gold)); /* Gold gradient for buttons */
  color: white !important; /* Ensure text is white */
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 24px; /* Curved button edges */
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  min-width: 130px;
  justify-content: center;
  text-align: center;
  margin-bottom: 5px;
  border: none;
  display: flex; /* Ensure flex for icon and text alignment */
  align-items: center;
  gap: 8px; /* Space between icon and text */
}

/* Optional Hover Effect */
.mobile-footer-btn:hover {
  background: linear-gradient(135deg, var(--light-gold), var(--primary-gold)); /* Slightly different gradient on hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Mobile only */
@media (max-width: 768px) {
  .mobile-fixed-footer {
    display: flex;
  }

  body {
    padding-bottom: 50px; /* Prevent content overlap */
  }
}
.scroll-to-top-btn {
  z-index: 1001;
}

/* Improved Contact Cards */
.contact-card {
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: rgba(184, 134, 11, 0.2);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-gold), var(--light-gold));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(184, 134, 11, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .contact-card {
    padding: 1.5rem !important;
  }
  
  .contact-icon {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }
}
.list-unstyled{
    list-style: none;
   color: #F5F5F0;
}

.ticker-wrap {
  overflow: hidden;
  background-color: #4d597c; /* optional */
  border: 1px solid #ddd; /* optional */
  padding: 10px 0;
}

.ticker {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 30s linear infinite;
  /* 20s duration adjust karo speed ke liye */
}

.ticker span {
  display: inline-flex;
  gap: 40px; /* space between items */
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  color: #fffdfd;
  gap: 6px;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}
