/* ==========================================
   RESPONSIVE LAYOUTS & MEDIA QUERIES
   ========================================== */

/* Laptop and Medium Desktop screens (up to 1600px) */
@media (max-width: 1600px) {

  /* Container Sizing */
  .container,
  .max-width-container {
    max-width: 1440px !important;
  }

  /* Typography */
  h1,
  .h1-title {
    font-size: 64px !important;
    line-height: 1.15 !important;
  }

  h2,
  .h2-title {
    font-size: 48px !important;
    line-height: 1.18 !important;
  }

  h3,
  .h3-title {
    font-size: 32px !important;
  }

  h4,
  .h4-title {
    font-size: 24px !important;
  }

  h5,
  .h5-title {
    font-size: 19px !important;
  }

  p.fs-4 {
    font-size: 1.10rem !important;
  }

  /* Paddings & Spacing */
  .section-padding,
  .cta-section-bg,
  .amenities-section-bg {
    padding: 70px 0 !important;
  }

  .stats-section-bg {
    padding: 180px 0 !important;
  }

  /* Hero Section */
  .hero-section {
    height: 720px !important;
    padding-top: 130px !important;
  }

  .hero-title {
    font-size: 60px !important;
    line-height: 1.12 !important;
    margin-bottom: 20px !important;
  }

  .hero-desc {
    font-size: 18px !important;
    line-height: 1.5 !important;
    margin-bottom: 32px !important;
  }

  .slide-number {
    font-size: 100px !important;
  }

  /* Smart Infrastructure */
  .infra-card {
    padding: 50px 30px !important;
  }

  .infra-icon-wrapper {
    width: 66px !important;
    height: 66px !important;
  }

  /* Stats Section */
  

  .stat-low {
    margin-top: 65px !important;
  }

  /* What We Offer Section */
  .offer-card {
    height: 480px !important;
  }

  .offer-card-image-wrapper {
    height: 300px !important;
  }

  /* Amenities Section */
  .amenities-slider-card {
    padding: 42px 36px !important;
  }

  .amenity-slide-content {
    min-height: 210px !important;
  }

  /* Architecture Section */
  #architecture-section .overflow-hidden {
    height: 500px !important;
  }

  /* Header & Navbar */
  .navbar {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }

  .logo-img {
    height: 44px !important;
  }

  .navbar-nav {
    gap: 20px !important;
  }

  .navbar-nav .nav-link {
    font-size: 14px !important;
  }

  .header-call-text,
  .header-call-num {
    font-size: 14px !important;
  }

  .navbar-nav .nav-link::after {
    left: 0 !important;
  }

  .navbar .d-xl-flex {
    gap: 20px !important;
  }

  .btn-enquire {
    padding: 7px 7px 7px 20px !important;
  }

  .btn-enquire span {
    font-size: 14px !important;
  }

  .btn-enquire .btn-arrow-circle {
    width: 36px !important;
    height: 36px !important;
  }
}

