@media (min-width: 901px) {
  .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    position: absolute;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    top: 100%;
    left: 0;
  }
}

@media (max-width: 900px) {
  .nav-item.dropdown .dropdown-menu {
    display: none;
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    margin-top: 8px;
    background-color: var(--white);
    border-radius: 10px;
  }

  .nav-item.dropdown.show-dropdown-mobile .dropdown-menu {
    display: block;
  }

  .navbar .navbar-collapse {
    background-color: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  }

  p {
    line-height: inherit !important;
  }

  .footer-contact p {
    font-size: 16px;
  }

  .content-banner h6,
  .content-banner p {
    text-shadow: 0px 3px 6px #00000069;
  }

  .popup-close-img {
    top: 10px;
  }

  .navbar-toggler {
    color: var(--white);
  }

  .content-banner h1 {
    font-size: 32px;
  }

  .footer-links-content,
  .footer-section .footer-links {
    font-size: 14px;
    margin-top: 0px !important;
  }

  .footer-section .footer-links a {
    font-size: 14px;
    margin-top: 0px;
  }

  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,1%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }

  .nav-link {
    display: block;
    margin: 10px 0;
    width: 100%;
    text-align: start;
    border-radius: 30px;
  }

  .nav-item.dropdown:hover .dropdown-menu {
    display: block;
  }

  /* banner-content */
  .banner-block {
    padding-top: 120px;
    padding-bottom: 30px;
    min-height: auto;
  }

  .content-banner h1 {
    font-size: 34px;
  }

  .content-banner h1 span {
    font-size: 28px;
  }

  .content-banner h6 {
    font-size: 20px;
  }

  .content-banner p {
    font-size: 16px;
  }

  .banner-block-content h4 {
    font-size: 20px;
  }

  .banner-block-content .flex-box {
    font-size: 18px;
  }

  .banner-block-content table tr td {
    font-size: 16px;
  }

  /* about-section */
  .about-logo {
    padding-right: 20px;
    margin-bottom: 20px;
  }

  .about-us-content h1 {
    font-size: 24px;
  }

  .about-us-content p,
  .about-us-content h4 {
    font-size: 16px;
  }

  /* project-highlight */
  .building-col {
    margin-top: -40px !important;
    padding-right: 30px !important;
    margin-left: -10px !important;
  }

  .sold-out-img {
    top: 150px;
    right: 30px;
    width: 100px;
  }

  .project-title,
  .project-location,
  .subham-details h2,
  .subham-details h4 {
    font-size: 24px;
  }

  .project-desc {
    font-size: 16px;
  }

  .know-more-btn {
    font-size: 15px;
    padding: 10px 25px;
  }

  /* hero-section */
  .hero-section .row {
    flex-direction: row !important;
  }

  .building-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    display: block;
  }

  .subham-details {
    text-align: left;
    padding: 30px;
  }

  .overflowed-img {
    position: relative;
    margin-top: -80px !important;
    padding-left: 0 !important;
    margin-right: -40px !important;
    z-index: 1;
  }

  .soldout-icon {
    top: 30%;
    left: -40px;
    max-width: 80px;
  }

  /* fotter-section */
  .footer-contact {
    padding-left: 80px;
  }

  .footer-contact h6,
  .footer-contact p {
    text-align: left;
  }

  .footer-section .footer-links {
    text-align: right;
    margin-top: 10px;
  }

  /* why-choose and usage-policy */
  .why-choose-ainfra {
    padding-left: 40px;
  }

  .why-choose-ainfra h2,
  .why-choose-ainfra p {
    text-align: start;
  }

  .info-box {
    width: 95%;
  }

  .custom-box {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .usage-policy-section {
    padding-left: 40px;
  }

  .usage-policy-section h5,
  .usage-policy-section p {
    text-align: start;
  }

  .project-highlight {
    padding-bottom: 40px !important;
  }

  .subham-details h4 {
    margin-bottom: 0px;
  }

  .promise-item {
    padding-left: 20px;
  }

  .promise-heading {
    margin-bottom: 10px;
  }

  .floating-icons {
    right: 0px;
  }

  .section-heading {
    font-size: 28px;
  }

  .section-subtext,
  .card-img-overlay h3,
  .amenity-item h4,
  #disclaimerSection p {
    font-size: 16px !important;
  }

  .feature-card h4 br {
    display: none;
  }

  .feature-card h4,
  #tabParagraph,
  .overlay-title {
    font-size: 18px !important;
    word-break: break-word;
    white-space: normal;
  }

  .text-mobile-left {
    text-align: left !important;
  }

  .mobile-display {
    display: block !important;
  }

  .feature-card-2-3 {
    width: 100%;
    height: auto;
    padding-top: 20px;
    padding-bottom: 10px;
  }

  .amenities-heading,
  .location-floor-title {
    font-size: 32px !important;
  }

  .amenities-subheading {
    font-size: 28px;
  }

  .tab-content-explore {
    padding-left: 15px !important;
  }

  #masterList {
    margin-left: 0px;
    margin-right: 0px;
  }

  .owl-nav .arrow {
    padding: 5px 10px;
    border-radius: 25px;
    font-size: 18px;
  }

  .carousel-card {
    padding: 0px;
    width: 100% !important;
  }

  .owl-carousel .carousel-card {
    margin: 0px !important;
  }

  .owl-nav .left {
    margin-left: -20px !important;
  }
}

