/* --- Variables & Reset --- */
:root {
    --bg-dark: #121212;
    --text-light: #e0e0e0;
    --accent-color: #00d2ff; 
    --card-bg: #1e1e1e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth; 
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

/* --- Navbar --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background: rgba(18, 18, 18, 0.95);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav h2 {
    color: var(--text-light);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* --- Buttons --- */
.btn, .btn-primary {
    background-color: var(--accent-color);
    color: #121212;
    padding: 10px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover, .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.4);
}

.mobile-btn {
    display: none;
}

/* --- Hamburger Icon --- */
.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--accent-color);
}

/* --- General Sections --- */
section {
    padding: 100px 10%;
    text-align: center;
}

/* --- Hero Section --- */
.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.highlight {
    color: var(--accent-color);
}

.social-links {
    margin: 20px 0 30px 0;
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
}

/* --- Cards Container (CSS Grid) --- */
.cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto 0;
}

.card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, border-color 0.3s ease;
    text-align: left;
    border: 1px solid transparent;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.card h3 {
    margin-bottom: 15px;
    color: var(--accent-color);
}

.link-text {
    color: var(--accent-color);
    text-decoration: none;
    margin-top: 20px;
    display: inline-block;
    font-weight: bold;
    font-size: 0.9rem;
}

.link-text:hover {
    text-decoration: underline;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .hamburger {
        display: block; 
    }
    
    .mobile-btn {
        display: inline-block; 
        margin-top: 15px;
    }

    .desktop-btn {
        display: none; 
    }

    nav ul {
        display: none; 
        flex-direction: column;
        width: 100%;
        background-color: var(--card-bg);
        position: absolute;
        top: 70px;
        left: 0;
        padding: 20px 0;
        text-align: center;
        box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    }

    nav ul.active {
        display: flex;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
    
    section {
        padding: 60px 5%;
    }

    .cards-container {
        grid-template-columns: 1fr; /* 1 column on Phone */
    }
}