/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --teal-primary: #008080;
    --teal-dark: #004d4d;
    --teal-light: #00cccc;
    --orange-primary: #ff7f50;
    --orange-dark: #e65c35;
    --orange-light: #ff9a75;
    --white: #ffffff;
    --gray-light: #f5f7fa;
    --gray-medium: #e2e8f0;
    --gray-dark: #2c3e50;
    --cream-bg: #fff8dc;
    --shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.4s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--cream-bg);
    color: var(--gray-dark);
    line-height: 1.7;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.healthcare-container {
    background-color: var(--cream-bg);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0;
}

/* Enhanced Header Styles with parallax effect */
.page-header {
    margin-bottom: 0;
    border-radius: 20px;
    height: 75vh;
    min-height: 450px;

    /* Gradient overlay on top of image */
    background-image:
        linear-gradient(90deg, rgba(22, 48, 5, 0.7) 0%, rgba(196, 110, 57, 0.7) 100%),
        /* added opacity for overlay effect */
        url('healthcare_assets/CG.jpg');
    background-size: cover;
    /* makes image cover whole area */
    background-position: center;
    /* centers image */
    background-repeat: no-repeat;
    /* prevents tiling */

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;

    animation: headerZoom 20s ease-in-out infinite;
}

/* Text styling on top */
.page-header h1,
.page-header p,
.page-header .highlight {
    position: relative;
    z-index: 2;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}


@keyframes headerZoom {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.header-content {
    max-width: 800px;
    padding: 2rem;
    z-index: 2;
    animation: fadeIn 1.5s ease-out, subtleFloat 6s ease-in-out infinite;
}

@keyframes subtleFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    color: #ffffff;
    /* White text */
}

.page-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, var(--teal-primary), var(--orange-primary));
    border-radius: 2px;
}



@keyframes linePulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scaleX(0.8);
    }

    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}

.page-header p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 300;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 2s ease-out;
}


/* Section Styles */
.healthcare-section {

    border-radius: 20px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.section-title {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
    font-size: 2.2rem;
    color: var(--teal-primary);
    position: relative;
    font-weight: 700;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--teal-primary), var(--orange-primary));
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Healthcare Grid */
.healthcare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.healthcare-card {
    background-color: var(--white);
    margin-bottom: 20px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.healthcare-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.healthcare-image {
    height: 200px;
    overflow: hidden;
}

.healthcare-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.healthcare-card:hover .healthcare-image img {
    transform: scale(1.05);
}

.healthcare-content {
    padding: 1.5rem;
}

.healthcare-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--teal-primary);
    font-weight: 600;
}

.healthcare-content p {
    color: var(--gray-dark);
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.healthcare-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.location,
.rating {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.rating {
    font-weight: 600;
    color: var(--orange-primary);
}

/* Section Variations */
.emergency-services {
    background-color: var(--cream-bg);
    padding: 4rem 0;
}

.ambulance-services {
    background-color: var(--cream-bg);
    padding: 4rem 0;
}

/* Section explore */
.section-explore {
    text-align: center;
    margin-top: 2rem;
}

.explore-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--teal-primary), var(--orange-primary));
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.explore-btn:hover {
    background: linear-gradient(135deg, var(--teal-dark), var(--orange-dark));
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Healthcare Info Compact */
.health-info-compact {
    margin-bottom: 20px;
   background-color: var(--cream-bg);
    max-width: 1500px;
    margin: 0 auto;
    padding: 1.5rem 15px;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

.compact-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--teal-primary);
    padding: 0 15px;
}

.compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    border-radius: 18px;
    padding: 0 10px;
}

.compact-card {
   background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 1.2rem 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.compact-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: teal;
    font-weight: 600;
}

.compact-card ul {
    list-style: none;
}

.compact-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-medium);
    color: var(--gray-dark);
}


