/********** Template CSS **********/

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Button ***/
.btn {
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.sticky-top {
    top: -150px;
    transition: .5s;
}

.navbar {
    padding: 15px 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: 18px;
}

.navbar .navbar-nav .nav-link {
    margin-left: 30px;
    padding: 0;
    outline: none;
    color: var(--bs-dark);
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary)
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item.active {
    color: var(--bs-white);
    background: var(--bs-primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Hero Header ***/
.hero-header {
    margin-top: -100px;
    padding-top: 150px;
    background: url(../img/hero-bg.jpg) top center no-repeat;
    background-size: cover;
}

.hero-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.header-carousel {
    position: relative;
    padding: 45px 90px 45px 0;
}

.header-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    width: calc(50% + 45px);
    height: 100%;
    background: var(--bs-primary);
    z-index: -1;
}

.header-carousel .owl-dots {
    position: absolute;
    top: 50%;
    right: 38px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 5px 0;
    width: 15px;
    height: 15px;
    border: 2px solid var(--bs-white);
    transition: .5s;
}

.header-carousel .owl-dot.active {
    height: 30px;
    background: var(--bs-white);
}


/*** About ***/
.about-img {
    position: relative;
    overflow: hidden;
}

.about-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(../img/bg-about-img.png) top left no-repeat;
    background-size: contain;
}


/*** Project ***/
.project-item img {
    transition: .5s;
}
  
.project-item:hover img {
    transform: scale(1.2);
}
  
.project-overlay {
    position: absolute;
    padding: 25px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(rgba(255, 255, 255, .1) 50%, var(--bs-dark));
    z-index: 1;
}


/*** Service ***/
.service-item {
    position: relative;
    padding: 30px 25px;
    transition: .5s;
}

.service-item.bg-primary:hover {
    background: var(--bs-light) !important;
}

.service-item.bg-primary p {
    color: var(--bs-light);
    transition: .5s;
}

.service-item.bg-primary:hover p {
    color: var(--bs-secondary);
}

.service-item.bg-light:hover {
    background: var(--bs-primary) !important;
}

.service-item.bg-light p {
    color: var(--bs-secondary);
    transition: .5s;
}

.service-item.bg-light:hover p {
    color: var(--bs-light);
}


.service-item .service-img h3 {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 12px 7px 0;
}

.service-item.bg-primary .service-img h3 {
    background: var(--bs-primary);
    color: var(--bs-white);
    transition: .5s;
}

.service-item.bg-primary:hover .service-img h3 {
    background: var(--bs-light);
    color: var(--bs-dark);
}

.service-item.bg-light .service-img h3 {
    background: var(--bs-light);
    color: var(--bs-dark);
    transition: .5s;
}

.service-item.bg-light:hover .service-img h3 {
    background: var(--bs-primary);
    color: var(--bs-white);
}


/*** Our Team ***/
.team-item img {
    transition: .5s;
}
  
.team-item:hover img {
    transform: scale(1.2);
}
  
.team-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(rgba(255, 255, 255, .1) 50%, var(--bs-dark));
    z-index: 1;
}

.team-overlay small {
    display: inline-block;
    padding: 3px 15px;
    color: var(--bs-white);
    background: var(--bs-primary);
}


/*** Testimonial ***/
.testimonial-img {
    position: relative;
    padding: 45px 0 45px 90px;
}

.testimonial-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: calc(50% + 45px);
    height: 100%;
    background: var(--bs-primary);
    z-index: -1;
}

.testimonial-text h5 {
    position: relative;
    padding-left: 45px;
}

.testimonial-text h5::before {
    position: absolute;
    content: "";
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
    background: var(--bs-primary);
}

.testimonial-carousel .owl-dots {
    position: absolute;
    height: 17px;
    bottom: 0;
    right: 0;
    left: auto;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin-left: 10px;
    width: 15px;
    height: 15px;
    background: var(--bs-white);
    border: 2px solid var(--bs-primary);
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--bs-primary);
}

@media (max-width: 768px) {
    .testimonial-carousel .owl-dots {
        left: 0;
        right: auto;
    }

    .testimonial-carousel .owl-dot {
        margin-right: 10px;
        margin-left: 0;
    }
}


