
*,
*::before,
*::after {
  box-sizing: border-box;
}



body{
height:100%;
margin:0;
display:flex;
flex-direction:column;
font-family:"Segoe UI",Arial;
background:linear-gradient(120deg,#eef2ff,#f8fafc);
}

body::before, body::after{
content:"";
position:fixed;
border-radius:50%;
z-index:-1;
}
body::before{
width:420px;height:420px;
background:rgba(200,16,46,.08);
top:-150px;left:-150px;
animation:float 10s infinite alternate;
}

@keyframes float{to{transform:translateY(40px);}}


.card-item
{
     position:relative;
    background:#ffffff;
    padding:45px;
    border-radius:10px;
    box-shadow:0 10px 30px rgba(0,0,0,0.05);
    margin:50px 0;
    
}
.card.side-tab.active{
/* background: #193285; */
background: linear-gradient(120deg, #0f172a, #1e40af, #c8102e);
}
.card.side-tab.active .side-link{
color: #fff;
}

.main-content-card
{
     position:relative;
    background:#ffffff;
    padding:45px;
    border-radius:10px;
    box-shadow:0 10px 30px rgba(0,0,0,0.05);
    /* margin:50px 0; */
    
}

.content-title h5{
    color: #162f6a;
    border-left: 4px solid #ff9933;
    padding-left: 10px;
    margin-bottom: 20px;
}


.side-link 
{
    text-decoration: none;
    color:#193285;
    font-weight:600;
    display: flex;
    align-items:center ;
    gap:10px;
}

.instructions-card{
    position:relative;
    background:#ffffff;
    padding:45px;
    border-radius:10px;
    box-shadow:0 10px 30px rgba(0,0,0,0.05);
    margin:50px 0;
    border-left:2px solid #0E338A; 
}

.instructions-title{
    font-weight:700;
    color:#0E338A;
    margin-bottom:25px;
    font-size:16.5px;
}
.content-title{
    font-weight:700;
    color:#0E338A;
    margin-bottom:25px;
    font-size:16.5px;
}

.instructions-card ol{
    padding-left:22px;
}

.instructions-card li{
    margin-bottom:18px;
    line-height:1.8;
    font-size:15px;
    color:#333;
}

.instructions-card li b{
    color:#0E338A;
}

.agree-section{
    margin-top:35px;
    padding:20px 25px;
    background:#f5f8ff;
    border-radius:8px;
    border:1px solid #e2e8f5;
}

.form-check-input{
    width:18px;
    height:18px;
    cursor:pointer;
}

.form-check-label{
    font-size:15px;
    margin-left:8px;
    cursor:pointer;
}

.proceed-btn{
    background:#0E338A;
    border:none;
    padding:12px 45px;
    font-weight:600;
    letter-spacing:.5px;
    border-radius:30px;
    transition:all .3s ease;
}

.proceed-btn:hover{
    background:#0e338acf;
    transform:translateY(-2px);
}

.proceed-btn:focus{
    box-shadow:none;
}





 .tree-dropdown {
    position: relative;
    /* width: 100%; */
}

.selected-service {
    border: 1px solid #ccc;
    padding: 10px;
    cursor: pointer;
    background: #fff;
}

.tree {
    display: none;
    border: 1px solid #ccc;
    border-top: none;
    max-height: 300px;
    overflow-y: auto;
    background: #fff;
    position: absolute;
    width: 100%;
    z-index: 999;
}

.tree-level {
    list-style: none;
    padding-left: 15px;
    margin: 0;
}

.tree-level li {
    padding: 6px 10px;
}

.tree-level li:hover {
    background: #f2f2f2;
}

.toggle {
    font-weight: bold;
    margin-right: 6px;
    cursor: pointer;
}

/* Nested children */
.nested {
    display: none;
    list-style: none;
    padding-left: 15px;
}
/* 
.step { display: none; }
.step.active { display: block; } */
label.error { color: red; font-size: 14px; }

.form-group
{
    margin-bottom: 1rem;
}

.form-group label
{
    font-size: 14px;
}
.appmnt_time{
        display: flex;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    gap: 5px;
}

.appmnttime li{
    list-style: none;
}
.btnCaptcha {
  background:#195c9f;letter-spacing: 12px;text-shadow:#d5b2b2 3px 6px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
.btn-primary {
    background: linear-gradient(90deg, #1E3A8A, #B91C1C);
    color: #fff;
    border: none;

    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.3px;

    position: relative;
    overflow: hidden;

    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);

    background-size: 200% 200%;
    animation: btnPrimaryGradient 4s ease infinite;
}
.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.25);
}
@keyframes btnPrimaryGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.6s;
}

