@font-face {
    font-family: 'UrduFont';
    src: url('../fonts/urdu-font.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
body {
    overflow-x: hidden;
    overflow-y: auto;

}

.urdu-body {
    font-family: 'UrduFont', serif;

}

.gradient-border-btn {
    position: relative;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    color: white;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid;
    border-radius: 6px;
    z-index: 1;
    background-color: transparent;
    border-color: #137D9E;
    animation: btn-auto-transition 1.2s ease-in-out infinite alternate,
               border-glow 1.2s ease-in-out infinite alternate;
    box-shadow: 0 0 8px 2px rgba(247, 154, 58, 0.3);
    transition: all 0.3s ease;
}

@keyframes btn-auto-transition {
    0% {
        background-color: transparent;
        border-color: #137D9E;
    }
    100% {
        background-color: rgba(168, 117, 17, 0.53);
        border-color: #F79A3A;
    }
}

@keyframes border-glow {
    0% {
        box-shadow: 0 0 0px 0 rgba(247, 154, 58, 0.2);
    }
    100% {
        box-shadow: 0 0 12px 5px rgba(247, 154, 58, 0.7);
    }
}
.static-border-btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    color: white;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #137D9E;
    border-radius: 6px;
    background-color: transparent;
    box-shadow: none;
    transition: all 0.3s ease;
}

/* Optional: Hover effect */
.static-border-btn:hover {
    background-color: #137D9E;
    color: white;
}
/* Remove Bootstrap dropdown arrow */
.navbar .dropdown-toggle::after {
    display: none !important;
}

/* Optional: Add hover underline or style */
.navbar .nav-link:hover {
    text-decoration: underline;
}
.navigation-container {
    width: 100%;
    position: relative;
    top:22px;
    
}

.navigation-wrapper {
    width: 95%;
    margin: 0 auto;
}
/* Urdu Hero Section Overrides */
.hero-section.hero-ur {
    height: 880px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-section.hero-ur .banner-content {
    padding-right: 80px; /* mirror left padding in English */
    padding-left: 0;
    max-width: 562px;
}

.hero-section.hero-ur .hero-heading {
    font-size: 64px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 0;
    padding-bottom: 0;
}

.hero-section.hero-ur .text-highlight {
    color: #0DCDC8;
}

.hero-section.hero-ur .powered-by {
    font-size: 20px;
    font-weight: 500;
    font-family: 'UrduFont', 'Noto Nastaliq Urdu', serif;
    margin: -2px 0 6px 0;
    padding: 0;
}

.hero-section.hero-ur .divider-line {
    /* mirror the gradient direction */
    background: linear-gradient(to left, white 50%, #0DCDC8 54%);
    
    height: 3px;
    width: 50%;
    margin: 4px 0 8px 0;
}

.hero-section.hero-ur .subtext {
    font-size: 29px;
    font-weight: 600;
    font-family: 'UrduFont', 'Noto Nastaliq Urdu', serif;
    color: #D9D3D3;
    margin-bottom: 0.25rem;
}

.hero-section.hero-ur .description-box {
    max-width: 480px;
    margin-top: 30px;
}

.hero-section.hero-ur .description-text {
    font-size: 24px;
    font-weight: 400;
    font-family: 'UrduFont', 'Noto Nastaliq Urdu', serif;
    color: #ffffff;
    margin: 0;
}

.hero-section.hero-ur .read-more-btn {
    display: inline-block;
    margin-top: 16px;
    font-size: 20px;
    font-family: 'UrduFont', 'Noto Nastaliq Urdu', serif;
    background: linear-gradient(90deg, #008E8B, #00514F);
    color: white;
    padding: 5px 15px;
    border-radius: 10px;
    text-decoration: none;
}

/* Position the hero image to the left instead of right */
.hero-section.hero-ur img.position-absolute {
    right: auto;
    left: 90px;
}

/* Navbar */
.main-navbar {
      background-color: rgba(36, 34, 34, 0.5);

    height: 94px;
}
.navbar-logo1 {
  width: 85%;
  height: 85%;
  object-fit: contain;
}


/* Optional: Adjust for very small screens if needed */
/* Default logo size */
.navbar-logo {
  width: 61px;
  height: 61px;
  object-fit: contain;
}

/* Screens ≤ 768px (tablets and small devices) */
@media (max-width: 768px) {
  .navbar-logo {
    width: 60px;
    height: 60px;
  }
}

/* Screens ≤ 576px (phones) */
@media (max-width: 576px) {
  .navbar-logo {
    width: 60px;
    height: 60px;
  }
}

/* Screens ≤ 375px (small phones) */
@media (max-width: 375px) {
  .navbar-logo {
    width: 50px;
    height: 50px;
  }
}

/* Screens ≤ 320px (very small phones) */
@media (max-width: 320px) {
  .navbar-logo {
    width: 45px;
    height: 45px;
  }
}

/* Screens ≤ 280px (extra small like Galaxy Fold) */
@media (max-width: 280px) {
  .navbar-logo {
    width: 40px;
    height: 40px;
  }
}
.navbar-toggler {
    padding: 0.25rem 0.5rem;
}

.navbar-toggler-icon {
    width: 1.5rem;
    height: 1.5rem;
    background-size: contain;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    padding: 0 10px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 320px) {
    .navbar {
        flex-wrap: wrap;
    }

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

  
     .navbar-toggler-icon {
        width: 1.2rem;
        height: 1.2rem;
    }
}

.custom-toggler {
    border-color: white;
}

.custom-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
/* Mobile vertical menu overlay */
.mobile-vertical-menu {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    background-color: #242222;
    z-index: 1055;
    padding: 30px;
    overflow-y: auto;

    /* Animation setup */
    width: 100%;
    max-width: 100%;
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    pointer-events: none;
}

.mobile-vertical-menu.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

/* On tablets and up, restrict width */
@media (min-width: 768px) {
    .mobile-vertical-menu {
        max-width: 320px;
    }
}

.mobile-vertical-menu .close-btn {
    font-size: 32px;
    background: none;
    border: none;
    color: white;
    float: right;
}

/* Force desktop menu hidden at 1024px and below */


/* Buttons */
.btn-gradient {
    background: linear-gradient(90deg, #137D9E 0%, #008E8B 100%);
}

.gradient-border-btn {
    border: 2px solid #008E8B;
    background: transparent;
}

.static-border-btn {
    border: 1px solid white;
    background: transparent;
}


/* Hero banner layout */
.home-hero-wrapper {
    background: url('../images/home_1111.png') center center / cover no-repeat;
    height: 736px;
    position: relative;
}
.home-hero-wrapper.hero-ur {
    background: url('../images/merapyara-urdu.png') center center / cover no-repeat;
    height: 736px;
    position: relative;
}


.hero-heading {
    font-size: 64px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1;
       font-family: 'Roboto', sans-serif !important;
}

.text-highlight {
    color: #0DCDC8;
}

.powered-by {
    font-size: 20px;
    font-weight: 700;
    font-family: 'UrduFont', 'Noto Nastaliq Urdu', serif;
    margin-top: -2px;
    margin-bottom: 6px;
}

.divider-line {
    background: linear-gradient(to left, white 50%, #0DCDC8 54%);
    height: 3px;
    width: 50%;
    margin: 4px 0 8px 0;
}

.subtext {
    font-size: 23px;
    font-weight: 600;
    color: #ffffff;
    font-family: 'UrduFont', 'Noto Nastaliq Urdu', serif;
}

.description-text {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    font-family: 'UrduFont', 'Noto Nastaliq Urdu', serif;
    text-align: justify;
}

.read-more-btn {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 24px;
    font-size: 16px;
    font-weight: 500;
    background: linear-gradient(90deg, #008E8B, #00514F);
    color: white;
    border-radius: 12px;
    text-decoration: none;
}

.social-banner-box-3433 {
    position: absolute;
    top: 44%;
    right: 10px;   /* EN side */
    transform: translateY(-50%);
    width: 70px;
    height: 355px;
    background: rgba(36, 34, 34, 0.66);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    z-index: 3;
    padding: 10px 0;
}
.social-banner-box-3433.ur-side {
    right: auto;
    left: 10px;   /* Urdu side */
}

.social-banner-box-3433 a img {
    width: 45px;
    height: 45px;
    transition: transform 0.3s ease;
}

.social-banner-box-3433 a:hover img {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .social-banner-box-3433 {
        display: none;
    }
}



/* Info Boxes */
/* Info Boxes Section */
.info-boxes-section {
  margin-top: -70px;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.info-box {
    width: 230px;
    min-height: 180px;
    border-radius: 20px;
    overflow: hidden;
    padding: 10px 10px 0;
    position: relative;
    margin: 10px; /* Adds spacing between boxes */
    color: #fff;
}


.icon-wrapper {
    margin-bottom: 8px; /* Add small space below icon */
}

.icon-wrapper img {
  width: 50px;
  height: 50px;
}
.info-box p {
  margin: 0;
  font-size: 21px;

}

.bottom-strip {
  position: relative;
  margin-top: auto;
  height: 25px;
  width: 100%;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

/****************************** boxes ***********************/


.info-boxes-wrapper-3433 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0 10px;
}

/* Responsive boxes */
.info-box-3433 {
    width: 230px;
    min-height: 175px;
    border-radius: 20px;
    overflow: hidden;
    padding: 10px 10px 0;
    position: relative;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

/* Font size for label */
.info-box-3433 p {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 8px;
}

/* Bottom strip sticky and full width */
.bottom-strip-3433 {
    height: 14px;
    width: 118%;
    margin-top: auto;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* Responsive tweak: shrink box width on small screens */
@media (max-width: 576px) {
    .info-box-3433 {
        width: 160px;
    }

    .info-box-3433 p {
        font-size: 18px;
    }
}






/* Custom Colors */
.box-1 { background-color: #038683; }
.box-11 { background-color: #038683; }
.strip-1 { background-color: #066967; }

.box-2 { background-color: #B1951F; }
.strip-2 { background-color: #997E0A; }

.box-3 { background-color: #2E7D49; }
.strip-3 { background-color: #43634E; }

.box-4 { background-color: #B76C2D; }
.strip-4 { background-color: #815C3E; }

.box-5 { background-color: #464444; }
.strip-5 { background-color: #3B3A3A; }

/* Flip alignment for RTL section */
.info-boxes-section-3433.rtl {
    direction: rtl;
}

/* Flip only the order of boxes for Urdu without breaking spacing */
.info-boxes-wrapper-3433.rtl-row {
    flex-direction: row-reverse;
    justify-content: center; /* keep boxes centered with gaps */
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}


@media (max-width: 767.98px) {
  .hero-heading {
    font-size: 36px;
    text-align: center;
  }

  .powered-by,
  .subtext,
  .description-text {
    font-size: 16px;
    text-align: center;
  }

  .banner-content {
    
    padding: 0 15px;
  }

  .read-more-btn {
    margin: 12px auto 0;
  }

  .info-boxes-section {
    margin-top: 30px; /* Push it lower after banner */
    padding-top: 20px;
  }

  .info-box p {
    font-size: 16px;
  }

  .info-box {
    padding: 20px 8px;
    min-height: auto;

  }

  .icon-wrapper img {
    width: 40px;
    height: 40px;
  }
}


/* Overlay Styling */
.custom-overlay {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 50%);
    background-color: #4C5F64;
    padding: 20px 30px; /* Reduced vertical padding */
    z-index: 3;
    width: 90%;
    max-width: 100%;
    border-radius: 12px;
    color: white;
    box-sizing: border-box;
}

.custom-overlay h3 {
    font-family: 'UrduFont', 'Noto Nastaliq Urdu', serif;
    font-size: 30px; /* Reduced font size */
    font-weight: 400;
    margin-bottom: 18px;
}

.custom-overlay p,
.custom-overlay ul {
    font-size: 20px; /* Reduced paragraph and list size */
       font-family: 'UrduFont', 'Noto Nastaliq Urdu', serif;
    line-height: 1.8;
    margin-bottom: 10px;
}

/* Responsive style for smaller screens */
@media (max-width: 768px) {
    .custom-overlay {
        position: static;
        transform: none;
        width: 100%;
        padding: 25px 15px;
        border-radius: 0;
        margin-top: 20px;
    }

    .custom-overlay h3 {
        font-size: clamp(20px, 5vw, 28px);
        text-align: center;
        margin-bottom: 18px;
    }

    .custom-overlay p,
    .custom-overlay ul {
        font-size: clamp(14px, 4vw, 16px);
    }
}

@media (max-width: 480px) {
    .custom-overlay h3 {
        font-size: clamp(18px, 6vw, 24px);
        margin-bottom: 15px;
    }
}

/* Floating Social Icons */
.floating-icons {
    position: fixed;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}

/* Info Boxes */
.info-boxes-section .info-box {
    border-radius: 20px;
    padding: 30px 10px;
    color: white;
    text-align: center;
    margin: 18px 10px;
    position: relative;
    overflow: hidden;
    height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.info-boxes-section .icon-wrapper img {
    width: 50px;
    height: 50px;
}

.info-boxes-section .bottom-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 15px;
    width: 100%;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}





@media (max-width: 992px) {



    .info-stats-section .text-white div:first-child {
        font-size: 18px !important;
    }

    .info-stats-section .text-white div:last-child {
        font-size: 30px !important;
    }
}

@media (max-width: 768px) {
    .info-stats-section .row.g-0 {
        flex-direction: column !important;
        height: auto !important;
    }

    .info-stats-section .col-3 {
        width: 100% !important;
        background-color: #333333 !important;
        padding: 40px 0 !important;
        height: auto !important;
    }

    .info-stats-section .col-9 {
        width: 100% !important;
        margin-top: 10px;
    }

   
    .info-stats-section .d-flex.justify-content-center.align-items-center {
        flex-direction: column !important;
        text-align: center;
        margin-bottom: 25px;
    }

    .info-stats-section img {
        margin: 0 0 10px 0 !important;
    }

    .custom-overlay {
        position: static !important;
        transform: none !important;
        margin-top: 20px;
        border-radius: 0;
    }

    .floating-icons {
        top: auto;
        bottom: 20px;
        transform: none;
    }

    .info-boxes-section .info-box {
        flex: 0 0 45%;
        max-width: 45%;
        height: auto;
        padding: 20px 10px;
    }
}

@media (max-width: 576px) {
    .floating-icons {
        display: none;
    }

    .info-boxes-section .info-box {
        flex: 0 0 90%;
        max-width: 90%;
        margin: 10px auto;
    }
}
.carousel-inner {
    display: flex;
  
    align-items: center;
    height: auto; /* Don't force height */
 
}
.carousel-inner img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

@media (max-width: 768px) {
    .carousel-item img {
        max-height: 300px;
    }

    .custom-overlay {
        position: static !important;
        transform: none !important;
        margin-top: 20px;
        width: 100% !important;
        border-radius: 0;
    }
}
@media (max-width: 576px) {
    .hero-heading {
        font-size: clamp(28px, 8vw, 48px);
        text-align: center;
     
    }

    .powered-by {
        font-size: clamp(14px, 4vw, 18px);
        text-align: center;
    }

    .subtext {
        font-size: clamp(14px, 4vw, 20px);
        text-align: center;
    }

    .description-box {
       
        text-align: center;
    }

    .description-text {
        font-size: clamp(12px, 3.5vw, 16px);
    }

    .read-more-btn {
        font-size: 14px;
        padding: 8px 16px;
    }

    .banner-content {
        padding-left: 20px !important;
        padding-right: 20px !important;
        margin: 0 auto;
    }
}
@media (max-width: 576px) {
    .mobile-vertical-menu .nav-link {
        font-size: 14px;
        padding: 8px 0;
    }

    .mobile-vertical-menu .gradient-border-btn,
    .mobile-vertical-menu .btn-gradient,
    .mobile-vertical-menu .static-border-btn {
        font-size: 13px;
        padding: 6px 12px;
    }

    .mobile-vertical-menu .close-btn {
        font-size: 24px;
    }
}
@media (max-width: 400px) {
    .mobile-vertical-menu .nav-link {
        font-size: 13px;
        padding: 6px 0;
    }

    .mobile-vertical-menu .gradient-border-btn,
    .mobile-vertical-menu .btn-gradient,
    .mobile-vertical-menu .static-border-btn {
        font-size: 12px;
        padding: 5px 10px;
    }

    .mobile-vertical-menu .close-btn {
        font-size: 22px;
    }
}

@media (max-width: 320px) {
    .mobile-vertical-menu .nav-link {
        font-size: 12px;
        padding: 5px 0;
    }

    .mobile-vertical-menu .gradient-border-btn,
    .mobile-vertical-menu .btn-gradient,
    .mobile-vertical-menu .static-border-btn {
        font-size: 11px;
        padding: 4px 8px;
    }

    .mobile-vertical-menu .close-btn {
        font-size: 20px;
    }
}
@media (max-width: 1265px) {
    /* Force hide desktop navbar */
    .navbar-collapse.d-lg-flex {
        display: none !important;
    }

    /* Force show hamburger */
    .navbar-toggler.d-lg-none {
        display: block !important;
    }
}
/* Default sizes */
.stat-icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.stat-label {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
}

.stat-value {
    font-size: 40px;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .responsive-stat-box {
        flex-direction: column !important;
        text-align: center !important;
    }

    .stat-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 8px;
    }

    .stat-label {
        font-size: 16px;
    }

    .stat-value {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .stat-icon {
        width: 50px;
        height: 50px;
    }

    .stat-label {
        font-size: 14px;
    }

    .stat-value {
        font-size: 24px;
    }
}
/* Mission Section */
.mission-section {
    
    padding: 0 15px;
}

.mission-container {
    width: 100%;
    max-width: 80%;
    margin: 0 auto;
}

.mission-top-spacing {
  margin-top: 210px;
}

@media (max-width: 767.98px) {
  .mission-top-spacing {
    margin-top: 20px; /* Adjust as needed for mobile */
  }
}


.responsive-mr {
  margin-right: -110px;
}

@media (max-width: 767.98px) {
  .responsive-mr {
    margin-right: 0 !important;
  }
}

/* Heading */
.mission-heading {
    color: #454444;
     font-family: 'UrduFont', 'Noto Nastaliq Urdu', serif;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.2;
    word-wrap: break-word;
    font-size: clamp(18px, 8vw, 48px);
}

.mission-subtitle {
    color: #454444;
     font-family: 'UrduFont', 'Noto Nastaliq Urdu', serif;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: clamp(16px, 3.5vw, 24px);
}

/* Service Boxes */
.service-boxes-wrapper {
    margin-top: 30px;
}

.service-box {
    background-color: #3F8E94;
    border-radius: 12px;
    padding: 30px;
    max-width: 464px;
    height: 281px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

.box-21 {
    background-color: #333333;
}

.box-31 {
    background-color: #3F8E94;
}

/* Hover effects */
.box-11:hover,
.box-31:hover {
    background-color: #01383C;
}

.box-21:hover {
    background-color: #000000;
}

/* Titles and text with clamp */
.box-title {
     font-family: 'UrduFont', 'Noto Nastaliq Urdu', serif;
    margin-bottom: 10px;
    font-size: clamp(16px, 4vw, 28px);
}

.box-text {
     font-family: 'UrduFont', 'Noto Nastaliq Urdu', serif;
    line-height: 1.6;
    font-size: clamp(14px, 3.5vw, 22px);
}

/* Responsive Layout Adjustments */
@media (max-width: 768px) {
    .mission-container {
      
    }

    .service-box {
        max-width: 100%;
    }
}
/* Flip only for Urdu layout */
.service-boxes-wrapper.flex-row-reverse {
    flex-direction: row-reverse;
    justify-content: start; /* keeps the spacing correct */
}

.rtl .service-box .box-title,
.rtl .service-box .box-text {
    text-align: right;
}

/***********************Lost & Found **********************************/

.nav-btn {
    background-color: #000;
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    z-index: 20;
    opacity: 0.8;
}
.nav-btn:hover {
    background-color: #333;
}

@media (max-width: 768px) {
    .nav-btn {
        display: none;
    }
}

.lost-found-section .btn-outline-primary {
    border-radius: 8px;
    font-weight: 400;
    padding: 8px 24px;
}
.lost-found-btn {
    width: 100px;
  
    color: white;
    border: none;
    font-size: 18px;
    font-family: 'UrduFont', 'Noto Nastaliq Urdu', serif;
    font-weight: 400; /* Regular weight */
    border-radius: 6px;
    transition: all 0.3s ease;
    padding: 0.375rem 0.75rem;
}

.lost-found-btn[data-target="lost"] {
    background: linear-gradient(135deg, #008E8B, #00514F);
}

.lost-found-btn[data-target="found"] {
    background: linear-gradient(135deg, #696969, #353535);
}

.lost-found-btn:hover {
    opacity: 0.9;
}

/* Responsive: full width on very small screens */
@media (max-width: 576px) {
    .lost-found-btn {
        width: 100%;
    }
}
/* Responsive styles for Lost & Found section */
@media (max-width: 991.98px) {
  /* Center Lost/Found toggle buttons */
  .lost-found-section .row.mb-4 .d-flex {
    margin-left: 0 !important;
    justify-content: center;
    flex-wrap: wrap;
  }

  /* Stack image and details vertically in Lost/Found cards */
  .slider-track-lost .d-flex,
  .slider-track-found .d-flex {
    /* flex-direction: column !important; */
    /* align-items: center; */
  }

  .slider-track-lost img,
  .slider-track-found img {
    width: 100% !important;
    height: auto !important;
    max-width: 300px;
  }

  .slider-track-lost ul,
  .slider-track-found ul {
    padding-top: 20px;
    max-width: 100% !important;
    width: 100%;
  }

  /* Stack right side (contact card) under left content */
  .lost-slide > div {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    display: flex;
    justify-content: center;
  }

  .lost-slide .p-4.rounded {
    width: 100% !important;
    max-width: 500px;
    height: auto !important;
    margin-top: 20px;
  }

  /* Center navigation arrows */
  
}

.slider-wrapper {
  width: 530px; /* fixed width for slider wrapper */
  overflow: hidden;
}


.slider-track-lost,
.slider-track-found {
  display: flex;
  transition: transform 0.5s ease;
  width: max-content; /* ensures content stays inline */
}

@media (max-width: 575.98px) {
  /* Slightly reduce padding and font sizes for smallest devices */
  .slider-track-lost .p-4,
  .slider-track-found .p-4 {
    padding: 1rem !important;
  }

  .slider-track-lost h4,
  .slider-track-found h4 {
    font-size: 28px !important;
  }

  .lost-slide .p-4.rounded h4 {
    font-size: 18px !important;
  }

  .lost-slide .p-4.rounded p {
    font-size: 16px !important;
  }

 

  .lost-slide .p-4.rounded .d-flex.align-items-center span {
    font-size: 16px;
  }
}
@media (max-width: 991.98px) {
  /* Stack image and content vertically */
  .slider-track-lost .d-flex {
    /* flex-direction: column !important; */
    align-items: center;
  }

  .slider-track-lost .p-4 {
    min-width: 100% !important;
    height: auto !important;
  }

  .slider-track-lost h4 {
    font-size: 28px !important;
    margin-bottom: 10px;
  }

  .slider-track-lost .my-3 {
    font-size: 16px;
    height: auto !important;
    padding: 10px 0;
  }

  .slider-track-lost img {
    width: 100% !important;
    height: auto !important;
    max-width: 300px;
  }

  .slider-track-lost ul {
    max-width: 100% !important;
    padding-top: 15px;
    width: 100%;
  }

  /* Contact card moves below on smaller screens */
  .lost-slide > div {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    display: flex;
    justify-content: center;
  }

  .lost-slide .p-4.rounded {
    width: 100% !important;
    max-width: 500px;
    height: auto !important;
    margin-top: 20px;
    padding: 1.5rem !important;
  }

  /* Buttons smaller and stacked */
 
  .lost-slide h4,
  .lost-slide p {
    font-size: 18px !important;
  }

  /* Banner text and spacing */
  .slider-track-lost h4.text-center {
    text-align: center;
    margin-top: 10px;
  }

  /* Adjust heading image padding */

}

@media (max-width: 575.98px) {
  .slider-track-lost h4 {
    font-size: 22px !important;
  }

  .slider-track-lost .my-3 {
    font-size: 14px !important;
  }


  .lost-slide .p-4.rounded p {
    font-size: 16px !important;
  }
}
/* Base styling — no fixed width */
/* Base Styles for Buttons */

.responsive-btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  width: 100%;
  height: 67px;
  max-width: 300px;
  font-size: clamp(10px, 4vw, 16px); /* Responsive font size */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  margin: 0 auto; /* center on small screens */
}

.contact-heading-99922 {
  font-size: 22px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.45); /* 0.45 = 45% opacity */

  margin-bottom: 65px;
}


.btn.call {
  background-color: #ED3024;
  color: white;
}

.btn.facebook {
  background-color: #036893;
  color: white;
}

.btn.whatsapp {
  background-color: #09A85E;
  color: white;
}

/* Responsive Container */
@media (max-width: 767.98px) {
  .col-lg-auto.align-self-center > div {
    width: 100% !important;
    height: auto !important;
    padding: 2rem 1rem !important;
    box-sizing: border-box;
  }


  .lost-slide {
    padding: 0 !important;
  }

  .col-lg-auto .img-fluid {
    max-width: 100px;
    height: auto;
  }

  .col-lg-auto h4 {
    font-size: 1rem;
  }

  .col-lg-auto p,
  .col-lg-auto .d-flex span {
    font-size: 0.95rem !important;
  }

  .col-lg-auto .d-flex img {
    width: 22px;
    height: 22px;
  }
}
  @media (max-width: 576px) {
    .lost-found-btn-container {
      margin-left: 0 !important;
      justify-content: center !important;
    }

    .lost-found-btn {
      width: auto !important;
      flex: none !important;
    }
  }




.slide-content {
  flex: 0 0 530px;
  width: 530px;
  box-sizing: border-box;
}
/* Default: Desktop layout */
.slider-wrapper {
  width: 100%;
  max-width: 530px;
  overflow: hidden;
}

.slider-track-lost,
.slider-track-found {
  display: flex;
  transition: transform 0.5s ease;
}

.slide-content {
  flex: 0 0 100%;
  max-width: 100%;
  margin: 0 !important;
  padding: 1rem; /* or what you already use */
  box-sizing: border-box;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .slider-wrapper {
    max-width: 100%;
  }

  .slide-content {
    padding: 1rem;
    height: auto;
  }

  .lost-image {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .detail-wrap ul {
    font-size: 13px !important;
  }

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

  .text-center.my-3 {
    font-size: 14px;
    height: auto;
    padding: 0.5rem;
  }
}

  .lost-image {
    width: 260px;
    max-width: 100%;
      max-height: 300px; /* or any height you prefer */
    height: auto;
    border: 10px solid #ffffff;
    object-fit: contain;
  }

  .image-wrap {
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
  }

  .detail-wrap {
    max-width: 100%;
    padding-top: 10px;
  }

  @media (max-width: 576px) {


    .d-flex.flex-column.flex-md-row {
      flex-direction: column !important;
      align-items: center;
    }

    .image-wrap,
    .detail-wrap {
      width: 100%;
      max-width: none;
    }

    .lost-image {
      width: 100%;
      height: auto;
    }
  }
   .contact-box {
    width: 100%;
    max-width: 500px;
    height: auto;
    background-color: #E0E2D6;
  }

  .contact-box h4 {
    color: rgba(0, 0, 0, 0.45);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
  }

  .contact-box p {
    font-size: 1.2rem;
    color: #848583;
  }

  .contact-box .phone-text {
    font-size: 1rem;
    color: #848583;
  }

  @media (max-width: 576px) {
    .contact-box h4 {
      font-size: 1.2rem;
    }

    .contact-box p {
      font-size: 1rem;
    }

    .contact-box .phone-text {
      font-size: 0.9rem;
    }

    .contact-box img {
      max-height: 50px;
    }
  
  }
 /* Default (Desktop): Position the buttons at left and right sides */
.lost-nav-btn,
.found-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  z-index: 10;
}

/* Responsive behavior (on screens smaller than 768px) */
@media (max-width: 768px) {
  /* Make buttons centered and aligned horizontally */
  .lost-nav-btn,
  .found-nav-btn {
    position: relative;
    top: auto;
    transform: none;
    display: inline-block;
    margin: 0 10px; /* Adjust spacing between buttons */
  }

  /* Adjust button sizes */
  .lost-nav-btn img,
  .found-nav-btn img {
    width: 36px;
    height: 36px;
  }

  /* Place buttons at the bottom and center them horizontally */

  

}



@media (min-width: 576px) {
    .flex-sm-row {
        flex-direction: row !important;
        margin: 16px;
    }
}
.transition-slide {
    transition: transform 0.5s ease;

}
.success-heading {
  font-size: clamp(32px, 6vw, 64px); /* Scales responsively */
  font-weight: 600; /* Semi-bold */
  font-family: 'UrduFont', 'Noto Nastaliq Urdu', serif;
  text-align: center;
  color: #454444;
  margin-bottom: 20px;
  line-height: 1.2;
}

.report-section {
  background-image: url('../images/bg.jpg'); /* Replace with your image path */
  background-size: cover;
  background-position: center;
  padding: 0 15px;
  min-height: 400px;
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.report-heading {
   font-family: 'UrduFont', 'Noto Nastaliq Urdu', serif;
  font-size: clamp(24px, 5vw, 48px);
  font-weight: 600;
  color: white;
}

.report-btn {
  background: linear-gradient(to right, #01B4B0, #0A8D8A);
  color: white;
  font-size: 18px;
  font-weight: 500;
  padding: 12px 30px;
  border-radius: 30px;
  border: none;
  transition: all 0.3s ease;
  text-decoration: none;
}

.report-btn:hover {
  background: linear-gradient(to right, #0A8D8A, #01B4B0);
  text-decoration: none;
}
.footer-section {
  background-color: #282828;
  color: white;
   font-family: 'UrduFont', 'Noto Nastaliq Urdu', serif;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #eaeaea;
  max-width: 380px;
  text-align: justify;
}
@media (max-width: 768px) {
  .footer-desc {
    max-width: 100%;
  }
}
@media (max-width: 576px) {
  .footer-desc {
    max-width: 100%; /* full width on small devices */
    padding: 0 20px; /* more space from edges */
  }
}


.social-icon:hover {
  
  text-decoration: none;
  color: #fff;
}

.move-top {
  z-index: 999;
}
.custom-hr {
  margin: 2rem 0;
  border: none;
  border-top: 1px solid #ccc;
  width: 100vw; /* full screen width */
  margin-left: calc(-50vw + 50%); /* offset to break container limits */
}
.social-icon img {
  transition: transform 0.3s ease;
}

.social-icon:hover img {
  transform: scale(1.1);
}


/*********************************** */
.hero-section-8492 {
  position: relative;
  min-height: 797px;
  overflow: hidden;
  margin-bottom: 40px;
}

.bg-image-container-8492 {
  display: flex;
  justify-content: center;
}

.hero-img-8492 {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
}

.hero-overlay-wrapper-8492 {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1288px;
  background: none;
  bottom: 100px;
}

.overlay-content-8492 {
  background: linear-gradient(to bottom, rgba(36, 34, 34, 0.26), rgba(36, 34, 34, 0.8));
  border-radius: 10px;
  color: #fff;
  min-height: 300px;

  /* Add blur */
  backdrop-filter: blur(8px);         /* For background blur */
  -webkit-backdrop-filter: blur(8px); /* Safari support */
  bottom: 106px;
  position: relative;
}
@media (max-width: 576px) {
  .overlay-content-8492 {
    bottom: 0;
  }
}


.slide-title-8492 {
      font-family: 'UrduFont', 'Noto Nastaliq Urdu', serif;
  font-size: 46px;
  font-weight: bold;
  font-family: 'UrduFont', 'Noto Nastaliq Urdu', serif;
  text-align: center;
  margin-bottom: 20px;

}


.slide-text-8492 {
  font-family: 'UrduFont', 'Noto Nastaliq Urdu', serif;
  font-size: 16px;
  font-family: 'UrduFont', 'Noto Nastaliq Urdu', serif;
  text-align: center;
  color: rgba(255, 255, 255, 0.8); /* 80% opacity white */
  text-align: justify; /* Changed from center to justify */
  line-height: 1.6;
}

.image-gallery-8492 {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: 15px;
  overflow: hidden;
  height: 450px; /* desktop height */
}

.image-thumb-8492 {
  flex: 0 0 292px;
  height: 346px;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.image-thumb-8492.active {
  flex: 0 0 380px;
  height: 450px;
  border: 3px solid #fff;
  z-index: 2;
  border-radius: 20px;
  /* Removed scale to keep exact 380x450 size */
}

.image-thumb-8492 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Base styles already define layout for desktop */
/* Now we add scaling logic for smaller screens */

@media (max-width: 1199.98px) {
  .slide-title-8492 {
    font-size: 64px;
  }

  .slide-text-8492 {
    font-size: 16px;
  }

  .image-thumb-8492 {
    flex: 0 0 240px;
    height: 290px;
  }

  .image-thumb-8492.active {
    flex: 0 0 320px;
    height: 380px;
  }
}

@media (max-width: 991.98px) {
  .slide-title-8492 {
    font-size: 48px;
  }

  .slide-text-8492 {
    font-size: 15px;
  }

  .image-thumb-8492 {
    flex: 0 0 200px;
    height: 260px;
  }

  .image-thumb-8492.active {
    flex: 0 0 280px;
    height: 340px;
  }
}

@media (max-width: 767.98px) {
  .slide-title-8492 {
    font-size: 36px;
  }

  .slide-text-8492 {
    font-size: 14px;
  }

  .image-thumb-8492 {
    flex: 0 0 160px;
    height: 220px;
  }

  .image-thumb-8492.active {
    flex: 0 0 240px;
    height: 300px;
  }
}

@media (max-width: 575.98px) {
  .slide-title-8492 {
    font-size: 28px;
  }

  .slide-text-8492 {
    font-size: 13px;
  }

  .image-thumb-8492 {
    flex: 0 0 140px;
    height: 180px;
  }

  .image-thumb-8492.active {
    flex: 0 0 200px;
    height: 260px;
  }
}
.mt-10 {
    margin-top: 2rem; /* or 100px if you prefer */
}
@media (max-width: 767.98px) {
  .strategy-box {
    height: auto !important;
    flex-direction: column !important;
    text-align: center;
  }

  .strategy-box .circle-icon {
    margin-right: 0 !important;
    margin-bottom: 1rem;
  }

  .strategy-box .text-start {
    text-align: center !important;
  }
}


/********************Our Stagry ******************/
@media (max-width: 767.98px) {
  .strategy-box {
    height: auto !important;
    padding-top: 4rem !important;
  }
}

.responsive-circle .circle-icon {
    width: 90px;
    height: 90px;
    border: 1px solid rgba(0, 0, 0, 0.25);
    border-radius: 50%;
    background-color: #fff;
  }

  .responsive-circle img {
    width: 40px;
    height: 40px;
  }

  .strategy-title {
    color: #3F8E94;

    text-shadow: 0 1px 1px rgba(0,0,0,0.08);
    font-size: 24px;
  }

  .strategy-text {
    font-size: 16px;
    color: #555;
    line-height: 1.4;
    text-align: justify;
    text-shadow: 0 1px 1px rgba(0,0,0,0.05);
  }

  @media (max-width: 576px) {
    .responsive-circle {
      top: -35px !important;
      left: 12px !important;
    }

    .responsive-circle .circle-icon {
      width: 60px;
      height: 60px;
    }

    .responsive-circle img {
      width: 28px;
      height: 28px;
    }

    .strategy-title {
      font-size: 16px;
    }

    .strategy-text {
      font-size: 18px;
    }
  }

  @media (max-width: 400px) {
    .strategy-title {
      font-size: 15px;
    }

    .strategy-text {
      font-size: 12.5px;
    }
  }
  @media (max-width: 1199.98px) {
  .position-absolute.w-100.text-center {
    position: relative !important;
    bottom: auto !important;
    margin-top: 1.5rem;
  }

  .col-md-6 img[alt="Mission Image"] {
    position: static !important;
    margin-top: 1rem;
  }
}

/* Force each slide to take 100% of the wrapper */
.slider-wrapper {
  width: 100%;
  max-width: 530px;
  overflow: hidden;
  margin: 0 auto;
  position: relative;
}

/* Track should only scroll horizontally */
.slider-track-lost,
.slider-track-found {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

/* Each slide */
.slide-content {
  flex: 0 0 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 1rem;
  height: auto;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .slide-content {
    padding: 1rem;
    height: auto;
  }

  .lost-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }

  .slider-track-lost .d-flex.flex-md-row {
    flex-direction: column !important;
    align-items: center;
  }
}

@media (max-width: 576px) {
  .slide-content h4 {
    font-size: 22px !important;
  }

  .slide-content ul {
    font-size: 12px !important;
  }

  .lost-image {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
}

.slider-track-lost .missing-icon {
  position: absolute;
  top: -1.5vw;
  left: -0.5vw;
  width: 8vw !important;
  height: auto !important;
  max-width: 100px;
  z-index: 10;
}

/* For screens below 992px – make icon a bit larger and better placed */
@media (max-width: 991.98px) {
  .slider-track-lost .missing-icon {
    top: -3vw !important;
    left: -1vw !important;
    width: 10vw !important;
    max-width: 90px !important;
  }
}

/* For very small screens */
@media (max-width: 576px) {
  .slider-track-lost .missing-icon {
    top: -5vw;
    left: -2.5vw;
    width: 24vw !important;
    max-width: 80px;
  }
}
.slider-track-found .found-icon {
  position: absolute;
  top: -1.5vw;
  left: -0.5vw;
  width: 8vw !important;
  height: auto !important;
  max-width: 100px;
  z-index: 10;
}

/* For screens below 992px – make icon a bit larger and better placed */
@media (max-width: 991.98px) {
  .slider-track-found .found-icon {
    top: -3vw !important;
    left: -1vw !important;
    width: 10vw !important;
    max-width: 90px !important;
  }
}

/* For very small screens */
@media (max-width: 576px) {
  .slider-track-found .found-icon {
    top: -5vw;
    left: -2.5vw;
    width: 24vw !important;
    max-width: 80px;
  }
}


/******************LOST ITEMS PAGE ********************/
.lost-card {
    width: calc(20% - 16px); /* 5 per row default */
}

@media (max-width: 1400px) {
    .lost-card {
        width: calc(25% - 16px); /* 4 per row */
    }
}

@media (max-width: 1100px) {
    .lost-card {
        width: calc(33.333% - 16px); /* 3 per row */
    }
}

@media (max-width: 768px) {
    .lost-card {
        width: calc(50% - 16px); /* 2 per row */
    }
}

@media (max-width: 500px) {
    .lost-card {
        width: 100%; /* 1 per row */
    }
}

.overlay-5411 {
    position: absolute;
    left: 3px;
    top: 0%;
    transform: translateY(-50%);
    width:67px;
    height: 40px;
    pointer-events: none;
    z-index: 2;
}
 .slide-title-8492, .slide-text-8492 {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  }

  .slide-animate-8492 .slide-title-8492,
  .slide-animate-8492 .slide-text-8492 {
    opacity: 1;
    transform: translateY(0);
  }

  @media (max-width: 767.98px) {
  .image-gallery-8492 {
        align-items: center;
        height: auto;
        flex-wrap: nowrap;
  }
}
.success_banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 300px; /* or 100vh */
  z-index: 0; /* below navbar */
  pointer-events: none; /* allows clicks to go through if needed */
}

.success_banner .banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/*********************** MOdal CSS ********************************/
.modal-content {
            border: none;
            border-radius: 10px !important;
            min-height: 600px;
        }
        
        .volunteer-left {
            background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
            color: white;
            padding: 3rem 2rem;
            position: relative;
            overflow: hidden;
        }
        
        .volunteer-left::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="70" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="70" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
            opacity: 0.3;
        }
        
        .volunteer-content {
            position: relative;
            z-index: 2;
        }
        
        .volunteer-title {
            font-size: 2.5rem;
            font-weight: bold;
            margin-bottom: 1rem;
            line-height: 1.2;
        }
        
        .volunteer-subtitle {
            font-size: 1.1rem;
            opacity: 0.9;
            margin-bottom: 3rem;
        }
        
        .signin-section {
            margin-top: auto;
        }
        
        .signin-text {
            font-size: 1.2rem;
            margin-bottom: 1rem;
        }
        
        .btn-signin {
            background: white;
            color: #2c3e50;
            border: 2px solid white;
            padding: 0.75rem 2rem;
            border-radius: 0.5rem;
            font-weight: 600;
            transition: all 0.3s ease;
        }
        
        .btn-signin:hover {
            background: transparent;
            color: white;
            border-color: white;
        }
        
        .signup-form {
            padding: 2rem;
            background: white;
        }
        
        .form-title {
            font-size: 1.8rem;
            font-weight: bold;
            color: #2c3e50;
            margin-bottom: 1.5rem;
        }
        
        .form-label {
            font-weight: 500;
            color: #16a085;
            margin-bottom: 0.25rem;
            font-size: 0.9rem;
        }
        
        .required-asterisk {
            color: #dc3545;
            margin-left: 2px;
        }
        
        .form-control {
            padding: 0.75rem;
            border: 1px solid #ddd;
            border-radius: 0.375rem;
            font-size: 0.95rem;
        }
        
        .form-control:focus {
            border-color: #16a085;
            box-shadow: 0 0 0 0.2rem rgba(22, 160, 133, 0.25);
        }
        
        .input-group-text {
            background: #f8f9fa;
            border-right: none;
            color: #6c757d;
        }
        
        .phone-input {
            border-left: none;
        }
        
        .password-input-wrapper {
            position: relative;
        }
        
        .password-toggle {
            cursor: pointer;
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            z-index: 10;
            color: #6c757d;
        }
        
        .btn-signup {
            background: #16a085;
            border-color: #16a085;
            color: white;
            padding: 0.75rem;
            border-radius: 0.375rem;
            font-weight: 600;
            font-size: 1rem;
        }
        
        .btn-signup:hover {
            background: #138d75;
            border-color: #138d75;
            color: white;
        }
        
        .text-brand {
            color: #16a085;
        }
        
        .text-danger {
            color: #dc3545;
        }
        
        .form-check-input:checked {
            background-color: #16a085;
            border-color: #16a085;
        }
        
        .modal-lg-custom {
            max-width: 900px;
        }
        
        .close-btn {
            position: absolute;
            top: 1rem;
            right: 1rem;
            z-index: 1000;
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }
        
        .close-btn:hover {
            background: rgba(255, 255, 255, 0.3);
            color: white;
        }

.modal-header {
	border-bottom: none;
	padding-bottom: 0;
}

.brand-logo {

	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-weight: bold;
	font-size: 16px;
	
}

.nav-pills .nav-link {
	background: #f8f9fa;
	color: #6c757d;
	border-radius: 0.5rem;
	margin: 2px;
}

.nav-pills .nav-link.active {
	background: linear-gradient(135deg, #008E8B, #00514F);
	color: white;
	border: none;
	border-radius: 0.375rem;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.btn-primary {
	background: #16a085;
	border-color: #16a085;
}

.btn-primary:hover {
	background: #138d75;
	border-color: #3F8E94;
}

.form-label {
	font-weight: 500;
	color: #3F8E94;
	margin-bottom: 0.25rem;
}

.required-asterisk {
	color: #dc3545;
	margin-left: 2px;
}

.form-control:focus {
	border-color: #16a085;
	box-shadow: 0 0 0 0.2rem rgba(22, 160, 133, 0.25);
}

.input-group-text {
	background: #f8f9fa;
	border-right: none;
}

.phone-input {
	border-left: none;
}

.password-toggle {
	cursor: pointer;
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	color: #6c757d;
}

.password-input-wrapper {
	position: relative;
}

.text-brand {
	color: #0d9488;
}

.text-danger {
	color: #dc3545;
}

.modal-body {
	padding-top: 0;
}

.brand-info p {
	margin: 0;
	font-size: 0.75rem;
	color: #6c757d;
}

@media (min-width: 768px) {
    .modal-lg-custom {
      max-width: 800px; /* You can increase this to 900px or 1000px if needed */
    }
  }

  @media (min-width: 992px) {
    .modal-lg-custom {
      max-width: 900px;
    }
  }

  @media (min-width: 1200px) {
    .modal-lg-custom {
      max-width: 679px;
    }
  }
  /********************Register *************/
   .contact-custom-css {
            display: flex;
            flex-direction: column;
            align-self: center;
        }

        .contact-icon {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            margin: 0 auto 10px auto;
            color: white;
        }

        .contact-icon img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

        .btn-custom-gradient {
            background: linear-gradient(to bottom, #008E8B, #00514F);
            border: none;
            color: white;
        }

        .btn-custom-gradient:hover {
            background: linear-gradient(to bottom, #007370, #003d3b);
            color: white;
        }
        .font15{
            font-size: 15px;
        }

        .modal-content {
            border-radius: 15px;
            border: none;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        }
        
        .btn-close {
            position: absolute;
            top: 15px;
            right: 15px;
            z-index: 1060;
        }
        
        .logo-section {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
        }
        
        .logo-circle {
            width: 32px;
            height: 32px;
            background-color: #3F8E94;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            margin-right: 10px;
        }
        
        .brand-name {
            font-size: 18px;
            font-weight: 600;
            color: #333;
        }
        
        .brand-name .pyara {
            color: #3F8E94;
        }
        
        
        
        .tab-buttons {
            display: flex;
            margin-bottom: 25px;
        }
        
        .tab-btn {
            flex: 1;
            padding: 10px 15px;
            border: none;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .tab-btn.active {
         background: linear-gradient(135deg, #008E8B, #00514F);

            color: white;
        }
        
        .tab-btn:not(.active) {
          background: linear-gradient(135deg, #CDCDCD, #CDCDCD);


            color: #666;
        }
        
        .tab-btn:first-child {
            border-radius: 8px 0 0 8px;
        }
        
        .tab-btn:last-child {
            border-radius: 0 8px 8px 0;
        }
        
        .form-label {
            color: #3F8E94;
            font-weight: 500;
            font-size: 14px;
            margin-bottom: 5px;
        }
        
        .required {
            color: #dc3545;
        }
        
        .form-control {
            border: 1px solid #ddd;
            border-radius: 8px;
            padding: 10px 12px;
            font-size: 14px;
        }
        
        .form-control:focus {
            border-color: #20b2aa;
            box-shadow: 0 0 0 0.2rem rgba(32, 178, 170, 0.25);
        }
        
        .phone-input {
            display: flex;
            align-items: center;
        }
        
        .country-code {
            background-color: #f8f9fa;
            border: 1px solid #ddd;
            border-right: none;
            border-radius: 8px 0 0 8px;
            padding: 10px 12px;
            font-size: 14px;
            color: #666;
        }
        
        .phone-input .form-control {
            border-radius: 0 8px 8px 0;
            border-left: none;
        }
        
        .password-field {
            position: relative;
        }
        
        .password-toggle {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            border: none;
            background: none;
            color: #666;
            cursor: pointer;
        }
        
        .remember-forgot {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 20px 0;
        }
        
        .form-check-input:checked {
            background-color: #20b2aa;
            border-color: #20b2aa;
        }
        
        .forgot-link {
            color: #dc3545;
            text-decoration: none;
            font-size: 14px;
        }
        
.register-btn {
  background: linear-gradient(135deg, #008E8B, #00514F);
  border: none;
  border-radius: 8px;
  padding: 10px 40px;
  font-weight: 500;
  display: block;
  margin: 15px auto; /* Centers button horizontally */
  width: auto; /* No more full width */
  min-width: 200px; /* Optional: ensures decent size */
  transition: background 0.3s ease;
}
        
        .register-btn:hover {
            background-color: #1a9b95;
        }
        
        .signup-link {
            text-align: center;
            font-size: 14px;
            color: #666;
        }
        
        .signup-link a {
            color: #20b2aa;
            text-decoration: none;
        }
        @media (max-width: 1550px) {
  .main-navbar .d-lg-block {
    display: none !important;
  }

  .main-navbar .d-lg-flex {
    display: none !important;
  }

  .main-navbar .d-lg-none {
    display: flex !important;
  }
}

   .custom-close-btn {
            cursor: pointer;
            font-size: 24px;
            color: #6c757d;
        }

        .custom-close-btn:hover {
            color: #000;
        }

        .custom-close-btn::before {
            content: "×";
        }

        @media (max-width: 767px) {
            .modal-dialog {
                
            }
            .modal-body .row {
                flex-direction: column;
            }
            .modal-body .col-md-4,
            .modal-body .col-md-8 {
                width: 100%;
                padding: 10px;
            }
            .modal-body img {
                max-width: 100%;
                height: auto;
            }
        }

        @media (min-width: 768px) and (max-width: 1024px) {
            .modal-dialog {
                max-width: 70%;
            }
            .modal-body .row {
                flex-direction: row;
            }
            .modal-body .col-md-8 {
                width: 60%;
                padding: 10px;
            }
            .modal-body .col-md-4 {
                width: 40%;
                padding: 10px;
            }
            .modal-body img {
                max-width: 100%;
                height: auto;
            }
        }

        @media (min-width: 1025px) {
            .modal-dialog {
                max-width: 50%;
            }
        }





@media (min-width: 340px) and (max-width: 383px) {

  .hero-section {
    height: 600px;
  }

  .info-boxes-wrapper-3433 {  
    gap: 15px;
    padding: 0px 0px;
  }
.xs-gap{
  gap: 30px !important;
}

.xs-mt-10{
  margin-top: -10px;
}

.mission-container{
  max-width: 100%;
}

.mission-top-spacing {
   margin-top: 10px;
  }
.service-boxes-wrapper {
    margin-top: 20px;
}
.col-lg-auto .d-flex img {
        width: auto;
        height: auto;
    }
    .xs-mr-111{
      margin-right: 111px !important;
      margin-top: 25px;
    }
    .xs-mr-38{
      margin-right: 38px !important;
    }

   .xs-background {
     background-color:  #3333335e !important;
    }
}



@media (min-width: 384px) and (max-width: 430px) {

  .hero-section {
    height: 600px;
  }

  .info-boxes-wrapper-3433 {  
    gap: 15px;
    padding: 0px 0px;
  }
.xs-gap{
  gap: 30px !important;
}

.xs-mt-10{
  margin-top: -10px;
}

.mission-container{
  max-width: 100%;
}

.mission-top-spacing {
   margin-top: 10px;
  }
.service-boxes-wrapper {
    margin-top: 20px;
}
.col-lg-auto .d-flex img {
        width: auto;
        height: auto;
    }
   
    .xs-mr-38{
      margin-right: 38px !important;
    }

   .xs-background {
     background-color:  #3333335e !important;
    }
    .sm-custom-style{
      display: flex;
      flex-direction: column;
      align-items: center;

    }
  .xs-mr-111 {
        margin-right: 0 !important;
        margin-bottom: 0px !important;
        margin-top: 17px;
    }
}


@media (min-width: 768px) and (max-width: 819px) {

  .xs-mt-10 {
    margin-top: -10px;
  }

  .mission-container{
  max-width: 100%;
  }

.mission-top-spacing {
   margin-top: 10px;
  }
  .responsive-mr {
    margin-right: auto;
}
.box-title {
     font-family: 'UrduFont', 'Noto Nastaliq Urdu', serif;
    margin-bottom: 10px;
    font-size: clamp(16px, 4vw, 20px);
}
h5.fw-bold.mb-2 {
    text-align: center;
}
}

@media (min-width: 820px) and (max-width: 1000px) {

  .xs-mt-10 {
        margin-top: -10px;
  }

.mission-container{
  max-width: 100%;
}

.mission-top-spacing {
   margin-top: 260px;
  }
  .responsive-mr {
    margin-right: auto;
}
.box-title {
     font-family: 'UrduFont', 'Noto Nastaliq Urdu', serif;
    margin-bottom: 10px;
    font-size: clamp(16px, 4vw, 20px);
}
h5.fw-bold.mb-2 {
    text-align: center;
}
}

@media (min-width: 769px) and (max-width: 860px) {
.social-banner-box-3433 { 
  top: 32% !important;
}

}
@media (min-width: 910px) and (max-width: 980px) {
.social-banner-box-3433 { 
  top: 28% !important;
}

}


@media (min-width: 1024px) and (max-width: 1100px) {
.social-banner-box-3433 { 
  top: 390px !important;
}

}

@media (min-width: 1250px) and (max-width: 1350px) {
.social-banner-box-3433 { 
  top: 50% !important;
}

}
@media  (max-width: 450px) {

.xs-style-searchh-h2{
text-align: center;   
}

.xs-justify-center{
  justify-content: center;
}
}

@media (max-width: 575.98px) {
    .success_banner {
        top: 0px;
        height: 40vh !important;
    }
}

@media (min-width: 350px) and (max-width: 410px) {
    .success-banner-spacer {
        height: 190px !important;
    }
}
@media (min-width: 760px) and (max-width: 800px) {
    .success-banner-spacer {
        height: 318px !important;
    }
}
@media (min-width: 1020px) and (max-width: 1050px) {
    .success-banner-spacer {
        height: 650px !important;
    }
}

@media (min-width: 520px) and (max-width: 550px) {
    .success-banner-spacer {
        height: 183px !important;
    }
}

@media (min-width: 840px) and (max-width: 900px) {
.success_banner {
    height: 42vh !important;
}}
@media (min-width: 910px) and (max-width: 1000px) {
.success_banner {
    height: 41% !important;
}}
@media (min-width: 1020px) and (max-width: 1100px) {
.success_banner {
    height: 51% !important;
}

.success-banner-spacer {
        height: 448px !important;
    }
}
/* @media (max-width: 575.98px) {
    .success-banner-spacer {
        height: 220px !important;
    }
}
@media (max-width: 991.98px) {
    .success_banner {
        top: -90px;
        height: 50vh !important;
    }
} */


/* .success_banner {} */


@media (min-width: 360px) and (max-width: 820px) {



      .slider-track-lost .d-flex {
        /* flex-direction: row !important; */
        align-items: start;
      }
      
      
      .flex-direction-column{
  flex-direction: row !important;


}}


.hero-text {
  text-align: center;
  max-width: 1200px; /* keeps text from being too wide */
  margin: 0 auto;
  padding: 20px;
}

.help-heading {
  font-family: 'UrduFont', 'Noto Nastaliq Urdu', serif;
  font-weight: 600;
  font-size: clamp(32px, 5vw, 45px);
  line-height: 1.2;
  margin-bottom: 20px;
  color: #222;
}

.sub-heading {
  font-family: 'UrduFont', 'Noto Nastaliq Urdu', serif;
  font-weight: 500;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.5;
  margin: 8px 0;
  color: #444;
}
.responsive-logo-44433 {
  max-width: 360px; /* Default for large screens */
  height: auto;
}

@media (max-width: 767.98px) { /* Mobile screens */
  .responsive-logo-44433 {
    max-width: 200px; /* Mobile size */
  }
}
@media (max-width: 300px) {
    /* Lost Card Container */
    .lost-card {
        width: 90% !important; /* make it fit smaller screens */
        padding: 8px !important;
    }

    /* Heading */
    .lost-card h4 {
        font-size: 14px !important;
        margin-bottom: 4px !important;
    }

    /* Banner */
    .lost-card > div[style*="background-color: #696161"] {
        font-size: 10px !important;
        height: 25px !important;
    }

    /* Image Container */
    .lost-card .position-relative {
        max-width: 90px !important;
        max-height: 110px !important;
    }
    .lost-card .position-relative img:first-child {
        width: 90px !important;
        max-height: 120px !important;
        border-width: 2px !important;
    }

    /* Text Column */
    .lost-card .d-flex.flex-column {
        max-width: 90px !important;
        padding-left: 3px !important;
        font-size: 9px !important;
    }
    .lost-card .d-flex.flex-column div {
        line-height: 1.4 !important;
    }

    /* Details Button */
    .lost-card .details-btn {
        font-size: 10px !important;
        padding: 3px 6px !important;
    }

    /* Footer Image */
    .lost-card img[alt="Footer Image"] {
        max-height: 35px !important;
    }

    /* Adjust gap between image and text */
    .lost-card .d-flex.mb-2.w-100 {
        gap: 4px !important;
    }
}
   @media (max-width: 250px) {
      #phoneNumber::placeholder {
            font-size: 0.6rem; /* smaller placeholder text */
        }
        #password::placeholder {
            font-size: 0.6rem; /* smaller placeholder text for password */
        }





    }
    @media (max-width: 300px) {

    /* Container shrink */
    .lost-card {
        width: 90% !important;
        padding: 6px !important;
    }

    /* Heading */
    .lost-card h4 {
        font-size: 12px !important;
        margin-bottom: 4px !important;
    }

    /* Banner */
    .lost-card > div[style*="background-color: #696161"] {
        font-size: 10px !important;
        height: 22px !important;
    }

    /* Image container */
    .lost-card .position-relative {
        max-width: 70% !important;
        max-height: auto !important;
    }

    /* Main image */
    .lost-card .position-relative img:first-child {
        width: 100% !important;
        height: auto !important;
        border-width: 2px !important;
    }

    /* Overlay image */
    .lost-card .position-relative img.overlay-5411 {
        width: 100% !important;
        height: auto !important;
    }

    /* Text Column */
    .lost-card .d-flex.flex-column {
        max-width: 70% !important;
        padding-left: 3px !important;
        font-size: 9px !important;
        line-height: 1.4 !important;
    }
    .lost-card .d-flex.flex-column div {
        line-height: 1.4 !important;
    }

    /* Details Button */
    .lost-card .details-btn {
        font-size: 10px !important;
        padding: 3px 6px !important;
    }

    /* Footer image */
    .lost-card img[alt="Footer Image"] {
        max-width: 100% !important;
        height: auto !important;
    }

    /* Adjust gap between image and text */
    .lost-card .d-flex.mb-2.w-100 {
        gap: 4px !important;
    }
}
/* === Select2: match Bootstrap form-select look === */
.select2-container--default .select2-selection--single {
  background-color: #F0FAFF !important;
  border: 1px solid #757575 !important;
  border-radius: 6px !important;
  height: 42px !important;
  padding: 0 10px !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
}

/* Selected text inside box */
.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 40px !important;
  color: #6c757d !important; /* ✅ text color */
  font-size: 14px !important; /* ✅ font size */
  padding-left: 6px !important;
}

/* Placeholder style */
.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #6c757d !important;
  font-size: 14px !important;
}

/* Dropdown arrow (custom SVG) */
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 42px !important;
  width: 30px !important;
  position: absolute !important;
  top: 0;
  right: 8px;
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") no-repeat center center !important;
  background-size: 12px 12px !important;
  pointer-events: none !important;
}

/* Hide the default b arrow */
.select2-container--default .select2-selection--single .select2-selection__arrow b {
  display: none !important;
}

/* Dropdown panel */
.select2-container .select2-dropdown {
  background-color: #F0FAFF !important; /* ✅ dropdown bg */
  border-radius: 6px !important;
  border: 1px solid #757575 !important;
}

/* Dropdown items */
.select2-container--default .select2-results__option {
  color: #6c757d !important; /* ✅ dropdown text color */
  font-size: 14px !important; /* ✅ font size */
  background-color: #F0FAFF !important; /* ✅ dropdown bg */
}

/* Hovered/Highlighted dropdown item (keep same color) */
.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #e4f2ff !important;
  color: #6c757d !important; /* ✅ same text color on hover */
}

/* Search box inside dropdown */
.select2-container--default .select2-search--dropdown .select2-search__field {
  background: #ffffff !important;
  border: 1px solid #e6e6e6 !important;
  height: 36px !important;
  padding: 6px 8px !important;
  border-radius: 4px !important;
  box-shadow: none !important;
}

/* Responsive */
@media (max-width: 576px) {
  .select2-container--default .select2-selection--single,
  .select2-container--default .select2-selection--single .select2-selection__rendered {
    height: 44px !important;
    line-height: 44px !important;
  }
}

/* Align the clear (×) button perfectly */
.select2-container--default .select2-selection--single .select2-selection__clear {
  position: absolute !important;
  right: 180px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: bold;
  font-size: 16px;
  color: #666;
  cursor: pointer;
  padding: 0;
  margin: 0;
  line-height: 1;
}
.select2-container--default .select2-selection--single .select2-selection__clear:hover {
  color: #000;
}



#appPromoModal .modal-content {
  background: #F9FCFF;
  border: 1px solid #e1e1e1;
}

#appPromoModal img {
  transition: transform 0.3s ease;
}

#appPromoModal img:hover {
  transform: scale(1.03);
}
.vc-child-safety-title {
    font-size: 18px; /* Default for very small screens */
}

/* Small devices (≥576px) */
@media (min-width: 576px) {
    .vc-child-safety-title {
        font-size: 22px;
    }
}

/* Medium devices (≥768px) */
@media (min-width: 768px) {
    .vc-child-safety-title {
        font-size: 26px;
    }
}

/* Large devices (≥992px) */
@media (min-width: 992px) {
    .vc-child-safety-title {
        font-size: 29px;
    }
}

/* Extra large devices (≥1200px) */
@media (min-width: 1200px) {
    .vc-child-safety-title {
        font-size: 29px;
    }
}
/* ================================
   Urdu Hero – Column width control
================================ */

/* Tablets & small laptops */
@media (max-width: 768px) {
    .hero-section.hero-ur .banner-content {
        width: 90% !important;
        max-width: 90% !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }
}

/* Mobile phones */
@media (max-width: 576px) {
    .hero-section.hero-ur .banner-content {
        width: 80% !important;
        max-width: 80% !important;
    }
}

/* Small phones (iPhone SE, Android small) */
@media (max-width: 375px) {
    .hero-section.hero-ur .banner-content {
        width: 85% !important;   /* slightly wider for readability */
        max-width: 85% !important;
    }
}

/* Ultra small devices (≤ 320px / fold phones) */
@media (max-width: 320px) {
    .hero-section.hero-ur .banner-content {
        width: 90% !important;
        max-width: 90% !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}
/* ================================
   Urdu Hero Divider – Responsive
================================ */

/* Default (desktop) */
.hero-section.hero-ur .divider-line {
    width: 50%;
}

/* Tablets */
@media (max-width: 768px) {
    .hero-section.hero-ur .divider-line {
        width: 40%;
        margin-left: 0;
    }
}

/* Mobile phones */
@media (max-width: 576px) {
    .hero-section.hero-ur .divider-line {
        width: 90%;
    }
}

/* Small phones */
@media (max-width: 375px) {
    .hero-section.hero-ur .divider-line {
        width: 85%;
    }
}

/* Ultra-small devices */
@media (max-width: 320px) {
    .hero-section.hero-ur .divider-line {
        width: 95%;
    }
}



/* ===============================
   ABOUT SECTION – URDU RTL FLIP
================================ */

.about-rtl {
    direction: rtl;
    text-align: right;
    font-family: 'UrduFont', 'Noto Nastaliq Urdu', serif;
}

/* 🔁 MAIN COLUMN FLIP */
.about-rtl > .col-xl-11 > .row {
    flex-direction: row-reverse;
}

/* 🔁 Inner row flip (Vision / Mission blocks) */
.about-rtl .row.align-items-start {
    flex-direction: row-reverse;
}

/* 🔁 Icon + heading alignment */
.about-rtl .row.align-items-center {
    flex-direction: row-reverse;
}

/* Fix spacing after flip */
.about-rtl .ps-3,
.about-rtl .ps-4,
.about-rtl .ps-md-3 {
    padding-left: 0 !important;
    padding-right: 1rem !important;
}

.about-rtl .ms-2,
.about-rtl .ms-3,
.about-rtl .ms-lg-3 {
    margin-left: 0 !important;
    margin-right: 0.75rem !important;
}

/* Text alignment */
.about-rtl p,
.about-rtl h5 {
    text-align: justify;
}

/* 🔁 Decorative images (lines etc.) */
.about-rtl img[alt="Line2 Image"] {
    right: auto !important;
    left: 45px !important;
}

/* Mission image positioning fix */
.about-rtl img[alt="Mission Image"] {
    left: auto !important;
    right: 0 !important;
}

/* Bottom absolute image */
.about-rtl .position-absolute.w-100 {
    left: auto !important;
    right: 0 !important;
}

/* ===============================
   MOBILE SAFE GUARDS
================================ */
@media (max-width: 767.98px) {
    .about-rtl .row {
        flex-direction: column !important;
        text-align: right;
    }
}
.mp-lang-switch-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mp-lang-switch-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mp-lang-switch-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(0, 0, 0, 0.15);
    border-top: 4px solid #00A7A5; /* your theme color */
    border-radius: 50%;
    animation: mpLangSpin 0.8s linear infinite;
}

@keyframes mpLangSpin {
    100% {
        transform: rotate(360deg);
    }
}