/* ==========================================================================
   ANANTA DEVELOPERS – REAL ESTATE THEME
   --------------------------------------------------------------------------
   Clean, professional & lead-focused design built on Bootstrap 5.
   ========================================================================== */

/* ---------- ROOT VARIABLES ---------- */
:root {
  --primary: #0c66a3;
  --secondary: #f5b400;
  --accent: #f05b3f;
  --light: #f8f9fa;
  --dark: #212529;
  --muted: #6c757d;
  --radius: 0.6rem;
  --shadow: 0 8px 25px rgba(0,0,0,0.08);
  --transition: all 0.3s ease-in-out;
}

/* ---------- RESET & BASICS ---------- */
* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--dark);
  line-height: 1.7;
  background: #fff;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary);
  text-decoration: none !important;
}

img {
  max-width: 100%;
  height: auto;
}

/* ---------- HEADER ---------- */
.site-header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  /* height: 60px; */
  z-index: 1030;
}

.site-title {
  color: var(--primary);
  font-weight: 700;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--dark);
  padding: 10px 18px;
  transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary);
  background-color: rgba(12,102,163,0.1);
  border-radius: var(--radius);
}

/* ---------- ACTIVE MENU STYLING ---------- */
.navbar-nav .nav-link.active {
  /* color: var(--primary) !important; */
  font-weight: 600;
  position: relative;
}

.navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 15%;
  width: 70%;
  height: 2px;
  background-color: var(--secondary);
  border-radius: 2px;
}

/* Top Bar Enhancement */
.top-bar {
  background: #0b2239;
  font-size: 0.9rem;
}

.top-bar a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.top-bar a:hover {
  color: var(--secondary);
}

.top-bar .bi {
  vertical-align: middle;
  font-size: 0.95rem;
}


/* ---------- HERO SECTION ---------- */
.hero {
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.3);
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero h1 span {
  color: var(--secondary);
}

.hero .btn {
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.hero .btn-warning:hover {
  background: #ffd24c;
}

/* ---------- SECTION SPACING ---------- */
.section {
  padding: 4rem 0;
}

.section h2 {
  margin-bottom: 1rem;
  color: var(--primary);
}

.section p {
  color: var(--muted);
}

/* ---------- PROJECT CARDS ---------- */
.project-card {
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.project-card img {
  height: 240px;
  width: 100%;
  object-fit: cover;
}

.project-card h5 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* ---------- ABOUT / WHY CHOOSE US ---------- */
.section.bg-light {
  background: #f9fbfd !important;
}

.section .border {
  border-color: rgba(0,0,0,0.05) !important;
}

.section .bg-white {
  background: #fff !important;
}

/* ---------- TESTIMONIALS ---------- */
.testimonial {
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--dark);
  color: #ddd;
}

.site-footer a {
  color: #ccc;
  transition: var(--transition);
}

.site-footer a:hover {
  color: var(--secondary);
  text-decoration: none;
}

.site-footer h6 {
  color: #fff;
  font-weight: 600;
}

.site-footer .footer-logo {
  width: 130px;
  margin-bottom: 1rem;
}

.site-footer .text-muted {
  color: #aaa !important;
}

/* ---------- BUTTONS ---------- */
.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: #094e7d;
  border-color: #094e7d;
}

.btn-warning {
  background: var(--secondary);
  border-color: var(--secondary);
}

.btn-warning:hover {
  background: #ffc107;
}

/* ---------- FORMS ---------- */
.form-control,
textarea.form-control {
  border-radius: var(--radius);
  border-color: #ddd;
  box-shadow: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.15rem rgba(12,102,163,0.15);
}

/* ---------- ANIMATIONS ---------- */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 767.98px) {
  .hero {
    text-align: center;
    min-height: 60vh;
  }

  .hero .btn {
    margin: 0.5rem 0;
  }

  .navbar-nav .nav-link {
    padding: 8px 12px;
  }

  .section {
    padding: 3rem 0;
  }
}

