  body {
      padding-top: 120px;
    }

    .top-bar {
      font-family: 'Poppins', sans-serif;
      background-color: #00298c;
      color: white;
      padding: 5px 15px;
      font-size: 12px;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1050;
      transition: top 0.3s ease;
    }

    .navbar {
      transition: top 0.3s;
      top: 30px;
    }

    .navbar-nav .nav-link {
      font-weight: 500;
    }

    .social-icons a {
      color: white;
      margin-left: 10px;
      font-size: 1.2rem;
    }

    .navbar-nav .nav-link {
      position: relative;
      font-weight: 500;
      padding: 0.5rem 1rem;
      color: #333333;
      transition: color 0.3s ease;
    }

    .navbar-nav .nav-link::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      width: 0%;
      height: 3px;
      background-color: #0389B2;
      transition: none;
    }

    .navbar-nav .nav-link:hover::after {
      animation: underline-overshoot 0.4s forwards;
    }

    .navbar-nav .nav-link.active::after {
      width: 100%;
      transition: none;
    }

    .dropdown-menu .dropdown-item {
      color: #333333;
      font-weight: 500;
      font-family: inherit;
    }

    .dropdown-menu .dropdown-item:hover {
      color: #0389B2;
      background-color: #e0f6fb;
    }


    @keyframes underline-overshoot {
      0% {
        width: 0%;
      }

      60% {
        width: 110%;
      }

      100% {
        width: 100%;
      }
    }

    #mobileMenuList ul {
      list-style: none;
      padding-left: 30px;
      margin: 0;
      text-decoration: none;
      font-family: 'Poppins', sans-serif;
      font-size: 14px;
    }

    #mobileMenuList li {
      list-style: none;
      padding-left: 30px;
      margin: 0;
      text-decoration: none;
      font-family: 'Poppins', sans-serif;
      font-size: 15px;
    }

    #mobileMenuList a {
      text-decoration: none;
    }

    #mobileMenuList>li {
      border-bottom: 1px solid #ddd;
    }

    #mobileMenuList>li {
      min-height: 70px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding-top: 0.0rem;
      padding-bottom: 0.0rem;
    }


    .submenu {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.5s ease, opacity 0.4s ease;
      opacity: 0;
    }

    .submenu.show {
      max-height: 400px;
      opacity: 1;
    }

    .toggle-icon {
      display: inline-block;
      font-size: 30px;
      transition: transform 0.5s ease, opacity 0.3s ease;
      color: gray;
      font-family: 'Poppins', sans-serif;
    }

    .rotate-icon.expanded {
      transform: rotate(45deg);
    }

    .toggle-dropdown {
      cursor: pointer;
    }

    .submenu li {
      border: none;
    }

    .offcanvas li a.active {
      color: #0389B2 !important;
    }

    #mobileMenuList,
    #mobileMenuList a,
    #mobileMenuList .toggle-dropdown,
    .offcanvas-body>.mt-4 {
      font-family: 'Poppins', sans-serif;
    }


    footer {
      background-color: #00298c;
      color: white;
      padding: 20px 0;
      text-align: center;
      font-family: 'Poppins', sans-serif;
      font-size: 12px;
    }

    @media (max-width: 576px) {
      .top-bar {
        font-size: 12px;
        flex-direction: column;
        align-items: flex-start !important;
      }
    }

    @media (min-width: 992px) {
      .navbar-nav .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
      }
    }

    @media (max-width: 768px) {
      .navbar {
        top: 0;
      }
    }

    .flip-card {
      background-color: transparent;
      width: 100%;
      height: 200px;
      perspective: 1000px;
      margin-bottom: 20px;
    }

    .flip-card-inner {
      position: relative;
      width: 100%;
      height: 100%;
      text-align: center;
      transition: transform 0.8s;
      transform-style: preserve-3d;
    }

    .flip-card:hover .flip-card-inner {
      transform: rotateX(180deg);
    }

    .flip-card-front,
    .flip-card-back {
      position: absolute;
      width: 100%;
      height: 100%;
      backface-visibility: hidden;
      border-radius: 15px;
      display: flex;
      justify-content: center;
      align-items: center;
      color: white;
      font-size: 1.2rem;
      padding: 20px;
    }

    .flip-card-front {
      background-color: #0033a0;
    }

    .flip-card-back {
      background-color: #0033a0;
      transform: rotateX(180deg);
    }

    .icon {
      font-size: 2rem;
      margin-bottom: 10px;
    }

    .hero-section {
      position: relative;
      height: 85vh;
      overflow: hidden;
    }

    .hero-bg {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      z-index: -2;
    }

    .hero-content {
      height: 90vh;
      position: relative;
      z-index: 2;
    }

    .hero-shape {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 150px;
      z-index: 1;
    }

    body {
      background-color: white;
      font-family: 'Poppins', sans-serif;
    }

    .realty-heroes,
    .realty-heroes-mobile {
      background: url('images/vendors/PV-BG1.jpg') no-repeat center center;
      background-size: cover;
      background-attachment: fixed;
      /* Default for desktop */
      overflow-x: hidden;
    }



    .realty-heading-shadow {
      text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.8),
        0 2px 6px rgba(0, 0, 0, 0.6),
        1px 1px 8px rgba(0, 0, 0, 0.4);
    }


    .realty-card {
      position: relative;
      overflow: hidden;
      border-radius: 12px;
      cursor: pointer;
      width: 100%;
      /* Always 100% width of col */
      box-sizing: border-box;
    }

    .realty-card img {
      width: 100%;
      height: auto;
      display: block;
      border-radius: 12px;
      transition: transform 0.4s ease;
    }

    .realty-card:hover img {
      transform: scale(1.05);
    }


    .realty-info {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: rgba(26, 52, 102, 0.85);
      color: white;
      padding: 1rem;
      max-height: 60px;
      overflow: hidden;
      transition: max-height 0.5s ease-in-out;
      border-bottom-left-radius: 12px;
      border-bottom-right-radius: 12px;
      display: flex;
      flex-direction: column;
    }

    .realty-content {
      flex: 1 1 auto;
      overflow-y: auto;
      max-height: 335px;
      /* or your desired limit */
    }

    .realty-card:hover .realty-info {
      max-height: 500px;
    }

    /* Optional: Style the scrollbar */
    .realty-content::-webkit-scrollbar {
      width: 6px;
    }

    .realty-content::-webkit-scrollbar-thumb {
      background-color: rgba(255, 255, 255, 0.5);
      border-radius: 3px;
    }

    .realty-info h5 {
      font-size: 1.5rem;
      /* large screen default */
      margin-bottom: 0.5rem;
    }

    .realty-info p {
      font-size: 1.1rem;
      /* large screen default */
      line-height: 1.5;
    }

    .realty-info a {
      display: inline-block;
      margin-top: 0.5rem;
      font-weight: bold;
      font-size: 1.1rem;
    }

    /* Responsive text sizes */
    @media (max-width: 992px) {
      .realty-info h5 {
        font-size: 1.4rem;
      }

      .realty-info p,
      .realty-info a {
        font-size: 1rem;
      }
    }

    @media (max-width: 768px) {
      .realty-info h5 {
        font-size: 1.3rem;
      }

      .realty-info p,
      .realty-info a {
        font-size: 0.95rem;
      }
    }

    @media (max-width: 576px) {
      .realty-info h5 {
        font-size: 1.2rem;
      }

      .realty-info p,
      .realty-info a {
        font-size: 0.9rem;
      }
    }



    .realty-icon {
      margin-top: 20px;
      width: 40px;
      height: auto;
    }

    @media (max-width: 768px) {
      .realty-card {
        display: flex;
        flex-direction: column;
        border-radius: 12px;
        overflow: hidden;
        cursor: default;
        /* No hover effect needed on touch */
      }

      .realty-card img {
        width: 100%;
        height: auto;
        border-radius: 0;
        /* Optional: keep square image */
        transform: none !important;
        /* Remove scaling on touch devices */
      }

      .realty-info {
        position: static;
        /* remove absolute */
        background: rgba(26, 52, 102, 0.95);
        /* keep good contrast */
        color: white;
        padding: 1rem;
        max-height: none;
        /* show full content */
        overflow: visible;
        border-radius: 0 0 12px 12px;
        /* bottom corners rounded */
        font-size: 1rem;
        /* adjust font size for readability */
      }

      .realty-info h5 {
        font-size: 1.25rem;
        /* slightly bigger heading */
      }

      .realty-info p {
        font-size: 1rem;
        line-height: 1.4;
        /* better readability */
      }

      .realty-info a {
        display: inline-block;
        margin-top: 0.5rem;
        font-weight: bold;
        font-size: 1rem;
      }
    }

    /* Default: show desktop, hide mobile */
    .desktop-only {
      display: block;
    }

    .mobile-only {
      display: none;
    }

    /* On small screens, hide desktop, show mobile */
    @media (max-width: 768px) {
      .desktop-only {
        display: none !important;
      }

      .mobile-only {
        display: block !important;
      }
    }

    @media (max-width: 768px) {
      .realty-heroes-mobile .realty-card {
        margin-left: 10px;
        margin-right: 10px;
      }
    }

    @media (max-width: 576px) {
      .realty-card {
        margin-left: 10px;
        margin-right: 10px;
      }
    }


    /* Mobile-only section background */
    .realty-heroes-mobile {
      background: url('images/vendors/PV-BG1.jpg') no-repeat center center;
      background-size: cover;
    }

    /* Card styling */
    .realty-mobile-card {
      background: rgba(26, 52, 102, 0.95);
      color: white;
      padding: 1rem;
      border-radius: 12px;
      margin-left: 10px;
      margin-right: 10px;
    }

    /* Optional: spacing for image inside card */
    .realty-mobile-card img {
      margin-bottom: 1rem;
    }












    .service-img {
      width: 90%;
      height: 90%;
      object-fit: cover;
      max-height: 500px;
    }

    .icon-home {
      font-size: 2rem;
      color: #002D96;
    }

    .service-section {
      min-height: 60vh;
      display: flex;
      align-items: center;
    }


    .custom-parallax-section {
      background-image: url('images/home/contact-bg.jpg');
      background-attachment: fixed;
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
    }

    .custom-overlay {
      background-color: rgba(50, 73, 144, 0.85);
      width: 100%;
      padding: 60px 20px;
      border-radius: 1rem;
    }

    .custom-contact-box {
      color: white;
    }

    .custom-form-control {
      border-radius: 0.5rem;
    }

    .custom-submit-btn {
      border-radius: 0.5rem;
      padding: 0.5rem 2rem;
    }

    .custom-social-icons i {
      font-size: 1.5rem;
      color: black;
      margin: 0 10px;
    }

    .custom-header {
      background-color: #4c60a4;
      color: white;
    }

    .custom-header img {
      max-height: 150px;
      width: auto;
      display: block;
    }

    .custom-header h6 {
      margin: 0;
      font-weight: bold;
    }

    .custom-header .btn-talk {
      background-color: white;
      color: black;
      font-weight: bold;
      border-radius: 5px;
      padding: 8px 20px;
      box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    }

    @media (max-width: 767.98px) {
      .custom-header .btn-talk {
        padding: 12px 0;
        font-size: 1rem;
      }
    }








    #loader {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 30px;
    }

    /* Container for roofs */
    .roofs {
      display: flex;
      gap: 12px;
      position: relative;
      width: 180px;
      height: 60px;
    }

    /* Each roof shape */
    .roof {
      width: 40px;
      height: 40px;
      background: transparent;
      position: relative;
      transform-origin: bottom center;
      opacity: 0;
      animation-fill-mode: forwards;
      filter: drop-shadow(0 2px 3px rgba(4, 38, 152, 0.3));
    }

    /* Roof shape using CSS triangles */
    .roof::before {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 0;
      border-left: 20px solid transparent;
      border-right: 20px solid transparent;
      border-bottom: 30px solid #042698;
      filter: drop-shadow(0 0 6px #04269888);
    }

    /* Animate roofs sliding in and stacking */
    /* Animate roofs sliding in and stacking - LOOPING */
    .roof:nth-child(1) {
      animation: slideStack 1.2s ease infinite;
      animation-delay: 0s;
    }

    .roof:nth-child(2) {
      animation: slideStack 1.2s ease infinite;
      animation-delay: 0.3s;
    }

    .roof:nth-child(3) {
      animation: slideStack 1.2s ease infinite;
      animation-delay: 0.6s;
    }

    .roof:nth-child(4) {
      animation: slideStack 1.2s ease infinite;
      animation-delay: 0.9s;
    }

    .roof:nth-child(5) {
      animation: slideStack 1.2s ease infinite;
      animation-delay: 1.2s;
    }


    @keyframes slideStack {
      0% {
        opacity: 0;
        transform: translateX(-60px) scale(0.8);
      }

      50% {
        opacity: 1;
        transform: translateX(0) scale(1.1);
      }

      100% {
        opacity: 1;
        transform: translateX(0) scale(1);
      }
    }

    /* Loading text */
    .loading-text {
      font-weight: 600;
      font-size: 1.3rem;
      color: #042698;
      letter-spacing: 0.1em;
      user-select: none;
      opacity: 0;
      animation: fadeIn 1.5s forwards;
      animation-delay: 1.6s;
    }

    @keyframes fadeIn {
      to {
        opacity: 1;
      }
    }

    .nav-item.dropdown:hover .dropdown-menu {
      display: block;
    }