/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f5f7fa;
}

/* Header Styles */
header {
    background-color: #ffffff;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    height: 40px;
    padding-right: 1rem;
    border-right: 1px solid #e1e8f0;
}
.logo1 {
    display: flex;
    align-items: center;
    height: 40px;
    padding-right: 1rem;
    border-right: 1px solid #e1e8f0;
    font-size: 20px;
}

.logo-img {
    height: 100%;
    width: auto;
    object-fit: contain;
    cursor: pointer;
}

.sidebar-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

h1 {
    font-size: 1.5rem;
    color: #2c3e50;
}

.notification-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    position: relative;
    color: #333;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    padding: 0.2rem 0.5rem;
    font-size: 0.8rem;
}

/* Hero Section */
.hero {
    padding: 1.2rem;
    text-align: center;
    background-color: #ffffff;
    margin: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-image {
    max-width: 90%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.primary-btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    max-width: 180px;
    width: 100%;
}

.primary-btn:hover {
    background-color: #2980b9;
}

/* Quick Actions Section */
.quick-actions {
    padding: 2rem;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.action-card {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: #2c3e50;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.action-card:hover {
    transform: translateY(-5px);
}

.action-card i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #3498db;

}

.action-card.whatsapp i {
    color: #25D366;
}

/* Health Watch Section */
.health-watch {
    padding: 1.5rem;
    margin: 1.5rem;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.health-watch::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, #e8f4fd 0%, #f5f7fa 100%);
    z-index: 1;
}

.health-watch-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.watch-text {
    
    flex: 0 1 50%;
    text-align: left;
}

.watch-text h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
    text-align: left;
}

.watch-text p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    max-width: 400px;
    text-align: left;
}

.watch-image {
    flex: 0 1 50%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    min-height: 250px;
}

.watch-img {
    max-width: 80%;
    height: auto;
    border-radius: 12px;
    box-shadow: 8px 8px 24px rgba(0, 0, 0, 0.1),
                -8px -8px 24px rgba(255, 255, 255, 0.8);
}

/* Featured Cards Section */
.featured-cards {
    padding: 2rem;
    padding-bottom: 5rem;
    overflow: hidden;
    margin-bottom: 1rem;
}

.featured-cards h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.card-grid {
    display: flex;
    gap: 2rem;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 1rem;
    padding-bottom: 1.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    margin-bottom: 1rem;
}

