@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Oriya&display=swap');

:root {
  --bjp-orange: #ff7b00;
  --bjp-green: #f66200;
  --gray: #f5f5f5;
  --hover: #ffe0b2;
  --white: #ffffff;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: var(--gray);
}

/* Page Loader */
#page-loader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
#loader-image {
    width: 100px;
    animation: flip 2s infinite;
}
@keyframes flip {
    0%, 100% { transform: scaleX(1); }
    50% { transform: scaleX(-1); }
}

/* Topbar */
.topbar {
    background: var(--bjp-green);
    color: white;
    padding: 8px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.topbar .contact-info, 
.topbar .auth-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}
#liveDateTime {
    font-size: 13px;
    background-color: rgba(255,255,255,0.12);
    padding: 5px 10px;
    border-radius: 5px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #ff7b00;
    border-bottom: 2px solid var(--bjp-orange);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-left img {
    height: 60px;
    width: auto;
}

.header-title {
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    /* background: linear-gradient(90deg, var(--white), #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    font-family: 'Poppins', sans-serif;
}

.location-text {
    font-size: 14px;
    color: #444;
}

.header-right {
    text-align: right;
}

.header-right .odia-text {
    font-size: 18px;
    color: var(--gray);
}

.header-right .mission {
    font-size: 14px;
    color: #ffffff;
    font-style: italic;
}

.header-right hr {
    margin: 5px 0;
    border-color: var(--bjp-orange);
}

.header-right .govt-time {
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
}

/* Scrolling text */
.st {
    background-color: #210e6c;
    overflow: hidden;
    height: 28px;
}
.scroll-title {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: scrollText 25s linear infinite;
    font-size: 14px;
    color: #fff;
}
@keyframes scrollText {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-100%); }
}

/* Navbar */
.navbar-custom {
    background: var(--bjp-orange);
}

.navbar-custom .nav-link {
    color: white !important;
    font-size: 15px;
    padding: 8px 10px;
}

.navbar-toggler {
    border: none;
}

.nav-divider {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 6px;
    font-weight: 300;
    font-size: 16px;
}

/* Ensure icons align nicely */
.social-links .nav-link {
    padding: 0 8px;
}

/* On small screens, adjust spacing for readability */
@media (max-width: 768px) {
    .nav-divider {
        display: none; /* Hide separators on mobile for cleaner look */
    }
}

/* ===== MOBILE RESPONSIVE FIX ===== */
@media (max-width: 768px) {
.topbar {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .contact-info {
        flex-direction: row;      /* keep icons and text in a row */
        flex-wrap: wrap;          /* wrap if needed */
        justify-content: center;
        gap: 10px;
        font-size: 14px;
    }

    #liveDateTime {
        font-size: 12px;
        padding: 4px 0;
    }

    .auth-buttons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }
    .header {
        flex-direction: column;
        text-align: center;
        padding: 15px 10px;
    }
    .header-left img {
        height: 55px;
    }
    .header-right {
        text-align: center;
    }
    .odia-text {
        font-size: 18px;
    }
    .mission {
        font-size: 13px;
    }
    .govt-time {
        font-size: 12px;
    }
    .scroll-title {
        font-size: 13px;
        padding-left: 50%;
    }
    .navbar-custom .nav-link {
        font-size: 14px;
        padding: 8px 0;
    }
    .navbar-custom .social-links {
        margin-top: 8px;
        justify-content: center;
    }
}


/*--------------*/

.bjp-footer {
  background: linear-gradient(135deg, var(--bjp-orange), var(--bjp-green));
}

.footer-link {
  display: block;
  color: white;
  text-decoration: none;
  margin-bottom: 8px;
  transition: 0.3s;
}

.footer-link:hover {
  color: #ffe082;
  padding-left: 6px;
}

.bjp-footer .social-icons a {
  color: white;
  margin-right: 15px;
  font-size: 20px;
  transition: transform 0.3s ease, color 0.3s;
}

.bjp-footer .social-icons a:hover {
  color: #ffeb3b;
  transform: scale(1.2) rotate(5deg);
}
.location-text {
  padding-left: 30px;
  font-size: 18px;
  color: #fff;
  display: flex;
  align-items: center;
}

/* --------------------- */

.custom-login-wrapper {
  /* background: linear-gradient(to bottom, #f7931e, #ffffff, #008000); */
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 60px;
  padding-bottom: 60px;
  
}

.custom-login-box {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
}

.custom-login-title {
  text-align: center;
  color: #f7931e;
  font-weight: bold;
  margin-bottom: 25px;
}

.custom-form-group {
  margin-bottom: 20px;
}