/* ---------- LEAD-GEN ELEMENTS ---------- */
.cta-bar {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: #fff;
  padding: 1.5rem 0;
  text-align: center;
}

.cta-bar a {
  background: #fff;
  color: var(--primary);
  font-weight: 600;
  padding: 10px 25px;
  border-radius: 50px;
  transition: var(--transition);
}

.cta-bar a:hover {
  background: var(--secondary);
  color: #000;
}

/* ---------- SCROLL TOP BUTTON ---------- */
.scroll-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: var(--primary);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: var(--transition);
  z-index: 1000;
}

.scroll-top:hover {
  background: var(--secondary);
  color: #000;
  transform: translateY(-3px);
}


/* ---------- TOP BAR ---------- */
.top-bar {
  background: #000;
  font-size: 0.9rem;
}

.top-bar a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.top-bar a:hover {
  color: var(--secondary);
}

.top-bar .bi {
  vertical-align: middle;
  font-size: 0.95rem;
}

/* ---------- HEADER NAVBAR ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--dark);
  padding: 12px 18px !important;
  transition: color 0.3s ease, transform 0.2s ease;
  font-size: 1rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary);
  transform: translateY(-2px);
}

.navbar .btn-warning {
  background-color: var(--secondary);
  border: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.navbar .btn-warning:hover {
  background-color: #ffd24c;
  transform: translateY(-2px);
}

.navbar-brand img {
  transition: transform 0.3s ease;
}

.navbar-brand img:hover {
  transform: scale(1.05);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px) {
  .top-bar {
    font-size: 0.8rem;
    text-align: center;
  }

  .top-social a {
    margin-left: 10px;
  }

  .navbar-nav .nav-link {
    padding: 8px 12px !important;
    display: inline-block;
  }

  .navbar .btn-warning {
    margin-top: 10px;
  }
}






/* ---------- FLOATING BUTTONS ---------- */
.floating-buttons {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1050;
}

