/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #000000;
}

/* Navigation Bar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: black;
    padding: 1rem 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 999;
}

.logo-container {
    height: 80px;
}

.nav-logo {
    height: 100%;
    object-fit: contain;
    max-width: 150px;
    margin-left: 80px;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #ffffff;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #d4af37;
}

.social-icon {
    font-size: 1.8rem; /* Increased size for better visibility */
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    margin-left: 1rem;
}

.social-icon:hover {
    color: #d4af37;
}

.social-icon i {
    margin: 0;
}

/* Section Styles */
.section {
    padding: 4rem 2rem;
    text-align: center;
    background-color: #1a1a1a;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.section h2 {
    font-size: 2.5rem;
    color: #d4af37;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.section p {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    color: #cccccc;
}

/* Home Section */
.home {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url('images/health-background.jpg') no-repeat center center/cover;
    position: relative;
    padding: 0;
    margin-bottom: 0;
    border-radius: 0;
    box-shadow: none;
}

.home::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/certificate.png') repeat;
    opacity: 0.1;
    z-index: 1;
}

.home::after {
    content: "\f0c8 \f121"; /* Medical cross and blockchain node */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 120px;
    color: rgba(255, 255, 255, 0.05);
    z-index: 1;
    opacity: 0.1;
}

.home-content {
    position: relative;
    z-index: 2;
    padding: 4rem 2rem;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 12px;
    max-width: 900px;
    margin: 0 auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.home-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #d4af37;
    font-weight: 600;
}

.home-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #ffffff;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: #d4af37;
    color: #000000;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s, transform 0.3s ease;
}

.btn.secondary {
    background-color: #1a1a1a;
    color: #d4af37;
    border: 2px solid #d4af37;
}

.btn:hover {
    background-color: #c7a51d;
    transform: translateY(-2px);
}

.btn.secondary:hover {
    background-color: #2d2d2d;
    transform: translateY(-2px);
}

/* Social Buttons */
.social-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-block;
    background-color: #d4af37;
    color: #000000;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s, transform 0.3s ease;
}

.social-btn:hover {
    background-color: #c7a51d;
    transform: translateY(-2px);
}

/* Tokenomics Section */
.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem;
}

.token-box {
    background: #2d2d2d;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.token-box:hover {
    transform: translateY(-5px);
}

.token-box h3 {
    font-size: 1.2rem;
    color: #d4af37;
    margin-bottom: 0.5rem;
}

.token-box p {
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: 600;
}

/* Roadmap Section */
.roadmap-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.roadmap-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color: #d4af37;
    transform: translateX(-50%);
}

.roadmap-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    position: relative;
}

.roadmap-marker {
    width: 15px;
    height: 15px;
    background-color: #d4af37;
    border: 3px solid #1a1a1a;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    z-index: 1;
}

.roadmap-item h3 {
    font-size: 1.5rem;
    color: #d4af37;
    margin-bottom: 0.5rem;
    flex: 0 0 20%;
    text-align: right;
    padding-right: 2rem;
}

.roadmap-item p {
    font-size: 1.1rem;
    color: #cccccc;
    flex: 0 0 75%;
    text-align: left;
    padding-left: 2rem;
    border-left: 2px solid #2d2d2d;
    padding-top: 0.5rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 1.5rem 2rem;
    background-color: #1a1a1a;
    border-top: 1px solid #2d2d2d;
    font-size: 0.9rem;
    color: #cccccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav {
        flex-direction: column;
        padding: 1rem;
    }

    .logo-container {
        margin-bottom: 1rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        text-align: center;
        display: none;
        background-color: #1a1a1a;
        padding: 1rem 0;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        padding: 0.5rem 0;
        display: block;
    }

    .social-icon {
        margin: 0.5rem 0;
        font-size: 1.6rem; /* Adjusted for mobile visibility */
    }

    .home-content {
        padding: 3rem 1rem;
    }

    .home-content h1 {
        font-size: 2.2rem;
    }

    .home-content p {
        font-size: 1.1rem;
    }

    .section h2 {
        font-size: 2rem;
    }

    .section p {
        font-size: 1rem;
    }

    .tokenomics-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-buttons, .social-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .roadmap-timeline::before {
        left: 20px;
    }

    .roadmap-item {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 2rem;
    }

    .roadmap-marker {
        left: 10px;
        top: 10px;
    }

    .roadmap-item h3 {
        text-align: left;
        padding-right: 0;
        margin-bottom: 0.5rem;
    }

    .roadmap-item p {
        padding-left: 2.5rem;
        border-left: none;
        border-top: 2px solid #2d2d2d;
        padding-top: 1rem;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .logo-container {
        height: 40px;
    }

    .nav-logo {
        max-width: 120px;
    }

    .home-content h1 {
        font-size: 1.8rem;
    }

    .home-content p {
        font-size: 1rem;
    }

    .section {
        padding: 2rem 1rem;
    }

    .section h2 {
        font-size: 1.6rem;
    }

    .section p {
        font-size: 0.9rem;
    }

    .tokenomics-grid {
        grid-template-columns: 1fr;
    }

    .roadmap-item h3 {
        font-size: 1.3rem;
    }

    .roadmap-item p {
        font-size: 1rem;
    }
}