/* Shared styles for the home contact section and the WhatsApp enquiry popup (moved out of every page's HTML so browsers cache them). */
/* ---- Home contact section ---- */
            /* ===== HOME CONTACT SECTION ===== */
            .home-contact-card {
                background: #fff;
                border-radius: 15px;
                box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
                overflow: hidden;
            }

            /* Floating labels */
            .floating-label {
                position: relative;
                margin-bottom: 30px;
            }

            .floating-input {
                font-size: 16px;
                padding: 20px 0;
                display: block;
                width: 100%;
                border: none;
                border-bottom: 2px solid #e0e0e0;
                background: transparent;
                transition: 0.3s;
            }

            .floating-input:focus {
                outline: none;
                border-bottom: 2px solid var(--primary);
            }

            .floating-label label {
                position: absolute;
                top: 20px;
                left: 0;
                color: #6b6b6b;
                font-weight: normal;
                pointer-events: none;
                transition: 0.3s ease all;
            }

            .floating-input:focus~label,
            .floating-input:not(:placeholder-shown)~label {
                top: -15px;
                font-size: 12px;
                color: var(--primary);
                font-weight: 500;
            }

            /* Send button */
            .btn-send {
                background: linear-gradient(to right, var(--primary), var(--secondary));
                border: none;
                padding: 12px 30px;
                border-radius: 30px;
                font-weight: 600;
                color: white;
                transition: all 0.3s;
            }

            .btn-send:hover {
                transform: translateY(-3px);
                box-shadow: 0 5px 15px rgba(78, 115, 223, 0.4);
            }

            /* ===== RIGHT SIDE GRID ===== */
            .home-contact-side {
                display: grid;
                grid-template-rows: 1.25fr 1fr 1fr;
                gap: 18px;
            }

            .home-side-box {
                background: #fff;
                border-radius: 18px;
                padding: 20px 20px;
                border: 1px solid rgba(78, 115, 223, 0.12);
                box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
                transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
                position: relative;
                overflow: hidden;
            }

            .home-side-box:before {
                content: "";
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                height: 5px;
                background: linear-gradient(to right, var(--primary), var(--secondary));
                opacity: 0.9;
            }

            .home-side-box:hover {
                transform: translateY(-4px);
                box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
                border-color: rgba(78, 115, 223, 0.22);
            }

            .home-contact-link {
                color: inherit;
                text-decoration: none;
                font-weight: 600;
            }

            .home-contact-link:hover {
                color: var(--primary);
                text-decoration: underline;
            }

            .home-side-divider {
                margin: 14px 0;
                border: 0;
                height: 1px;
                background: rgba(17, 24, 39, 0.08);
            }

            .home-side-icon {
                width: 46px;
                height: 46px;
                border-radius: 14px;
                display: flex;
                align-items: center;
                justify-content: center;
                color: #fff;
                background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
                box-shadow: 0 10px 22px rgba(78, 115, 223, 0.22);
                flex: 0 0 auto;
                margin-top: 2px;
            }

            .home-side-icon i {
                font-size: 20px;
            }

            /* ===== MAP BOX ===== */
            .home-side-box--map {
                padding: 0;
                min-height: 260px;
            }

            .home-side-box--map:before {
                display: none;
            }

            .home-side-map {
                height: 100%;
                width: 100%;
                border-radius: 18px;
                overflow: hidden;
            }

            .home-side-map iframe {
                width: 100%;
                height: 100%;
                border: 0;
                display: block;
            }

            @media (max-width: 991px) {
                .home-contact-side {
                    grid-template-rows: none;
                }

                .home-side-box--map {
                    min-height: 240px;
                }
            }

            /* ===== REVIEW SLIDER BOX ===== */
            .home-review-box {
                overflow: hidden;
            }

            .homeReviewSwiper {
                padding: 4px 2px;
            }

            .homeReviewSwiper .swiper-wrapper {
                transition-timing-function: linear !important;
            }

            .homeReviewSwiper .swiper-slide {
                width: auto;
                display: flex;
            }

            .review-img-card {
                background: #fff;
                border-radius: 18px;
                padding: 14px;
                box-shadow: 0 10px 28px rgba(15, 23, 42, 0.10);
                border: 1px solid rgba(78, 115, 223, 0.12);
            }

            .review-slide-img {
                width: 100%;
                height: auto;
                display: block;
                border-radius: 14px;
            }

            .review-readmore-btn {
                border: 1.5px solid var(--primary);
                color: var(--primary);
                background: #fff;
                border-radius: 10px;
                padding: 10px 28px;
                font-weight: 600;
            }

            .review-readmore-btn:hover {
                background: #f3f6ff;
                color: #224abe;
                border-color: #224abe;
            }
            :root{
  --primary:#4e73df;
  --secondary:#6f42c1;
}