/*** Newsletter ***/
.newsletter {
    background: url(../img/hero-bg.jpg) bottom right no-repeat;
    background-size: cover;
}

@media (min-width: 992px) {
    .newsletter .container {
        max-width: 100% !important;
    }

    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: rgba(255,255,255,.5);
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link:hover {
    color: var(--bs-white);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: rgba(255,255,255,.5);
}

.footer .copyright a:hover {
    color: var(--bs-white);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/* ===============================
   PAYMENT PLAN – PREMIUM EFFECTS
================================ */

.payment-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e6e6e6;
    transition: all 0.6s ease;
    transform-style: preserve-3d;
}

/* Lift + glow */
.payment-card:hover {
    transform: translateY(-14px) scale(1.02);
    box-shadow: 0 30px 60px rgba(13,110,253,0.15);
}

/* Image wrapper */
.payment-img {
    position: relative;
    overflow: hidden;
}

/* Image animation */
.payment-img img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.8s ease, filter 0.8s ease;
}

/* ZOOM IN */
.payment-card:hover .payment-img img {
    transform: scale(1.15);
    filter: brightness(1.05);
}

/* ZOOM OUT (smooth when cursor leaves) */
.payment-card:not(:hover) .payment-img img {
    transform: scale(1);
}

/* Tag */
.bhk-tag {
    position: absolute;
    top: 18px;
    left: 18px;
    background: #0d6efd;
    color: #fff;
    padding: 7px 18px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 30px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Content */
.payment-body {
    padding: 28px;
    text-align: center;
}

.payment-body h4 {
    font-weight: 700;
    margin-bottom: 15px;
}

.payment-body ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.payment-body ul li {
    padding: 8px 0;
    border-bottom: 1px dashed #ddd;
    font-size: 15px;
}

.payment-body ul li.highlight {
    color: #0d6efd;
    font-weight: 700;
}

/* Active card highlight */
.payment-card.active {
    border: 2px solid #0d6efd;
    transform: scale(1.03);
}

/* Subtle tilt effect */
.payment-card:hover {
    transform: translateY(-14px) scale(1.02) rotateX(2deg);
}

/* Mobile safe */
@media (max-width: 768px) {
    .payment-img img {
        height: 200px;
    }
}

/* ===== PRODUCT GALLERY FIX ===== */

#product-gallery,
#product-gallery .container,
#product-gallery .row {
    height: auto !important;
    overflow: visible !important;
}

.product-gallery {
    margin-top: 40px;
}

.gallery-item {
    margin-bottom: 25px;
}

.gallery-item img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.4s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* ===== Brochure Section ===== */
.brochure-section {
    background: linear-gradient(135deg, #111, #2a2a2a);
    padding: 80px 0;
    color: #fff;
}

.brochure-section h3 {
    color: #fff;
}

.brochure-section p {
    color: #fff;
}

.brochure-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    display: inline-block;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    width: 780px;
    height: 600px;
}

.brochure-card img {
    max-width: 800px;
    margin-bottom: 25px;
    width: 720px;
    height: 475px;
    margin: 0 auto 25px;
    display: block;
}

/* Attractive Button */
.brochure-btn {
    background: linear-gradient(135deg, #ff9800, #ff5722);
    color: #fff;
    font-size: 18px;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(255,152,0,0.6);
    transition: all 0.3s ease;
}

.brochure-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255,87,34,0.8);
    color: #fff;
}

/* Modal Styling */
.brochure-modal {
    border-radius: 20px;
    padding: 20px;
}

#brochureForm input {
    margin-bottom: 15px;
    height: 45px;
}

.brochure-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #ff5722, #ff9800);
    color: #fff;
    padding: 12px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
}

/* ===== BROCHURE MODAL BEAUTIFICATION ===== */

.brochure-modal {
  border-radius: 16px;
  padding: 10px;
  background: #ffffff;
}

.brochure-modal .modal-header {
  border: none;
  padding: 20px 25px 10px;
}

.brochure-modal .modal-title {
  font-size: 22px;
  font-weight: 600;
  color: #222;
}