/* Desktop and Large Laptops (up to 1440px) */
@media (max-width: 1440px) {

  /* Container Sizing */
  .container,
  .max-width-container {
    max-width: 1300px !important;
  }

  /* Typography */
  h1,
  .h1-title {
    font-size: 56px !important;
    line-height: 1.15 !important;
  }

  h2,
  .h2-title {
    font-size: 42px !important;
    line-height: 1.18 !important;
  }

  h3,
  .h3-title {
    font-size: 28px !important;
  }

  h4,
  .h4-title {
    font-size: 22px !important;
  }

  h5,
  .h5-title {
    font-size: 18px !important;
  }

  p.fs-4 {
    font-size: 1.10rem !important;
  }

  /* Paddings & Spacing */
  .section-padding,
  .cta-section-bg,
  .amenities-section-bg {
    padding: 60px 0 !important;
  }

  .stats-section-bg {
    padding: 150px 0 !important;
  }

  /* Hero Section */
  .hero-section {
    height: 660px !important;
    padding-top: 120px !important;
  }

  .hero-title {
    font-size: 52px !important;
    line-height: 1.15 !important;
    margin-bottom: 18px !important;
  }

  .hero-desc {
    font-size: 17px !important;
    line-height: 1.5 !important;
    margin-bottom: 28px !important;
  }

  .slide-number {
    font-size: 80px !important;
  }

  /* Smart Infrastructure */
  .infra-card {
    padding: 40px 24px !important;
  }

  .infra-icon-wrapper {
    width: 60px !important;
    height: 60px !important;
  }

  /* Stats Section */
  

  .stat-low {
    margin-top: 50px !important;
  }

  /* What We Offer Section */
  .offer-card {
    height: 440px !important;
  }

  .offer-card-image-wrapper {
    height: 270px !important;
  }

  /* Amenities Section */
  .amenities-slider-card {
    padding: 36px 30px !important;
  }

  .amenity-slide-content {
    min-height: 180px !important;
  }

  /* Architecture Section */
  #architecture-section .overflow-hidden {
    height: 440px !important;
  }

  /* Header & Navbar */
  .navbar {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  .logo-img {
    height: 40px !important;
  }

  .navbar-nav {
    gap: 15px !important;
  }

  .navbar-nav .nav-link {
    font-size: 13.5px !important;
  }

  .header-call-text,
  .header-call-num {
    font-size: 13.5px !important;
  }

  .navbar-nav .nav-link::after {
    left: 0 !important;
  }

  .navbar .d-xl-flex {
    gap: 16px !important;
  }

  .btn-enquire {
    padding: 7px 7px 7px 18px !important;
    font-size: 13.5px !important;
  }

  .btn-enquire span {
    font-size: 13.5px !important;
  }

  .btn-enquire .btn-arrow-circle {
    width: 34px !important;
    height: 34px !important;
  }
}

/* Standard Laptops (up to 1366px) */
@media (max-width: 1366px) {

  /* Container Sizing */
  .container,
  .max-width-container {
    max-width: 1270px !important;
  }

  /* Typography */
  h1,
  .h1-title {
    font-size: 48px !important;
    line-height: 1.15 !important;
  }

  h2,
  .h2-title {
    font-size: 38px !important;
    line-height: 1.18 !important;
  }

  h3,
  .h3-title {
    font-size: 26px !important;
  }

  h4,
  .h4-title {
    font-size: 20px !important;
  }

  h5,
  .h5-title {
    font-size: 17px !important;
  }

  p.fs-4 {
    font-size: 1.10rem !important;
  }

  /* Paddings & Spacing */
  .section-padding,
  .cta-section-bg,
  .amenities-section-bg {
    padding: 50px 0 !important;
  }

  .stats-section-bg {
    padding: 160px 0 !important;
  }

  /* Hero Section */
  .hero-section {
    height: 600px !important;
    padding-top: 110px !important;
  }

  .hero-title {
    font-size: 44px !important;
    line-height: 1.18 !important;
    margin-bottom: 16px !important;
  }

  .hero-desc {
    font-size: 16px !important;
    line-height: 1.5 !important;
    margin-bottom: 24px !important;
  }

  .slide-title {
    font-size: 20px !important;
  }

  .slide-desc {
    font-size: 13px !important;
  }

  /* Smart Infrastructure */
  .infra-card {
    padding: 36px 20px !important;
  }

  .infra-icon-wrapper {
    width: 54px !important;
    height: 54px !important;
  }

  /* Stats Section */
  

  .stat-low {
    margin-top: 40px !important;
  }

  /* What We Offer Section */
  .offer-card {
    height: 410px !important;
  }

  .offer-card-image-wrapper {
    height: 250px !important;
  }

  /* Amenities Section */
  .amenities-slider-card {
    padding: 32px 26px !important;
  }

  .amenity-slide-content {
    min-height: 160px !important;
  }

  /* Architecture Section */
  #architecture-section .overflow-hidden {
    height: 400px !important;
  }

  /* Header & Navbar */
  .navbar {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  .logo-img {
    height: 36px !important;
  }

  .navbar-nav {
    gap: 12px !important;
  }

  .navbar-nav .nav-link {
    font-size: 12px !important;
  }

  .header-call-text,
  .header-call-num {
    font-size: 12px !important;
  }

  .navbar-nav .nav-link::after {
    left: 0 !important;
  }

  .navbar .d-xl-flex {
    gap: 12px !important;
  }

  .btn-enquire,
  .btn-cta {
    padding: 5px 5px 5px 14px !important;
  }

  .btn-enquire span,
  .btn-cta span {
    font-size: 12px !important;
  }

  .btn-enquire .btn-arrow-circle,
  .btn-cta .btn-arrow-circle {
    width: 28px !important;
    height: 28px !important;
  }
}

