*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto";
    scroll-behavior: smooth;
}

h1
{
    color: #111111;
}

h2
{
    color: #111111;
}

p
{

    color: #444444;
    
}

.slider
{
    position: relative;
    width: 100%;
    margin: auto;
    overflow: hidden;
}

.slider img
{
    width: 100%;
    display: none;
    height: auto;
   
}

img.displaySlide
{
    display: block;
    
}

.slider button
{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    padding: 10px 15px;
    background-color: rgba(55, 49, 49, 0.325);
    color: white;
    border: none;
    cursor: pointer;

}

.prev
{
    left: 0;
}

.next
{
    right: 0;
}

.prev:hover
{
    background-color: #585858;
}

.next:hover
{
    background-color: #585858;
}

.popular-products 
{
    margin-top: 20px;
    text-align: center;
    
    
}

.popular-products h2 b
{
    color: #585858;
}

.popular-products h2
{
    font-size: 28px;
}

.products
{
    display: flex;
    gap: 20px;
    width: 100%;
    text-align: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 35px;
    margin-bottom: 35px;
}

.product-content
{
    width: 20%;
    box-shadow: 0 14px 28px 0 rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0,0,0,0.22);
    margin-left: 20px;
    margin-right: 20px;
    box-sizing: border-box;
    text-align: center;
    padding-top: 10px;
    border-radius: 20px;
    cursor: pointer;
    transition: .4s;
    background: white;
}

.product-content:hover
{
    box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    transform: translate(0px, -8px);
}

.product-content img
{
    height: 100px;
    width: 100px;
    text-align: center;
    margin: 0 auto ;
    display: block;
    padding-top: 10px;
}

.product-content h3
{
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 10px;
    margin-top: 10px;
}


.product-content p
{
    color: #444444;
    text-align: center;
    padding-top:0 8px ;
    font-size: 14px;
}

h6
{
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 500;
    margin-top: 10px;
}

ul
{
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 0;

}

li
{
    padding-top: 5px;
    margin-bottom: 10px;

}

.fa
{
    font-size: 14px;
    transition: .4s;
    margin: 3px;
}

.checked
{
    color: #ff9f43;
}

.fa:hover
{
    transform: scale(1.3);
    transition: .6s;

}


.buy-now-button
{
    padding: 10px 20px 10px 20px;
    margin-top: 30px;
    border-style: none;
    border-radius: 5px;
    background-color: #0098DA;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    margin-bottom: 20px;
}

.buy-now-button a
{
    text-decoration: none;
    color: white;
    
    
    
}

.buy-now-button:hover
{
    background-color:#0079B8;
}

/* ============================================================================
   Hospital System Enhancements - Decolonize Africa Space 420
   ============================================================================ */

