/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #0d1117;
    color: white;
    line-height: 1.6;
}

/* ================= NAVBAR ================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 80px;
    background: rgba(13, 17, 23, 0.9);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #1f2937;
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 35px;
    height: 35px;
}

.logo span {
    font-size: 18px;
    font-weight: bold;
}

/* ================= NAV LINKS ================= */
.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.2s;
}

.nav-links a:hover {
    color: #4da3ff;
}

.nav-links a.active {
    color: #4da3ff;
}

/* ================= DROPDOWN ================= */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #161b22;
    min-width: 220px;
    border-radius: 8px;
    padding: 10px 0;
    z-index: 9999;

    opacity: 0;
    transform: translateY(10px);
    transition: 0.2s ease;
    pointer-events: none;
}

.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-menu li {
    padding: 10px 15px;
}

.dropdown-menu li:hover {
    background: #222b36;
}

/* ================= HERO ================= */
.hero {
    background:
        linear-gradient(90deg, rgba(13,17,23,0.95) 50%, rgba(13,17,23,0.35) 100%),
        url("tacnic-main-icon.png") center/cover no-repeat;

    height: 85vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    padding: 0 120px;

    text-align: left;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 15px;
    max-width: 750px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    max-width: 650px;
    margin-bottom: 25px;
    color: #c9d1d9;
}

/* BUTTON */
.button {
    background: #0066ff;
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.2);
}

.button:hover {
    background: #0050cc;
    transform: translateY(-2px);
}

/* ================= SECTIONS ================= */
section {
    max-width: 1100px;
    margin: auto;
    padding: 80px 25px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 25px;
}

/* ================= CARDS ================= */
.card {
    background: #161b22;
    padding: 25px;
    border-radius: 12px;
    border-left: 5px solid #0066ff;
    transition: 0.25s;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.card:hover {
    transform: translateY(-6px);
    background: #1b222c;
}

/* ================= CONTACT ================= */
.contact-section {
    text-align: center;
}

.contact-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.contact-info,
.contact-form {
    background: #161b22;
    padding: 25px;
    border-radius: 12px;
    width: 340px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    text-align: left;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    margin: 10px 0;
    padding: 12px;
    border: none;
    border-radius: 6px;
    background: #0d1117;
    color: white;
    outline: none;
}

.contact-form textarea {
    resize: none;
}

.contact-form button {
    width: 100%;
    padding: 12px;
    background: #0066ff;
    border: none;
    color: white;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #0050cc;
    transform: translateY(-2px);
}

/* ================= CHECKBOX GRID (FIXED) ================= */
.checkbox-title {
    font-weight: bold;
    margin: 15px 0 10px;
    font-size: 15px;
    color: #ffffff;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 10px;
    background: #0d1117;
    border: 1px solid #2a3441;
    cursor: pointer;
    transition: 0.2s;
    font-size: 14px;
    color: #c9d1d9;
}

.checkbox-item:hover {
    border-color: #0066ff;
    background: #111827;
}

.checkbox-item input {
    transform: scale(1.2);
    cursor: pointer;
}

/* ================= FOOTER ================= */
footer {
    background: #161b22;
    text-align: center;
    padding: 25px;
    margin-top: 40px;
    color: #c9d1d9;
}

/* ================= MOBILE ================= */
@media (max-width: 900px) {

    .navbar {
        padding: 18px 20px;
        flex-wrap: wrap;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 15px;
        padding: 15px;
        background: #0d1117;
        border-top: 1px solid #1f2937;
        gap: 15px;
    }

    .nav-links.active {
        display: flex;
    }

    .hero {
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .dropdown-menu {
        position: static;
        display: none;
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .contact-info,
    .contact-form {
        width: 100%;
    }
}