@import url(about.css);
@import url(buttons.css);
@import url(colors.css);
@import url(destination-about.css);
@import url(destination.css);
@import url(footer.css);
@import url(header.css);
@import url(layout.css);
@import url(services.css);

/** Gallery Filter **/
/* .filter-scroll {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0.5rem;
    gap: 0.75rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
} */

/* wrapper just for positioning nav if needed later */
.filter-scroll-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

/* horizontal scroll, one line */
.filter-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 8px 48px; /* space for arrows */
  width: 100%;
}

/* hide scrollbar (optional) */
.filter-scroll::-webkit-scrollbar {
  display: none;
}
.filter-scroll {
  -ms-overflow-style: none;  /* IE/Edge */
  scrollbar-width: none;     /* Firefox */
}

/* make sure pills don’t wrap text onto next line */
.filter-scroll .btn.filter-outline {
  white-space: nowrap;
}

/* arrows like circular nav buttons */
.filter-arrow {
  position: absolute;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background-color: #006f7a; /* adjust to your theme */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  font-size: 18px;
}

.filter-arrow-left {
  left: 0;
}

.filter-arrow-right {
  right: 0;
}





/* Prevent shrinking */
.filter-scroll .btn {
    flex-shrink: 0;
}

/* Hide scrollbar in WebKit browsers */
.filter-scroll::-webkit-scrollbar {
    display: none;
}

/* Show edge fade effect */
.filter-scroll {
    mask-image: linear-gradient(to right, transparent 0, black 20px, black calc(100% - 20px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, black 20px, black calc(100% - 20px), transparent 100%);
}

  
/** Misc CSS **/
.center-block-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: -2%;
    margin-bottom: 2%;
}

.filter-outline {
    background-color: var(--secondary);
    border-radius: 60px;
}

.btn.filter-outline.active {
    background-color: var(--title-text-primary);
    color: var(--white);
}

.btn.filter-outline:hover {
    background-color: var(--title-text-primary);
    color: var(--white);
}

.gallery-item {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-item.hide {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
    position: absolute;
}

.gallery-img {
    width: 100%;
    height: 400px; /* or any consistent value */
    object-fit: cover;
    border-radius: 10px;
}

.card-img-top {
    height: 300px;
    object-fit: cover;
}

/* .btn-teal {
    background-color: #004d4d;
    color: white;
    width: 48px;
    height: 44px;
} */

.btn-teal {
    background-color: var(--title-text-primary);
    color: var(--white);
    border: none;
}

.btn-teal:hover {
    background-color: var(--hover);
    color: var(--white);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
}
  
.carousel-arrow.left {
    left: 8px; /* adjust inward/outward */
}
  
.carousel-arrow.right {
    right: 8px;
}

.bi-arrow-left::before, .bi-arrow-right::before {
    margin-top: 5px;
}
  
.testimonial-item-owl img {
    height: 280px;
    object-fit: cover;
    width: 100%;
}

.testimonial-item-owl  p {
    font-size: 20px;
}

@media (max-width: 768px) {
    #testimonial-carousel .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/** Contact Us **/
.locations .location-link {
    background-color: var(--title-text-primary);
    height: 105px;
    border: 3px solid var(--primary) !important;
}
.locations .location-link h3 {
    color: var(--white);
}

.locations .bi.bi-arrow-up-right-circle-fill {
    color: var(--secondary);
}

.locations .bi-arrow-up-right-circle-fill::before {
    font-size: 30px;
}

@media screen and (max-width: 1023px) {
    .contact-block {
        margin-top: 130%;
    }
}

/* Fix for small devices */
@media (min-width: 1024px) {
    .contact-wrapper {
        margin-top: -50%;
        margin-bottom: 24%;
    }
}

@media (min-width: 1024px) and (max-width:1366px) {
    .contact-wrapper {
        margin-bottom: 14vi !important;
    }

    .locations .location-link {
        height: 124px;
    }
}

.map-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 600px;
    overflow: hidden;
    margin: 0 auto;
}
  
.map-image {
    position: absolute;
    top: -160px;    
    left: -200px;   
    width: 160%;    
    height: auto;
}
  
/* Marker container */
.map-marker {
    position: absolute;
    text-align: center;
    transform: translate(-50%, -100%);
}
  
/* Label style */
.map-marker span {
    background: #f6f1e7;
    color: var(--primary);
    padding: 2px 14px;
    border-radius: 18px;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    position: relative;
}
  
/* Speech bubble triangle */
.map-marker span::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px 6px 0 6px;
    border-style: solid;
    border-color: #f6f1e7 transparent transparent transparent;
}
  