/* ---- WhatsApp popup ---- */
  /* Optional: blur wrapper if you have #pageWrapper or .wrapper */
  .wrapper.blurred,
  #pageWrapper.blurred {
    filter: blur(5px);
    pointer-events: none;
  }

  /* Floating WhatsApp Button */
  #whatsappBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: transparent;
    border-radius: 50%;
    padding: 0;
    z-index: 9999;
    cursor: pointer;
  }

  /* Below lg, the sticky Call/WhatsApp/Get-quote bar already covers WhatsApp: avoid a redundant floating bubble overlapping it. */
  @media (max-width: 991.98px) {
    #whatsappBtn { display: none; }
  }

  #whatsappBtn img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: #25d366;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: transform 0.2s ease;
  }

  #whatsappBtn:hover img {
    transform: scale(1.05);
  }

  /* Dark Overlay */
  #waOverlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
  }

  /* Popup (matches site theme: Poppins + #4e73df → #224abe) */
  #formPopup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    padding: 0;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(34, 74, 190, 0.25);
    z-index: 9999;
    width: 100%;
    max-width: 640px;
    display: none;
    animation: fadeIn 0.3s ease-out;
    overflow-y: auto;
    max-height: 96vh;
    scrollbar-width: none;
    font-family: 'Poppins', sans-serif;
  }

  .wa-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 24px 16px;
    background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
    color: #ffffff;
  }

  .wa-offer-badge {
    display: inline-block;
    margin-bottom: 8px;
    padding: 5px 12px;
    border-radius: 50px;
    background: #f6c23e;
    color: #1f2d5c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .3px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    animation: waPulse 2s ease-in-out infinite;
  }

  @keyframes waPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
  }

  .wa-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
  }

  .wa-header-sub {
    margin: 6px 0 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.9);
  }

  .wa-close-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    border: none;
    font-size: 22px;
    color: #ffffff;
    cursor: pointer;
    line-height: 1;
    transition: background 0.2s ease;
  }

  .wa-close-icon:hover {
    background: rgba(255, 255, 255, 0.3);
  }

  @keyframes fadeIn {
    0% { opacity: 0; transform: translate(-50%, -40%); }
    100% { opacity: 1; transform: translate(-50%, -50%); }
  }

  #formPopup form {
    display: flex;
    flex-direction: column;
    padding: 18px 24px 22px;
  }

  #formPopup::-webkit-scrollbar {
    display: none;
  }

  .wa-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
  }

  .wa-field {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .wa-full {
    grid-column: 1 / -1;
  }

  .wa-actions {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 12px;
    margin-top: 4px;
  }

  .wa-label {
    font-weight: 500;
    font-size: 13px;
    color: #4a4a4a;
    margin-bottom: 6px;
  }

  .wa-input,
  .wa-textarea {
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #dbe2f3;
    font-family: inherit;
    font-size: 14px;
    margin-bottom: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    background: #f8f9fc;
    color: #212529;
  }

  .wa-input::placeholder,
  .wa-textarea::placeholder {
    color: #8a94a6;
    opacity: 1;
  }

  .wa-input:focus,
  .wa-textarea:focus {
    border-color: #4e73df;
    background: #ffffff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(78, 115, 223, 0.2);
  }

  .wa-textarea {
    resize: vertical;
    min-height: 80px;
  }

  .submit-button {
    padding: 12px;
    background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
    border: none;
    border-radius: 50px;
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin: 0;
    box-shadow: 0 6px 16px rgba(78, 115, 223, 0.35);
    transition: transform 0.15s ease, box-shadow 0.2s ease;
  }

  .submit-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(78, 115, 223, 0.45);
  }

  .close-button {
    padding: 11px;
    background: #ffffff;
    color: #4e73df;
    border: 1px solid #4e73df;
    border-radius: 50px;
    cursor: pointer;
    width: 100%;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s ease;
  }

  .close-button:hover {
    background-color: #eef2fc;
  }

  @media (max-width: 600px) {
    #formPopup {
      width: 92%;
    }

    .wa-header {
      padding: 18px 18px 16px;
    }

    #formPopup form {
      padding: 16px 18px 20px;
    }

    .wa-grid,
    .wa-actions {
      grid-template-columns: 1fr;
    }

    .wa-actions {
      gap: 10px;
    }
  }