.card-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.card {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex: 0 0 auto;
    width: 300px;
    scroll-snap-align: start;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.card-content p {
    color: #666;
    margin-bottom: 1.5rem;
}

.card-buttons {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.secondary-btn {
    background-color: transparent;
    color: #3498db;
    border: none;
    padding: 0.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    min-width: auto;
   
}

.secondary-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.secondary-btn:hover {
    color: #2980b9;
}

.secondary-btn:hover i {
    transform: translateX(4px);
}

.outline-btn {
    background-color: transparent;
    color: #1568bb;
    border: 2px solid #2c3e50;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    flex: 1;
    min-width: 120px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.outline-btn:hover {
    color: #101213;
}

.outline-btn:hover i {
    transform: translateX(4px);
}

.outline-btn i {
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .health-watch {
        padding: 1.5rem;
    }

    .watch-text h2 {
        font-size: 1.8rem;
    }

    .watch-image {
        min-height: 280px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0.8rem;
    }

    .logo {
        height: 32px;
        padding-right: 0.8rem;
    }

    h1 {
        font-size: 1.1rem;
    }

    .hero {
        margin: 0.6rem;
        padding: 1rem;
    }

    .hero-image {
        max-width: 95%;
        margin-bottom: 0.8rem;
    }

    .primary-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.95rem;
    }

    .action-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }

    .action-card {
        padding: 0.8rem;
    }

    .action-card i {
        font-size: 1.3rem;
        margin-bottom: 0.3rem;
    }

    .action-card span {
        font-size: 0.9rem;
    }

    .card-grid {
        padding-bottom: 1rem;
    }

    .card {
        width: 280px;
    }

    .health-watch {
        margin: 0.8rem;
        padding: 1.2rem;
    }

    .health-watch::before {
        width: 100%;
        height: 40%;
        top: auto;
        bottom: 0;
        background: linear-gradient(180deg, transparent 0%, #e8f4fd 100%);
    }

    .health-watch-content {
        gap: 1.5rem;
        padding: 0.8rem;
    }

    .watch-text {
        flex: 1;
        text-align: center;
    }

    .watch-text h2,
    .watch-text p {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .watch-image {
        flex: 1;
        justify-content: center;
        width: 100%;
        max-width: 300px;
    }

    .watch-img {
        max-width: 75%;
        transform: none;
    }

    .featured-cards {
        padding: 1.5rem;
        padding-bottom: 4.5rem;
    }

    .featured-cards h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .card-content {
        padding: 1rem;
    }

    .card-content h3 {
        font-size: 1.2rem;
    }

    .card-content p {
        font-size: 0.9rem;
    }

    .card-buttons {
        gap: 0.6rem;
    }

    .secondary-btn {
        font-size: 0.85rem;
    }
    
    .secondary-btn i {
        font-size: 0.75rem;
    }

    .sticky-contact {
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }

    .footer-nav-btn i {
        font-size: 1.2rem;
    }
    
    .footer-nav-btn span {
        font-size: 0.7rem;
    }

    .footer-nav {
        padding: 0.6rem 0.8rem;
    }

    .footer-nav-btn {
        min-width: 56px;
        padding: 0.4rem;
    }

    .footer-nav-btn i {
        font-size: 1.3rem;
    }
    
    .footer-nav-btn span {
        font-size: 0.7rem;
    }

    .footer-nav-btn::after {
        width: 20px;
        height: 2px;
    }

    .footer-nav {
        padding: 0.4rem;
    }

    .footer-nav-btn {
        min-width: 48px;
        padding: 0.3rem;
    }

    .footer-nav-btn i {
        font-size: 1.1rem;
    }
    
    .footer-nav-btn span {
        font-size: 0.65rem;
    }

    .footer-nav-btn::after {
        width: 16px;
    }

    main {
        padding-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    header {
        padding: 0.6rem;
    }

    .logo {
        height: 28px;
        padding-right: 0.6rem;
    }

    .header-left {
        gap: 0.8rem;
    }

    .sidebar-toggle {
        font-size: 1.2rem;
    }

    .notification-btn {
        font-size: 1rem;
    }

    .notification-badge {
        padding: 0.15rem 0.4rem;
        font-size: 0.7rem;
    }

    .hero {
        margin: 0.4rem;
        padding: 0.8rem;
    }

    .hero-image {
        max-width: 100%;
        margin-bottom: 0.6rem;
        border-radius: 6px;
    }

    .primary-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        max-width: 160px;
    }

    .quick-actions {
        padding: 1rem;
    }

    .action-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }

    .action-card {
        padding: 0.8rem 0.5rem;
        border-radius: 8px;
    }

    .action-card i {
        font-size: 1.2rem;
        margin-bottom: 0.2rem;
    }

    .action-card span {
        font-size: 0.8rem;
    }

    .health-watch {
        margin: 0.5rem;
        padding: 1rem;
    }

    .health-watch-content {
        padding: 0.5rem;
        gap: 1rem;
    }

    .watch-image {
        min-height: 180px;
        max-width: 250px;
    }

    .watch-img {
        max-width: 80%;
    }

    .featured-cards {
        padding: 1rem 0.5rem;
        padding-bottom: 4rem;
    }

    .featured-cards h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .card-grid {
        padding: 0.5rem;
        padding-bottom: 0.8rem;
        gap: 1rem;
    }

    .card {
        width: 260px;
    }

    .card img {
        height: 160px;
    }

    .card-content {
        padding: 0.8rem;
    }

    .card-content h3 {
        font-size: 1.1rem;
    }

    .card-content p {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }

    .card-buttons {
        gap: 0.5rem;
    }

    .secondary-btn {
        font-size: 0.8rem;
        padding: 0.4rem;
    }
    
    .secondary-btn i {
        font-size: 0.7rem;
    }

    .sticky-contact {
        bottom: 1rem;
        right: 1rem;
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }
    
    .sticky-contact i {
        font-size: 1rem;
    }

    .outline-btn {
        gap: 0.3rem;
    }
    
    .outline-btn i {
        font-size: 0.9rem;
    }

    .footer-nav {
        padding: 0.3rem;
    }
    
    .footer-nav-btn {
        min-width: 40px;
        padding: 0.2rem;
    }

    .footer-nav-btn i {
        font-size: 1rem;
    }
    
    .footer-nav-btn span {
        font-size: 0.6rem;
    }
    
    .footer-nav-btn::after {
        width: 14px;
    }
    
    .sticky-contact {
        bottom: 4rem;
    }

    main {
        padding-bottom: 2.5rem;
    }
}

@media (max-width: 360px) {
    .health-watch {
        margin: 0.5rem;
        padding: 0.8rem;
    }

    .health-watch-content {
        gap: 0.8rem;
    }

    .watch-text h2 {
        font-size: 1.6rem;
    }

    .watch-text p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .watch-image {
        min-height: 160px;
        max-width: 220px;
    }

    .watch-text .primary-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
        min-width: 140px;
    }

    .hero {
        margin: 0.3rem;
        padding: 0.6rem;
    }

    .hero-image {
        border-radius: 4px;
    }

    .primary-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
        max-width: 140px;
    }
}

