/* ========== Root Variables ========== */
:root {
  --color-primary: #302A60;
  --color-secondary: #170D56;
  --color-accent: #71C1EA;
  --color-text: #010101;
  --color-bg: #FFFFFF;
  --color-muted: #74777C;
  --color-link: #71C1EA;
}

body {
  font-family: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* h1, h2, h3 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
}

p {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
} */

/* 
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--bs-heading-color);
} */

/* ========== Reset & Global ========== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  /* font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; */
}

a {
  text-decoration: none;
}

a:hover {
  color: var(--color-link);
}

/* contact */
.contact-bar {
  z-index: 1031;
}

/* ========== Navbar ========== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  padding: 10px 20px;
    box-shadow: rgba(48, 42, 96, 0.2) 1.95px 1.95px 2.6px;
  box-sizing: border-box;
}

.navbar-nav .nav-link {
  font-size: 1.3rem;
  font-weight: 400;
color: var(--color-text);
  margin: 0 2px;
  padding-bottom: 5px;
  border-bottom: 3px solid transparent;
  transition: border-color 0.3s ease;
  /* text-shadow: 2px 2px 5px red; */
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active,
.nav-link.active {
  border-bottom: 3px solid var(--color-accent);
  color: var(--color-accent);
}

.contact-icons i {
  /* color: #198754; */
  transition: all 0.3s ease;
  background: white;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-icons a {
  font-size: 1.2rem;
  margin-left: 1rem;
  border: 1px solid;
 background-color: var(--color-primary);
  color: #fff;
  padding: 5px 10px;
  border-radius: 25px;
}

.custom-logo {
  width: 180px;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(15deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.contact-icons .fa-phone {
  animation: rotate 1s infinite ease-in-out;
}

.contact-icons .fa-whatsapp {
  animation: bounce 1s infinite ease-in-out;
}

/* ========== Responsive Navbar ========== */
@media (max-width: 576px) {
  .custom-logo {
    width: 80px;
  }
  .navbar-nav .nav-link {
    font-size: 0.8rem;
    margin: 2px 0px;
    padding: 2px 1rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 10px 1px;
  }
  .navbar-nav .nav-link {
    font-size: 0.8rem;
  }
  .contact-icons a {
    font-size: 1.5rem;
    margin-left: 0.8rem;
  }
  .custom-logo {
    width: 90px;
  }
}

@media (max-width: 1024px) {
  .custom-logo {
    width: 150px;
  }
  .navbar-nav .nav-link {
    font-size: 1.1rem;
  }

  .contact-icons a {
    font-size: 1rem;
  }
}

/* ========== Sections ========== */
.site-section {
  background-color: var(--color-bg);
  color: var(--color-text);
}

@media (max-width: 768px) {
  .site-section {
    padding: 2rem 0;
  }
}

/* heading */

.advantages-heading {
  font-size: 2rem;
  font-weight: bold;
   color: var(--color-primary);
  text-align: center;
  position: relative;
  display: inline-block;
  padding-bottom: 0.65rem;
}

.advantages-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background-color: var(--color-accent);
}

@media (max-width: 768px) {
  .advantages-heading {
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--color-text);
    font-size: 1.5rem;
  }
}

.banner-img {
  height: 65vh;
  object-fit: cover;
}

/* cardsssss */

/* ===== Floor Plan Section Styling ===== */
#new-launch {
  background-color: #f7fafc;
  padding: 4rem 1rem;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Card Grid ===== */
.flex-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
}