/* Dot under the triangle */
.map-marker::after {
    content: "";
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: #8C6408;
    border: 2px solid #fff;
    border-radius: 50%;
    z-index: 2;
}

/* Pulse effect — does NOT interfere with the existing dot */
.map-marker::before {
    content: "";
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translate(-50%, 0) scale(1);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #dcc04b;
    animation: pulseGlow 1.8s ease-out infinite;
    z-index: 1; /* stays behind the solid dot */
}

.map-marker-inverted::before {
    content: "";
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translate(-50%, 0) scale(1);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #dcc04b;
    animation: pulseGlow 1.8s ease-out infinite;
    z-index: 1; /* stays behind the solid dot */
}

@keyframes pulseGlow {
    0% {
        transform: translate(-50%, 0) scale(1);
        opacity: 0.9;
    }
    70% {
        transform: translate(-50%, 0) scale(2.2);
        opacity: 0.2;
    }
    100% {
        transform: translate(-50%, 0) scale(2.4);
        opacity: 0;
    }
}


/* Inverted marker (dot above, label below) */
.map-marker-inverted {
    transform: translate(-50%, 0); /* adjust for below placement */
}
  
.map-marker-inverted span::after {
    top: -6px;
    bottom: auto;
    border-width: 0 6px 6px 6px;
    border-color: transparent transparent #f6f1e7 transparent;
}
  
.map-marker-inverted::after {
    top: -20px;
    bottom: auto;
}