.btn-primary:hover::before {
    left: 100%;
}
.btn-primary:active {
    transform: scale(0.96);
}

/* 🔵 Secondary Button (Back / Cancel) */
.btn-secondary {
    background: #334155;
    color: #ffffff;
}

.btn-secondary:hover {
     transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}


.btn-otp {
    background: linear-gradient(90deg, #1E3A8A, #B91C1C);
    color: #fff;

    padding: 12px 0;
    width: 100%;
    max-width: 200px;

    border: none;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.3px;

    position: relative;
    overflow: hidden;

    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);

    background-size: 200% 200%;
    animation: btnGradientMove 4s ease infinite;
}
.btn-otp:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.25);
}
@keyframes btnGradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.btn-otp::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.6s;
}

.btn-otp:hover::before {
    left: 100%;
}
.btn-otp:active {
    transform: scale(0.96);
}


/* OTP Button */
.btn-green {
    background-color: #16A34A; /* solid red */
    color: #ffffff;             /* text white */
    transition: all 0.3s ease;  /* smooth hover */
    border: none;               /* remove border if any */
}

.btn-green:hover {
    background-color: #16A34A; /* keep same color */
    color: #ffffff;             /* keep text white */
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* 🔗 Resend OTP (link style) */
.btn-resend {
    background: none;
    border: none;
    color: #2563EB;
    text-decoration: underline;
    padding: 0;
    font-size: 13px;
}

.btn-verified {
 background: #16A34A; /* success green */
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: default;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-resend:hover {
    color: #1D4ED8;
}
.btn-custom {
  background-color: #0e338a;
  border-color: #0e338a;
  color: #fff;
}

.btn-custom:hover,
.btn-custom:focus,
.btn-custom:active {
  background-color: #0e338a;
  border-color: #0e338a;
  color: #fff;
}

.btn-custom:active {
  background-image: none;
}


/* Base outline button */
.btn-outline-custom {
  background-color: transparent !important;
  border: 1px solid #0e338a !important;
  color: #0e338a !important;
  padding: 10px 18px;  
  font-size: 15px;   
  border-radius: 6px;  
width: 120px;
}

/* Hover */
.btn-outline-custom:hover {
  background-color: #0e338a !important;
  border-color: #0e338a !important;
  color: #fff !important;
}


/* Base outline button */
.btn-outline-success {
  background-color: transparent !important;
  border: 1px solid #259e2b !important;
  color: #259e2b !important;
  padding: 10px 18px;  
  font-size: 15px;   
  border-radius: 6px; 
  width: 120px; 

}

/* Hover */
.btn-outline-success:hover {
  background-color: #259e2b !important;
  border-color: #0e338a !important;
  color: #fff !important;
}

/* Focus */
.btn-outline-custom:focus,
.btn-outline-custom.focus {
  background-color: #0e338a;
  border-color: #0e338a;
  color: #fff;
  outline: none;
}
/* When radio is checked (Bootstrap adds .active to label) */
.btn-outline-custom.active {
  background-color: #0e338a !important;
  border-color: #0e338a !important;
  color: #fff !important;
  background-image: none;
}

.btn-check:checked + .btn-outline-custom {
  background-color: #0e338a !important;
  border-color: #0e338a !important;
  color: #fff !important;
}

/* Hover */
.btn-outline-custom:hover {
  background-color: #0e338a;
  border-color: #0e338a;
  color: #fff;
}

/* Optional: hover when not active */
.btn-outline-custom:hover {
  background-color: #0e338a;
  border-color: #0e338a;
  color: #fff;
}

/* Disabled */
.btn-outline-custom.disabled,
.btn-outline-custom[disabled],
fieldset[disabled] .btn-outline-custom {
  background-color: transparent;
  border-color: #ccc;
  color: #ccc;
}
/* 
.donate-now input[type="radio"] {
    width: 100%;
    height: 100%;
    opacity: 0.011 !important;
    z-index: 100 !important;
    cursor: pointer;
}
.donate-now label, .donate-now input {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
} */


 .form-container {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    width: 360px;
  }
  .input-container {
    position: relative;
    margin-bottom: 10px;       /* Tight spacing */
    padding-bottom: 22px;      /* Reserve space for error */
    overflow: visible;
  }
  input.one-line-input {
    width: 100%;
    border: none;
    border-bottom: 2px solid #ccc;
    padding: 10px 0;
    font-size: 16px;
    background: transparent;
    transition: border-color 0.3s;
  }
  input.one-line-input:focus {
    outline: none;
    border-bottom: 2px solid #0d6efd;
  }

  .ui-datepicker {
  z-index: 9999 !important;
}
  /* Floating label */
  .input-container label {
    position: absolute;
    left: 0;
    top: 10px;
    font-size: 16px;
    color: #777;
    pointer-events: none;
    transition: 0.3s;
    z-index: 2;
  }
  input.one-line-input:focus + label,
  input.one-line-input:not(:placeholder-shown) + label {
    top: -10px;
    font-size: 12px;
    color: #0d6efd;
  }
  /* Error message positioned at bottom inside input container */
  label.error {
    position: absolute;
    bottom: 0;
    left: 0;
    color: red;
    font-size: 12px;
    margin-top:39px;
    font-weight: normal;
    line-height: 1.2;
    z-index: 1;
  }
  /* Red underline on invalid input */
  input.one-line-input.error {
    border-bottom: 2px solid red !important;
  }
  /* Submit button */
  button.btn-submit {
    width: 100%;
    border-radius: 25px;
    padding: 10px;
    font-size: 16px;
    margin-top: 15px;
  }
  .input-container {
  position: relative;
  margin-bottom: 10px;  /* compact */
}

label.error {
  position: static;       /* normal flow */
  margin-top: 4px;
  color: red;
  font-size: 12px;
  display: block;
}
.captcha-container {
    width: 100%;
    max-width: 100%;
    /* overflow: hidden; */
}

.captcha-container .g-recaptcha {
    transform-origin: 0 0;
}


.stepper{
display:flex;
justify-content:space-between;
margin-bottom:40px;
position:relative;
}

.stepper::before{
content:"";
position:absolute;
top:20px;
left:0;
right:0;
height:3px;
background:#e5e7eb;
z-index:0;
}

.progress-line{
position:absolute;
top:20px;
left:0;
height:3px;
background:linear-gradient(120deg,#1e40af,#c8102e);
width:0%;
transition:.4s;
z-index:1;
}

.step{
flex:1;
text-align:center;
z-index:2;
}

.circle{
width:40px;
height:40px;
border-radius:50%;
background:#d1d5db;
margin:auto;
line-height:40px;
color:white;
font-weight:700;
transition:.3s;
}

.step .circle {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ACTIVE */
.step.active .circle {
    background: linear-gradient(120deg, #1e40af, #c8102e);
    transform: scale(1.15);
    box-shadow: 0 6px 15px rgba(200, 16, 46, 0.35);

    background-size: 200% 200%;
    animation: stepGradient 4s ease infinite;
}

/* GRADIENT ANIMATION */
@keyframes stepGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.step.completed .circle {
    background: linear-gradient(120deg, #16a34a, #22c55e);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.4);
    transform: scale(1.1);
    background-size: 200% 200%;
    animation: completedGradient 3.5s ease infinite;
}

.form-step{display:none;}
.form-step.active{display:block;}
/* BASE STEP */
.form-step {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    position: absolute;
    width: 100%;
    pointer-events: none;
}

/* ACTIVE STEP */
.form-step.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
    pointer-events: auto;
    z-index: 2;
}
body {
    position: relative;
    overflow-x: hidden;
}

/* FIXED BACKGROUND SHAPE */
body::after {
    content: "";
    position: fixed;

    width: 350px;
    height: 350px;
    background: rgba(14, 165, 164, .07);
    border-radius: 50%;

    bottom: 0;              /* 🔥 key fix */
    right: 0;               /* 🔥 keep inside */

    transform: translate(40%, 40%); /* push visually outside */
    
    animation: float 12s infinite alternate;

    z-index: -1;
    pointer-events: none;
}
/* default hidden (left feel when switching) */
.form-step:not(.active) {
    transform: translateX(-40px);
}
.form-step {
    transform: translateX(40px) scale(0.98);
}

.form-step.active {
    transform: translateX(0) scale(1);
}
/* Outer container hides scrollbar */
.services-container {
    overflow-x: auto;
    padding-bottom: 10px; /* optional space for scrollbar */
    -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
}

/* Flex layout for horizontal cards */
.services {
    display: flex;
    flex-wrap: wrap; /* keep all cards in one row */
    /* justify-content: space-between; */
    /* gap: 15px; space between cards */
}
.services .col-12.col-sm-4 {
    padding: 10px;
}

/* Card styling */
.service-card {
    flex: 0 0 auto; /* do not shrink, keep natural width */
    width: 100%; /* adjust card width as needed */
}

/* Optional: hide scrollbar for modern browsers */
.services-container::-webkit-scrollbar {
    display: none;
}
/* 
.services{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
} */
 

.service-card input{display:none;}

.service-box{
    width:100%;
    height:138px;
padding:26px;
border-radius:14px;
border:1px solid #e5e7eb;
text-align:center;
cursor:pointer;
transition:.3s;
position:relative;
overflow:hidden;

}

.service-box i{
font-size:28px;
margin-bottom:8px;
}

.service-box:hover{
transform:translateY(-6px);
box-shadow:0 15px 30px rgba(0,0,0,.12);
}

.service-box::after{
content:"";
position:absolute;
left:-100%;
top:0;
width:100%;
height:100%;
background:linear-gradient(120deg,transparent,rgba(255,255,255,.15),transparent);
transition:.5s;
}

.service-box:hover::after{
left:100%;
}

.service-card input:checked + .service-box{
background: linear-gradient(120deg, #0f172a, #1e40af, #c8102e);
    color: #fff;
    transform: scale(1.05);

    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.25);

    background-size: 200% 200%;
    animation: serviceGradient 4s ease infinite;
}

@keyframes serviceGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.section h5{
  margin-bottom: 3rem;
}
.hk-time a
{
    text-decoration: none;
    color:#fff
}

.hk-time a:hover
{
    text-decoration: underline;
}

.slot-booked{
        text-decoration: line-through;
    color: #d93025 !important;
    border: 1px solid #d93025 !important;

}



/* Only apply horizontal scroll on small screens */
@media (max-width: 767px) {
    .services {
        flex-wrap: wrap;
    }
  
    .service-card {
        flex: 1 1 100%;   /* stack vertically on mobile */
        max-width: 100%;
    }

    .service-box {
        height: auto;     /* allow variable height for smaller screens */
        padding: 15px;
    }
}
@media (max-width: 400px) {
    .captcha-container {
        transform: scale(0.75);
        transform-origin: 0 0;
    }
}
