/* Hero Styles */
.hero-section {
    padding: 100px 0;
    min-height: 60vh;
}




/* Glass Card Styling */
.glass-card {
    backdrop-filter: blur(15px) saturate(160%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 20px;
}

.floating-card {
    position: absolute;
    bottom: 20px;
    right: -20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.step-num {
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: rgba(217, 4, 41, 0.2);
    border: 2px solid var(--pillbox-red);
    color: white;
    font-weight: bold;
    border-radius: 50%;
    margin: 0 auto;
    font-size: 20px;
    box-shadow: 0 0 15px rgba(217, 4, 41, 0.3);
}

.featured-border {
    border: 1px solid rgba(217, 4, 41, 0.5) !important;
}

.icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    font-size: 24px;
}

/* Doctor Card Theme */
.doctor-card-glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.doctor-img-wrapper {
    position: relative;
    height: 180px;
    width: 100%;
    overflow: hidden;
}

.doctor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.doctor-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(217, 4, 41, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Hover Effects */
.doctor-link:hover .doctor-card-glass {
    transform: translateY(-10px);
    border-color: #d90429;
    box-shadow: 0 10px 30px rgba(217, 4, 41, 0.3);
}

.doctor-link:hover .doctor-img {
    transform: scale(1.1);
}

.doctor-link:hover .doctor-overlay {
    opacity: 1;
}

.tracking-widest {
    letter-spacing: 3px;
}
/*-----------------------------*/

/* News Section Theme */
.news-card-glass {
    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 3px solid #d90429; /* Medical accent border */
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-img-container {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-date-tag {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #d90429;
    color: white;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
}

/* Hover State */
.news-card-glass:hover {
    transform: translateY(-8px);
    background: rgba(30, 30, 30, 0.6);
    border-color: rgba(217, 4, 41, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.news-card-glass:hover .news-img {
    transform: scale(1.1);
}

.title-shimmer {
    transition: color 0.3s ease;
}

.news-card-glass:hover .title-shimmer {
    color: #ff2d55 !important;
}

.tracking-widest {
    letter-spacing: 4px;
}
/*-----------------------*/

/*logout*/
.toast-progress{
    width:100%;
    height:4px;
    background:rgba(255,255,255,0.15);
    border-radius:4px;
    overflow:hidden;
    margin-top:10px;
}
.toast-progress-bar{
    height:100%;
    width:100%;
    background:linear-gradient(90deg,#ff4d6d,#d90429);
    animation: toastTimer 3s linear forwards;
}

@keyframes toastTimer{
    from{ width:100%; }
    to{ width:0%; }
}
/*----------*/


/* Facilities Style */
.facility-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.facility-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.facility-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.facility-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(217, 4, 41, 0.8), transparent);
    color: white;
    padding: 15px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.facility-card:hover {
    transform: translateY(-5px);
    border-color: rgba(217, 4, 41, 0.5);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.facility-card:hover .facility-img {
    transform: scale(1.1);
}
/*------------------------------------------------------------------------------------------------*/
/* About Section Accents */
.about-img-frame {
    position: relative;
    padding: 15px;
}

.frame-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    border-top: 4px solid #d90429;
    border-right: 4px solid #d90429;
    border-radius: 0 20px 0 0;
}

.tracking-widest {
    letter-spacing: 4px;
}
/*------------------------------------------------------------------------------------------------*/