.compact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Custom Link */
.custom-link {
    text-decoration: none;
    color: inherit;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .healthcare-section {
        padding: 10px 60px;
    }

    .emergency-highlight-content {
        width: 100%;
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .healthcare-section {
        padding: 10px 40px;
    }

    .healthcare-card {
        flex-direction: column;
    }

    .card-image {
        height: 250px;
        flex: 0 0 auto;
    }

    .header h1 {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .page-header p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 4rem 1rem;
        height: 60vh;
        min-height: 400px;
    }

    .header-content h1 {
        font-size: 2rem;
    }

    .header-content p {
        font-size: 1rem;
    }

    .healthcare-grid {
        grid-template-columns: 1fr;
    }

    .compact-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .healthcare-section {
        padding: 10px 20px;
    }

    .compact-card {
        margin-left: 10px;
        margin-right: 10px;
    }

    .healthcare-nav ul {
        flex-direction: column;
    }

    .healthcare-nav a {
        text-align: center;
        border-bottom: 1px solid var(--gray-medium);
        border-left: 3px solid transparent;
    }

    .healthcare-nav a.active {
        border-bottom: 1px solid var(--gray-medium);
        border-left: 3px solid var(--teal-primary);
    }

    .emergency-numbers {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .emergency-item {
        width: 100%;
        max-width: 300px;
    }

    .header {
        padding: 30px 0;
    }

    .header h1 {
        font-size: 1.8rem;
    }

    .emergency-content h2 {
        font-size: 1.7rem;
    }

    .emergency-row {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .emergency-row .emergency-item {
        width: 100%;
        max-width: 250px;
        justify-content: space-between;
    }
}

@media (max-width: 576px) {
    .page-header {
        padding: 3rem 1rem;
        height: 50vh;
        min-height: 350px;
    }

    .header-content h1 {
        font-size: 1.8rem;
    }

    .healthcare-content {
        padding: 1rem;
    }

    .healthcare-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .language-toggle {
        top: 10px;
        right: 10px;
    }

    .language-toggle button {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .healthcare-section {
        padding: 10px 15px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .compact-title {
        font-size: 1.6rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .card-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .healthcare-grid {
        padding: 0 15px;
        gap: 20px;
    }

    .card-content {
        padding: 20px;
    }

    .emergency-content h2 {
        font-size: 1.5rem;
    }

    .emergency-numbers {
        padding: 1rem;
    }

    .emergency-item {
        padding: 1rem;
        min-width: auto;
        width: 100%;
    }

    .emergency-icon {
        font-size: 2rem;
    }

    .emergency-number {
        font-size: 1.5rem;
    }

    .emergency-label {
        font-size: 1rem;
    }
}

@media (max-width: 400px) {
    .page-header h1 {
        font-size: 1.7rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .healthcare-content h4 {
        font-size: 1.1rem;
    }

    .emergency-number {
        font-size: 1.3rem;
    }

    .emergency-label {
        font-size: 0.9rem;
    }
}

/* ========== HEALTHCARE PAGE HEADER STYLES ========== */
.sub-header {
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, var(--teal-dark) 0%, var(--orange-dark) 100%);
    color: white;
    border-radius: 0;
    position: relative;
    overflow: hidden;

}

.sub-header h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
}

.sub-header p {
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
    position: relative;
}

/* Category headers inside healthcare sections */
.sub-category-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding: 0 15px;
}

.sub-category-title {
    font-size: 1.8rem;
    color: var(--teal-dark);
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
}

.sub-category-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--teal-primary), var(--orange-primary));
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.sub-category-description {
    font-size: 1rem;
    color: var(--gray-dark);
    max-width: 700px;
    margin: 0 auto;
}

/* Navigation Styles */
.healthcare-nav {
    background: linear-gradient(135deg, var(--teal-dark) 0%, var(--orange-dark) 100%);
    padding: 0.6rem 0;
    position: relative;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.healthcare-nav::-webkit-scrollbar {
    display: none;
}

.healthcare-nav ul {
   display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.healthcare-nav li {
    flex: 0 0 auto;
}

.healthcare-nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    border: 1px solid transparent;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    line-height: 1.3;
}

.healthcare-nav a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.2);
}

.healthcare-nav a.active {
   background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Healthcare Category Styles */
.healthcare-category {
    margin-bottom: 40px;
}

.category-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    font-size: 1rem;
    font-style: normal;
    color: linear-gradient(135deg, var(--teal-dark) 0%, var(--orange-dark) 100%);
}
.category-title{
    text-align: center;
    position: relative;
    font-size: 2rem;
    font-style: normal;
    color: var(--teal-dark);
}
.category-description{
    text-align: center;
    position: relative;
    font-size: 1.2rem;
    font-style: normal;
    color: var(--teal-dark);
}
.healthcare-grid {
    display: flex;
    flex-direction: column;
    max-width: 1250px;
    margin: 0 auto;

}

/* Healthcare Card Styles */
.healthcare-card {
    display: flex;
    max-width: 1500px;
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.healthcare-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.healthcare-card {
    display: flex;
    align-items: stretch;
}

.card-image {
    flex: 1;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* or 'contain' for no crop */
}


.card-content {
    flex: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--teal-primary);
}

.card-content p {
    font-size: 15px;
    margin-bottom: 5px;
    color: var(--gray-dark);
    line-height: 2.5;
}

.healthcare-details {
    background: rgba(0, 139, 139, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 5px;
   line-height: 2.5;
    border: 1px solid rgba(0, 139, 139, 0.3);
}

.detail-item {
    font-size: 13px;
    display: flex;
    margin-bottom: 2px;
}

.detail-label {
    font-size: 15px;
    font-weight: 600;
    min-width: 100px;
    color: var(--gray-dark);
}

.detail-value {
    flex: 1;
    color: var(--gray-dark);
}

.card-info {
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  
    border-top: 1px solid var(--gray-medium);
}

.location {
    color: var(--gray-dark);
    font-size: 0.9rem;
}

.rating {
    font-weight: 600;
    color: var(--orange-primary);
}

.directions-btn-container {
    text-align: center;
    margin-top: 5px;
}

.directions-btn {
    width: 100%;
    display: inline-block;
    background: linear-gradient(135deg, var(--teal-primary), var(--orange-primary));
    color: #fff;
    font-weight: 600;
    padding: 5px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.directions-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Emergency Section Styles */
.emergency-section {
    background: var(--cream-bg);
    padding: 40px 20px;
    margin-top: 5px;
    max-width: 100%;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    box-shadow: none;
}

.emergency-content {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.emergency-content h2 {
    font-size: 2rem;
    margin-bottom: 5px;
    color: var(--orange-primary);
}

.emergency-content p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: var(--gray-dark);
}

.emergency-numbers {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    background-color: var(--cream-bg);
    margin-bottom: 20px;
}

.emergency-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 20px;
    border-radius: 8px;
    background-color: var(--cream-bg);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.emergency-item:hover {
    transform: translateY(-5px);
    background-color: var(--orange-light);
}

.emergency-label {
    font-size: 1rem;
    margin-bottom: 5px;
    opacity: 0.9;
    color: var(--orange-dark);
}

.emergency-number {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--teal-dark);
}

.emergency-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 15px;
}

.emergency-row .emergency-item {
    flex-direction: row;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 6px;
    background-color: var(--orange-light);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.emergency-row .emergency-item:hover {
    transform: translateY(-3px);
    background-color: var(--orange-primary);
}

.emergency-row .emergency-label {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: var(--orange-dark);
}

.emergency-row .emergency-number {
    font-size: 1.2rem;
    color: var(--teal-dark);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .emergency-numbers {
        gap: 20px;
    }

    .emergency-item {
        padding: 12px 0;
    }

    .emergency-number {
        font-size: 1.6rem;
    }

    .emergency-row {
        gap: 15px;
    }

    .emergency-row .emergency-item {
        padding: 8px 15px;
    }
}

@media (max-width: 480px) {
    .emergency-numbers {
        gap: 15px;
    }

    .emergency-numbers .emergency-item {
        min-width: 110px;
    }

    .emergency-label {
        font-size: 0.9rem;
    }

    .emergency-number {
        font-size: 1.4rem;
    }

    .emergency-row {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .emergency-row .emergency-item {
        width: 100%;
        max-width: 250px;
        justify-content: space-between;
    }
}

.map-container {
    margin-top: 15px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(255, 127, 80, 0.3);
    height: 150px;
    transition: all 0.3s ease;
}

.temple-card:hover .map-container {
    border-color: rgba(255, 127, 80, 0.6);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: sepia(20%) saturate(120%) hue-rotate(15deg);
    transition: filter 0.3s ease;
}

.temple-card:hover .map-container iframe {
    filter: sepia(0%) saturate(100%) hue-rotate(0deg);
}

.emergency-numbers {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: var(--cream-bg);
    border-radius: 12px;
}

.emergency-highlight-content {
    display: flex;
    justify-content: space-between;
    width: 1200px;
    align-items: center;
    align-content: center;
    margin: 0 auto;
}

.emergency-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    min-width: 140px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.emergency-item:hover {
    transform: translateY(-3px);

}

.emergency-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    color: var(--teal-primary);
}

.emergency-label {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--gray-dark);
    margin-bottom: 0.5rem;
}

.emergency-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--teal-dark);
    background: var(--cream-bg);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    width: 100%;
}

