*{
    margin: 0;
    padding: 0;

}
.navbar{
    background: rgba(255, 255, 255, 0.1); /* halka transparent white */
    backdrop-filter: blur(10px);           /* blur effect */
    -webkit-backdrop-filter: blur(10px); 
    button{
        padding: 8px 6px 11px 16px;
        background-color: black;
        border: none;
        border-radius: 50px;
        transition: all 1s ease;
    }
    .arrow{
        background-color: white;
        color: black;
        border-radius: 50px;
        font-weight: bolder;
        padding: 3px 8px 5px;

    }
}
.expand-btn:hover {
  padding-left: 40px;         /* left se extra space */
}

        /* herosection */
    
.herosection{
    background:linear-gradient(rgba(0, 0, 0, 0.345), rgba(0, 0, 0, 0.459)) ,url(https://wallpapers.com/images/hd/dark-luxury-house-and-tall-glass-windows-cll7wwtf2mmy19zu.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 50px;
    margin-top: 110px;
    position: relative;
    h1{
        font-size: 5em;
        font-weight: 600;
    }
    p{
        font-size: 20px;
    }
     button{
     padding: 8px 6px 10px 20px;
     background-color: rgba(255, 255, 255, 0.096);
     border: 2px solid rgba(255, 255, 255, 0.418);
     border-radius: 50px;
     font-size: 18px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.3s ease;
    color: white;
 }
 .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;            /* start from 0 */
  height: 100%;
  background: #fff;     /* hover color */
  z-index: -1;
  transition: width 0.4s ease;
}

.btn:hover::before {
  width: 100%;          /* fill left → right */
}

.btn:hover {
  color: #000;          /* text turns black */
}
 .arrow{
     background-color: black;
     color: white;
     border-radius: 50px;
     font-weight: bolder;
     padding: 3px 8px 5px;
 }
 .reating{
    h3{
        font-size: 4em;
    }
    p{
        font-size: 17px;
    }
 }
 .box {
  width: 200px;          /* jo size chahiye */
  height: 100px;         
  background: white;     /* background color */
  border-radius: 15px;   /* gol corners */
  
  position: absolute;    /* box ko parent ke andar freely move karne ke liye */
  right: 0;              /* right side chipka do */
  bottom: 0;             /* bottom side chipka do */
  margin: 20px;          /* thoda andar ho jaye */
}

}

            /* section-1 */

.section-1{
    .btn{
        background-color: rgba(234, 234, 234, 0.655);
        border-radius: 50px;
        color: rgba(49, 49, 49, 0.705);
        padding: 3px 20px 4px 20px;
        border: 1px solid rgba(193, 193, 193, 0.642);
    }
    h2{
        font-size: 2.5em;
    }
    .card{
        width: 320px;
        border: none;

    }
    img{
    border-radius: 40px;
    
    }
    span{
        font-size: 18px;
       
    }
    a{
        font-size: 18px;
    }
}


        /* section=2 */

.section-2{
     .btn{
     background-color: rgba(234, 234, 234, 0.655);
     border-radius: 50px;
     color: rgba(54, 54, 54, 0.705);
     padding: 3px 20px 4px 20px;
     border: 1px solid rgba(193, 193, 193, 0.642);
 }
 .col{
    background-color: rgba(234, 234, 234, 0.655);
    width: 300px;
    height: 300px;
    padding: 35px 60px 30px 30px;
    border-radius: 30px
 }
 i{
    background-color: white;
    padding: 18px 40px 15px 17px;
    border-radius: 50px;
    font-size: 1.5em;
 }
 p{
    font-size: 16px
 }
 h2{
    font-size: 2.5em;
    padding: 0px 100px 0px 100px;
    text-align: center;
 }
}

            /* contact form */
        
.container{
    .outer-b{
        border-radius: 40px;
        padding: 40px 30px 80px 30px;
        background-color: #ffffffaf;
        border: #adadad89;
    }
.form-control:focus {
  outline: none !important;
  box-shadow: none !important;
}
     .f-button{
     background-color: rgba(234, 234, 234, 0.655);
     border-radius: 50px;
     color: rgba(54, 54, 54, 0.705);
     padding: 3px 20px 4px 20px;
     border: 1px solid rgba(193, 193, 193, 0.642);
 }
  h2{
    font-size: 2.5em;
    padding: 0px 100px 0px 100px;
    text-align: center;
 }
}



.section-3{
    .btn{
        background-color: rgba(234, 234, 234, 0.655);
        border-radius: 50px;
        color: rgba(54, 54, 54, 0.705);
        padding: 3px 20px 4px 20px;
        border: 1px solid rgba(193, 193, 193, 0.642);
        outline: none;
    }
    a{
        font-size: 1.5em;
        font-weight: 500;
    }
    
}

.contactform{
.btn{
    background-color: rgba(234, 234, 234, 0.655);
    border-radius: 50px;
    color: rgba(54, 54, 54, 0.705);
    padding: 3px 20px 4px 20px;
    border: 1px solid rgba(193, 193, 193, 0.642);
    outline: none;
}
}

/* Global safety: prevent any horizontal scroll on small screens */
html, body { overflow-x: hidden; }
img { max-width: 100%; height: auto; }

/* Make brand text scale instead of fixed display-6 */
.brand-text {
  font-size: clamp(1.1rem, 3.5vw, 2rem);
  font-weight: 400;
  vertical-align: middle;
}

/* Navbar toggler — override the global .navbar button { background:black }
   from the original nested CSS so the toggle button is visible/normal */
.navbar .navbar-toggler {
  background-color: transparent !important;
  border: 1px solid rgba(0, 0, 0, .25) !important;
  border-radius: 8px !important;
  padding: 6px 10px !important;
}
.navbar .navbar-toggler:focus {
  box-shadow: 0 0 0 .15rem rgba(0, 0, 0, .15) !important;
}
.navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0,0,0,0.75)' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