@media screen and (max-width: 767px) {
    .map-container {
        background: url('assets/discover-destination.png') no-repeat center;
        background-size: contain; /* or cover */
        position: relative;
        aspect-ratio: 3/2;
        /* max-height: 500px;   
        overflow: visible;   */
    }
      
    .map-image {
        top: -160px;
        left: -200px;
        width: 864px;
    }
      
    .map-container .map-marker:nth-child(2) {
        top: 64px !important;
        left: 24px !important;
    }
    .map-container .map-marker:nth-child(3) {
        top: 157px !important;
        left: 184px !important;
    }
    .map-container .map-marker:nth-child(4) {
        top: 98px !important;
        left: 224px !important;
    }
    .map-container .map-marker:nth-child(5) {
        top: 139px !important;
        left: 238px !important;
    }
    .map-container .map-marker:nth-child(6) {
        top: 51px !important;
        left: 254px !important;
    }
    .map-container .map-marker:nth-child(7) {
        top: 93px !important;
        left: 315px !important;
    }
    .map-container .map-marker:nth-child(8) {
        top: 201px !important;
        left: 301px !important;
    }
    .map-container .map-marker:nth-child(9) {
        top: 246px !important;
        left: 317px !important;
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .map-container {
        background: url('assets/discover-destination.png') no-repeat center;
        background-size: contain; /* or cover */
        position: relative;
        aspect-ratio: 3/2;
    } 
    .map-image {
        top: -160px;
        left: -200px;
        width: 1162px;
    }
    .map-container .map-marker:nth-child(2) {
        top: 151px !important;
        left: 95px !important;
    }
    .map-container .map-marker:nth-child(3) {
        top: 269px !important;
        left: 312px !important;
    }
    .map-container .map-marker:nth-child(4) {
        top: 194px !important;
        left: 372px !important;
    }
    .map-container .map-marker:nth-child(5) {
        top: 238px !important;
        left: 389px !important;
    }
    .map-container .map-marker:nth-child(6) {
        top: 136px !important;
        left: 400px !important;
    }
    .map-container .map-marker:nth-child(7) {
        top: 190px !important;
        left: 494px !important;
    }
    .map-container .map-marker:nth-child(8) {
        top: 340px !important;
        left: 479px !important;
    }
    .map-container .map-marker:nth-child(9) {
        top: 383px !important;
        left: 513px !important;
    }    
}

/** Map location hover card **/
/* Tooltip Card */
.location-tooltip {
    position: absolute;
    display: none;
    background: #e8e6db;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 300px;
    z-index: 1000;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.location-tooltip.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Arrow (default pointing down from card to marker) */
.location-tooltip::after {
    content: "";
    position: absolute;
    border-style: solid;
    left: var(--arrow-position, 50%);
    transform: translateX(-50%);
}

/* Arrow styles for top/bottom placement */
.location-tooltip.top::after {
    bottom: -12px;
    border-width: 12px 12px 0 12px;
    border-color: #e8e6db transparent transparent transparent;
}

.location-tooltip.bottom::after {
    top: -12px;
    border-width: 0 12px 12px 12px;
    border-color: transparent transparent #e8e6db transparent;
}

/* Close button */
.tooltip-close {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 20px;
    cursor: pointer;
    color: #444;
}

.tooltip-title {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.tooltip-content p {
    margin: 5px 0;
}

#destinationTooltipContent li {
    font-size: 16px !important;
    margin-bottom: 2px !important;
}

#destinationTooltipContent li>a {
    text-decoration: underline;
    color: var(--primary);
}
  

/** Bookings **/
.booking-details-table {
    border-collapse: separate;
    border-spacing: 0;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    font-family: ElMessiri;
}
.booking-details-table .heading th {
    background-color: var(--title-text-primary) !important;
    color: var(--secondary);
}
.booking-details-table th {
    font-weight: 600;
    padding: 12px;
    font-size: 20px;
}
.booking-details-table td {
    background-color: var(--secondary);
    padding: 12px;
    font-size: 20px;
}
.booking-details-table tbody tr:nth-child(even) td {
    background-color: var(--tertiary);
}
.booking-details-table td,
.booking-details-table th {
    border: none;
}

/* Progress Tracker */
.progress-tracker {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    background-color: var(--secondary);
    height: auto;
    margin-top: -2%;
    border-bottom-right-radius: 12px;
    border-bottom-left-radius: 12px;
}
.progress-tracker .step {
    position: relative;
    text-align: center;
    flex: 1;
}
.progress-tracker .circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--title-text-primary);
    margin: 0 auto 8px;
    /* background: #fff; */
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--title-text-primary);
}
.progress-tracker .warning .circle {
    background: url(../assets/warning-progress-tracker.png) no-repeat center center;
    z-index: 2;
    background-size: 60%;   /* adjust size */
    background-color: #fff;
    border: 2px solid var(--warning) !important;
}
.progress-tracker .step.completed .circle {
    background: var(--title-text-primary);
    color: #fff;
}
.progress-tracker .step.completed .circle i {
    font-size: 42px;
    color: #fff;
}
.progress-tracker .step.active .circle {
    background: var(--title-text-primary);
    border: 16px solid var(--white);
}

.progress-tracker .step::after {
    content: "";
    position: absolute;
    top: 22px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #0E4653;
    z-index: 1;
}
.progress-tracker .step:last-child::after {
    display: none;
}
.btn-cta-pay {
    border-radius: 50px;
    background-color: var(--primary);
    color: var(--white);
}

.btn-cta-details {
    border-radius: 50px;
    background-color: var(--secondary);
    color: var(--primary);
    border-color: var(--primary);
}