/* Small Laptops (up to 1280px) */
@media (max-width: 1280px) {

  /* Container Sizing */
  .container,
  .max-width-container {
    max-width: 1270px !important;
  }

  /* Typography */
  h1,
  .h1-title {
    font-size: 42px !important;
    line-height: 1.15 !important;
  }

  h2,
  .h2-title {
    font-size: 34px !important;
    line-height: 1.18 !important;
  }

  h3,
  .h3-title {
    font-size: 24px !important;
  }

  h4,
  .h4-title {
    font-size: 18px !important;
  }

  h5,
  .h5-title {
    font-size: 16px !important;
  }

  p.fs-4 {
    font-size: 1.1rem !important;
  }

  /* Paddings & Spacing */
  .section-padding,
  .cta-section-bg,
  .amenities-section-bg {
    padding: 50px 0 !important;
  }
  
  .amenities-bg-layer {
    display: none !important;
  }
  
  .stats-section-bg {
    padding: 150px 0 !important;
  }
  
  .infra-slider-section {
    background-image: none !important;
    background-color: #121820 !important;
    padding: 50px 0 !important;
  }

  /* Mobile Header Visibility System (Mobile Screen Only) */
  .site-header,
  .home-page .navbar,
  .home-page .site-header {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }

  .burger-bar {
    background-color: var(--dark) !important;
  }

  /* Hero Section */
  .hero-section {
    height: 540px !important;
    padding-top: 100px !important;
  }

  .hero-title {
    font-size: 38px !important;
    line-height: 1.2 !important;
    margin-bottom: 14px !important;
  }

  .hero-desc {
    font-size: 15px !important;
    line-height: 1.5 !important;
    margin-bottom: 20px !important;
  }

  /* Mobile Dark Hero Overlay System for Max Text Contrast */
  .hero-section::before,
  body.inner-page .hero-section::before,
  .hero-section.hero-about::before,
  .hero-section.hero-projects::before,
  .hero-section.hero-amenities::before,
  .hero-section.hero-location::before,
  .hero-section.hero-contact::before,
  .hero-section.hero-whydholera::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgb(0 0 0 / 41%) 100%) !important;
  }

  .hero-title,
  .hero-desc {
    color: #FFFFFF !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6) !important;
  }

  .slide-number {
    font-size: 60px !important;
  }

  /* Smart Infrastructure */
  .infra-card {
    padding: 30px 16px !important;
  }

  .infra-icon-wrapper {
    width: 48px !important;
    height: 48px !important;
  }

  /* Stats Section */
  

  .stat-low {
    margin-top: 30px !important;
  }

  /* What We Offer Section */
  .offer-card {
    height: 420px !important;
    min-height: 420px !important;
  }

  .offer-card-header {
    padding: 28px 24px 0 24px !important;
  }

  .offer-card-hover-content {
    top: 85px !important;
    left: 24px !important;
    right: 24px !important;
    bottom: 24px !important;
  }

  .offer-card-desc {
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin-bottom: 10px !important;
  }

  .space-checklist {
    gap: 6px !important;
    margin-bottom: 12px !important;
  }

  .offer-card::after {
    content: "Tap to view details";
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: #0259A5;
    color: white;
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 500;
    pointer-events: none;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  }

  .offer-card:hover::after,
  .offer-card:active::after {
    opacity: 0;
  }

  .space-check-item {
    font-size: 13px !important;
  }

  .offer-card-image-wrapper {
    height: 310px !important;
    width: 100% !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
  }

  .offer-card-image {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 290px !important;
    object-fit: contain !important;
    object-position: bottom center !important;
  }

  /* Amenities Section */
  .amenities-slider-card {
    padding: 28px 20px !important;
  }

  .amenity-slide-content {
    min-height: 150px !important;
  }

  /* Architecture Section */
  #architecture-section .overflow-hidden {
    height: 360px !important;
  }

  /* Header & Navbar */
  .navbar {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  .logo-img {
    height: 34px !important;
  }

  .navbar-nav {
    gap: 10px !important;
  }

  .navbar-nav .nav-link {
    font-size: 13px !important;
  }

  .navbar-nav .nav-link::after {
    left: 6px !important;
  }

  .navbar .d-xl-flex {
    gap: 10px !important;
  }

  .btn-enquire,
  .btn-cta {
    padding: 6px 6px 6px 14px !important;
  }

  .btn-enquire span,
  .btn-cta span {
    font-size: 12.5px !important;
  }

  .btn-enquire .btn-arrow-circle,
  .btn-cta .btn-arrow-circle {
    width: 28px !important;
    height: 28px !important;
  }
}