/* Property cards — fluid, fill the column naturally so 3 per row works on lg */
.section-1 .card {
  width: 100% !important;
  max-width: 100%;
  margin: 0 auto;
}
.property-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 40px;
  display: block;
}

/* Service cards — fluid replacement for the original fixed 300x300 .col styling */
.section-2 .row > [class*="col-"] {
  margin-left: 0 !important;
}
.service-card {
  background-color: rgba(234, 234, 234, 0.655);
  border-radius: 30px;
  padding: 35px 30px;
  height: 100%;
  min-height: 240px;
}
.service-card i {
  background-color: white;
  padding: 10px 33px 10px 10px;
  border-radius: 50px;
  font-size: 1.4em;
}
.service-card h4 { font-weight: 600; }
.service-card p { font-size: 16px; color: #333; }

/* ===== Tablets and below ( <992px ) ===== */
@media (max-width: 991.98px) {
  /* Navbar */
  .navbar .container { flex-wrap: wrap; }
  .navbar-collapse {
    background: #fff;
    margin-top: 12px;
    padding: 14px 18px;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
  }
  .expand-btn { margin-top: 12px; width: 100%; }

  /* Hero */
  .herosection {
    margin-top: 90px;
    border-radius: 30px;
    padding: 40px 20px !important;
  }
  .herosection h1 {
    font-size: 3em !important;
    margin-left: 0 !important;
    text-align: center;
  }
  .herosection h1 br,
  .herosection p br { display: none; }
  .herosection p {
    margin-left: 0 !important;
    text-align: center;
    font-size: 17px !important;
  }
  .herosection button { margin-left: 0 !important; display: block; margin: 20px auto !important; }
  .herosection .reating {
    justify-content: center;
    text-align: center;
    gap: 30px !important;
  }
  .herosection .reating h3 { font-size: 2.5em !important; }

  /* Section-1 properties heading */
  .section-1 h2 { font-size: 1.8em !important; }
  .section-1 h2 br { display: none; }

  /* Section-2 services heading + card layout */
  .section-2 h2 {
    font-size: 1.8em !important;
    padding: 0 !important;
  }
  .section-2 h2 br { display: none; }

  /* Section-3 FAQ heading */
  .section-3 .col-lg-4 h2 {
    float: none !important;
    text-align: left;
    margin-top: 16px !important;
    font-size: 1.6em;
  }

  /* Contact form — full width on tablet/mobile */
  .contactform .outer-b {
    width: 95% !important;
    padding: 30px 20px 50px !important;
  }
  .contactform h2 {
    font-size: 1.7em !important;
    padding: 0 !important;
  }
  .contactform p br { display: none; }

  /* Footer */
  footer .row { padding: 30px 15px !important; }
}

/* ===== Phones ( <768px ) ===== */
@media (max-width: 767.98px) {
  .navbar .container { padding: 8px 12px; }
  .brand-text { display: inline-block; max-width: 60%; }

  .herosection {
    margin-top: 80px;
    border-radius: 24px;
    padding: 30px 16px !important;
  }
  .herosection h1 { font-size: 2.2em !important; line-height: 1.15; }
  .herosection p { font-size: 15px !important; }
  .herosection .reating { gap: 20px !important; flex-direction: row; }
  .herosection .reating h3 { font-size: 2em !important; }
  .herosection .reating p { font-size: 14px !important; }

  .section-1 h2,
  .section-2 h2,
  .contactform h2,
  .section-3 .col-lg-4 h2 { font-size: 1.5em !important; }

  .property-img { height: 230px; border-radius: 30px; }

  .section-2 i {
    font-size: 1.2em !important;
    padding: 14px 18px !important;
  }
  .section-2 .col { min-height: auto; padding: 25px 20px !important; }

  /* FAQ accordion buttons */
  .section-3 .card-header a { font-size: 14px; }

  /* Footer columns stack centered */
  footer { text-align: center; }
  footer .row > div { margin-bottom: 24px; }
  footer .col-lg-6 .brand { display: block; margin-bottom: 12px; }
  footer i { margin: 0 8px; }
}

/* ===== Small phones ( <576px ) ===== */
@media (max-width: 575.98px) {
  .navbar-brand img { width: 45px !important; }
  .brand-text { font-size: 1rem; }

  .herosection { margin-top: 75px; border-radius: 20px; }
  .herosection h1 { font-size: 1.8em !important; }
  .herosection .reating {
    flex-direction: column;
    gap: 14px !important;
    align-items: center;
  }
  .herosection .reating h3 { font-size: 1.7em !important; }

  .section-1 .card { max-width: 100%; }
  .property-img { height: 210px; }

  .section-1 .card span,
  .section-1 .card a { font-size: 15px !important; }

  .section-2 h2,
  .contactform h2 { font-size: 1.3em !important; }

  /* Form fields tighter */
  .contactform .outer-b {
    width: 100% !important;
    padding: 25px 16px 40px !important;
    border-radius: 24px;
  }

  footer .container.row { padding: 20px 10px !important; }
}

/* ===== Tiny phones (<360px) ===== */
@media (max-width: 359.98px) {
  .herosection h1 { font-size: 1.5em !important; }
  .navbar-brand img { width: 38px !important; }
  .brand-text { font-size: .9rem; }
}

/* ===== Large desktops & 4K ===== */
@media (min-width: 1400px) {
  .container { max-width: 1280px; }
  .herosection h1 { font-size: 5.5em; }
}
@media (min-width: 1800px) {
  .container { max-width: 1480px; }
}

/* Reduced motion — respect user preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}