.floating-buttons a {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.float-whatsapp {
  background-color: #25D366;
}

.float-call {
  background-color: var(--primary);
}

.floating-buttons a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* ---------- MODAL THEME STYLING ---------- */
.modal-header-theme {
  background: #0b2239; /* Matches header/footer dark tone */
  color: #fff;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  padding: 1rem 1.25rem;
  border-bottom: 2px solid var(--secondary);
}

.modal-header-theme .modal-title {
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}

.modal-header-theme .btn-close {
  filter: invert(1) brightness(2);
  opacity: 0.9;
}

.modal-header-theme .btn-close:hover {
  opacity: 1;
}

.btn-theme {
  background-color: var(--secondary);
  color: #000;
  border: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.btn-theme:hover {
  background-color: #ffd24c;
  transform: translateY(-2px);
}






/* ---------- INNER HERO ---------- */
.inner-hero {
  background-size: cover;
  background-position: center;
  position: relative;
  text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

/* ---------- TIMELINE ---------- */
.timeline {
  position: relative;
  margin: 2rem auto;
  padding-left: 2rem;
  border-left: 3px solid var(--primary);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 8px;
  width: 15px;
  height: 15px;
  background: var(--secondary);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(12,102,163,0.15);
}

.timeline-year {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.3rem;
}

.timeline-content {
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

/* ---------- RESPONSIVE TIMELINE ---------- */
@media (max-width: 767px) {
  .timeline {
    padding-left: 1rem;
    border-left-width: 2px;
  }
  .timeline-item::before {
    left: -8px;
    width: 12px;
    height: 12px;
  }
}




/* ---------- CONTACT PAGE ---------- */
.contact-form {
  border-left: 4px solid var(--primary);
}

.contact-form .form-control {
  border-radius: 0.5rem;
  border-color: #ddd;
  box-shadow: none;
  transition: all 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.15rem rgba(12,102,163,0.1);
}

.contact-info p {
  color: #555;
  line-height: 1.7;
}

.contact-info a {
  color: var(--primary);
  text-decoration: none;
}

.contact-info a:hover {
  color: var(--secondary);
}

/* ---------- CTA SECTION ---------- */
.section-cta {
  background: linear-gradient(135deg, #0c66a3, #053a60);
  color: #fff;
  text-align: center;
}



/* ---------- PROJECT PAGE ---------- */
.project-info {
  border-left: 4px solid var(--primary);
}

.project-info h2 {
  color: var(--primary);
}

.project-info ul li {
  margin-bottom: 0.5rem;
}

.project-info .btn {
  margin-top: 1rem;
}

.project-info p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.inner-hero h1 {
  text-shadow: 0 3px 6px rgba(0,0,0,0.3);
}

.inner-hero p {
  font-weight: 500;
}

.section.bg-light h2 {
  color: var(--primary);
}

/* ---------- AMENITIES & LANDMARKS ---------- */
.list-unstyled li i {
  font-size: 1rem;
  vertical-align: middle;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px) {
  .project-info {
    margin-top: 1.5rem;
  }
  .inner-hero {
    min-height: 40vh;
  }
}







/* ---------- PROJECTS LIST PAGE ---------- */
.project-card {
  transition: all 0.4s ease;
  border-radius: 0.75rem;
  overflow: hidden;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.project-card img {
  transition: transform 0.5s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-card .overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 102, 163, 0.7);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-card:hover .overlay {
  opacity: 1;
}

.project-card .btn-outline-primary {
  border-color: var(--primary);
  color: var(--primary);
  transition: all 0.3s ease;
}

.project-card .btn-outline-primary:hover {
  background-color: var(--primary);
  color: #fff;
}

.project-card h5 {
  font-size: 1.15rem;
  color: var(--primary);
}

.project-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .project-card {
    margin-bottom: 1rem;
  }
}



/* ---------- HEADER POLISH ---------- */
.top-bar {
  font-size: 0.9rem;
  background-color: #0b2239;
}
.top-bar a {
  color: #dcdcdc;
  text-decoration: none;
  transition: color 0.3s ease;
}
.top-bar a:hover {
  color: var(--secondary);
}

.navbar-nav .nav-link {
  font-weight: 500;
  transition: all 0.3s ease;
}
.navbar-nav .nav-link:hover {
  color: var(--secondary);
}
.navbar-nav .nav-link.active {
  color: var(--primary);
  position: relative;
}
.navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 25%;
  width: 50%;
  height: 2px;
  background: var(--secondary);
  border-radius: 3px;
}

.sticky-top {
  transition: all 0.3s ease;
  z-index: 1020;
}

/* Sticky Shrink Effect */
.sticky-top.scrolled {
  background: #fff !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}




/* ---------- MOBILE HEADER OPTIMIZATION ---------- */

/* Logo scaling */
.navbar-brand img.logo-img {
  height: 85px;
  transition: all 0.3s ease;
}

@media (max-width: 991px) {
  .navbar-brand img.logo-img {
    height: 70px;
  }
}

/* Compact mobile navbar */
.navbar {
  padding-top: 0.3rem !important;
  padding-bottom: 0.3rem !important;
}

.navbar-toggler {
  padding: 0.25rem 0.5rem;
}

.navbar-nav .nav-link {
  font-size: 1rem;
  padding: 0.5rem 1rem;
}

/* Mobile menu button styling */
.navbar-collapse.show {
  background: #fff;
  border-radius: 8px;
  margin-top: 0.5rem;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Prevent the big button in mobile dropdown */
@media (max-width: 991px) {
  .navbar-collapse .btn {
    display: none !important;
  }
}






/* ---------- MOBILE TOP BAR FIX ---------- */
@media (max-width: 767px) {
  .top-bar {
    padding: 0.4rem 0;
    font-size: 0.85rem;
  }
  .top-contact a {
    display: inline-flex;
    align-items: center;
  }
  .top-bar i {
    font-size: 1rem;
  }
}
