*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root{
    --primary-color: #1d4f91;
    --secondary-color: #0f8f9b;
    --accent-color: #f18f01;
    --accent-dark: #c45f00;
    --dark-color: #102a43;
    --light-color: #f7fafc;
    --white: #ffffff;
    --gray: #637486;
    --light-gray: #eff4f8;
    --border-color: #d9e2ec;
    --success-color: #2a9d8f;
    --warning-color: #ffc107;
    --danger-color: #d62828;
    --shadow: 0 10px 30px rgba(16, 42, 67, 0.08);
    --shadow-lg: 0 15px 40px rgba(16, 42, 67, 0.12);
}
body{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 0;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}
/* Custom Scrollbar Styles */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background-color: var(--light-gray);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #005a8f;
}
.container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.navbar{
    position:fixed;
    width: 100vw;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(16, 42, 67, 0.08);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}
.navbar.scrolled{
    box-shadow: var(--shadow-lg);
}
.nav-container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.nav-logo{
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}
.nav-logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
    filter: contrast(1.3) brightness(1);
}
.nav-menu{
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}
.nav-link{
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}
#navReport{
    cursor: pointer;
}
.nav-link:hover{
    color: var(--primary-color);
}
.appointment-nav-btn{
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--white);
    /* border: none; */
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    line-height: 16px;
    padding-bottom: 13px;
    box-shadow: var(--shadow);
}
.appointment-nav-btn:hover{
    background: #005a8f;
    color: var(--white);
    transform: translateY(-2px);
}
.mobile-menu-toggle{
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}
.hero{
    position: relative;
    height: 95vh;
    min-height: 640px;
    background: linear-gradient(135deg, rgba(29,79,145,0.85) 0%, rgba(15,143,155,0.85) 100%), url('./assets/hero-hospital-building_desktop.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    text-align: center;
    margin-top: 70px;
    overflow: hidden;
}
.hero-overlay{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top left, rgba(241, 128, 1, 0.35), transparent 32%),
                radial-gradient(circle at bottom right, rgba(15, 143, 155, 0.32), transparent 28%),
                linear-gradient(135deg, rgba(16, 42, 67, 0.75), rgba(29, 79, 145, 0.55));
}
.hero-shape{
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.55;
    z-index: 0;
}
.hero-shape--top{
    width: 240px;
    height: 240px;
    top: -40px;
    left: 6%;
    background: rgba(241, 128, 1, 0.4);
}
.hero-shape--bottom{
    width: 320px;
    height: 320px;
    bottom: -70px;
    right: 8%;
    background: rgba(255, 255, 255, 0.18);
}
.hero-content{
    position: relative;
    z-index: 1;
    top: 5%;
    max-width: 860px;
    padding: 40px 35px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 32px;
    box-shadow: 0 20px 70px rgba(4, 28, 71, 0.25);
    animation: fadeInUp 1s ease;
}
.eyebrow{
    font-size: 1.05rem;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
}
.hero-title{
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 18px;
    letter-spacing: -0.04em;
    line-height: 1.05;
}
.hero-subtitle{
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
}
.hero-tagline{
    font-size: 1.05rem;
    margin-bottom: 30px;
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.9);
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.hero-footer {
  position: absolute;
  bottom: 7%;
  width: 100%;
  text-align: center;
  z-index: 2;
}

.explore-btn {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
}

