body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #1a1a1a;
    color: #fff;
    height: 100%;
}

html {
    height: 100%;
}

.hero {
    display: flex;
    justify-content: center;     /* centers horizontally */
    align-items: center;         /* centers vertically */
    height: 100vh;
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7));
    text-align: left;            /* ← move it here once (affects .content) */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('ecImage.png') no-repeat center center/cover;
    filter: blur(5px);
    z-index: -1;
}

.content {
    padding: 0 40px;
    box-sizing: border-box;
}

.header-section {
    margin-bottom: 2rem;
}

.content h1, .content h2, .content h3, .content h4 {
    text-align: left;
    margin-top: 2rem;
}

.content ul {
    text-align: left;
    margin-left: 1rem;
}

.content p {
    text-align: left;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content {
        padding: 0 20px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    p {
        font-size: 1rem;
    }
    
    .buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .header-section {
        margin-bottom: 1rem;
    }
    
    .hero.about h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero.about video {
        margin-bottom: 1rem;
    }
    
    .back-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .content {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .buttons {
        gap: 0.5rem;
    }
    
    .hero.about h1 {
        font-size: 1.5rem;
    }
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

button.connect {
    background-color: #fff;
    color: #000;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 2px;
    transition: background-color 0.3s;
}

button.connect:hover {
    background-color: #e0e0e0;
}

a.learn-more {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 2px;
    transition: background-color 0.3s, color 0.3s;
}

.hero.doc {
    background: #1a1a1a;
    text-align: left;
    height: auto;
    min-height: 100vh;
    display: block;
    padding-top: 2rem;
}

.hero.doc::before {
    display: none;
}

.hero.about {
    background: #1a1a1a;
    text-align: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: left;
    overflow: hidden;
}

.hero.about h1 {
    margin-bottom: 2rem;
}

.hero.about video {
    max-width: 800px;
    max-height: 800px;
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
}

.back-links {
    display: flex;
    gap: 1rem;
    justify-content: left;
}