/* Sticky Contact Button */
.sticky-contact {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 99;
    background-color: #3498db;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.sticky-contact i {
    font-size: 1.2rem;
}

.sticky-contact:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(52, 152, 219, 0.4);
}

/* Sticky Footer Navigation */
.footer-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    padding: 0.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 100;
    display: flex;
    justify-content: space-around;
    align-items: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    color: rgb(66, 60, 60);
    text-decoration: none;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0.3rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    min-width: 52px;
}

.footer-nav-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-nav-btn span {
    font-size: 0.7rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.8;
}

.footer-nav-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background-color: #3498db;
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-nav-btn.active {
    color: #3498db;
}

.footer-nav-btn.active::after {
    transform: translateX(-50%) scaleX(1);
}

.footer-nav-btn:hover {
    color: #3498db;
    transform: translateY(-2px);
}

.footer-nav-btn:hover i {
    transform: scale(1.1);
}

.footer-nav-btn:hover span {
    opacity: 1;
}

/* Adjust sticky contact button position for footer nav */
.sticky-contact {
    bottom: 4.5rem;
}

/* Adjust main content to prevent footer overlap */
main {
    padding-bottom: 3.5rem;
}

@media (max-width: 768px) {
    main {
        padding-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    main {
        padding-bottom: 2.5rem;
    }
}

/* Welcome Section */
.welcome-section {
    padding: 1.2rem;
    margin: 0.8rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.welcome-content {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: 0 0.5rem;
}

.welcome-content h2 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    color: #2c3e50;
    font-weight: 700;
    background: linear-gradient(45deg, #2c3e50, #3498db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-text {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.welcome-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 1.2rem;
    padding: 0.5rem;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-3px);
}

.feature i {
    font-size: 1.6rem;
    color: #3498db;
    transition: transform 0.3s ease;
}

.feature span {
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 500;
}

.feature:hover i {
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .welcome-section {
        margin: 0.6rem;
        padding: 1rem;
    }

    .welcome-content h2 {
        font-size: 1.4rem;
    }

    .welcome-text {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        padding: 0;
    }

    .welcome-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
        padding: 0.3rem;
    }

    .feature {
        padding: 0.6rem;
    }

    .feature i {
        font-size: 1.4rem;
    }

    .feature span {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .welcome-section {
        margin: 0.4rem;
        padding: 0.8rem;
    }

    .welcome-content {
        padding: 0;
    }

    .welcome-content h2 {
        font-size: 1.3rem;
    }

    .welcome-text {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 0.8rem;
    }

    .welcome-features {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1rem;
    }

    .feature {
        padding: 0.5rem;
        flex-direction: row;
        justify-content: flex-start;
        gap: 1rem;
        text-align: left;
    }

    .feature i {
        font-size: 1.2rem;
    }

    .feature span {
        font-size: 0.85rem;
    }
}

@media (max-width: 360px) {
    .welcome-section {
        margin: 0.3rem;
        padding: 0.6rem;
    }

    .welcome-content h2 {
        font-size: 1.2rem;
    }

    .welcome-text {
        font-size: 0.8rem;
        margin-bottom: 0.6rem;
    }

    .feature {
        padding: 0.4rem;
        gap: 0.8rem;
    }

    .feature i {
        font-size: 1.1rem;
    }

    .feature span {
        font-size: 0.8rem;
    }
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
    box-shadow: 4px 0 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow-y: auto;
    padding: 1.2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.sidebar.active {
    left: 0;
    backdrop-filter: blur(10px);
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(225, 232, 240, 0.6);
    margin-bottom: 1.2rem;
}

.sidebar-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #2c3e50;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-close:hover {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
    transform: rotate(90deg);
}

/* Sidebar Profile Styles */
.sidebar-profile {
    padding: 1.5rem;
    text-align: center;
    background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.sidebar-profile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    opacity: 0.1;
    border-radius: 16px 16px 100% 100%;
}

.profile-image {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(45deg, #3498db, #2ecc71);
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
    transition: all 0.4s ease;
}

.profile-img:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
}

.profile-status {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 14px;
    height: 14px;
    background-color: #2ecc71;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(46, 204, 113, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(46, 204, 113, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
    }
}