/* Hospital Hero Section */
.hospital-hero {
    background: linear-gradient(135deg, #0098DA 0%, #111111 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hospital-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../Images/hospital-bg-pattern.png') repeat;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hospital-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.stat-item i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Quick Access Section */
.quick-access {
    padding: 80px 0;
    background: #f8f9fa;
}

.quick-access h2 {
    text-align: center;
    color: #111111;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.quick-access > .container > p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: #666;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #0098DA;
}

.service-card i {
    font-size: 3rem;
    color: #0098DA;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #111111;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #0098DA;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: background 0.3s ease;
}

.service-btn:hover {
    background: #0079B8;
}

/* Emergency Banner */
.emergency-banner {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    padding: 20px 0;
    text-align: center;
}

.emergency-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.emergency-content i {
    font-size: 2.5rem;
}

.emergency-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.emergency-text p {
    opacity: 0.9;
}

.emergency-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    background: white;
    color: #e74c3c;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.emergency-btn:hover {
    background: #f8f8f8;
    transform: scale(1.05);
}

/* Healthcare Services Section */
.healthcare-services {
    padding: 80px 0;
    background: white;
}

.healthcare-services h2 {
    text-align: center;
    color: #111111;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.services-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-overview-item {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.service-overview-item:hover {
    background: #0098DA;
    color: white;
    transform: translateY(-5px);
}

.service-overview-item i {
    font-size: 3rem;
    color: #0098DA;
    margin-bottom: 1rem;
}

.service-overview-item:hover i {
    color: white;
}

.service-overview-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-overview-item p {
    line-height: 1.6;
}

/* Enhanced Product Sections */
.popular-products .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.popular-products h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.popular-products > .container > p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

/* Rating System Update */
.rating {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

.rating i {
    color: #ff9f43;
    margin: 0 2px;
}

.rating .far {
    color: #ddd;
}

/* Section Actions */
.section-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.contact-button,
.learn-more-button {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid #0098DA;
    color: #0098DA;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.contact-button:hover,
.learn-more-button:hover {
    background: #0098DA;
    color: white;
}

.healthcare-showcase {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
    margin-top: 2rem;
}

.showcase-card {
    background: #f8f9fb;
    border: 1px solid #eef1f4;
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: 0 10px 22px rgba(17, 24, 39, 0.08);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 100%;
}

.showcase-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 30px rgba(17, 24, 39, 0.12);
}

.showcase-image {
    background: linear-gradient(180deg, #f3f4f6 0%, #edf7ff 100%);
    border-radius: 18px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 170px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.showcase-image img {
    width: 100%;
    max-width: 120px;
    height: auto;
    max-height: 120px;
    object-fit: contain;
    display: block;
}

.showcase-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.showcase-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 0.8rem;
    min-height: 72px;
}

.showcase-price {
    color: #0d7a4a;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Announcements Section */
.announcements {
    padding: 80px 0;
    background: #f8f9fa;
}

.announcements h2 {
    text-align: center;
    color: #111111;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.announcement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.announcement-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.announcement-card i {
    font-size: 2.5rem;
    color: #0098DA;
    margin-bottom: 1rem;
}

.announcement-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #111111;
}

.announcement-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.announcement-card a {
    color: #0098DA;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.announcement-card a:hover {
    color: #0079B8;
}

/* Container Utility */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================================================
   Enhanced Index Page Features
   ============================================================================ */

/* Hero DateTime Display */
.hero-datetime {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.hero-datetime i {
    color: #fff;
}

/* Emergency Quick Access */
.emergency-quick-access {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.emergency-quick-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.emergency-quick-btn {
    background: #e74c3c;
    color: white;
}

.emergency-quick-btn:hover {
    background: #c0392b;
    transform: scale(1.05);
}

.emergency-quick-btn.secondary {
    background: #27ae60;
    color: white;
}

.emergency-quick-btn.secondary:hover {
    background: #229954;
}

/* User Dashboard */
.user-dashboard {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.dashboard-header {
    text-align: center;
    margin-bottom: 3rem;
}

.dashboard-header h2 {
    color: #111111;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.dashboard-header h2 i {
    color: #0098DA;
    margin-right: 0.5rem;
}

.dashboard-header p {
    color: #666;
    font-size: 1.1rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.dashboard-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 2rem;
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.dashboard-card h3 {
    color: #111111;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.dashboard-card h3 i {
    color: #0098DA;
    margin-right: 0.5rem;
}

/* Activity Card */
.activity-list {
    max-height: 300px;
    overflow-y: auto;
}

.activity-loading {
    text-align: center;
    color: #666;
    padding: 2rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-item i {
    color: #0098DA;
    font-size: 1.2rem;
    min-width: 20px;
}

.activity-content {
    flex: 1;
}

.activity-title {
    display: block;
    color: #111111;
    font-weight: 500;
}

.activity-date {
    display: block;
    color: #666;
    font-size: 0.9rem;
}

/* Stats Card */
.user-stats {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
}

.user-stats .stat-item {
    text-align: center;
    background: none;
    padding: 0;
    border-radius: 0;
    backdrop-filter: none;
    border: none;
}

.user-stats .stat-value {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #0098DA;
}

.user-stats .stat-label {
    display: block;
    color: #666;
    font-size: 0.9rem;
}

/* Insurance Card */
.insurance-loading {
    text-align: center;
    color: #666;
    padding: 1rem;
}

.insurance-active,
.insurance-inactive {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.insurance-details {
    flex: 1;
}

.insurance-policy {
    display: block;
    font-weight: bold;
    color: #111111;
}

.insurance-coverage,
.insurance-expiry {
    display: block;
    color: #666;
    font-size: 0.9rem;
}

.text-success {
    color: #27ae60;
}

.text-warning {
    color: #f39c12;
}

/* Actions Card */
.quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-align: center;
}

.action-btn i {
    font-size: 1.5rem;
}

.action-btn.emergency {
    background: #e74c3c;
    color: white;
}

.action-btn.emergency:hover {
    background: #c0392b;
    transform: scale(1.05);
}

.action-btn.telemedicine {
    background: #27ae60;
    color: white;
}

.action-btn.telemedicine:hover {
    background: #229954;
    transform: scale(1.05);
}

.action-btn.records {
    background: #3498db;
    color: white;
}

.action-btn.records:hover {
    background: #2980b9;
    transform: scale(1.05);
}

.action-btn.pharmacy {
    background: #9b59b6;
    color: white;
}

.action-btn.pharmacy:hover {
    background: #8e44ad;
    transform: scale(1.05);
}

/* Health Tips Section */
.health-tips {
    padding: 80px 0;
    background: white;
}

.health-tips h2 {
    text-align: center;
    color: #111111;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tip-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tip-card:hover {
    background: #0098DA;
    color: white;
    transform: translateY(-5px);
}

.tip-icon {
    font-size: 3rem;
    color: #0098DA;
    margin-bottom: 1rem;
}

.tip-card:hover .tip-icon {
    color: white;
}

.tip-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.tip-card p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.tip-link {
    color: #0098DA;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.tip-card:hover .tip-link {
    color: white;
}

/* Weather & Alerts Section */
.weather-alerts {
    padding: 60px 0;
    background: #f8f9fa;
}

.alerts-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.weather-widget,
.health-alerts {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.weather-widget h3,
.health-alerts h3 {
    color: #111111;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.weather-widget h3 i,
.health-alerts h3 i {
    color: #0098DA;
    margin-right: 0.5rem;
}

.weather-loading {
    text-align: center;
    color: #666;
    padding: 2rem;
}

.weather-data {
    text-align: center;
}

.weather-main {
    margin-bottom: 1rem;
}

.temperature {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #0098DA;
}

.condition {
    display: block;
    color: #666;
    font-size: 1.1rem;
}

.weather-details {
    margin-bottom: 1rem;
    color: #666;
}

.weather-advice {
    background: #e8f5e8;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #27ae60;
}

.weather-advice i {
    color: #27ae60;
    margin-right: 0.5rem;
}

.alerts-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.alert-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: 8px;
}

.alert-item.info {
    background: #e8f4fd;
    border-left: 4px solid #3498db;
}

.alert-item.info i {
    color: #3498db;
}

.alert-item.success {
    background: #e8f5e8;
    border-left: 4px solid #27ae60;
}

.alert-item.success i {
    color: #27ae60;
}

.alert-item.warning {
    background: #fdf5e6;
    border-left: 4px solid #f39c12;
}

.alert-item.warning i {
    color: #f39c12;
}

/* Loading Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

body.loaded .dashboard-card,
body.loaded .tip-card,
body.loaded .weather-widget,
body.loaded .health-alerts {
    animation: fadeIn 0.6s ease-out;
}

/* Enhanced Button Styles */
.section-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.buy-now-button,
.contact-button,
.learn-more-button {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.buy-now-button {
    background: #0098DA;
    color: white;
}

.buy-now-button:hover {
    background: #0079B8;
    transform: scale(1.05);
}

.contact-button {
    background: #27ae60;
    color: white;
}

.contact-button:hover {
    background: #229954;
    transform: scale(1.05);
}

.learn-more-button {
    background: #f39c12;
    color: white;
}

.learn-more-button:hover {
    background: #e67e22;
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hospital-hero h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        gap: 1rem;
    }

    .stat-item {
        padding: 0.5rem;
    }

    .service-grid,
    .announcement-grid {
        grid-template-columns: 1fr;
    }

    .emergency-content {
        flex-direction: column;
        text-align: center;
    }

    .products {
        flex-direction: column;
        align-items: center;
    }

    .product-content {
        width: 80%;
        max-width: 300px;
        margin: 1rem 0;
    }

    .section-actions {
        flex-direction: column;
        align-items: center;
    }

    /* Enhanced mobile styles */
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .quick-actions {
        grid-template-columns: 1fr;
    }

    .alerts-container {
        grid-template-columns: 1fr;
    }

    .tips-grid {
        grid-template-columns: 1fr;
    }

    .emergency-quick-access {
        flex-direction: column;
        align-items: center;
    }

    .hero-datetime {
        flex-direction: column;
        gap: 0.5rem;
    }
}
@media (max-width: 768px) {
    .hospital-hero h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        gap: 1rem;
    }

    .stat-item {
        padding: 0.5rem;
    }

    .service-grid,
    .announcement-grid {
        grid-template-columns: 1fr;
    }

    .emergency-content {
        flex-direction: column;
        text-align: center;
    }

    .products {
        flex-direction: column;
        align-items: center;
    }

    .product-content {
        width: 80%;
        max-width: 300px;
        margin: 1rem 0;
    }

    .section-actions {
        flex-direction: column;
        align-items: center;
    }
}