@media screen and (max-width: 1023px) {
    .progress-wrapper {
        width: 100%;
        overflow-x: auto;      /* enable horizontal scroll */
        overflow-y: hidden;    /* hide vertical scroll */
        scrollbar-color: #ff9800 #f1f1f1; /* Firefox scrollbar */
        scrollbar-width: thin;
        margin-top: -26px;
    }
    
    /* Webkit scrollbar (Chrome, Safari, Edge) */
    .progress-wrapper::-webkit-scrollbar {
        height: 8px; /* horizontal scrollbar height */
    }
    
    .progress-wrapper::-webkit-scrollbar-track {
        background: #f1f1f1;   /* light track */
        border-radius: 4px;
    }
    
    .progress-wrapper::-webkit-scrollbar-thumb {
        background: linear-gradient(90deg, #ff9800, #ff5722);
        border-radius: 4px;
    }
    
    .progress-wrapper::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(90deg, #ff5722, #e91e63);
    }
    
    .progress-tracker {
        width: 160%; /* more than 100% */
        min-width: 800px; /* ensures it always scrolls */
    }
      
    .booking-details-table th {
        font-size: 18px !important;
    }

    .booking-details-table tr, .booking-details-table td , .booking-details-table .btn{
        font-size: 16px !important;
    }

    .booking-details-table .btn{
        width: 154px;
        height: 50px;
    }
}

/** Documents CSS **/
.your-uploads {
    background-color: var(--footer-color);
    padding: 60px;
    color: white;
    margin-left: -50px;
    margin-right: -50px;
}

.instructions-block, .instructions-block .alert, .your-uploads .alert {
    background-color: var(--secondary) !important;
    border-radius: 10px;
}

.upload-box {
    border: 2px dashed #004d4d; /* Teal color like your screenshot */
    background-color: rgba(0, 77, 77, 0.2);
    border-radius: 5px;
    padding: 40px 20px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.upload-box i {
    color: #004d4d;
    margin-bottom: 10px;
}
.upload-box p {
    margin: 0;
    font-size: 0.95rem;
}
.upload-box a {
    font-weight: bold;
    color: #004d4d;
    text-decoration: underline;
}

.announcement-card .card-body {
    background-color: var(--secondary) !important;
    border-radius: 20px;
    height: 200px;
    padding: 40px !important;
    border-bottom: 16px solid var(--title-text-primary);
}

@media screen and (max-width: 1023px) {
    .your-uploads {
        margin-left: -20px;
        margin-right: -20px;
    }
    .table-hint {
        font-family: ElMessiri;
        font-size: 14px;
        text-align: center;
        color: var(--primary);
        margin-bottom: 5px;
    }  
}

@media (min-width: 1024px) and (max-width: 1366px) {
    .booking-details-table .btn {
        width: 200px;
        height: 50px;
    }
}

@media screen and (min-width: 1366px) {
    .table-hint {
        display: none;
    }  
}

/** Qardan Hasana Edit Form CSS Starts Here **/
.qardan-details h1, .qardan-details h2, .qardan-details h3, .qardan-details h4, .qardan-details h5, .qardan-details-dahsboard h1, .qardan-details-dahsboard h2, .qardan-details-dahsboard h3, .qardan-details-dahsboard h4, .qardan-details-dahsboard h5 {
    color: var(--title-text-primary);
}

.user-details-left {
    border-radius: 20px;
}

.qardan-details h5, .qardan-details p, .qardan-details-dahsboard h5, .qardan-details-dahsboard p {
    color: var(--secondary);
}

.qardan-details label {
    font-size: 20px;
}

.qardan-details button[type="submit"], .qardan-details-dahsboard button[type="submit"] {
    width: 220px;
    margin: 0 auto;
    background-color: var(--title-text-primary);
    color: var(--secondary);
    border-radius: 50px;
}

.btn-color-secondary {
    background-color: var(--title-text-primary);
    color: var(--secondary);
}

.btn-color-secondary:hover {
    background-color: var(--secondary);
    color: var(--title-text-primary);
}

.btn-warning:hover {
    background-color: var(--secondary) !important;
    color: var(--primary) !important;
}

.btn-clear {
    width: 220px;
    margin: 0 auto;
    border-radius: 50px;
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-deny {
    width: 220px;
    margin: 0 auto;
    border-radius: 50px;
    background-color: var(--primary);
    color: var(--secondary);
}

.btn-edit-form {
    width: 220px;
    margin: 0 auto;
    border-radius: 50px;
    background-color: var(--button-secondary);
    color: var(--secondary);
}

.qardan-details-dahsboard  button.btn.btn-success.btn-qardan-save {
    background-color: var(--primary);
}

.user-details-left {
    background: linear-gradient(149.13deg, #0E4653 40.11%, #31ACC8 99.47%);
}

.left-sidebar-vectors {
    width: auto;
    height: auto;
}

.text-start h5 {
    display: flex;
}

.profile-details-split { 
    position: relative; 
}

/* The vertical line with soft fade at top & bottom */
.golden-separator {
    width: 100%;
    height: 2px;
    margin: 1.5rem 0;
    background: radial-gradient(50% 50% at 50% 50%, #E9E6D7 0%, rgba(240, 152, 37, 0) 100%);
}

.blue-separator {
    width: 100%;
    height: 2px;
    margin: 1.5rem 0;
    background: radial-gradient(50% 50% at 50% 50%, #0E4653 0%, rgba(14, 70, 83, 0.02) 100%);
}

.right-col .card {
    background-color: var(--secondary);
    border-radius: 20px;
}

.right-col input::placeholder, .right-col textarea::placeholder, .registration-details-section input::placeholder, #uploadDoc input::placeholder {
    color: var(--white) !important;
}

.right-col h4, .right-col label {
    color: var(--title-text-primary);
}

.right-col input, #uploadDoc input, input#instructionsCheck {
    color: var(--white);
    background-color: var(--title-text-primary);
    padding: 2%;
    border: 1.5px solid var(--primary);
    border-radius: 10px;
}

input#instructionsCheck {
    width: 20px;
    height: 20px;
    border-radius: 5px;
}

.right-col textarea, #uploadDoc textarea {
    color: var(--white);
    background-color: var(--title-text-primary);
    width: 100%;
    border-radius: 10px;
    padding: 2%;
    border: 1.5px solid var(--primary);
} 

.right-col .text-danger {
    color: var(--warning) !important;
}

.right-col input.form-check-input {
    padding: 1%;
}

.cord-details {
    padding: 3%;
    text-align: center;
    background-color: var(--title-text-primary);
    border: 1.5px solid var(--primary);
    border-radius: 10px;
}

.qardan-details-dahsboard select, #uploadDoc select {
    width: 100%;
    padding: 1%;
    background-color: var(--title-text-primary);
    border: 1.5px solid var(--primary);
    border-radius: 10px;
    color: var(--white);
    font-family: ElMessiri;
}

#uploadDoc select {
    padding: 2% !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='white' d='M7.247 11.14l-4.796-5.481c-.566-.647-.106-1.659.753-1.659h9.592c.86 0 1.319 1.012.753 1.659l-4.796 5.48c-.406.46-1.1.46-1.506 0z'/%3e%3c/svg%3e"); 
}