/* ===== Card Styling ===== */
.floor-img {
  position: relative;
   border: 1px solid var(--color-primary);
  padding: 10px;
  border-radius: 10px;
  overflow: visible;
  background: #fff;
  width: calc(25% - 20px);
  min-width: 250px;
  max-width: 400px;
  flex-grow: 1;
  box-shadow: 0 10px 15px -5px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.floor-img p {
  outline: 1px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 5px;
  padding: 4px 35px;
  width: fit-content;
  font-weight: 700;
  margin: auto;
  margin-top: -24px;
  font-size: 18px;
  margin-bottom: -15px;
  position: relative;
   background: var(--color-primary);
  color: #fff;
  z-index: 99;
}

/* ===== Centered Button ===== */
.image-wrapper-floor-plan {
  position: relative;
  height: 250px;
}

.image-wrapper-floor-plan img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.overlay-floor-plan {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 10px;
}

.image-wrapper-floor-plan:hover .overlay-floor-plan {
  opacity: 1;
}

.overlay-btn {
  background-color: transparent;
  color: white;
  border: 2px solid white;
  padding: 5px 10px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.overlay-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}
/* ===== Info Rows Under Image ===== */
.floor-card-details {
  padding-bottom: 15px;
  text-align: center;
  /* border:1px solid #198754 ; */
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px,
    rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;

    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  /* box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px,
    rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px,
    rgba(0, 0, 0, 0.07) 0px 16px 16px; */
}

.floor-card-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  /* font-size: 16px; */
   color: var(--color-muted);
  display: flex;
  margin-bottom: 10px;
  padding: 8px 0;
 border-bottom: 2px solid rgba(116, 119, 124, 0.2);
  box-sizing: border-box;
}

.floor-card-row i {
 color: var(--color-accent);
  font-size: 18px;
  width: 20px;
  text-align: center;
}

.floor-card-row span{
    /* font-size: 17px; */
}

.floor-card-project-name {
  padding: 10px 5px;
  background-color: var(--color-secondary);
  color: white;
  font-size: 20px;
  /* font-weight:600; */
  cursor: pointer;
}


.payment-text {
  font-weight: 600;
   color: var(--color-primary);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1px;
}

.gradient-button {
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-accent)
  );
  color: white;
  width: 60%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  font-weight: 600;
  margin: 15px auto 0 auto;
  cursor: pointer;
  transition: opacity 0.3s ease;
  text-align: center;
  display: block;
  text-decoration: none;
}


.gradient-button:hover {
  opacity: 0.9;
}

.gradient-button a {
  color: white;
  text-decoration: none;
  display: block;
  text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .flex-container {
    /* gap: 20px; */
  }

  .floor-img {
    width: calc(33.33% - 20px);
  }

  .floor-card-row span {
    font-size: 14px;
  }

  .payment-text {
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .floor-img {
    width: calc(50% - 20px);
  }

  .advantages-heading {
    font-size: 2rem;
  }

  .floor-card-row {
    flex-direction: row;
    /* justify-content: flex-start; */
  }
}

@media (max-width: 480px) {
  .floor-img {
    width: 100%;
  }

  .floor-img img {
    height: 250px;
  }
}

/* footer */

.hero-footer {
 background: var(--color-secondary);
  color: #f0f0f0;
  font-family: "Segoe UI", sans-serif;
  text-align: center;
  padding: 0;
}

.cta-section {
 background: var(--color-primary);
  padding: 18px;
  align-items: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-section h2 {
  font-size: 24px;
  margin-right: 20px;
  color: #fff;
}

.cta-button {
  background: #fff;
  color: var(--color-primary);
  padding: 12px 20px;
  font-weight: 600;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s;
}

.cta-button:hover {
  background: #f0f0f0;
}

.footer-main {
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.footer-logo h3 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 10px;
}
.footer-contact h3 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 10px;
}

.footer-nav a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-social {
  margin-top: 10px;
  text-align: center;
}

.footer-social a {
  margin: 0 10px;
  font-size: 20px;
  color: #ccc;
  transition: transform 0.3s, color 0.3s;
}

.footer-social a:hover {
  color: var(--color-accent);
  transform: scale(1.2);
}

.footer-bottom {
    background: #010101;
  padding: 10px;
  font-size: 12px;
 color: #74777C;
}

@media (min-width: 768px) {
  .footer-main {
    grid-template-columns: repeat(3, 1fr);
    text-align: left;
    align-items: start;
    max-width: 1200px;
    margin: auto;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .footer-social {
    text-align: center;
  }

  .cta-section h2 {
    font-size: 14px;
  }

  .footer-contact p {
    color: #fff;
    font-size: 14px;
  }
}

@media (min-width: 476px) {
  .cta-section {
    /* display: inline; */
    flex-direction: column;
  }
}