.explore-btn:hover {
    background: linear-gradient(135deg, #c471f5, #f64f59);
    color: var(--white);
}

.arrow-indicator {
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.btn{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    border:none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}
.btn-primary{
    background: var(--primary-color);
    color: var(--white);
}
.btn-secondary{
    background: var(--white);
    color: var(--dark-color);
    border: 1px solid rgba(16, 42, 67, 0.12);
}
.btn-secondary.btn-transparent{
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.24);
}
.btn-primary:hover{
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.btn-secondary:hover{
    background: rgba(255, 255, 255, 0.95);
    color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.btn:disabled{
    background: var(--border-color);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    color: var(--gray);
}
.btn-large{
    padding: 15px 40px;
    font-size: 1.2rem;
}
.btn-block{
    width: 100%;
    justify-content: center;
}
.section{
    padding: 80px 0;
}
.section-title{
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}
.section-subtitle{
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--gray);
}
.department-section{
    background: var(--light-gray);
}

.departments-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
    align-items: start;
}
.department-card{
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    padding: 24px 22px;
    border-radius: 24px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 16px 30px rgba(16, 42, 67, 0.08);
    border: 1px solid rgba(16, 42, 67, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    min-height: 160px;
}
.department-card:hover{
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(16, 42, 67, 0.12);
    border-color: rgba(15, 143, 155, 0.22);
}
.department-card.active{
    background: linear-gradient(135deg, rgba(15, 143, 155, 0.14), rgba(29, 79, 145, 0.12));
    color: var(--dark-color);
    border-color: rgba(15, 143, 155, 0.28);
}
.department-card h3{
    font-size: 1.2rem;
    line-height: 1.4;
    color: var(--dark-color);
    margin: 0;
}
.department-card p{
    display: none;
}
.search-filter-bar{
    margin-bottom: 40px;
}
.search-box{
    position: relative;
    max-width: 500px;
    margin : 0 auto 30px;
}
.search-box i{
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}
.search-box input{
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}
.search-box input:focus{
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 119, 190, 0.2);
}
.filter-buttons{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.filter-btn{
    padding: 10px 20px;
    border: 2px solid var(--border-color);
    background: var(--white);
    /* color: var(--primary-color); */
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}
.filter-btn:hover{
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white);
}
.filter-btn.active{
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}
.doctors-grid{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 350px));
    gap: 30px;
    justify-content: start;
}
.doctor-card{
    background: var(--white);
    padding: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    animation: fadein 0.5s ease;
}
.doctor-card:hover{
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.doctor-image{
    width: 90%;
    margin: 0 auto;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 15px;
}

.doctor-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.3s ease;
}

/* .doctor-image:hover img{
    transform: scale(1.05);
} */
.doctor-info{
    padding: 20px;
}
.doctor-name{
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}
.doctor-specialization{
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}
.doctor-qualifications{
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 10px;
}
.doctor-experience{
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 10px;
}
.doctor-contact {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 10px;
}
.doctor-status{
    display: block;
    width: fit-content;
    margin: 10px auto 0;
    align-items: center;
}
.status-closed{
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
}
.status-open{
    background: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
}
.doctor-card .btn{
    width: 100%;
    justify-content: center;
}
.no-results{
    text-align: center;
    padding: 60px 20px;
    color: var(--gray);
    font-size: 1.2rem;
    margin-top: 50px;
}
.no-results i{
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}
.highlights-section{
    background: var(--light-gray);
}
.highlights-header{
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
}
.highlights-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}
.highlight-card{
    position: relative;
    background: rgba(255, 255, 255, 0.96);
    padding: 38px 30px;
    border-radius: 28px;
    text-align: center;
    box-shadow: 0 18px 40px rgba(16, 42, 67, 0.08);
    border: 1px solid rgba(15, 143, 155, 0.12);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    min-height: 260px;
}
.highlight-card::before{
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    top: -40px;
    right: -40px;
    background: radial-gradient(circle at center, rgba(15, 143, 155, 0.18), transparent 58%);
    border-radius: 50%;
    pointer-events: none;
}
.highlight-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 22px 50px rgba(16, 42, 67, 0.13);
    border-color: rgba(15, 143, 155, 0.2);
}
.highlight-icon{
    position: relative;
    z-index: 1;
    width: 72px;
    height: 72px;
    margin: 0 auto 22px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: 0 12px 30px rgba(15, 143, 155, 0.16);
}
.highlight-card h3{
    position: relative;
    z-index: 1;
    font-size: 1.35rem;
    margin-bottom: 18px;
    color: var(--dark-color);
}
.highlight-card p{
    position: relative;
    z-index: 1;
    line-height: 1.9;
    color: var(--gray);
}