.add-its-panel input, .add-its-panel select, .booking-details-table select {
    height: 42px;
}

.qardan-details-dahsboard .progress-tracker {
    margin-top: unset !important;
}

.qardan-details-dahsboard .progress-wrapper {
    background-color: var(--secondary);
}

.upload-instructions>li {
    padding-left: 10px;
}

.application-status-top, .pattern-div, .qardan-edit-section {
    background-color: var(--secondary);
}

.application-status-top {
    margin-bottom: unset !important;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.qardan-edit-section {
    margin-top: -24px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

#videoModal .modal-content, #uploadDoc .modal-content, #uploadDocView .modal-content {
    background-color: var(--secondary);
    border-radius: 30px !important;
}

/* Custom circular close button */
.btn-close-custom {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    background-color: #0d525b;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;       /* remove extra padding */
    line-height: 0;   /* prevent misalignment */
}


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

.booking-details-table.add-its-fhno td {
    background-color: var(--tertiary);
}

.btn.add-its-fhno-btn {
    background-color: var(--primary);
    border-color: var(--title-text-primary);
    color: var(--white);
    border-radius: 50px;
    width: 120px;
}

.btn.add-its-fhno-btn:hover {
    background-color: var(--secondary);
    border-color: var(--title-text-primary);
    color: var(--title-text-primary);
}

.btn.edit-row, .btn.delete-row {
    border-radius: 50px;
    width: 100px;
}

#editModal .btn, #deleteModal .btn {
    border-radius: 50px;
}


#editModal .modal-header {
    background-color: var(--title-text-primary);
    color: var(--secondary);
}