/* Mobile and Tablet viewports (up to 991px) */
@media (max-width: 991px) {

  h1,
  .h1-title {
    font-size: 32px !important;
    line-height: 1.2 !important;
  }

  h2,
  .h2-title {
    font-size: 26px !important;
    line-height: 1.25 !important;
  }

  h3,
  .h3-title {
    font-size: 20px !important;
  }

  h4,
  .h4-title {
    font-size: 16px !important;
  }

  h5,
  .h5-title {
    font-size: 14px !important;
  }

  p.fs-4,
  .section-desc {
    font-size: 15px !important;
  }

  p.fs-5,
  p.fs-6,
  .card-desc {
    font-size: 13.5px !important;
  }

  .tag-capsule {
    font-size: 11.5px !important;
    padding: 5px 14px !important;
  }

  .section-padding,
  .stats-section-bg,
  .cta-section-bg,
  .amenities-section-bg {
    padding: 45px 0 !important;
  }

  .hero-section {
    height: auto !important;
    min-height: 480px !important;
    padding-top: 110px !important;
    padding-bottom: 60px !important;
  }

  .hero-title {
    font-size: 32px !important;
    line-height: 1.22 !important;
    margin-bottom: 12px !important;
  }

  .hero-desc {
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin-bottom: 20px !important;
  }

  .about-left-wrapper {
    height: 380px !important;
  }

  .about-slider-card {
    padding: 20px !important;
  }

  .slide-number {
    font-size: 60px !important;
  }

  .offer-card {
    height: 420px !important;
    min-height: 420px !important;
    margin-top: 0 !important;
  }

  .offer-card-image-wrapper {
    height: 310px !important;
    width: 100% !important;
  }

  .offer-card-image {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 290px !important;
    object-fit: contain !important;
    object-position: bottom center !important;
  }

  .projects-overview-banner {
    height: 240px !important;
  }

  .developer-img-wrapper {
    height: 240px !important;
    min-height: 200px !important;
  }

  .amenities-slider-card {
    padding: 24px 20px !important;
  }

  .amenity-slide-content {
    min-height: auto !important;
  }

  #architecture-section .overflow-hidden {
    height: 260px !important;
  }

  /* Stats Section Mobile 4-in-a-row Layout */
  .stats-section-bg {
    padding: 60px 0 !important;
    overflow: hidden !important;
  }

  .stats-container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .stats-container .row {
    row-gap: 0 !important;
    margin-left: -5px !important;
    margin-right: -5px !important;
  }

  .stats-container .row > [class*="col-"] {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }

  .stat-low {
    margin-top: 36px !important;
  }

  .stat-high {
    margin-top: 0 !important;
  }

  .stat-graph-card {
    padding-left: 12px !important;
    gap: 8px !important;
  }

  .stat-graph-line-wrapper {
    display: flex !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    bottom: -150px !important;
    padding-top: 25px !important;
  }

  .stat-graph-line {
    display: block !important;
  }

  

  .stat-graph-content p {
    font-size: 11px !important;
    line-height: 1.25 !important;
  }

  .faq-accordion-header {
    font-size: 18px !important;
  }

  .faq-accordion-body {
    font-size: 14.5px !important;
  }

  .faq-chevron {
    width: 36px !important;
    height: 36px !important;
    font-size: 16px !important;
  }

  .floor-tabs-container {
    gap: 8px !important;
  }

  .floor-tab {
    padding: 8px 16px !important;
    font-size: 13.5px !important;
  }

  .journey-card img {
    height: 220px !important;
  }

  .journey-card-body {
    padding: 20px 20px !important;
  }

  .journey-year-span {
    font-size: 32px !important;
  }
}