.brochure-modal .modal-body {
  padding: 20px 25px 30px;
}

/* Form layout */
#brochureForm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

/* Inputs */
#brochureForm input {
  width: 100%;
  height: 48px;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.3s ease;
  background: #fafafa;
}

#brochureForm input:focus {
  outline: none;
  border-color: #f15a29;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(241,90,41,0.15);
}

/* Make phone full width */
#brochureForm input[type="tel"] {
  grid-column: span 2;
}

/* Submit button */
.brochure-submit-btn,
#brochureForm button {
  grid-column: span 2;
  height: 52px;
  border-radius: 30px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #f15a29, #ff7a18);
  cursor: pointer;
  transition: all 0.3s ease;
}

#brochureForm button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(241,90,41,0.4);
}

/* Close button */
.brochure-modal .close,
.brochure-modal .btn-close {
  opacity: 0.6;
}

/* Mobile responsive */
@media (max-width: 768px) {
  #brochureForm {
    grid-template-columns: 1fr;
  }

  #brochureForm input[type="tel"],
  #brochureForm button {
    grid-column: span 1;
  }

  .brochure-modal .modal-body {
    padding: 20px;
  }
}

/* BROCHURE MODAL */
@media (max-width: 576px) {
    .brochure-modal {
        padding: 15px;
    }

    .brochure-submit-btn {
        width: 100%;
    }
}

/* ===== TABLET ===== */
@media (max-width: 991px) {
    .brochure-section {
        padding: 60px 0;
    }

    .brochure-section .section-title h3 {
        font-size: 26px;
    }

    .brochure-section .section-title .lead {
        font-size: 15px;
    }

    .brochure-card img {
        max-width: 260px;
    }

    .brochure-btn {
        font-size: 15px;
        padding: 12px 26px;
    }
}

/* ===== MOBILE ===== */
@media (max-width: 767px) {
    .brochure-section {
        padding: 45px 0;
    }

    .brochure-section .section-title h3 {
        font-size: 22px;
    }

    .brochure-section .section-title .lead {
        font-size: 14px;
        padding: 0 10px;
    }

    .brochure-card {
        padding: 20px;
        width: auto;
        height: auto;
        max-width: 340px;
    }

    .brochure-card img {
        max-width: 220px;
    }

    .brochure-btn {
        width: 100%;
        justify-content: center;
        font-size: 14px;
        padding: 12px;
    }
}

/* ===============================
   MOBILE OPTIMIZATION
================================ */

@media (max-width: 767px) {

  .hero-header {
    padding-bottom: 40px;
  }

  .hero-header .row.align-items-center {
    text-align: center;
  }

  .hero-header h1 {
    margin-bottom: 20px;
  }

  .hero-header h5 {
    margin: 0 auto 20px;
    display: inline-block;
  }

  .header-carousel {
    margin-top: 30px;
  }

  .hero-header .d-flex {
    flex-direction: column;
  }

  .hero-header .btn-square {
    margin-bottom: 10px;
  }
}

/* ===============================
   TABLET OPTIMIZATION
================================ */

@media (max-width: 991px) {

  .hero-header h1 {
    text-align: center;
  }

  .hero-header h5 {
    margin: 0 auto;
  }
}

/* ===============================
   MOBILE OPTIMIZATION
================================ */

@media (max-width: 767px) {

  #About {
    text-align: center;
  }

  #About .row.g-5 {
    gap: 2rem;
  }

  #About .col-lg-6 {
    order: unset;
  }

  #About img {
    margin-bottom: 15px;
  }

  #About .h-25 {
    padding: 10px;
  }

  #About h4 {
    font-size: 1rem;
  }

  #About .row.g-3 {
    justify-content: center;
  }

  #About .d-flex.align-items-center {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  #About .btn {
    margin-bottom: 10px;
  }
}

/* ===============================
   TABLET OPTIMIZATION
================================ */

@media (max-width: 991px) {

  #About h1 {
    text-align: center;
  }

  #About p {
    text-align: center;
  }

  #About .row.g-3 {
    justify-content: center;
  }
}