@media screen and (max-width: 1023px) {
    .qardan-details-dahsboard .progress-wrapper {
        margin-top: -2px;
    }

    .qardan-details-dahsboard .btn-clear {
        margin-top: 20px;
    }

}
/** Qardan Hasana Edit Form CSS Ends Here **/

/** Haj Registration CSS **/
.haj-registration-details .section-left {
    position: relative;
    padding: 20px;
}

.haj-registration-details h1 {
    color: var(--title-text-primary);
}

.registration-details-section, .passport-details-section {
    background-color: var(--secondary);
    border-radius: 30px;
}

.btn-save {
    background-color: var(--primary);
    color: var(--secondary);
    width: 160px;
    border-radius: 50px;
}

.registration-details-section .booking-details-table td, .passport-details-section .booking-details-table td {
    background-color: var(--tertiary);
}

.registration-details-section select, .registered-details select {
    width: 52%;
    height: 50px;
    background-color: var(--title-text-primary);
    border: 1.5px solid var(--primary);
    border-radius: 10px;
    color: var(--white);
    font-family: ElMessiri;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='white' d='M7.247 11.14l-4.796-5.481c-.566-.647-.106-1.659.753-1.659h9.592c.86 0 1.319 1.012.753 1.659l-4.796 5.48c-.406.46-1.1.46-1.506 0z'/%3e%3c/svg%3e"); 
}

.profile-card {
    background: linear-gradient(90deg, #07485f, #1ca6c9);
    color: #fff;
    border-radius: 15px;
    padding: 20px;
}
.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #fff;
    object-fit: cover;
}
.custom-table th {
    background-color: #07485f;
    color: #fff;
}
.hadiya-img {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px;
    background: #fff;
}

.registration-details-section input {
    color: var(--white);
    background-color: var(--title-text-primary);
    padding: 1%;
    border: 1.5px solid var(--primary);
    border-radius: 10px;
}

.haj-registration-details .btn-success {
    width: 220px;
    margin: 0 auto;
    background-color: var(--title-text-primary);
    color: var(--secondary);
    border-radius: 50px;
}

.haj-instructions-content>h3, .haj-instructions-content>h2 {
    color: var(--title-text-primary);
}

.haj-instructions-content>h4 {
    color: var(--title-text-primary);
    line-height: 55px;
}

.haj-instructions-content>span {
    margin-left: 28px;
    font-size: 22px;
}

.haj-instructions-content label.form-check-label {
    color: var(--title-text-primary);
    font-size: 20px;
}

.haj-instructions-content h4::before {
    content: url("../assets/li-pattern.png");
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
    font-size: 24px;
}

.haj-instructions-content .booking-details-table td {
    padding: 3%;
}

.haj-registration-details .progress-tracker {
    margin-top: unset;
}

.haj-registration-details .pattern-div {
    height: 55px;
}

.haj-registration-details .btn-save {
    width: 220px;
}

#successModal .modal-content{
    background-color: var(--secondary);
    border-radius: 30px !important;
}

.modal-mumin-info {
    background: linear-gradient(97.72deg, #0E4653 0.16%, #31ACC8 99.84%);
    border-radius: 10px;
}

.modal-mumin-info img {
    border-radius: 50%;
    border: 3px solid var(--primary);
    width: 160px;
    height: 160px;
}

.modal-mumin-info h3, .modal-mumin-info h4 {
    color: var(--secondary);
}

.modal-mumin-info h4>strong {
    color: var(--primary) !important;
}

#uploadDoc .modal-body, #uploadDocView .modal-body {
    background-color: var(--tertiary);
    border-radius: 10px;
}

@media screen and (max-width: 1366px) {
    .registration-details-section input {
        height: 45px;
        padding: 4%;
    }
    .registration-details-section, .passport-details-section {
        padding: 20px;
    }

    .haj-profile.avatar-profile {
        top: 22px !important;
    }
    .haj-profile.avatar-profile img {
        width: 60px !important;
        height: 60px !important;
    }
}