.profile-info {
    margin-top: 0.8rem;
    padding: 0 0.5rem;
}

.profile-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.4rem;
    background: linear-gradient(45deg, #2c3e50, #3498db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* .profile-email {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin: 0;
    opacity: 0.8;
} */

.sidebar-menu {
    display: flex;
    flex-direction: column;
    /* gap: 0.4rem; */
    padding: 0.5rem;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1rem;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.sidebar-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #3498db, #2ecc71);
    opacity: 0;
    transition: all 0.3s;
    z-index: 0;
}

.sidebar-item i {
    font-size: 1.3rem;
    color: #3498db;
    transition: all 0.3s;
    z-index: 1;
    position: relative;
}

.sidebar-item span {
    font-size: 1rem;
    font-weight: 500;
    z-index: 1;
    position: relative;
    transition: all 0.3s;
}

.sidebar-item:hover {
    transform: translateX(5px);
}

.sidebar-item:hover::before {
    opacity: 0.05;
}

.sidebar-item:hover i {
    transform: scale(1.1);
    color: #2ecc71;
}

.sidebar-item:hover span {
    color: #2c3e50;
}

/* Logout Button Styles */
.logout-item {
    margin-top: auto;
    background: linear-gradient(145deg, #ff6b6b10, #ff6b6b20);
    border: 1px solid rgba(255, 107, 107, 0.1);
}

.logout-item i {
    color: #ff6b6b;
    font-size: 1.4rem;
}

.logout-item span {
    color: #ff6b6b;
    font-weight: 600;
}

.logout-item::before {
    background: linear-gradient(45deg, #ff6b6b, #ff8787);
}

.logout-item:hover {
    background: linear-gradient(145deg, #ff6b6b15, #ff6b6b25);
    transform: translateX(5px);
}

.logout-item:hover i {
    color: #ff5252;
    transform: scale(1.1) rotate(360deg);
}

.logout-item:hover span {
    color: #ff5252;
}

.sidebar-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #e1e8f0, transparent);
    margin: 1rem 0;
    opacity: 0.6;
}

/* Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .sidebar {
        width: 280px;
        left: -280px;
        padding: 1rem;
    }

    .profile-image {
        width: 80px;
        height: 80px;
    }

    .profile-name {
        font-size: 1.1rem;
    }

    .profile-email {
        font-size: 0.85rem;
    }

    .sidebar-item {
        padding: 0.8rem 0.9rem;
    }

    .sidebar-item i {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .sidebar {
        width: 260px;
        left: -260px;
        padding: 0.8rem;
    }

    .profile-image {
        width: 70px;
        height: 70px;
    }

    .sidebar-item {
        padding: 0.7rem 0.8rem;
    }

    .sidebar-item i {
        font-size: 1.1rem;
    }

    .sidebar-item span {
        font-size: 0.95rem;
    }
} 
/* signuppage  */
input,
select {
    margin: 0 0 0.8em 0;
    padding: 0.8em 2em 10px 0;
    width: 100%;
    display: inline-block;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #5a6374;
    outline: 0;
    box-sizing: border-box;
    color: #0f0f0f;
}

.imagelog {
    max-width: 400px;
    width: 100%;
    border-radius: 10px;
}

.button {
    margin: 2em 0;
    padding: 0.4em 4em;
    width: auto;
    display: block;
    background-color: rgba(78, 193, 182, 1);
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 0.8em;
    border-radius: 30px;
  position: absolute;
}
/* cart css */
.test-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #fff;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 7px;
    border: 1px solid #ddd;
}
.test-item h2 {
    margin: 0;
    font-size: 18px;
    color: #333;
    text-align: left;
}
.test-item p {
    margin: 5px 0 0;
    font-size: 14px;
    color: #666;
}
.price {
    font-size: 16px;
    font-weight: bold;
}
.delete-button1 {
    background: none;
    border: none;
    cursor: pointer;
    color: rgb(136, 27, 27);
    font-size: 18px;
}
.total-amount {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
}
/* .buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}
.buttons button {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
} */
/* .add-test {
    background: #007bff;
    color: white;
}
.next {
    background: #28a745;
    color: white;
} */
a {
    text-decoration: none;
    color: white;
}
/* test rate and packages  */
.search-bar {
    width: 90%;
    padding: 10px;
    margin-bottom: 20px;
  }
  
  
  
  .test-info {
    font-size: small;
    flex: 1;
    text-align: left;
  }
      .price {
    
    margin-right: 10px;
   
  }
  
  .book-btn {
    padding: 5px 10px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
  }
  
  .book {
    background-color: #3498db;
    color:white;
  }
  
  .cancel {
    background-color: red;
    color: white;
  }
  .price s {
    
    color: red;
   
  }
  /* booking viewcss */
  .tab {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    cursor: pointer;
    background-color: #ddd;
    border-radius: 5px;
    transition: 0.3s;
}

.tab.active {
    background-color: #007bff;
    color: white;
}

.content {
    display: none;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.content.active {
    display: block;
}

.booking-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 10px;
    background: #f9f9f9;
    text-align: left;
}

.booking-details h2 {
    margin: 0;
    font-size: 18px;
    /* float: left; */
}

.booking-details p {
    /* margin: 5px 0; */
    font-size: 14px;
    /* float: left; */
}

.request-status {
    color: #d9534f;
    font-weight: bold;
  
    
}

a {
    text-decoration: none;
    color: #007bff;
    font-size: 20px;
}
/* card css */
/* .slider {
    display: flex;
    justify-content: center;
    padding:20px;

} */
.hero-slider {
    display: flex;
    gap: 2rem;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 1rem;
    padding-bottom: 1.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none; 
    margin-bottom: 1rem;
}
.card1 {
    width: 300px;
    margin: 10px;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    background: white;
}
.card1 img {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.card1 ul, .info-popup ul {
    text-align: left;
}
.popup, .info-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    text-align: left;
    width: 300px;
}
.popup button{
    margin-top: 10px;
    padding: 10px 20px;
    background: #007BFF;
    color: white;
    border: none;
    cursor: pointer;
}
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
   
}
/* location css */
/* .input-group {
    margin: 10px 0;
    position: relative;
} */