@media (max-width: 768px) {
  .navbar .navbar-collapse {
    background-color: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  }

  .navbar-toggler {
    color: var(--white);
  }

  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,1%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }

  .nav-link {
    display: block;
    margin: 10px 0;
    width: 100%;
    text-align: start;
    border-radius: 30px;
  }

  .ml-20 {
    margin-left: 0 !important;
  }

  .navbar-toggler {
    border: none;
    box-shadow: none;
  }

  /* banner-content */
  .banner-block {
    padding-top: 100px;
    padding-bottom: 30px;
    min-height: auto;
  }

  .content-banner {
    text-align: start;
  }

  .banner-block-content {
    border-radius: 10px;
    margin-top: 30px;
    padding: 20px;
  }

  .btn-primary {
    font-size: 16px;
  }

  .carousel-indicators [data-bs-target] {
    width: 15px;
    height: 15px;
  }

  /* about-section */
  .about-logo {
    padding-right: 0;
  }

  .about-us-content h1 {
    font-size: 24px;
    margin-top: 14px;
  }

  .about-us-content p {
    font-size: 15px;
  }

  .about-us-content h4 {
    font-size: 18px;
  }

  /* philosophy-section */
  .philosophy-section h2 {
    font-size: calc(var(--h2) - 10px);
  }

  .subtitle {
    font-size: 18px;
  }

  .description {
    font-size: 16px;
  }

  .icon-box {
    max-width: 140px;
    padding: 8px 0;
  }

  .icon-img {
    width: 26px;
  }

  /* project-highlight */
  .building-col {
    position: relative;
    margin-top: -50px !important;
    padding-left: 0 !important;
    padding-right: 100px !important;
    margin-left: -30px !important;
    z-index: 1;
  }

  .building-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    display: block;
  }

  .sold-out-img {
    top: 160px !important;
    right: 40px !important;
    width: 70px !important;
    z-index: 2 !important;
  }

  .project-title {
    font-size: 28px;
  }

  .project-location {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .project-desc {
    font-size: 15px;
  }

  /* hero-section */
  .building-col {
    margin-top: -40px !important;
    padding-right: 30px !important;
    margin-left: -10px !important;
  }

  .sold-out-img {
    top: 150px;
    right: 30px;
    width: 100px;
  }

  .project-title,
  .project-location,
  .subham-details h2,
  .subham-details h4 {
    font-size: 28px;
  }

  .project-desc {
    font-size: 16px;
  }

  .know-more-btn {
    font-size: 15px;
    padding: 10px 25px;
  }

  /* hero-section */
  .hero-section .row {
    flex-direction: row !important;
  }

  .building-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    display: block;
  }

  .subham-details {
    text-align: left;
    padding: 30px;
    padding-left: 0 !important;
  }

  .overflowed-img {
    position: relative;
    margin-top: -80px !important;
    padding-left: 0 !important;
    margin-right: -40px !important;
    z-index: 1;
  }

  .soldout-icon {
    top: 30%;
    left: -40px;
    max-width: 80px;
  }

  /* footer-section */

  .footer-contact {
    padding-left: 60px;
  }

  .footer-contact h6,
  .footer-contact p {
    text-align: left;
  }

  .footer-section .footer-links {
    text-align: right;
    margin-top: 10px;
  }

  /* why-choose and usage-policy */
  .why-choose-ainfra {
    padding-left: 30px;
  }

  .why-choose-ainfra h2,
  .why-choose-ainfra p {
    text-align: start;
  }

  .info-box {
    width: 95%;
    font-size: 14px;
  }

  .usage-policy-section {
    padding-left: 30px;
  }

  .usage-policy-section h5,
  .usage-policy-section p {
    text-align: start;
  }

  .footer-section .d-flex.gap-5 {
    display: block !important;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 10px 15px;
  }

  .navbar-brand img {
    max-width: 140px;
  }

  .navbar-toggler {
    color: var(--white);
  }

  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,1%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }

  .nav-link {
    font-size: 13px;
    padding: 6px 15px;
    text-align: start;
  }

  .popup-box {
    padding-left: 10px !important;
    padding-right: 10px !important;
    margin-left: 0px;
    margin-right: 0px;
    max-width: 100% !important;
    margin-top: 160px;
  }

  .popup-strip {
    margin-left: 0;
    margin-right: 0;
    font-size: 14px;
  }

  .promise-box {
    width: 100%;
    text-align: center;
    height: auto !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
  }

  .custom-hr {
    display: none;
  }

  .promise-item {
    display: inline-flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center !important;
    width: 45%;
    margin-bottom: 15px !important;
    padding: 0 5px;
    text-align: center;
  }

  .promise-item img {
    width: 28px;
    height: 28px;
    margin-bottom: 5px;
  }

  .promise-box .promise-item:nth-of-type(5) {
    display: flex !important;
    margin: 0 auto;
    width: 100%;
  }

  .popup-box .form-control {
    font-size: 13px;
    padding: 6px 10px;
  }

  .btn-express {
    font-size: 13px;
    padding: 8px 16px;
  }

  .popup-header h5 {
    font-size: 24px;
    text-align: left !important;
    padding-bottom: 10px;
  }

  .promise-heading {
    font-size: 16px;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  .form-check-label {
    font-size: 14px;
  }

  /* banner-content */
  .banner-block {
    padding-top: 80px;
  }

  .content-banner h6 {
    font-size: 18px;
  }

  .content-banner p {
    font-size: 15px;
  }

  .banner-block-content {
    margin-bottom: 40px;
  }

  .banner-block-content h4 {
    font-size: 18px;
  }

  .banner-block-content .flex-box {
    font-size: 14px;
  }

  .banner-block-content table tr td {
    font-size: 15px;
  }

  .carousel-indicators {
    bottom: 10px;
  }

  /* about-section */
  .about-us {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .about-logo img {
    width: 80px;
    height: 80px;
  }

  /* philosophy-section */
  .philosophy-section h2 {
    font-size: 28px;
  }

  .icon-box p {
    font-size: 16px;
  }

  .icon-box img {
    width: 50px;
  }

  /* .project-highlight */
  .project-highlight .row {
    flex-direction: column;
  }

  .building-col {
    position: relative;
    margin-top: -55px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    z-index: 1;
  }

  .building-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    display: block;
  }

  .content-col {
    order: 2;
    padding: 20px !important;
    text-align: left;
  }

  .sold-out-img {
    top: 170px;
    right: 60px !important;
    width: 40px;
  }

  .project-title {
    text-align: left;
  }

  .project-location {
    font-size: 22px;
    margin-bottom: 10px;
    text-align: left;
  }

  .project-desc {
    font-size: 16px;
    padding-right: 10px;
    text-align: left;
  }

  .know-more-btn {
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 20px !important;
    text-align: left;
  }

  /* hero-section */
  .hero-section {
    padding: 0 !important;
    overflow-x: hidden;
  }

  .custom-wrapper {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100%;
  }

  .overflowed-img {
    margin-top: -50px !important;
    margin-right: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }

  .hero-section .building-img {
    width: 100% !important;
    max-width: 100% !important;
    transform: scale(1) !important;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    left: 0 !important;
    position: relative;
  }

  .soldout-icon {
    top: 190px;
    left: 20px !important;
    width: 80px;
  }

  .subham-details {
    padding: 30px !important;
  }

  .know-btn {
    display: inline-block;
    margin-top: 15px;
    margin-bottom: 20px;
  }

  /* .footer-section */
  .footer-contact {
    padding-left: 10px;
    padding-top: 20px;
  }

  .footer-logo-img {
    align-items: start;
    justify-content: flex-start;
  }

  .footer-logo {
    align-items: start;
    justify-content: flex-start;
  }

  .footer-contact {
    text-align: start;
    align-items: start;
  }

  .footer-contact h6,
  .footer-contact p {
    text-align: center;
  }

  .footer-contact ul li {
    justify-content: start;
    align-items: flex-start;
    text-align: start;
  }

  .footer-contact .contact-details {
    flex-direction: column;
    align-items: start;
    gap: 10px;
  }

  .footer-section .footer-links {
    text-align: center;
    margin-top: 15px;
  }

  .footer-section .footer-links-content {
    text-align: center;
  }

  .footer-section .footer-links a {
    display: inline-block;
    margin: 5px 10px;
  }

  .footer-section .social-icons {
    justify-content: flex-start;
    margin-top: 10px;
  }

  /* .why-choose-ainfra and .usage-policy-section */
  .why-choose-ainfra {
    align-items: flex-start !important;
    padding-left: 0px;
  }

  .why-choose-ainfra h2 {
    font-size: 28px;
  }

  .why-choose-ainfra p {
    font-size: 16px;
    width: 100%;
  }

  .info-box {
    font-size: 16px;
    padding: 12px;
    width: 100%;
  }

  .usage-policy-section {
    align-items: flex-start !important;
    padding-left: 0px;
  }

  .usage-policy-section h5 {
    font-size: 28px;
    padding-top: 10px;
    text-align: start;
    margin-bottom: 0px;
  }

  .usage-policy-section p {
    font-size: 16px;
    text-align: start;
  }

  p {
    line-height: inherit !important;
  }
}