@media screen and (min-width: 1366px) {
      
    .haj-registration-details .section-left::after {
        content: "";
        position: absolute;
        top: -22%;              /* start fade */
        bottom: 0;           /* end fade */
        right: 0;
        width: 1px;
        background: radial-gradient(50% 50% at 50% 50%, #E9E6D7 0%, rgba(240, 152, 37, 0) 100%);
        height: 480px;
    }
}
/** Haj Registration CSS Ends **/

/** Book Packages CSS Starts here **/
/* card wrapper */
.package-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--card-radius);
    background: var(--secondary);
    transition: transform 1s ease;
}
  
.package-card:hover { 
    transform: translateY(-6px); 
    box-shadow: 0 10px 25px rgba(0,0,0,.12); 
}
  
/* package image */
.package-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}
  
.package-card:hover .package-img {
    filter: brightness(70%);
}
  
/* package body */
.package-body {
    box-sizing: border-box;
    background: var(--secondary);
    border-radius: var(--card-radius);
    margin-top: -26px;                /* pull up to overlap image */
    padding: 20px;
    position: relative;
    z-index: 1;
    overflow: hidden;                 /* hide book btn when collapsed */
    max-height: var(--body-min-h);    /* collapsed height */
    height: var(--body-min-h);    /* main height */
    transition: max-height var(--transition-speed) cubic-bezier(.22,.9,.35,1),
                padding var(--transition-speed) cubic-bezier(.22,.9,.35,1);
    display: flex;
    flex-direction: column;
}
  
/* expand body smoothly on card hover */
.package-card:hover .package-body {
    max-height: var(--body-max-h);
    height: var(--body-max-h);
    padding-bottom: 26px; /* more room for revealed button */
}
  
/* price row */
.price-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
    
.price-item {
    font-size: 1rem;
    color: var(--title-text-primary);
    position: relative;
}
  
.price-item:nth-child(1)::after {
    content: "";
    position: absolute;
    right: -12px;
    top: 28%;
    transform: translateY(-50%);
    width: 2px;
    height: 60%;
    background-color: var(--title-text-primary);
}
  
/* dashed line */
hr.card-center {
    border: none;
    border-top: 2px dashed var(--title-text-primary);
    background-color: transparent;
    height: 1px;
    width: 100%;
}
  
/* book button inside body, aligned at bottom */
.book-row {
    margin-top: auto;
    display: flex;
    justify-content: center;
}
  
.book-btn {
    padding: 12px 30px;
    border-radius: 28px;
    border: none;
    background: var(--title-text-primary);
    color: var(--secondary);
    width: 90%;
    font-family: ElMessiri;
    font-size: 1.2rem;
    cursor: pointer;

    display: inline-flex;    
    align-items: center;
    justify-content: center;
    gap: 12px;  /* space between text and circle */
  
    /* start hidden */
    opacity: 0;
    transform: translateY(20px);
  
    /* smooth, slow animation */
    transition: opacity 0s ease, transform 0s ease;
    transition-delay: 0s;
  
    box-shadow: 0 6px 18px rgba(19,70,66,0.12);
}
  
/* reveal on hover */
.package-card:hover .book-btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s; /* wait until body expands */
}
  
.book-btn:hover {
    background: #032c36;
}
  
/* headings + text */
  .package-card h4, .package-card h6 {
    color: var(--title-text-primary);
}
  
.package-card p {
    color: var(--title-text-primary);
    font-weight: 400 !important;
    font-size: 17px !important;
}

.book-btn .circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--title-text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px; /* arrow size */
}
  
/* responsive */
@media (max-width: 1023px) {
    .price-row { 
      flex-direction: column; 
      gap: 6px; 
    }
    .price-item:not(:last-child)::after { 
      display: none; 
    }
    :root { --body-min-h: 300px; --body-max-h: 360px;}
    .package-img { height: 390px; }
}

.packages-instructions-content h4::before {
    content: url(../assets/li-pattern.png);
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
    font-size: 24px;
}

.packages-instructions-content>h4 {
    color: var(--title-text-primary);
    line-height: 55px;
}
/** Book Packages CSS Ends here **/

/** Form validation CSS starts here **/
#uploadDoc .form-label.required::after {
    content: " *";
    color: red;
    font-weight: bold;
}
/** Form validation CSS ends here **/