/* Medium viewports (up to 767px - Mobile Phones) */
@media (max-width: 767px) {

  h1,
  .h1-title {
    font-size: 28px !important;
    line-height: 1.2 !important;
  }

  h2,
  .h2-title {
    font-size: 22px !important;
    line-height: 1.25 !important;
  }

  h3,
  .h3-title {
    font-size: 18px !important;
  }

  h4,
  .h4-title {
    font-size: 15px !important;
  }

  h5,
  .h5-title {
    font-size: 13.5px !important;
  }

  p.fs-4,
  .section-desc {
    font-size: 14.5px !important;
  }

  p.fs-5,
  p.fs-6,
  .card-desc {
    font-size: 13px !important;
  }

  .tag-capsule {
    font-size: 11px !important;
    padding: 5px 14px !important;
  }

  .section-padding,
  .stats-section-bg,
  .cta-section-bg,
  .amenities-section-bg {
    padding: 38px 0 !important;
  }

  .hero-curve,
  .about-hero-curve,
  .why-hero-curve,
  .projects-hero-curve,
  .location-hero-curve,
  .contact-hero-curve,
  .amenities-hero-curve {
    display: none !important;
    height: 0 !important;
    border-radius: 0 !important;
  }

  .hero-section {
    min-height: 420px !important;
    padding-top: 100px !important;
    padding-bottom: 50px !important;
  }

  .hero-title {
    font-size: 26px !important;
    line-height: 1.25 !important;
    margin-bottom: 10px !important;
  }

  .hero-desc {
    font-size: 13.5px !important;
    line-height: 1.45 !important;
    margin-bottom: 18px !important;
  }

  /* .about-left-wrapper {
    height: 320px !important;
    min-height: 320px !important;
  } */

  .offer-card {
    height: 420px !important;
    min-height: 420px !important;
    margin-top: 0 !important;
  }

  .offer-card-image-wrapper {
    height: 310px !important;
    width: 100% !important;
  }

  .offer-card-image {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 290px !important;
    object-fit: contain !important;
    object-position: bottom center !important;
  }

  .projects-overview-banner {
    height: 200px !important;
  }

  #architecture-section .overflow-hidden {
    height: 200px !important;
  }

  .copyright-row {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  /* Stats Section 767px Mobile Scaling */
  

  .stat-graph-content p {
    font-size: 10.5px !important;
  }

  .faq-accordion-header {
    font-size: 16px !important;
    line-height: 1.35 !important;
  }

  .faq-accordion-body {
    font-size: 13.5px !important;
  }

  .faq-chevron {
    width: 32px !important;
    height: 32px !important;
    font-size: 15px !important;
  }

  .faq-accordion-item {
    padding-bottom: 14px !important;
    margin-bottom: 14px !important;
  }

  .floor-tabs-container {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    margin-bottom: 24px !important;
  }

  .floor-tab {
    width: 100% !important;
    text-align: center !important;
    padding: 8px 6px !important;
    font-size: 12.5px !important;
    white-space: nowrap !important;
  }

  .journey-card img {
    height: 180px !important;
  }

  .journey-card-body {
    padding: 16px 16px !important;
  }

  .journey-year-span {
    font-size: 26px !important;
  }
}

/* Small viewports (up to 575px - Compact Mobile) */
@media (max-width: 575px) {

  .journey-card img {
    height: 150px !important;
  }

  .journey-card-body {
    padding: 14px 14px !important;
  }

  .journey-year-span {
    font-size: 22px !important;
  }

  .floor-tabs-container {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
  }

  .floor-tab {
    padding: 6px 4px !important;
    font-size: 11px !important;
  }

  .faq-accordion-header {
    font-size: 15px !important;
    line-height: 1.35 !important;
  }

  .faq-accordion-body {
    font-size: 12.5px !important;
  }

  .faq-chevron {
    width: 28px !important;
    height: 28px !important;
    font-size: 14px !important;
  }

  h1,
  .h1-title {
    font-size: 24px !important;
    line-height: 1.2 !important;
  }

  h2,
  .h2-title {
    font-size: 20px !important;
    line-height: 1.25 !important;
  }

  h3,
  .h3-title {
    font-size: 16px !important;
  }

  h4,
  .h4-title {
    font-size: 14px !important;
  }

  h5,
  .h5-title {
    font-size: 13px !important;
  }

  p.fs-4,
  .section-desc {
    font-size: 13.5px !important;
  }

  p.fs-5,
  p.fs-6,
  .card-desc {
    font-size: 12.5px !important;
  }

  .tag-capsule {
    font-size: 10.5px !important;
    padding: 4px 12px !important;
  }

  .section-padding,
  .cta-section-bg,
  .amenities-section-bg {
    padding: 22px 0 !important;
  }

  .btn-cta,
  .btn-enquire {
    font-size: 13px !important;
    padding: 6px 12px !important;
  }

  .btn-cta .btn-arrow-circle,
  .btn-enquire .btn-arrow-circle {
    width: 30px !important;
    height: 30px !important;
  }

  .offer-card-image-wrapper {
    height: 150px !important;
  }

  .projects-overview-banner {
    height: 170px !important;
  }

  .developer-img-wrapper {
    height: 180px !important;
    min-height: 160px !important;
  }

  .stats-section-bg {
    padding: 45px 0 !important;
  }

  .stat-low {
    margin-top: 20px !important;
  }

  .stat-graph-card {
    padding-left: 10px !important;
    gap: 5px !important;
  }

  .stat-graph-line-wrapper {
    padding-top: 18px !important;
  }

  

  .stat-graph-content p {
    font-size: 9.5px !important;
    line-height: 1.15 !important;
  }

  .about-slider-card {
    padding: 14px !important;
  }

  .slide-number {
    font-size: 44px !important;
  }
}

