body { 
    background-color: #f1f6f6;
    margin: 0; 
    padding: 0; 
    display: flex;
    flex-direction: column; 
    align-items: center; 
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 50px;
}      
.container { 
    border-radius: 24px;   
    border:2px solid black;        
    box-shadow: 0 15px 35px rgba(0,0,0,0.1); 
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}
.app-logo {
    border-radius: 50%;
    border:2px solid black;
}
  
#homeSection{
    text-align: center;
    animation: fadeIn 0.8s;
    width: 100%;
}
.hero-title{  
    color: #2c3e50; 
    margin-bottom: 10px; 
    font-weight: 800; 
}
.hero-subtitle{
    color: #7f8c8d;
    margin-bottom: 40px;
    line-height: 1.6;
}        
.btn-start { 
    background-color: #E63E3E; color: white; 
    font-weight: bold; 
    border: none; 
    border-radius: 50px; 
    cursor: pointer; 
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(230, 62, 62, 0.4);
}
.btn-start:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(230, 62, 62, 0.5); 
}
#quizSection{
    display: none;
    width: 100%;
} 
.progress-container { 
    width: 100%;
    background-color: white;
    border-radius: 20px;
    overflow: hidden; 
}
.progress-bar{ 
    height: 100%; width: 0%; 
    background-color: #3DCB92; 
    transition: width 0.4s ease; 
    box-shadow: 0 0 10px rgba(61, 203, 146, 0.3);
}
.step-count{ 
    color: #95a5a6; 
    margin-bottom: 25px; 
    display: block; 
    font-weight: 600; 
    letter-spacing: 1px; 
    text-transform: uppercase; 
}
.step { 
    display: none; 
    animation: slideUp 0.4s; 
}
.step.active { 
    display: block; 
}
@keyframes slideUp { 
    from { opacity: 0; transform: translateY(20px); } 
    to { opacity: 1; transform: translateY(0); } 
}
 @keyframes fadeIn { 
    from { opacity: 0; } 
    to { opacity: 1; } 
}
label{ 
    display: block; 
    font-size: 19px; 
    color: #34495e; 
    font-weight: 700;
     margin-bottom: 20px; 
     text-align: center; 
} 
input, select{ 
    width: 100%; 
    padding: 12px; 
    font-size: 17px; 
    border: 2px solid #edf2f7; 
    border-radius: 12px; 
    box-sizing: border-box; 
    outline: none; 
    transition: 0.3s;
    background-color: #fcfcfc;
    text-align: center; 
}
input:focus, select:focus { 
    border-color: #5688BE; 
    box-shadow: 0 0 0 4px rgba(86, 136, 190, 0.1); 
    background-color: white; 
}    
.btn-next , .btn-prev {
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s; flex: 1; 
    border:2px solid black;
} 
.btn-next { 
    background-color: #5688BE;
    color: white; 
    box-shadow: 0 4px 15px rgba(86, 136, 190, 0.3);
}
.btn-next:hover { 
    background-color: #4a77a8; 
    transform: translateY(-2px); 
}
.btn-prev { 
    background-color: #f1f5f9;
    color: #64748b;
}
.btn-prev:hover{
    background-color: #e2e8f0;
}
.btn-submit {
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    border: 2px solid black;
    transition: all 0.3s ease;
    background-color: #E63E3E;
    color: white;
    box-shadow: 0 4px 15px rgba(230, 62, 62, 0.4);
    font-size: 16px !important;
    height: 45px !important;       
    min-width: 140px !important;  
    width: auto !important;        
    padding: 0 20px;              
}
@media (min-width: 768px) {
    .btn-submit {
        height: 50px !important;     
        min-width: 180px !important; 
        font-size: 18px !important;
        margin-left: 10px;
    }
}
.btn-submit:hover {
    background-color: #d12c2c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 62, 62, 0.5);
}
.btn-submit:active {
    transform: translateY(0);
}
#resultSection {
    display: none; 
    text-align: left; 
    width: 100%; 
    animation: fadeIn 0.5s; 
}
.hospital-item { 
    background: white; 
    border: 1px solid #edf2f7; 
    padding: 18px;
    margin-top: 15px; 
    border-radius: 12px; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: transform 0.2s;
}
.hospital-item:hover {
    transform: translateY(-2px);
    border-color: #5688BE;
}
.hospital-name{
    font-weight: bold;
    color: #2c3e50;
    font-size: 1.1em;
}    
.btn-map { 
    display: inline-block;
    margin-top: 10px; 
    padding: 8px 16px; 
    background-color: #5688BE;
    color: white; 
    text-decoration: none;
    border-radius: 8px; 
    font-size: 14px;
    font-weight: 500;
    transition: 0.2s;
}
.btn-map:hover{
    background-color: #406da0;
}     
.text-high-risk{
    color: #E63E3E;
}
.text-low-risk{
    color: #3DCB92;
}
.animated-button {
    --btn-padding-y: 12px;
    --btn-padding-x: 28px;
    --btn-font-size: 14px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: var(--btn-padding-y) var(--btn-padding-x);
    border: 4px solid transparent;
    font-size: var(--btn-font-size);
    background-color: inherit;
    border-radius: 100px;
    font-weight: 600;
    color: #e63f3f;
    box-shadow: 0 0 0 2px #e63f3f;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    white-space: nowrap;
}
@media (min-width: 768px) {
  .animated-button {
    --btn-padding-y: 16px;
    --btn-padding-x: 36px;
    --btn-font-size: 16px;
  }
}
.animated-button svg {
  position: absolute;
  width: 1.2rem;
  fill: #e63f3f;
  z-index: 9;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.animated-button .arr-1 { right: 16px; }
.animated-button .arr-2 { left: -25%; }
.animated-button .circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background-color: #e63f3f;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: none;
}
.animated-button .text {
  position: relative;
  z-index: 1;
  transform: translateX(-12px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.animated-button:hover {
  box-shadow: 0 0 0 12px transparent;
  color: #ffffff;
  border-radius: 12px;
}

.animated-button:hover .circle {
  width: 300px;
  height: 300px;
  opacity: 1;
}

.animated-button:hover .text {
  transform: translateX(12px);
}
.animated-button:hover .arr-1 { right: -25%; }
.animated-button:hover .arr-2 { left: 16px; }
.animated-button:hover svg { fill: #ffffff; }
.animated-button:active {
  scale: 0.95;
  box-shadow: 0 0 0 4px #e63f3f;
}
footer{
    position:absolute;
    bottom: 0%;
}