:root {
  --primary: #16355b; /* Dark navy blue */
  --accent: #1c4dd9; /* Bright royal blue */
  --gold: #d8a238; /* Gold accent */
  --bg-light: #f5f7fb; /* Light background */
  --text-muted: #6c757d;
}

* {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: #1a1a1a;
  background-color: #ffffff;
}

#why-india span{
  background-color: #9dbd58;
  padding: 10px 20px;
  color: #ffff;
  text-transform: capitalize;
  font-size: 16px;
  margin-bottom: 30px !important;
  font-weight: 600;
}

.navbar {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.navbar-brand span {
  font-weight: 700;
  color: var(--primary);
}

.navbar-brand small {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

/* new btn-styles */
.btn {
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  font-size: 18px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(28,77,217,0.35);
}

.section-title {
  margin-bottom: 1.2rem;
}

.section-subtitle {
  margin-bottom: 2.5rem;
}

h4, h5 {
  margin-bottom: 0.75rem;
}



.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: #1636a5;
  border-color: #1636a5;
}

.btn-outline-primary {
  color: var(--accent);
  border-color: var(--accent);
}

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

/* Hero Section */
.hero-section {
  padding: 95px 0 80px;
  background: radial-gradient(circle at top right, #e5ebff 0, #ffffff 45%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: #9dbd58;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-title {
  font-size: clamp(2.1rem, 3vw, 3rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.hero-metrics {
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(18, 38, 76, 0.08);
  padding: 1.25rem 1.5rem;
}

.hero-metrics h4 {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0;
}

.hero-metrics p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: var(--text-muted);
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-main {
  width: 100%;
  border-radius: 1.5rem;
  object-fit: cover;
  min-height: 260px;
  max-height: 460px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.hero-stats-card {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: #ffffff;
  padding: 0.9rem 1.1rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  max-width: 70%;
}

.hero-stats-card h6 {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-stats-card p {
  font-size: 0.85rem;
  margin-bottom: 0;
  color: var(--text-muted);
}

.badge-gold {
  background-color: rgba(216, 162, 56, 0.1);
  color: var(--gold);
  border-radius: 999px;
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  font-weight: 500;
}

/* Sections */
section.section-padding {
  padding: 100px 0;
}

/* New Added CSS */
.section-subtitle,
.phase-list,
.feature-card p {
  max-width: 600px;
}

#why-india {
  background:
    linear-gradient(rgba(255,255,255,0.95), rgba(255,255,255,0.95)),
    url("Images/india-map-light.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right center;
}

#why-india .section-title {
  font-size: 2.4rem;
}



.section-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 600;
}

.section-title {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--primary);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.98rem;
  max-width: 680px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(22, 53, 91, 0.05);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 500;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.stat-card {
  padding: 1.1rem;
  border-radius: 1rem;
  border: 1px solid #e2e6f0;
  background: #ffffff;
}

.stat-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.15rem;
}

.stat-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.feature-card {
  border-radius: 1.1rem;
  padding: 2rem;
  border: 1px solid #e2e6f0;
  background: #ffffff;
  height: 100%;
  transition: all 0.25s ease;
  
}




.feature-card:hover {
  box-shadow: 0 18px 45px rgba(18, 38, 76, 0.12);
  transform: translateY(-4px);
}

.feature-icon {
   width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(28, 77, 217, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--accent);
    margin-bottom: 1.2rem;
}


.feature-card h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.phase-card {
  border-radius: 1.3rem;
  padding: 1.8rem 1.6rem;
  border: 1px solid #dde2f0;
  background: #ffffff;
  height: 100%;
}

.phase-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(28, 77, 217, 0.08);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.phase-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 1rem;
  margin-bottom: 0.75rem;
}

.phase-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.phase-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.phase-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.highlight-strip {
  border-radius: 1.1rem;
  padding: 1.2rem 1.3rem;
  background: linear-gradient(
    90deg,
    rgba(157, 189, 89, 0.08),
    rgba(201, 227, 133, 0.08)
  );
  border: 1px dashed rgba(22, 53, 91, 0.18);
  font-size: 0.9rem;
  color: #25324a;
}

.highlight-strip strong {
  color: var(--primary);
}

/* Why RNM */
.benefit-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(22, 53, 91, 0.06);
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 500;
}

.check-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--accent);
}