/* Extra Small viewports (up to 375px) */
@media (max-width: 375px) {

  h1,
  .h1-title {
    font-size: 22px !important;
    line-height: 1.2 !important;
  }

  h2,
  .h2-title {
    font-size: 18px !important;
    line-height: 1.2 !important;
  }

  h3,
  .h3-title {
    font-size: 15px !important;
  }

  .btn-cta,
  .btn-enquire {
    width: 100% !important;
    justify-content: space-between !important;
  }
}

/* Hide Journey Slider white gradient overlay on mobile and tablet screens */
@media (max-width: 991px) {
  .journey-slider-wrapper::after {
    display: none !important;
    content: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
}

/* Footer Responsive Scaling */
@media (max-width: 767.98px) {
  .footer-content {
    padding-top: 2.5rem !important;
    padding-bottom: 2rem !important;
    border-radius: 20px 20px 0 0 !important;
  }

  .footer-logo {
    height: 38px !important;
  }

  .copyright-row {
    text-align: center;
  }
}

/* Technical Specification Tab Buttons Responsive (No Horizontal Scroll, 2x2 Wrapping Grid) */
@media (max-width: 767.98px) {
  .spec-tabs-container {
    display: flex !important;
    flex-wrap: wrap !important;
    overflow-x: visible !important;
    justify-content: center !important;
    gap: 8px 10px !important;
    padding: 0 !important;
    margin-bottom: 24px !important;
    width: 100% !important;
  }

  .spec-tabs-container::-webkit-scrollbar {
    display: none;
  }

  .spec-tab-btn {
    padding: 9px 12px !important;
    font-size: 13px !important;
    gap: 6px !important;
    flex: 1 1 calc(50% - 10px) !important;
    min-width: 125px !important;
    max-width: calc(50% - 5px) !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 480px) {
  .spec-tab-btn {
    padding: 7px 8px !important;
    font-size: 12px !important;
    gap: 4px !important;
  }
}

/* Responsive Smart Comparison Table & Stable Slider Content Height */
@media (max-width: 991px) {
  .infra-slide-content-wrapper {
    min-height: 200px !important;
  }
}

@media (max-width: 767.98px) {
  .infra-slide-content-wrapper {
    min-height: 220px !important;
  }

  .comp-table {
    min-width: 580px;
  }

  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-lg);
  }

  .comp-table th {
    font-size: 13.5px !important;
    padding: 14px 10px !important;
    line-height: 1.3 !important;
  }

  .comp-table td {
    font-size: 12.5px !important;
    padding: 12px 10px !important;
    line-height: 1.45 !important;
  }

  .comp-table tr td:first-child,
  .comp-table tr th:first-child {
    width: 28% !important;
  }
}

@media (max-width: 575px) {
  .infra-slide-content-wrapper {
    min-height: 240px !important;
  }

  .comp-table th {
    font-size: 12px !important;
    padding: 12px 8px !important;
  }

  .comp-table td {
    font-size: 11.5px !important;
    padding: 10px 8px !important;
  }
}