/** Master report Page **/
/* Responsive Styles for Master Plan and Related Sections */

@media (max-width: 1200px) {
  .location-floor-title {
    font-size: 50px;
  }

  .amenities-heading {
    font-size: 50px;
  }

  .carousel-card {
    width: 100% !important;
    height: 200px;
  }

  .card-img-overlay h3 {
    font-size: 22px;
    margin-bottom: 5px;
  }

  .card-img-overlay .express-interest-Btn {
    padding: 3px 14px;

    font-size: 10px;
  }

  iframe {
    width: 100% !important;
    height: auto !important;
  }

  .feature-card-2-3 {
    width: 356.172px;
    height: 125.332px;
  }
}

@media (max-width: 992px) {
  .brochure-title {
    font-size: 35px;
  }

  .feature-cards {
    flex-direction: column;
    align-items: center;
  }

  .banner-explore {
    padding-top: 60px;
    min-height: 600px;
    padding-bottom: 40px;
  }

  .owl-carousel {
    padding: 0 40px;
  }

  .owl-nav .left {
    margin-left: -85px;
  }

  .owl-nav .right {
    margin-right: -85px;
  }

  .overlay-title-wrapper {
    top: 20%;
    transform: translate(-50%, 69%);
  }

  .image-wrapper {
    width: 100%;
  }

  .feature-card-2-3 {
    width: 327.012px;
    height: 120.488px;
  }
}