label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    text-align: left;
}

/* input[type="date"],
button,
input[type="text"] {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
    text-align: left;
    background: white;
    cursor: pointer;
} */
.input-group {
    margin: 20px 0;
}




.dropdown-content {
    display: none;
    background-color: #fff;
    border: 1px solid #ccc;
    max-height: 150px;
    overflow-y: auto;
    width: 80%;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
}

.dropdown-content div {
    padding: 10px;
    cursor: pointer;
}
.dropdown-content div:hover {
    background-color: #f1f1f1;
}


#location {
    margin-top: 10px;
    font-size: 14px;
    color: #333;
}

#map {
    width: 100%;
    height: 200px;
    margin-top: 10px;
    display: none;
    border-radius: 10px;
}

.btn {
    width: 100%;
    cursor: pointer;
    padding: 10px;
    border: none;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
}
/* health watch */
.card2 {
    width: 100%;
    background: #eef2f7;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: #2c3e50;
    /* transition: 0.3s; */
    display: flex;
    flex-direction: column-reverse;
    /* gap: 5px; */
    cursor: pointer;
}
.card2 i {
    font-size: 20px;
    color: #3b82f6;
}
.card2:hover {
    background: #dce4f0;
    transform: scale(1.05);
}
/* family member */
 /* #otp-verification { display: none; } */
 .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 400px;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.close-modal {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 16px;
    cursor: pointer;
    color: red;
}