/* ===============================
   MOBILE RESPONSIVE
================================ */

@media (max-width: 767px) {

  #Amenities {
    margin-top: 2rem;
  }

  #Amenities .row.g-0 {
    gap: 1.5rem;
  }

  #Amenities .col-lg-5 {
    text-align: center;
  }

  #Amenities .bg-primary {
    padding: 2rem 1.5rem !important;
    height: auto !important;
  }

  #Amenities h1 {
    margin-bottom: 1.5rem;
  }

  #Amenities h4 .display-1 {
    font-size: 2.5rem;
  }

  .project-item {
    margin-bottom: 15px;
  }
}

/* ===============================
   TABLET RESPONSIVE
================================ */

@media (max-width: 991px) {

  #Amenities .col-lg-5 {
    order: -1;
  }

  #Amenities .bg-primary {
    height: auto !important;
  }

  #Amenities h1,
  #Amenities h4 {
    text-align: center;
  }
}

/* ===============================
   MOBILE RESPONSIVE
================================ */

@media (max-width: 767px) {

  .testimonial-item .row {
    text-align: center;
  }

  .testimonial-img {
    margin-bottom: 20px;
  }

  .testimonial-text {
    padding-bottom: 0 !important;
  }

  .testimonial-text p {
    text-align: justify;
  }
}

/* ===============================
   TABLET RESPONSIVE
================================ */

@media (max-width: 991px) {

  .testimonial-text {
    padding-top: 10px;
  }
}

/* ===============================
   MOBILE VIEW
================================ */

@media (max-width: 767px) {

  .footer {
    text-align: center;
  }
  
  .footer h5 {
    text-align: center;
  }
  
  .footer a.btn.btn-link  {
    text-align: center;
  }

  .footer .row > div {
    margin-bottom: 25px;
  }

  .footer .btn-link {
    text-align: center;
  }

  .footer .d-flex {
    justify-content: center;
  }

  .footer p i {
    display: block;
    margin-bottom: 6px;
  }
}

/* ===============================
   TABLET VIEW
================================ */

@media (max-width: 991px) {

  .footer .row > div {
    margin-bottom: 20px;
  }
}

/* ============================= */
/* ===== SEO Content Styling ==== */
/* ============================= */

#seo-content {
    background: #f8f9fa;
}

#seo-content .container {
    max-width: 1100px;
}

#seo-content h2 {
    font-weight: 700;
    font-size: 36px;
    margin-bottom: 15px;
    line-height: 1.3;
}

#seo-content h3 {
    margin-top: 35px;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 24px;
    color: #111;
}

#seo-content p {
    color: #555;
    line-height: 1.9;
    font-size: 16px;
    margin-bottom: 15px;
}

#seo-content ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

#seo-content ul li {
    margin-bottom: 8px;
    color: #444;
    font-size: 15px;
}

/* Improve spacing for large content blocks */
#seo-content .seo-content {
    background: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}

/* ============================= */
/* ===== Tablet Responsive ===== */
/* ============================= */

@media (max-width: 991px) {

    #seo-content h2 {
        font-size: 30px;
    }

    #seo-content h3 {
        font-size: 22px;
    }

    #seo-content .seo-content {
        padding: 30px;
    }
}

/* ============================= */
/* ===== Mobile Responsive ===== */
/* ============================= */

@media (max-width: 767px) {

    #seo-content {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    #seo-content h2 {
        font-size: 24px;
        line-height: 1.4;
    }

    #seo-content h3 {
        font-size: 20px;
        margin-top: 25px;
    }

    #seo-content p {
        font-size: 15px;
        line-height: 1.8;
    }

    #seo-content ul li {
        font-size: 14px;
    }

    #seo-content .seo-content {
        padding: 20px;
        border-radius: 8px;
    }
}

/* ============================= */
/* ===== Extra Small Devices ==== */
/* ============================= */

@media (max-width: 480px) {

    #seo-content h2 {
        font-size: 20px;
    }

    #seo-content h3 {
        font-size: 18px;
    }

    #seo-content p {
        font-size: 14px;
    }

    #seo-content .seo-content {
        padding: 15px;
    }
}