.contact-section{
    background: var(--white);
}
.contact-layout{
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
    align-items: stretch;
}
.contact-panel{
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.contact-summary{
    padding: 32px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(15, 143, 155, 0.08), rgba(255, 255, 255, 0.96));
    border: 1px solid rgba(15, 143, 155, 0.14);
    box-shadow: 0 18px 40px rgba(16, 42, 67, 0.05);
}
.contact-summary h3{
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--dark-color);
}
.contact-summary p{
    color: var(--gray);
    line-height: 1.8;
}
.contact-cards{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.contact-card{
    display: flex;
    gap: 18px;
    padding: 22px;
    border-radius: 22px;
    background: var(--light-color);
    border: 1px solid rgba(16, 42, 67, 0.06);
    box-shadow: 0 14px 28px rgba(16, 42, 67, 0.05);
    align-items: flex-start;
}
.card-icon{
    min-width: 56px;
    min-height: 56px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.contact-card .contact-details h3{
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--dark-color);
}
.contact-card .contact-details p{
    color: var(--gray);
    line-height: 1.7;
    margin: 0;
}
.contact-map{
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(16, 42, 67, 0.08);
    min-height: 420px;
}
.footer{
    background: var(--dark-color);
    color: var(--light-color);
    padding: 60px 0 30px;
}
.footer-container{
    display: grid;
    gap: 32px;
}
.footer-top{
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 30px;
    align-items: start;
}
.footer-brand{
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.footer-brand p{
    color: rgba(255, 255, 255, 0.75);
    max-width: 420px;
    line-height: 1.8;
}
.footer-links-grid{
    display: grid;
    gap: 22px;
}
.footer-links-column h3,
.footer-contact-block h3{
    margin-bottom: 18px;
    font-size: 1.05rem;
    color: var(--white);
}
.footer-links-column{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-link,
.footer-contact-link{
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.98rem;
}
.footer-link:hover,
.footer-contact-link:hover{
    color: var(--secondary-color);
}
.footer-contact-block{
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.footer-contact-block .footer-social{
    margin-top: 8px;
}
.footer-bottom{
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
}
.footer-social{
    display: flex;
    gap: 15px;
}
.footer-social a{
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}
.footer-social a:hover{
    background: var(--primary-color);
    transform: translateY(-3px);
}

.sticky-appointment-btn{
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;   
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}
.sticky-appointment-btn:hover{
    background: #ff5252;
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.modal{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}
.modal.active{
    display: flex;
}
.modal-content{
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}
.policy-modal-content{
    max-width: 800px;
}
.modal-close{
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray);
    transition: all 0.3s ease;
}
.modal-close:hover{
    color: var(--danger-color);
    transform: rotate(90deg);
}
.modal-title{
    font-size: 2rem;
    margin-bottom: 7px;
    color: var(--dark-color);
}
.modal-subtitle{
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--gray);
}
.policy-content{
    line-height: 1.8;
    text-align: left;
}
.policy-content h3{
    color: var(--dark-color);
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.3rem;
}
.policy-content p{
    margin-bottom: 15px;
    color: var(--dark-color);
}
.policy-content ul{
    margin-left: 20px;
    margin-bottom: 15px;
}
.policy-content ul li{
    margin-bottom: 8px;
    color: var(--dark-color);
}
.appointment-form, .report-form{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.form-group{
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-group label, .group-element label {
    font-weight: 600;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 8px;
}
.form-group i, .group-element i {
    color: var(--primary-color);
}
.form-group input,
.form-group select,
.group-element input,
.group-element select{
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.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 3px rgba(0, 119, 190, 0.1);
}
.form-group select:disabled,
.group-element select:disabled{
    background: var(--light-gray);
    cursor: not-allowed;
}
.form-group-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.group-element {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
}

.age-inputs {
  display: flex;
  gap: 2px;
}

.age-unit {
  position: relative;
  flex: 1;
}

.age-unit input {
  width: 100%;
  padding-right: 25px; /* space for unit label */
  box-sizing: border-box;
}

.unit-label {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: bold;
  color: #555;
  pointer-events: none;
}
.availability-status{
    padding: 15px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    display: none;
}
.availability-status.available{
    background: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
    display: block;
}
.availability-status.unavailable{
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
    display: block;
}
.success-modal-content{
    text-align: center;
}
.success-icon{
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: var(--success-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 3rem;
    animation: successpulse 2s infinite;
}
.success-contant h2{
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--success-color);
}
.appointment-details{
    background: var(--light-gray);
    padding: 5px;
    border-radius: 10px;
    margin: 0 0 2px 0;
    text-align: center;
    box-shadow: var(--shadow);
    font-size: 1.2rem;
}
.appointment-details h4{
    font-size: 1.2rem;
}
.appointment-details p{
    font-size: 1.15rem;
}
.appointment-details strong{
    color: var(--dark-color);
    font-size: 1.5rem;
}

#captureAppointmentDetails p{
    font-size: 0.85rem;
    text-align: center;
}
.report-message {
    margin: 15px auto;
    padding: 1rem;
    border: 1px solid #f86060;
    border-radius: 8px;
    background-color: #f5cfcfe5;
    box-shadow: 0 2px 6px rgba(245, 150, 150, 0.1);
    text-align: center;
    opacity: 0;
    transform: scale(0);
    pointer-events: none;
    transition: opacity 1s ease, transform 0.4s ease;
    display: none;
}
.report-message.success-contant{
    border-color: #28a745;
    background-color: #d4edda;
    box-shadow: 0 2px 6px rgba(40, 167, 69, 0.1);
}


/* Visible state */
.report-message.show {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}
.test-table-container {
  display: none;
  margin: 15px auto;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.test-table {
  width: 100%;
  border-collapse: collapse;
}

.test-table th,
.test-table td {
  padding: 12px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

.test-table th {
  background-color: #f0f0f0;
}

.test-table button {
  padding: 6px 12px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.test-table button:hover {
  background-color: #0056b3;
}

/* video */
.video-player {
  position: fixed;
  top: 90px;
  width: 20vw;
  left : 1vw;
  /* height: auto; */
  background: #fff;
  border: 2px solid #a1a1a1;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transition: all 0.3s ease;
  overflow: hidden;
}

.video-player.minimized {
  width: 20vw;
  /* height: auto; */
  transition: all 0.3s ease;
}

.video-player.maximized {
  width: 80vw;
  height: 60vh;
  left: 20px;
  max-width: 800px;
  max-height: 450px;
}

.video-header {
  display: flex;
  justify-content: space-between;
  padding: 5px;
  background: #f8f9fa;
  border-bottom: 1px solid #ddd;
}
.video-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  align-self: center;
  font-weight: bold;
  margin-left: 10px;
    animation: colorChange 0.3s infinite, glow 2s ease-in-out infinite alternate;
}

@keyframes colorChange {
    0% { color: #333; }
    100% { color: var(--primary-color); }
}

.video-toggle-btn {
  color: #080808;
  border: none;
  padding: 5px ;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  transition: background 0.2s;
}

.video-content {
  width: 100%;
  height: calc(100% - 40px);
}

.video-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(255, 107, 107, 0);
    }
}
@keyframes successpulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(40, 167, 69, 0);
    }
}

@media (max-width: 768px){
    
    .mobile-menu-toggle{
        display: block;
    }
    .nav-menu{
        /* display: none; */
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        transition: right 0.3s ease;
        align-items: flex-start;
        gap: 15px;
    }
    .nav-menu.active{
        right: 0;
    }
    .hero{
        background-image: url('./assets/hero-hospital-building_tab.jpg');
        align-items: center;
    }
    .hero-content{
        top: 0;
        margin: auto;
        max-width: 720px;
    }
    .hero-info-grid{
        grid-template-columns: 1fr;
    }
    .hero-title{
        font-size: 2.5rem;
    }
    .hero-subtitle{
        font-size: 1.5rem;
    }
    .hero-footer {
        bottom: 10%;
    }
    .section-title{
        font-size: 2rem;
    }
    .departments-grid{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        padding: 0 10px;
    }
    .department-card{
        width: auto;
        min-width: calc(50% - 12px);
        max-width: calc(50% - 12px);
        min-height: auto;
        padding: 16px 22px;
        border-radius: 999px;
        box-shadow: none;
    }
    .department-card:hover{
        transform: translateY(0);
        box-shadow: 0 12px 24px rgba(16, 42, 67, 0.08);
    }
    .department-card h3{
        font-size: 0.96rem;
        line-height: 1.4;
    }
    .doctor-name{
        font-size: 0.95rem;
    }
    .doctor-specialization, .doctor-qualifications, .doctor-experience, .doctor-contact{
        font-size: 0.75rem;
    }
    .contact-layout{
        grid-template-columns: 1fr;
    }
    .contact-cards{
        grid-template-columns: 1fr 1fr;
    }
    .footer-top{
        grid-template-columns: 1fr;
    }
    .footer-bottom{
        flex-direction: column;
        text-align: center;
    }
    .highlights-grid{
        grid-template-columns: 1fr;
    }
    .sticky-appointment-btn{
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    .sticky-appointment-btn span{
        display: none;
    }
    .modal-content{
        padding: 30px 20px;
    }
    .filter-buttons{
        flex-direction: column;
    }
    .filter-btn{
        width: 100%;
        text-align: center;
    }
    .footer-links{
        flex-direction: column;
        gap: 10px;
    }
    .footer-separator{
        display: none;
    }
    .video-player {
        width: 250px;
        height: 150px;
    }
    .video-player.maximized {
        width: 90vw;
        height: 50vh;
    }
    .video-player{
        width: 30vw;
    }
    .video-player.minimized{
        width: 30vw;
    }
}

@media (max-width: 480px){
    /* Hide scrollbars on mobile devices */
    ::-webkit-scrollbar {
        display: none;
    }
    .hero{
        background-image: url('./assets/hero-hospital-building_mobile.jpg');
        align-items: center;
    }
    .hero-title{
        font-size: 2rem;
    }
    .hero-subtitle{
        font-size: 1.2rem;
    }
    .container{
        padding: 0 15px;
    }
    .nav-container{
        padding: 0 15px;
    }
    .hero-content{
        padding: 15px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        top: 0;
        margin: auto;
    }
    .hero-tagline{
        font-size: 1rem;
    }
    .hero-footer {
        bottom: 15%;
    }
    .section{
        padding: 50px 0;
    }
    .departments-section{
        display: none;
    }
    .departments-grid{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        padding: 0 10px;
    }
    .department-card{
        width: 100%;
        max-width: none;
        min-width: 0;
        padding: 16px 20px;
        border-radius: 22px;
        box-shadow: none;
    }
    .department-card h3{
        font-size: 1rem;
    }
    .doctors-grid{
        grid-template-columns: 1fr;
    }
    .contact-layout{
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .contact-cards{
        grid-template-columns: 1fr;
    }
    .footer-top{
        grid-template-columns: 1fr;
    }
    .footer-bottom{
        flex-direction: column;
        text-align: center;
    }
    .highlights-grid{
        grid-template-columns: 1fr;
    }
    .modal-title{
        font-size: 1.5rem;
        text-align: center;
    }
    .modal-subtitle{
        font-size: 1rem;
        text-align: center;
    }
    .success-modal-content .modal-title{
        font-size: 1.3rem;
    }
    .appointment-details{
        padding: 5px;
        margin: 0 0 2px 0;
    }
    .appointment-details h4{
        font-size: 1rem;
    }
    .appointment-details p{
        font-size: 0.85rem;
    }
    #captureAppointmentDetails p{
        font-size: 0.75rem;
    }
}