.tower-card {
  border-radius: 1.3rem;
  overflow: hidden;
  border: 1px solid #dde2f0;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(18, 38, 76, 0.12);
}

.tower-card img {
  width: 100%;
  object-fit: cover;
  max-height: 260px;
}

.tower-card-body {
  padding: 1.5rem 1.6rem;
}

.tower-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.tower-list li {
  margin-bottom: 0.4rem;
}

/* Contact Section */
.contact-section {
  background: radial-gradient(
    circle at top left,
    #e5ebff 0,
    #f5f7fb 45%,
    #ffffff 100%
  );
}

.contact-card {
  border-radius: 1.4rem;
  padding: 2rem 1.6rem;
  border: 1px solid #dde2f0;
  background: #ffffff;
box-shadow:
  0 10px 30px rgba(18, 38, 76, 0.14),
  0 26px 70px rgba(18, 38, 76, 0.18);
}

.contact-card h4 {
  color: var(--primary);
  font-weight: 600;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(28, 77, 217, 0.08);
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 500;
}

.contact-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.office-block h6 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.office-block p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

footer {
padding: 2.5rem 0;
  border-top: 1px solid #e2e6f0;
  font-size: 0.85rem;
  color: var(--text-muted);
  background-color: #ffffff;
}

footer .container {
  row-gap: 1rem;
}


footer a {
  color: var(--accent);
  text-decoration: none;
}

.unlock {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
    url(/Images/Tower_7.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

footer a:hover {
  text-decoration: underline;
}

/* Basic scroll animations */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].animate {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 90px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-metrics {
    padding: 1rem 1rem;
  }
}

footer span{
  font-size: 19px;
}

/* Overlay */
.popup-overlay {
  display: none; /* toggle with JS */
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
  z-index: 1000;
}

/* Popup Box */
.popup-box {
  background: #ffffff;
  width: 100%;
  max-width: 480px;
  max-height: 90vh; /* IMPORTANT: fits small laptop heights */
  overflow-y: auto; /* scroll if content overflows */
  border-radius: 12px;
  padding: 24px;
  position: relative;
  animation: fadeIn 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Header */
.popup-header h2 {
  color: #2E7D32;
  margin-bottom: 6px;
  font-size: clamp(18px, 2.5vw, 26px);
}

.popup-header p {
  font-size: clamp(13px, 1.5vw, 15px);
  color: #555;
  margin-bottom: 18px;
}

/* Form */
.popup-form input,
.popup-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}

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

.popup-form input:focus,
.popup-form textarea:focus {
  outline: none;
  border-color: #2E7D32;
}

/* Submit Button */
.popup-form button {
  width: 100%;
  background: #2E7D32;
  color: #fff;
  border: none;
  padding: 14px;
  font-size: 15px;
  border-radius: 8px;
  cursor: pointer;
}

.popup-form button:hover {
  background: #1B5E20;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 22px;
  cursor: pointer;
  color: #111;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Small Laptops (1366x768, 1280x720) */
@media (max-height: 800px) {
  .popup-box {
    max-height: 85vh;
    padding: 20px;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .popup-box {
    max-width: 420px;
    padding: 20px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .popup-box {
    max-width: 100%;
    max-height: 92vh;
    padding: 18px;
    border-radius: 10px;
  }

  .close-btn {
    font-size: 20px;
  }
}

/* HARD FIX for 1366x768 & Small Laptop Heights */
@media screen and (max-width: 1366px) and (max-height: 768px) {

  .popup-overlay {
    align-items: flex-start;   /* KEY FIX */
    padding-top: 60px;         /* space from top */
    padding-bottom: 20px;
  }

  .popup-box {
    max-width: 440px;
    max-height: calc(100vh - 100px); /* FULL FIX */
    overflow-y: auto;
    padding: 18px;
    margin-top: 50px;
  }

  .popup-header h2 {
    font-size: 20px;
    margin-bottom: 4px;
  }

  .popup-header p {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .popup-form input,
  .popup-form textarea {
    padding: 10px;
    font-size: 14px;
    margin-bottom: 10px;
  }

  .popup-form textarea {
    min-height: 65px;
  }

  .popup-form button {
    padding: 12px;
    font-size: 15px;
  }
}
