.bld-hero {
  position: relative;
  width: 100%;
  height: 220px;
  background-image: url('../img/sectionsbgimage.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
}
.bld-hero-overlay {
  position: absolute; inset: 0;
  /* background: rgba(20,17,12,0.65); */
}
.bld-hero-content {
  position: relative; z-index: 2; text-align: center;
}
.bld-hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: 35px; font-weight: 400; color: #fff;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px;
}
.bld-breadcrumb {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
}
.bld-breadcrumb a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; }
.bld-breadcrumb a:hover { color: #e30613; }
.bld-breadcrumb span    { color: #e30613; }
.bld-breadcrumb-dot     { color: #e30613; font-size: 16px; }











 .amenities-intro {
            max-width: 1000px;
            margin: 80px auto;
            padding: 0 24px;
        }

        .intro-image {
            width: 100%;
            max-height: 550px;
            object-fit: cover;
            border-bottom: 3px solid #e30613;
            margin-bottom: 40px;
            display: block;
        }

        .intro-text p {
            font-size: 15px;
            line-height: 1.8;
            color: #555;
            margin-bottom: 20px;
            text-align: left;  /* left aligned, not center */
        }

        .intro-text p:last-child {
            margin-bottom: 0;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .amenities-intro {
                margin: 50px auto;
            }
            .intro-text p {
                font-size: 14px;
                line-height: 1.7;
            }
        }










.amenities-sec {
    max-width: 1000px;
    margin: 80px auto;
     padding: 0 24px;
}


.amenities-sec h4 {
    margin-bottom: 29px;
    font-size: 19px;
    color: #333;
}
/* ROW BASE */
.row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

/* IMAGE */
.img {
  width: 100%;
  height: 320px;
  overflow: hidden;
}

.img:hover {
    transform: translateY(-5px);
    transition: 0.5s;
}

.img.big {
  height: 360px;
}

.img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TEXT */
.text h4 {
    margin-bottom: 20px;
    font-size: 12px;
    color: #333;
}

.text ul {
  padding-left: 18px;
}

.text ul li {
    margin-bottom: 10px;
    color: #777;
    font-size: 11px;
}

/* 🔥 OFFSET MAGIC (THIS IS KEY) */
.text.top {
  margin-top: -120px;
}

.second .text.middle {
  margin-top: 60px;
}

.third .text.bottom {
  margin-top: -60px;
}

/* second row reverse */
.second {
  grid-template-columns: 1fr 1.2fr;
}

/* spacing tweak */
.second .img {
  height: 340px;
}

/* Responsive */
@media (max-width: 768px) {
  .row {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .text {
    margin: 0 !important;
  }
}






.banner-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Image */
.banner-image img {
    width: 100%;
    height: 550px;
    object-fit: cover;
}

/* Overlay */
.banner-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #b8a98b;
    padding: 25px 40px;
}

/* Flex Layout */
.overlay-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px; /* controls spacing between items */
}

/* Left Text */
.left-text {
    flex: 1;
    text-align: right;
}

.left-text h2 {
    color: #fff;
    font-size: 18px;
    letter-spacing: 2px;
    font-weight: 500;
    margin: 0;
}

/* Center Button */
.center-btn {
    flex: 0;
}

.center-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border: 1px solid #fff;
    border-radius: 50%;
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    transition: 0.3s;
}

.center-btn a:hover {
    background: #fff;
    color: #b8a98b;
}

/* Right Text */
.right-text {
    flex: 1;
    text-align: left;
}

.right-text p {
    color: #fff;
    font-size: 11px;
    max-width: 400px;
    margin: 0;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .overlay-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .left-text,
    .right-text {
        text-align: center;
    }

    .banner-image img {
        height: 350px;
    }
}   








.community-sec {
  padding: 100px 90px; 
  text-align: center;
}

/* TITLE */
.community-sec h2 {
  font-family: 'Playfair Display', serif;
   text-align: center;
  font-size: 26px;
  letter-spacing: 3px;
  font-weight: 500;
  color: #3a3a3a;
  margin-bottom: 70px;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 70px 50px;
  max-width: 1100px;
  
  /* 🔥 KEY CHANGE */
   margin-left: 50px;
  margin-right: auto;
}
/* CARD */
.card {
    text-align: left;
}

/* ICON */
.icon {
  width: 55px;          /* thoda chota */
  height: 55px;
  margin-bottom: 10px;
  margin: auto;
  border-radius: 50%;
  display: flex;
   margin: 0 0 18px 0;
  justify-content: center;
}

.icon i {
   font-size: 25px;
  color: #6b6b6b;
}

/* TITLE */
.card h4 {
  font-size: 12px;
  letter-spacing: 1.5px;
  font-weight: 500;
  color: #555;
 margin-bottom: 6px;
}

/* TEXT */
.card p {
  font-size: 12px;
  color: #9a9a9a;
  line-height: 1.6;
  margin: 0;            /* 🔥 center hata diya */
  max-width: 230px;
}

/* HOVER (SUBTLE PREMIUM EFFECT) */
.card:hover {
  transform: translateY(-6px);
  transition: 0.3s ease;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

/* Viaan Infra red brand theme update */
:root{
  --viaan-red:#e30613;
  --viaan-red-dark:#b8000a;
  --viaan-red-soft:#fff2f3;
  --viaan-dark:#181818;
  --viaan-text:#222222;
}
html, body{font-family:'Poppins', Arial, sans-serif !important;background:#ffffff;color:var(--viaan-text);}
h1,h2,h3,h4,h5,h6,.bld-hero-title,.hero-title,.section-title,.about-title{font-family:'Poppins', Arial, sans-serif !important;font-weight:800;letter-spacing:-0.03em;}
p,li,a,span,button,input,textarea,select{font-family:'Poppins', Arial, sans-serif !important;}
.nav-logo img,.footer-logo img{max-height:82px;object-fit:contain;}
.navbar,.nav-header,.header,.main-header{background:#ffffff !important;border-color:#ffd6d9 !important;box-shadow:0 8px 28px rgba(227,6,19,.08) !important;}
.nav-menu a,.nav-link,.mobile-menu a{color:var(--viaan-dark) !important;font-weight:600;}
.nav-menu a:hover,.nav-link:hover,.nav-menu .active,.nav-link.active{color:var(--viaan-red) !important;}
.bld-hero,.hero,.main-hero,.page-banner,.banner,.inner-banner{background-color:var(--viaan-dark) !important;}
.bld-hero::before,.hero::before,.main-hero::before,.page-banner::before,.banner::before{background:linear-gradient(90deg,rgba(24,24,24,.88),rgba(227,6,19,.55),rgba(24,24,24,.25)) !important;}
.bld-hero-overlay,.hero-overlay,.banner-overlay{background:linear-gradient(90deg,rgba(24,24,24,.86),rgba(227,6,19,.52)) !important;}
.bld-hero-title,.hero-title,.banner-title{color:#ffffff !important;text-shadow:0 4px 18px rgba(0,0,0,.35);}
.bld-hero-subtitle,.hero-subtitle,.banner-subtitle{color:#ffe2e4 !important;}
.btn,.button,.theme-btn,.primary-btn,.read-more,.cta-btn,button[type='submit'],input[type='submit']{background:var(--viaan-red) !important;color:#ffffff !important;border-color:var(--viaan-red) !important;border-radius:6px !important;font-weight:700 !important;box-shadow:0 10px 24px rgba(227,6,19,.22) !important;}
.btn:hover,.button:hover,.theme-btn:hover,.primary-btn:hover,.read-more:hover,.cta-btn:hover,button[type='submit']:hover,input[type='submit']:hover{background:var(--viaan-red-dark) !important;border-color:var(--viaan-red-dark) !important;color:#ffffff !important;}
a{color:var(--viaan-red);} a:hover{color:var(--viaan-red-dark);}
.section-label,.eyebrow,.about-hero-eyebrow,.subtitle,.tagline,.logo-tagline{color:var(--viaan-red) !important;font-weight:700 !important;}
.title-underline,.section-title:after,.heading-line,.divider,.bld-hero-divider{background:var(--viaan-red) !important;border-color:var(--viaan-red) !important;}
.card,.project-card,.service-card,.feature-card,.faq-item,.amenity-card,.blog-card,.contact-card,.team-card{border-color:#ffd6d9 !important;box-shadow:0 12px 32px rgba(227,6,19,.08) !important;}
.card:hover,.project-card:hover,.service-card:hover,.feature-card:hover,.blog-card:hover{box-shadow:0 18px 44px rgba(227,6,19,.16) !important;transform:translateY(-3px);}
.icon,.service-icon,.feature-icon,.contact-icon,i{color:var(--viaan-red) !important;}
footer,.footer{background:#181818 !important;color:#ffffff !important;}
footer a,.footer a{color:#ffe2e4 !important;} footer a:hover,.footer a:hover{color:#ffffff !important;}
footer h1,footer h2,footer h3,footer h4,.footer h1,.footer h2,.footer h3,.footer h4{color:#ffffff !important;}
.footer-bottom,.copyright{border-color:rgba(227,6,19,.35) !important;}
.social-icon, .social a{background:rgba(227,6,19,.12) !important;color:#ffffff !important;border-color:rgba(227,6,19,.35) !important;}
.social-icon:hover,.social a:hover{background:var(--viaan-red) !important;}
input:focus,textarea:focus,select:focus{border-color:var(--viaan-red) !important;box-shadow:0 0 0 3px rgba(227,6,19,.12) !important;outline:none;}
.badge,.counter,.count,.project-status,.highlight{background:var(--viaan-red-soft) !important;color:var(--viaan-red) !important;border-color:#ffd6d9 !important;}
::selection{background:var(--viaan-red);color:#ffffff;}