@media (max-width: 768px) {
  .location-floor-title {
    font-size: 40px;
  }

  .overlay-title {
    font-size: 28px;
  }

  .btn-visit,
  .download-btn,
  .express-interest-Btn,
  .submit-btn {
    font-size: 16px;
    padding: 10px 20px;
  }

  .feature-card h4 {
    font-size: 20px;
  }

  .feature-card p {
    font-size: 16px;
  }

  .amenities-grid {
    grid-template-columns: 1fr;
  }

  .owl-carousel .carousel-card {
    margin: 0 17px;
    transform: scale(0.95);
  }

  .owl-nav .right {
    margin-right: -30px;
  }

  .owl-nav .left {
    margin-left: -30px;
  }

  .unit-hotspot,
  .unit3-wrapper {
    display: none;
  }

  #enquirySection .second-row {
    margin-top: 2rem !important;
  }

  .brochure-image {
    max-width: 85%;
    height: auto;
    transform: translateX(29px) scale(1.3) translateY(5px);
  }

  .brochure-section {
    padding-top: 30px;
  }
}

@media (max-width: 576px) {
  .section-subtext,
  .card-img-overlay h3,
  #tabParagraph {
    font-size: 18px;
  }

  .brochure-image {
    max-width: 85%;
    height: auto;
    transform: translateX(21px) scale(1.3) translateY(5px);
  }

  .brochure-section {
    padding-bottom: 0px;
  }

  .brochure-title {
    font-size: 25px;
    margin-bottom: 0.5rem !important;
  }

  .download-btn {
    width: 164px;
  }

  .form-control {
    width: 100% !important;
  }

  .footer-font {
    font-size: 16px;
  }

  .overlay-title-wrapper {
    padding: 15px;
  }

  .overlay-button {
    padding: 6px 16px;
  }
}

