:root {
    --bg-color: #000000;
    --text-color: #f5f5f7;
    --accent: #2997ff;
    --glass: rgba(42, 42, 45, 0.7);
    --card-bg: #1c1c1e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}


body {
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 50px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    border-bottom: 1px solid #333;
}

.logo {
    font-weight: 600;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: #d1d1d1;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
        background: #121212;
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url('../assets/images/hero-bg.jpg') no-repeat center center/cover;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    font-size: 3rem;
    margin-bottom: 40px;
    text-align: center;
}

.section1 {
    padding: 100px 20px 300px;
    /* Added bottom padding for image space */
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.section1 h2 {
    font-size: 3rem;
    margin-bottom: 40px;
    text-align: center;
}

.section1 img {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    max-width: 100%;
    height: auto;
    max-height: 250px;
    /* Limit height to fit padding */
}


.section2 {
    padding: 100px 20px 300px;
    /* Added bottom padding for image space */
    max-width: 1200px;
    margin: 0 auto;
    position: relative;

}

.section2 h2 {
    font-size: 3rem;
    margin-bottom: 40px;
    text-align: center;
}

.section2 img {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    max-width: 100%;
    height: auto;
    max-height: 250px;
}


.section3 {
    padding: 100px 20px 300px;
    /* Added bottom padding for image space */
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.section3 h2 {
    font-size: 3rem;
    margin-bottom: 40px;
    text-align: center;
}

.section3 img {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    max-width: 100%;
    height: auto;
    max-height: 250px;
}

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

.card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s;
    cursor: pointer;
}

.card:hover {
    transform: scale(1.02);
}

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

.card-content {
    padding: 20px;
}

.login-container {
    max-width: 400px;
    margin: 150px auto;
    padding: 40px;
    background: var(--card-bg);
    border-radius: 20px;
    text-align: center;
}

input {
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    background: #2c2c2e;
    border: none;
    border-radius: 10px;
    color: white;
}

button {
    width: 100%;
    padding: 15px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

.guide-container {
    max-width: 800px;
    margin: 100px auto;
    padding: 0 20px;
}

.guide-step {
    background: #1c1c1e;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 12px;
}

.code-block {
    background: #000;
    padding: 15px;
    border-radius: 8px;
    font-family: monospace;
    color: #28e64d;
    overflow-x: auto;
    margin: 10px 0;
    white-space: pre-wrap;
}

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