.custom-form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #333;
}

.custom-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
}

.custom-login-button {
  background-color: #f7931e;
  color: white;
  border: none;
  padding: 10px 15px;
  width: 100%;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s;
}

.custom-login-button:hover {
  background-color: #e67e00;
}

.custom-register-link {
  margin-top: 15px;
  text-align: center;
  font-size: 14px;
}


/* -------------------------------- */


.custom-register-wrapper {
  /* background: linear-gradient(to bottom, rgba(247, 147, 30, 0.4), rgba(255, 255, 255, 0.4), rgba(0, 128, 0, 0.4)); */
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.custom-register-box {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  width: 100%;
  max-width: 700px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
}

.custom-register-title {
  text-align: center;
  color: #f7931e;
  font-weight: bold;
  margin-bottom: 30px;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.form-col {
  flex: 1;
  min-width: 250px;
}

.dropdown-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.dropdown-col {
  flex: 1;
  min-width: 180px;
}

.custom-form-group label,
.dropdown-col label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #333;
}

.custom-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
}

.custom-login-button {
  background-color: #f7931e;
  color: white;
  border: none;
  padding: 12px 20px;
  width: 100%;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s;
}

.custom-login-button:hover {
  background-color: #e67e00;
}


/* -------------------------*/

.contact-wrapper {
  min-height: 100vh;
  padding: 60px 20px;
  /* background: linear-gradient(to bottom, rgba(247, 147, 30, 0.1), rgba(255, 255, 255, 0.4)); */
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-box {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  width: 100%;
  max-width: 1000px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.contact-title {
  text-align: center;
  color: #f7931e;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 30px;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.contact-info-item {
  display: flex;
  gap: 15px;
  background-color: #fef7f0;
  border-left: 4px solid #f7931e;
  padding: 15px;
  border-radius: 8px;
  align-items: center;
}

.contact-icon {
  font-size: 28px;
  color: #f7931e;
}

.contact-row {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.contact-col {
  flex: 1;
  min-width: 300px;
}

.contact-group {
  margin-bottom: 15px;
}

.contact-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #333;
}

.contact-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
  font-size: 14px;
}

.contact-input:focus {
  border-color: #f7931e;
  box-shadow: 0 0 0 2px rgba(247, 147, 30, 0.2);
}

.contact-submit-btn {
  background-color: #f7931e;
  color: white;
  border: none;
  padding: 12px 20px;
  width: 100%;
  border-radius: 6px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-submit-btn:hover {
  background-color: #e67e00;
}


/* -------------------------------- */




    .headermain {
      position: sticky;
      top: 56px; /* Set this to navbar height (adjust if needed) */
      z-index: 999;
      background-color: #fff;
      padding: 20px;
      border-bottom: 2px solid #e0e0e0;
      text-align: center;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }


    .main-title {
        font-size: 2.0rem;
        color: #ff6f00;
        font-weight: bold;
        margin: 0;
    }

    .sub-title {
        font-size: 1.4rem;
        color: #444;
        font-family: 'Noto Sans Oriya', sans-serif;
        margin-top: 5px;
    }
    /* ----------------------------- */

        .dept-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            padding: 30px;
        }

        .dept-card {
            background-color: white;
            border-left: 5px solid #ff6f00;
            padding: 15px 20px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            transition: transform 0.2s ease-in-out;
        }

        .dept-card:hover {
            transform: translateY(-5px);
        }

        .dept-card a {
            color: #ff6f00;
            font-weight: bold;
            text-decoration: none;
        }

        /* ------------------------------ */

         /* Section Card */
    .bjp-section-box {
      background: rgba(255, 255, 255, 0.85);
      backdrop-filter: blur(12px);
      /* border-radius: 16px; */
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
      padding: 20px;
      border: 1px solid rgba(255, 127, 17, 0.2);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .bjp-section-box:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    }
    /* Headings */
    .bjp-h5 {
      font-weight: bold;
      background: linear-gradient(90deg, #ff7f11, #cc5200);
      -webkit-background-clip: text;
      color: transparent;
      position: relative;
      margin-bottom: 12px;
    }
    .bjp-h5::after {
      content: '';
      position: absolute;
      bottom: -5px;
      left: 0;
      width: 50px;
      height: 3px;
      background: linear-gradient(90deg, #ff7f11, #cc5200);
      /* border-radius: 2px; */
    }

    /* Smooth Scroll */
    /* -------------------------------
       Smooth Scroll Lists
    ------------------------------- */
    .bjp-scroll-box {
      overflow: hidden;
      height: 230px;
      position: relative;
      border-radius: 10px;
      box-shadow:
        inset 0 8px 15px -8px rgba(255, 127, 17, 0.4),
        inset 0 -8px 15px -8px rgba(255, 127, 17, 0.4);
      background: linear-gradient(135deg, #fffaf0, #fff4dc);
    }
    .bjp-scroll-content {
      display: flex;
      flex-direction: column;
      animation: bjp-scrollLoop 35s linear infinite;
      user-select: none;
      padding-right: 10px;
    }
    .bjp-scroll-box:hover .bjp-scroll-content {
      animation-play-state: paused;
    }
    @keyframes bjp-scrollLoop {
      0% { transform: translateY(0); }
      100% { transform: translateY(-50%); }
    }
    .bjp-notice-content li {
      padding: 14px 16px;
      border-bottom: 1.5px solid #ffd9b3;
      font-size: 1rem;
      color: #4a4a4a;
      transition: background 0.4s ease, color 0.3s ease;
      font-weight: 600;
      user-select: none;
    }
    .bjp-notice-content li:hover {
      background: rgba(255, 127, 17, 0.15);
      color: #d85a00;
      cursor: pointer;
      box-shadow: 0 2px 10px rgba(255, 127, 17, 0.2);
      border-radius: 10px;
    }

    /* -------------------------------
       Gallery Scroll Images
    ------------------------------- */
    .bjp-photo-content img {
      border-radius: 16px;
      margin-bottom: 18px;
      width: 100%;
      height: 560px;
      object-fit: cover;
      border: 3px solid #ff7f11;
      box-shadow:
        0 3px 15px rgba(255, 127, 17, 0.35),
        0 8px 25px rgba(0, 0, 0, 0.07);
      transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
                  box-shadow 0.35s ease;
      cursor: pointer;
      user-select: none;
    }
    .bjp-photo-content img:hover {
      /* transform: scale(1.1) rotate(1.0deg); */
      box-shadow:
        0 10px 35px rgba(255, 127, 17, 0.6),
        0 18px 40px rgba(0, 0, 0, 0.15);
      z-index: 10;
      position: relative;
    }

    /* Banner - UPDATED */
    #bjp-bannerCarousel .carousel-item img {
      width: 100%;         /* full container width */
      height: auto;        /* keep original aspect ratio */
      max-height: 600px;   /* optional max height */
      object-fit: contain; /* ensure image fits without cropping */
      border-radius: 6px;

    
      margin-left: auto;
      margin-right: auto;
      box-shadow:
        0 3px 15px rgba(255, 127, 17, 0.35),
        0 8px 25px rgba(0, 0, 0, 0.07);
    }

    /* MVV Slider (From Vision Container) */
    .bjp-vision-container {
      background: #fff8f0;
      padding: 20px 40px;
      box-sizing: border-box;
      display: flex;
      align-items: center;
      gap: 40px;
      border-radius: 5px;
      box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3),
                  0 6px 20px rgba(0, 100, 0, 0.1);
      overflow: hidden;
      transition: box-shadow 0.4s ease;
      position: relative;
    }
    .bjp-vision-container:hover {
      box-shadow: 0 6px 30px rgba(255, 153, 0, 0.5),
                  0 8px 30px rgba(0, 100, 0, 0.15);
    }
    .bjp-vision-container::before {
      content: "“";
      position: absolute;
      font-family: Georgia, serif;
      font-size: 100px;
      font-weight: bold;
      color: rgba(255, 153, 0, 0.15);
      top: 15px;
      left: 20px;
      user-select: none;
      pointer-events: none;
      transform: rotate(-10deg);
      z-index: 0;
    }
    .bjp-vision-container::after {
      content: "”";
      position: absolute;
      font-family: Georgia, serif;
      font-size: 100px;
      font-weight: bold;
      color: rgba(255, 221, 0, 0.15);
      bottom: -40px;
      right: 430px;
      user-select: none;
      pointer-events: none;
      transform: rotate(10deg);
      z-index: 0;
    }
    .bjp-vision-text {
      flex: 1;
      opacity: 1;
      transform: translateX(0);
      transition: opacity 0.8s ease, transform 0.8s ease;
      position: relative;
      z-index: 1;
    }
    .bjp-fade-out { opacity: 0; transform: translateX(-30px); }
    .bjp-fade-in { opacity: 1; transform: translateX(0); }
    .bjp-vision-text h2 {
      margin-top: 0;
      font-weight: 700;
      font-size: 2rem;
      color: #e67300;
      letter-spacing: 1.2px;
      text-shadow: 0 1px 3px rgba(230, 115, 0, 0.5);
    }
    .bjp-vision-text p {
      font-style: italic;
      color: #2a2a2a;
      font-size: 1rem;
      line-height: 1.3;
      margin-top: 12px;
      max-width: 700px;
    }
    .bjp-vision-image {
      flex-shrink: 0;
      max-width: 280px;
      width: 25%;
      border-radius: 16px;
      box-shadow: 0 8px 20px rgba(230, 115, 0, 0.3);
      object-fit: cover;
      transition: transform 0.8s ease, box-shadow 0.8s ease, opacity 0.8s ease;
      position: relative;
      z-index: 1;
    }
    .bjp-img-fade-out { opacity: 0; transform: scale(0.95); }

    /* Responsive improvements for mobile */
    @media (max-width: 900px) {
      .bjp-vision-container {
        flex-direction: column;
        align-items: center;
        padding: 15px 20px;
        gap: 20px;
        text-align: center;
      }
      .bjp-vision-container::before,
      .bjp-vision-container::after {
        display: none;
      }
      .bjp-vision-text h2 {
        font-size: 1.5rem;
        text-align: center;
      }
      .bjp-vision-text p {
        font-size: 0.95rem;
        line-height: 1.4;
        text-align: center;
        max-width: 100%;
      }
      .bjp-vision-image {
        width: 90%;
        max-width: 280px;
        height: auto;
      }
    }

    @media (max-width: 600px) {
      .bjp-vision-text h2 {
        font-size: 1.3rem;
      }
      .bjp-vision-text p {
        font-size: 0.9rem;
      }
      .bjp-vision-image {
        width: 100%;
        max-width: 240px;
      }
    }

    /* Modal styles */
  .bjp-image-modal {
    display: none; 
    position: fixed; 
    z-index: 9999; 
    padding-top: 60px; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.8); 
  }

  .bjp-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s;
  }

  @keyframes zoomIn {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
  }

  .bjp-modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
  }

  .bjp-modal-close:hover {
    color: #ff7f11;
  }

  #caption {
    text-align: center;
    color: #fff;
    padding: 10px 0;
    font-size: 1rem;
  }


  /* ------------------------------- */

  /* --- Body and Page Styles --- */

  /* Container to center the title */
  .title-wrapper {
    display: flex;
    justify-content: center; /* horizontal center */
    align-items: center;     /* vertical center if needed */
    width: 100%;
    padding-top: 60px;       /* space from top */
  }

  /* Title style */
  .ss {
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 800;
    background: linear-gradient(90deg, #ff6a00, #ee0979, #ff6a00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
    position: relative;
    font-size: 2.5rem;       /* default size */
    animation: fadeIn 1s ease forwards;
  }

  /* Gradient underline */
  .ss::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, #ff6a00, #ee0979, #ff6a00);
    border-radius: 2px;
    animation: underlineAnim 2s infinite alternate;
  }

  /* Animations */
  @keyframes underlineAnim {
    0% { width: 40%; }
    50% { width: 60%; }
    100% { width: 80%; }
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* Responsive */
  @media (max-width: 768px) {
    .ss {
      font-size: 1.8rem;
    }
  }

  @media (max-width: 480px) {
    .ss {
      font-size: 1.4rem;
    }
  }


  /* --- Carousel Wrapper --- */
  .video-carousel-wrapper {
    overflow: hidden;
    width: 100%;
    padding: 20px 0;
  }

  /* --- Carousel --- */
  .video-carousel {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
    will-change: transform;
  }

  .video-carousel.animate {
    animation: scroll 40s linear infinite;
  }

  @keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  .video-carousel-wrapper:hover .video-carousel.animate {
    animation-play-state: paused;
  }

  /* --- Video Card --- */
  .video-card {
    flex: 0 0 auto;
    width: 320px;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
  }

  .video-card iframe {
    width: 100%;
    height: 180px;
    border: none;
    border-radius: 15px;
  }

  .video-card p {
    padding: 10px;
    font-weight: bold;
    font-size: 1rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    margin:0;
  }

  /* --- Responsive --- */
  @media (max-width: 768px) {
    .video-card { width: 250px; }
    .video-card iframe { height: 150px; }
    .ss { font-size: 2rem; }
  }

  @media (max-width: 480px) {
    .video-card { width: 200px; }
    .video-card iframe { height: 120px; }
    .ss { font-size: 1.5rem; }
  }

  /* ------------------------------- */
    /* --- Your existing styles --- */
    .page-wrapper {
      height: 50vh;
      margin-top: 10px;
      padding: 0 20px;
      box-sizing: border-box;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: #f0f3f7;
      display: flex;
      justify-content: center;
      align-items: flex-start;
    }
    .custom-container {
      display: flex;
      gap: 40px;
      max-width: 1000px;
      width: 100%;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
    }
    .custom-map-container {
      flex: 0 0 58%;
      max-width: 90vw;
    }
    .custom-map-container img {
      width: 100%;
      height: auto;
      display: block;
    }
    .custom-action-box {
      background: linear-gradient(135deg, #ffda24 0%, #ff5900 100%);
      flex: 0 0 38%;
      max-width: 90vw;
      padding: 40px 30px;
      border-radius: 12px;
      box-shadow: 0 10px 25px rgba(37, 117, 252, 0.3);
      text-align: center;
      color: #fff;
      box-sizing: border-box;
      user-select: none;
      transform-style: preserve-3d;
    }
    @media (max-width: 900px) {
      .custom-container { gap: 20px; }
      .custom-map-container, .custom-action-box {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0;
      }
      .custom-action-box { padding: 30px 20px; }
    }
    @media (max-width: 600px) {
      .page-wrapper { padding: 10px; }
      .custom-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
      }
      .custom-map-container, .custom-action-box {
        width: 90vw;
        padding: 0;
      }
      .custom-action-box { padding: 25px 15px; }
      .custom-action-box__title { font-size: 20px; gap: 8px; }
      .custom-action-box__btn { font-size: 16px; padding: 12px 28px; gap: 8px; }
      .custom-action-box__btn svg { width: 18px; height: 18px; }
      .custom-action-box__title svg { width: 20px; height: 20px; }
    }
    .custom-action-box__title {
      font-weight: 700;
      font-size: 24px;
      margin: 0 0 30px;
      display: inline-flex;
      align-items: center;
      gap: 12px;
      text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
      perspective: 500px;
    }
    .custom-action-box__title svg {
      width: 24px;
      height: 24px;
      fill: #fff;
      transition: transform 0.4s ease;
      transform-origin: center;
    }
    .custom-action-box__title:hover svg {
      transform: rotateY(360deg);
    }
    .custom-action-box__btn {
      background: #ff2f00;
      border: none;
      padding: 14px 36px;
      font-size: 18px;
      font-weight: 600;
      color: #fff;
      border-radius: 30px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      box-shadow: 0 6px 15px rgba(255, 94, 58, 0.5);
      transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.15s ease;
      will-change: transform;
      user-select: none;
    }
    .custom-action-box__btn svg {
      width: 20px;
      height: 20px;
      fill: #fff;
      transition: transform 0.3s ease;
    }
    .custom-action-box__btn:hover {
      background: #ff7a57;
      box-shadow: 0 10px 25px rgba(255, 122, 87, 0.7);
      transform: translateY(-3px);
    }
    .custom-action-box__btn:hover svg {
      transform: translateX(5px);
    }
    .custom-action-box__btn:active {
      transform: translateY(1px);
      box-shadow: 0 5px 12px rgba(255, 94, 58, 0.4);
    }

    /* --- Popup styles --- */
    .popup-overlay {
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0,0,0,0.5);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 1000;
    }
    .popup-box {
      background: #fff;
      border-radius: 12px;
      padding: 40px 30px;
      max-width: 600px;
      width: 90vw;
      box-shadow: 0 15px 40px rgba(0,0,0,0.25);
      text-align: center;
      position: relative;
    }
    .popup-close-btn {
      position: absolute;
      top: 12px;
      right: 12px;
      background: transparent;
      border: none;
      font-size: 24px;
      font-weight: bold;
      color: #ff5900;
      cursor: pointer;
    }
    .popup-header {
      font-size: 22px;
      font-weight: bold;
      margin-bottom: 30px;
      color: #222;
    }
    .popup-btn-container {
      display: flex;
      justify-content: center;
      gap: 20px;
      flex-wrap: wrap;
        text-decoration: none;
  
    }
  .popup-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    font-size: 20px; 
    font-weight: bold;
    user-select: none;

    width: 220px; /* increase width here */
    height : 100px;
    justify-content: center; /* center text + svg horizontally */
  }

  .popup-btn:hover {
    background-color: #0056b3;
  }

    .popup-btn svg {
      flex-shrink: 0;
    }
    
    .popup-btn.dharmasala {
      background: linear-gradient(to right, #d60000, #ff6600);
        text-decoration: none;
    }
    .popup-btn.rasulpur {
      background: linear-gradient(to right, #d4c600, #ff6600);
        text-decoration: none;
    }
    .popup-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 6px 14px rgba(0,0,0,0.3);
    }