/* === Responsive @480px === */
@media (max-width: 480px) {
  .location-floor-title {
    font-size: 28px;
  }

  .location-floor-subtitle,
  .description {
    font-size: 16px;
  }

  .custom-tabs .nav-link {
    font-size: 16px;
    padding: 12px;
    text-align: center;
  }

  .custom-tabs {
    flex-direction: column;
  }

  .express-interest-Btn {
    font-size: 14px;
    padding: 10px;
    margin-top: 5px;
  }

  .owl-carousel .carousel-card {
    margin: 0 15px;
    transform: scale(0.95);
  }

  .owl-nav .left {
    margin-left: -30px;
  }

  .owl-nav .right {
    margin-left: -30px;
  }

  #tabParagraph {
    font-size: 18px;
  }

  #tabList li {
    font-size: 16px;
  }

  iframe {
    width: 100% !important;
    height: 300px !important;
  }

  /* master-section */
  #tabContentSection {
    padding: 40px 0;
  }

  #tabParagraph,
  #tabList li {
    font-size: 12px;
  }

  .overlay-title {
    font-size: 16px;
  }

  .overlay-button {
    font-size: 12px;
    padding: 6px 14px;
  }

  #masterList {
    text-align: start;
    margin-right: 20px !important;
  }

  #masterList li {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .image-wrapper {
    width: 100%;
    padding: 0 10px;
  }

  .overlay-title-wrapper {
    padding: 8px 12px;
  }

  .footer-section h2 {
    font-size: 20px;
  }

  .footer-section .footer-font {
    font-size: 14px;
  }

  .footer-section .d-flex.gap-5 {
    gap: 15px;
  }

  .footer-section .d-flex.flex-md-row {
    gap: 8px;
    font-size: 14px;
  }

  .footer-section .me-3 {
    margin-right: 0 !important;
  }

  .footer-section .text-decoration-none {
    font-size: 14px;
  }

  .footer-section .d-flex {
    text-align: left;
    gap: 8px;
  }

  .footer-section svg {
    margin: 0 !important;
  }

  .footer-section .footer-font {
    font-size: 14px;
  }
}

/* === Responsive for 900px and below === */
@media (max-width: 900px) {
  /* Tab Content Section */
  #tabContentSection .row {
    flex-direction: column;
  }

  .btn-visit {
    font-size: 16px;
    padding: 10px 20px;
  }

  #tabContentSection .col-md-7,
  #tabContentSection .col-md-5 {
    width: 100%;
    padding: 0 !important;
  }

  #tabContentSection iframe {
    width: 100% !important;
    height: auto !important;
  }

  #tabContentSection img {
    width: 100%;
    height: auto;
  }

  #tabParagraph,
  #tabList li {
    font-size: 20px;
  }

  /* Master Plan Section */
  .image-wrapper {
    width: 100%;
  }

  .overlay-title {
    font-size: 24px;
  }

  .overlay-button {
    font-size: 14px;
    padding: 8px 16px;
  }

  #masterList li {
    font-size: 18px;
  }

  #masterList li img {
    margin-right: 10px;
  }
}

/* === Responsive for 768px and below === */
@media (max-width: 768px) {
  /* Tab Section */
  #tabContentSection .row {
    gap: 30px;
  }

  #tabParagraph {
    font-size: 18px;
    padding-top: 20px;
  }

  #tabList li {
    font-size: 16px;
  }

  /* Master Plan Section */
  .location-floor-title {
    font-size: 40px;
  }

  .location-subtitle {
    font-size: 20px;
  }

  #masterList li {
    font-size: 16px;
    flex-direction: row;
    align-items: center;
  }

  .overlay-title-wrapper {
    padding: 10px;
    transform: translate(-50%, 52%);
  }

  .overlay-title {
    font-size: 20px;
  }

  .footer-section .d-flex.gap-5 {
    gap: 25px;
    align-items: flex-start;
  }
}

@media (min-width: 900px) and (max-width: 1250px) {
  .banner-block-content {
    transform: translateX(0%) !important;
  }
}

@media (min-width: 1750px) {
  .banner-block-content {
    transform: translateX(28%);
  }
}

@media (max-width: 750px) {
  .content-banner {
    padding-top: 40px;
    transform: translateY(0%) !important;
  }
}

@media (max-width: 800px) {
  .banner-block-content h4 {
    font-size: 22px;
  }

  .banner-block-content .flex-box {
    font-size: 20px;
  }

  .banner-block-content {
    transform: translateX(0%) !important;
  }
}

@media (max-width: 793px) {
  .feature-card-2-3 {
    width: 297.734px;
    height: 123px;
  }
}

@media (max-width: 959px) {
  .card-content img {
    width: 45% !important;
    height: auto;
    margin-left: 7px !important;
  }

  .feature-card h4 {
    font-size: 20px;
  }
}
@media (max-width: 430px) {
  .feature-card {
    max-width: 311px !important;
  }
}