.plus-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: blue;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
}

.member-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    text-align: left;
}

.member {
    background: #f3f3f3;
    border-radius: 8px;
    padding: 15px;
    width: 300px;
    display: flex;
    justify-content: space-between;
    text-align: left;
}

.delete-icon {
    color: red;

    cursor: pointer;
    font-size: 18px;
}

.member-details {
    margin-right: 20px;
    text-align: left;
}

#otp-verification {
    display: none;
}
/* gloucose css */
/* .record-list {
    margin-top: 20px;
}
.record {
    background: white;
    padding: 10px;
    margin: 10px 0;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.plus-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: blue;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
.popup {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 20px;
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
}
.popup input, .popup select, .popup button {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.popup button {
    background-color: rgb(110, 6, 230);
    color: white;
    border: none;
   
}
.close-button {
    text-align: right;
    cursor: pointer;
    font-size: 20px;
    color: gray;
} */
/* blood pressure */
.record-list {
    margin-top: 20px;
}
.record {
    background: white;
    padding: 10px;
    margin: 10px 0;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.plus-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: blue;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
.popup1 {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 20px;
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
}
.popup1 input, .popup1 select, .popup1 button {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.popup1 button {
    background-color: rgb(110, 6, 230);
    color: white;
    border: none;
   
}
.close-button {
    text-align: right;
    cursor: pointer;
    font-size: 20px;
    color: gray;
}


.option1 {
    display: inline-block;
    width: 70%;
    margin: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
  }
  
  .option1 i {
    font-size: 24px;
    margin-bottom: 10px;
    color: #2704e9;
  }
  
  .option1 p {
    margin-bottom: 20px;
    color:black;
  }
  .option1 {
    display: inline-block;
    width: 70%;
    margin: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}
.option1 i {
    font-size: 24px;
    margin-bottom: 10px;
    color: #8B4513;
}
.profile-section img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid #007bff;
}

.profile-section h2 {
    margin: 10px 0;
    font-size: 22px;
}

.edit-icon {
    position: absolute;
    /* top: 10px; */
    right: 10px;
    font-size: 20px;
    color: #0d1013;
    cursor: pointer;

}

.profile-details {
    margin-top: 20px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid #ddd;


}

.detail-label {
    font-weight: bold;
    color: #555;
}

.edit-input {
    /* width: 80%; */
    /* padding: 5px; */
    /* border: 1px solid #080808; */
    /* border-radius: 5px; */
    font-size: 14px;
    /* float: right; */
    margin: 0 0 0.8em 0;
    padding: 0.8em 2em 10px 0;
    width: 100%;
    display: inline-block;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #5a6374;
    outline: 0;
    box-sizing: border-box;
    color: #0f0f0f;
    gap: 10px;
}

.delete-button {
    margin-top: 15px;
    background: red;
    color: white;
    border: none;
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.delete-button:hover {
    background: darkred;
}

.save-button {
    margin-top: 10px;
    background: green;
    color: white;
    border: none;
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    display: none;
}

.save-button:hover {
    background: darkgreen;
}

#profilePicInput {
    display: none;
}