*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --primary-color: #2d5a87;
    --secondary-color: #4a90b8;
    --accent-color: #e74c3c;
    --dark-color: #1a252f;
    --light-color: #f8fafc;
    --white: #ffffff;
    --gray: #6c7b7f;
    --light-gray: #eef2f3;
    --border-color: #d1d9db;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.12);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

body{
    font-family: 'Inter', 'Segoe UI', sans-serif;
    padding: 0;
    line-height: 1.7;
    color: var(--dark-color);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
    border: 2px solid var(--light-gray);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

.navbar{
    position: fixed;
    width: 100vw;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled{
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.nav-container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

.nav-logo{
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.6rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-logo-image {
    height: 45px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.nav-menu{
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link{
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover{
    color: var(--primary-color);
}

#navReport{
    cursor: pointer;
}

.appointment-nav-btn{
    padding: 12px 24px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transform: translateY(0);
}

.appointment-nav-btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
    color: var(--white);
}

.mobile-menu-toggle{
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

.hero{
    position: relative;
    height: 100vh;
    min-height: 650px;
    background: var(--gradient-primary);
    background-image: url('./assets/hero-hospital-building_desktop.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: start;
    color: var(--white);
    text-align: center;
    margin-top: 75px;
}

.hero-overlay{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 90, 135, 0.9) 0%, rgba(118, 75, 162, 0.85) 100%);
}

.hero-content{
    position: relative;
    z-index: 1;
    top: 0;
    max-width: 900px;
    padding: 30px;
    animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-title{
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.hero-subtitle{
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 300;
    opacity: 0.95;
}

.hero-tagline{
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-footer {
    position: absolute;
    bottom: 15%;
    width: 100%;
    text-align: center;
    z-index: 2;
}

.explore-btn {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 15px 30px;
    font-size: 16px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.explore-btn:hover {
    background: var(--gradient-accent);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.arrow-indicator {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

.btn{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary{
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover{
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn:disabled{
    background: var(--border-color);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    color: var(--gray);
}

.btn-large{
    padding: 18px 45px;
    font-size: 1.3rem;
}

.btn-block{
    width: 100%;
    justify-content: center;
}

.section{
    padding: 100px 0;
}

.section-title{
    text-align: center;
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle{
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 60px;
    color: var(--gray);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.department-section{
    background: var(--white);
}

.departments-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.department-card{
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.department-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.department-card:hover::before {
    transform: scaleX(1);
}

.department-card:hover{
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.department-card.active{
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-10px);
}

.department-icon{
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.department-card.active .department-icon{
    color: var(--white);
    -webkit-text-fill-color: var(--white);
}

.department-card h3{
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.department-card p{
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.6;
}

.department-card.active p{
    color: rgba(255, 255, 255, 0.9);
}

.search-filter-bar{
    margin-bottom: 50px;
}

.search-box{
    position: relative;
    max-width: 600px;
    margin: 0 auto 40px;
}

.search-box i{
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    font-size: 1.1rem;
}

.search-box input{
    width: 100%;
    padding: 18px 20px 18px 55px;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.search-box input:focus{
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    background: var(--white);
}

.filter-buttons{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.filter-btn{
    padding: 12px 25px;
    border: 2px solid var(--border-color);
    background: var(--white);
    color: var(--dark-color);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filter-btn:hover{
    border-color: var(--primary-color);
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.filter-btn.active{
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.doctors-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.doctor-card{
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.doctor-card:hover{
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.doctor-image{
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.doctor-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.doctor-card:hover .doctor-image::before {
    opacity: 0.1;
}

.doctor-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.doctor-card:hover .doctor-image img{
    transform: scale(1.08);
}

.doctor-info{
    padding: 30px 25px;
}

.doctor-name{
    font-size: 1.6rem;
    margin-bottom: 8px;
    color: var(--dark-color);
    font-weight: 600;
}

.doctor-specialization{
    font-size: 1.1rem;
    margin-bottom: 12px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 500;
}

.doctor-qualifications{
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 12px;
    line-height: 1.5;
}

.doctor-experience{
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 12px;
}

.doctor-contact {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 15px;
}

.doctor-status{
    display: block;
    width: fit-content;
    margin: 15px auto 20px;
}

.status-closed{
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(231, 76, 60, 0.05));
    color: var(--danger-color);
    border: 1px solid rgba(231, 76, 60, 0.2);
}

.status-open{
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.1), rgba(39, 174, 96, 0.05));
    color: var(--success-color);
    border: 1px solid rgba(39, 174, 96, 0.2);
}

.doctor-card .btn{
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

.no-results{
    text-align: center;
    padding: 80px 20px;
    color: var(--gray);
    font-size: 1.3rem;
    margin-top: 50px;
}

.no-results i{
    font-size: 5rem;
    margin-bottom: 25px;
    opacity: 0.3;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlights-section{
    background: var(--light-gray);
}

.highlights-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.highlight-card{
    background: var(--white);
    padding: 50px 35px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.highlight-card:hover::before {
    opacity: 0.03;
}

.highlight-card:hover{
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.highlight-icon{
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 3rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.highlight-card h3{
    font-size: 1.4rem;
    margin-bottom: 18px;
    color: var(--dark-color);
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.highlight-card p{
    line-height: 1.7;
    color: var(--gray);
    position: relative;
    z-index: 1;
}

.contact-section{
    background: var(--white);
}

.contact-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info{
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item{
    display: flex;
    gap: 25px;
    padding: 30px;
    background: var(--light-gray);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.contact-icon{
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.contact-details h3{
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--dark-color);
    font-weight: 600;
}

.contact-details p{
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.8;
}

.contact-map{
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: 400px;
}

.footer{
    background: linear-gradient(135deg, var(--dark-color) 0%, #34495e 100%);
    color: var(--light-color);
    padding: 60px 0;
    text-align: center;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
}

.footer-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.footer-logo{
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.6rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo i{
    font-size: 2.2rem;
    color: var(--white);
}

.footer-social{
    display: flex;
    gap: 20px;
}

.footer-links{
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-link{
    color: var(--light-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

.footer-link:hover{
    color: var(--white);
    cursor: pointer;
}

.footer-separator{
    color: rgba(255, 255, 255, 0.3);
}

.footer-social a{
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 1.3rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social a:hover{
    background: var(--gradient-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
    border-color: transparent;
}

.sticky-appointment-btn{
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--gradient-accent);
    color: var(--white);
    border: none;
    padding: 18px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;   
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(245, 93, 108, 0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulse 3s infinite;
}

.sticky-appointment-btn:hover{
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(245, 93, 108, 0.6);
}

.modal{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 25px;
    animation: fadeIn 0.4s ease;
}

.modal.active{
    display: flex;
}

.modal-content{
    background: var(--white);
    border-radius: 25px;
    padding: 50px;
    max-width: 650px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.policy-modal-content{
    max-width: 850px;
}

.modal-close{
    position: absolute;
    top: 25px;
    right: 25px;
    background: var(--light-gray);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--gray);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover{
    background: var(--danger-color);
    color: var(--white);
    transform: rotate(90deg);
}

.modal-title{
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--dark-color);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-subtitle{
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--gray);
}

.policy-content{
    line-height: 1.8;
    text-align: left;
}

.policy-content h3{
    color: var(--dark-color);
    margin-top: 30px;
    margin-bottom: 18px;
    font-size: 1.4rem;
    font-weight: 600;
}

.policy-content p{
    margin-bottom: 18px;
    color: var(--dark-color);
}

.policy-content ul{
    margin-left: 25px;
    margin-bottom: 18px;
}

.policy-content ul li{
    margin-bottom: 10px;
    color: var(--dark-color);
}

.appointment-form, .report-form{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label, .group-element label {
    font-weight: 600;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.form-group i, .group-element i {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-group input,
.form-group select,
.group-element input,
.group-element select{
    padding: 15px 18px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.group-element input:focus,
.group-element select:focus{
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    background: var(--white);
}

.form-group select:disabled,
.group-element select:disabled{
    background: var(--light-gray);
    cursor: not-allowed;
    opacity: 0.7;
}

.form-group-row {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.group-element {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
}

.age-inputs {
    display: flex;
    gap: 10px;
}

.age-unit {
    position: relative;
    flex: 1;
}

.age-unit input {
    width: 100%;
    padding-right: 30px;
    box-sizing: border-box;
}

.unit-label {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 600;
    color: var(--gray);
    pointer-events: none;
    font-size: 0.9rem;
}

.availability-status{
    padding: 18px;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    display: none;
    border: 2px solid;
}

.availability-status.available{
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.1), rgba(39, 174, 96, 0.05));
    color: var(--success-color);
    border-color: rgba(39, 174, 96, 0.2);
    display: block;
}

.availability-status.unavailable{
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(231, 76, 60, 0.05));
    color: var(--danger-color);
    border-color: rgba(231, 76, 60, 0.2);
    display: block;
}

.success-modal-content{
    text-align: center;
}

.success-icon{
    width: 110px;
    height: 110px;
    margin: 0 auto 25px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 3.5rem;
    animation: successpulse 2.5s infinite;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.success-contant h2{
    font-size: 2rem;
    margin-bottom: 18px;
    color: var(--success-color);
    font-weight: 600;
}

.appointment-details{
    background: var(--light-gray);
    padding: 25px;
    border-radius: 15px;
    margin: 15px 0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    font-size: 1.1rem;
    border: 2px solid rgba(102, 126, 234, 0.1);
}

.appointment-details strong{
    color: var(--dark-color);
    font-size: 1.3rem;
    font-weight: 600;
}

.report-message {
    margin: 20px auto;
    padding: 20px;
    border: 2px solid rgba(231, 76, 60, 0.3);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(231, 76, 60, 0.05));
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.1);
    text-align: center;
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: none;
}

.report-message.show {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    display: block;
}

.test-table-container {
    display: none;
    margin: 20px auto;
    padding: 25px;
    border: 2px solid var(--border-color);
    border-radius: 15px;
    background: var(--white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.test-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
}

.test-table th,
.test-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.test-table th {
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: 600;
}

.test-table button {
    padding: 8px 16px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.test-table button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(245, 93, 108, 0.7);
    }
    50% {
        box-shadow: 0 0 0 25px rgba(245, 93, 108, 0);
    }
}

@keyframes successpulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }
    50% {
        box-shadow: 0 0 0 25px rgba(102, 126, 234, 0);
    }
}

@media (max-width: 768px){
    .mobile-menu-toggle{
        display: block;
    }
    
    .nav-menu{
        position: fixed;
        top: 75px;
        right: -100%;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 30px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        align-items: flex-start;
        gap: 20px;
    }
    
    .nav-menu.active{
        right: 0;
    }
    
    .hero{
        background-image: url('./assets/hero-hospital-building_tab.jpg');
    }
    
    .hero-content{
        top: 10%;
        padding: 20px;
    }
    
    .hero-title{
        font-size: 2.8rem;
    }
    
    .hero-subtitle{
        font-size: 1.6rem;
    }
    
    .section-title{
        font-size: 2.2rem;
    }
    
    .departments-grid{
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }
    
    .doctors-grid{
        grid-template-columns: 1fr;
    }
    
    .contact-grid{
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .highlights-grid{
        grid-template-columns: 1fr;
    }
    
    .sticky-appointment-btn{
        bottom: 25px;
        right: 25px;
        padding: 15px 25px;
        font-size: 0.9rem;
    }
    
    .sticky-appointment-btn span{
        display: none;
    }
    
    .modal-content{
        padding: 40px 25px;
        border-radius: 20px;
    }
    
    .filter-buttons{
        flex-direction: column;
        gap: 12px;
    }
    
    .filter-btn{
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .footer-links{
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-separator{
        display: none;
    }
    
    .form-group-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .group-element {
        flex: 1 1 100%;
    }
}

@media (max-width: 480px){
    ::-webkit-scrollbar {
        display: none;
    }
    
    .hero{
        background-image: url('./assets/hero-hospital-building_mobile.jpg');
    }
    
    .hero-title{
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle{
        font-size: 1.3rem;
    }
    .hero-footer {
        bottom: 20%;
    }
    
    .container{
        padding: 0 20px;
    }
    
    .nav-container{
        padding: 0 20px;
    }
    
    .hero-content{
        padding: 20px;
        top: 10%;
    }
    
    .hero-tagline{
        font-size: 1.1rem;
    }
    
    .section{
        padding: 70px 0;
    }
    
    .section-title{
        font-size: 1.8rem;
    }
    
    .departments-grid,
    .doctors-grid,
    .contact-grid,
    .highlights-grid{
        grid-template-columns: 1fr;
    }
    
    .modal-title{
        font-size: 1.6rem;
        text-align: center;
    }
    
    .modal-subtitle{
        font-size: 1rem;
        text-align: center;
    }
    
    .modal-content{
        padding: 30px 20px;
        margin: 20px;
    }
    
    .btn{
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .btn-large{
        padding: 15px 30px;
        font-size: 1.1rem;
    }
    
    .contact-map{
        height: 300px;
    }
}