/* Responsive design */
@media (max-width: 768px) {
    .emergency-numbers {
        gap: 1rem;
        padding: 1rem;
    }

    .emergency-item {
        padding: 1rem;
        min-width: 120px;
    }

    .emergency-icon {
        font-size: 2rem;
    }

    .emergency-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .emergency-numbers {
        flex-direction: column;
        align-items: center;
    }

    .emergency-item {
        width: 100%;
        max-width: 200px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    .emergency-icon {
        margin-bottom: 0;
        margin-right: 1rem;
        font-size: 1.8rem;
    }

    .emergency-content {
        flex-grow: 1;
    }

    .emergency-number {
        font-size: 1.4rem;
        text-align: center;
    }
}

.healthcare-page .healthcare-section {
    display: none;
}

.healthcare-page .healthcare-section.active {
    display: block;
}

.healthcare-page .healthcare-nav a.active {
    font-weight: bold;
    color: var(--teal-primary);
    border-bottom: 2px solid var(--teal-primary);
}

/* Additional Teal & Orange Styling */
.btn-primary {
    background: linear-gradient(135deg, var(--teal-primary), var(--orange-primary));
    border: none;
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--teal-dark), var(--orange-dark));
}

.highlight-text {
    background: linear-gradient(135deg, var(--teal-primary), var(--orange-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-border {
    border: 2px solid;
    border-image: linear-gradient(135deg, var(--teal-primary), var(--orange-primary)) 1;
}

/* Animations from about.css */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}

/* UPDATED TABLE STYLES - Matching about.css color scheme */
.table-container{
    align-items: center;
    margin-right: 20px;
    max-width: 1250px;
}
.table-title{
    color: teal;
    align-items: center;
    text-align: center;

}
table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
    background: white;
}

thead {
    background: linear-gradient(to right, var(--teal-primary), var(--orange-primary));
    color: white;
}

th,
td {
    padding: 16px 20px;
    text-align: left;
    border: none;
    /* remove all lines */
}

th {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

/* Horizontal dividers only */
tbody tr {
    background: white;
    position: relative;
}

tbody tr:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(to right, var(--teal-primary), var(--orange-primary));
}

/* Hover effect */
tbody tr:hover {
    background: rgba(255, 122, 26, 0.06);
    /* soft orange hover */
}
    .healthcare-nav a {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        border-radius: 15px;
    }
/* Mobile Navigation Optimization */
@media (max-width: 768px){
    .healthcare-nav ul {
         flex-direction: wrap;
    gap: 0.1rem;
    }
    .healthcare-nav li {
        width: 100%;
        text-align: center;
    }
.healthcare-nav a {
        width: 100%;
        padding: 0.8rem 1rem;
        margin: 0 2px;
    }
}