/* Mobile Logo Slider (Transparent compact logos and reduced gap) */
@media (max-width: 991px) {
  .logo-marquee-track {
    gap: 16px !important;
  }

  .logo-marquee-item {
    width: 130px !important;
    flex-shrink: 0 !important;
  }

  .neighbour-logo-wrapper {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 6px 0 !important;
    min-height: auto !important;
    box-shadow: none !important;
  }

  .neighbour-logo-img {
    max-width: 115px !important;
    max-height: 36px !important;
  }
}

@media (max-width: 575px) {
  .logo-marquee-track {
    gap: 12px !important;
  }

  .logo-marquee-item {
    width: 105px !important;
  }

  .neighbour-logo-img {
    max-width: 95px !important;
    max-height: 30px !important;
  }
}

/* Mobile Form Typography & Compact Container System */
@media (max-width: 991px) {
  .enquiry-card-container {
    padding: 24px 20px !important;
    border-radius: 16px !important;
  }

  .form-label {
    font-size: 13.5px !important;
    font-weight: 500 !important;
    margin-bottom: 5px !important;
  }

  .form-control,
  .form-select {
    font-size: 14px !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
  }

  .form-control::placeholder {
    font-size: 13.5px !important;
  }

  .enquiry-card-container h3,
  .enquiry-card-container h4,
  .enquiry-card-container .h3-title,
  .enquiry-card-container .h4-title {
    font-size: 20px !important;
    margin-bottom: 6px !important;
  }

  .enquiry-card-container p {
    font-size: 13px !important;
    line-height: 1.45 !important;
    margin-bottom: 18px !important;
  }
}

@media (max-width: 575px) {
  .enquiry-card-container {
    padding: 20px 16px !important;
  }

  .form-label {
    font-size: 13px !important;
    margin-bottom: 4px !important;
  }

  .form-control,
  .form-select {
    font-size: 13.5px !important;
    padding: 9px 12px !important;
  }

  .form-control::placeholder {
    font-size: 13px !important;
  }

  .enquiry-card-container h3,
  .enquiry-card-container h4 {
    font-size: 18px !important;
  }

  .enquiry-card-container p {
    font-size: 12.5px !important;
  }
}

/* Mobile Compact Footer System */
@media (max-width: 991px) {
  .footer-content {
    padding-top: 28px !important;
    padding-bottom: 24px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .footer-content .row {
    margin-bottom: 20px !important;
    row-gap: 20px !important;
  }

  .footer-content .col-12,
  .footer-content .col-6 {
    margin-bottom: 12px !important;
  }

  .footer-logo {
    height: 32px !important;
    margin-bottom: 8px !important;
  }

  .footer-content p {
    font-size: 13px !important;
    line-height: 1.45 !important;
    margin-bottom: 14px !important;
  }

  .footer-content h5 {
    font-size: 15px !important;
    margin-bottom: 10px !important;
  }

  .footer-link {
    font-size: 13px !important;
  }

  .footer-content ul {
    gap: 6px !important;
  }

  .social-circle {
    width: 32px !important;
    height: 32px !important;
    font-size: 13px !important;
  }

  .contact-icon {
    width: 20px !important;
    height: 20px !important;
    font-size: 14px !important;
  }

  .contact-icon + span,
  .contact-icon + a {
    font-size: 13px !important;
  }

  .copyright-row {
    padding-top: 16px !important;
    gap: 8px !important;
    font-size: 12px !important;
  }

  .copyright-row span,
  .copyright-row a {
    font-size: 12px !important;
  }
}

@media (max-width: 575px) {
  .footer-content {
    padding-top: 24px !important;
    padding-bottom: 20px !important;
  }

  .footer-content .row {
    margin-bottom: 16px !important;
    row-gap: 16px !important;
  }

  /* Stats Section Mobile Fixes */
  .stat-graph-line-wrapper {
    display: none !important;
  }
  .stat-graph-card {
    padding-left: 0 !important;
    justify-content: center !important;
    text-align: center !important;
  }
  
  .stat-graph-content {
    text-align: center !important;
  }

  .stats-container .row
  {
    padding: 20px;
  }
}

@media (max-width: 767px) {
  /* Amenities Specs Table Mobile Fix */
  .spec-row {
    flex-direction: column !important;
  }
  
  .spec-label {
    width: 100% !important;
    padding: 16px 20px 4px 20px !important;
    border-right: none !important;
    font-size: 16px !important;
  }
  
  .spec-val {
    width: 100% !important;
    padding: 0px 20px 16px 20px !important;
    font-size: 15px !important;
  }
}
