@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

body {
    background-color: #0d1117 !important;
    color: #ffffff !important;
    font-family: 'Niccone', cursive;
}

.navbar {
    background-color: #0d1117 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    animation: slideDown 1s ease forwards;
}

.navbar-brand {
    font-family: 'Niccone', cursive;
    font-weight: 600;
    letter-spacing: 1px;
    color: #ffffff !important;
}

.navbar-toggler {
    border-color: rgba(123, 47, 247, 0.4) !important;
}

.navbar-toggler-icon {
    filter: invert(1);
}

.nav-pills .nav-link {
    color: #ffffff !important;
    font-family: 'Niccone', cursive;
}

.nav-pills .nav-link:hover {
    color: #7b2ff7 !important;
}

.nav-pills .nav-link.active {
    background: linear-gradient(45deg, #7b2ff7, #9f44d3) !important;
    color: #ffffff !important;
    border-radius: 8px;
}

.contact-hero {
    text-align: center;
    margin-bottom: 36px;
    animation: fadeIn 1.2s ease-in-out forwards;
}

.contact-hero h1 {
    font-family: 'Niccone', cursive;
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.contact-hero p {
    font-size: 14px;
    color: #8b949e;
    max-width: 360px;
    margin: 0 auto;
    line-height: 1.8;
    font-family: 'Inter', sans-serif;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 28px;
    animation: slideLeft 1.4s ease-in-out forwards;
}

.contact-card {
    background: #161b22;
    border: 0.5px solid rgba(123, 47, 247, 0.15);
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.contact-card:hover {
    border-color: rgba(123, 47, 247, 0.5);
    background: #1c2128;
    transform: translateY(-2px);
}

.contact-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #1c2128;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-card-text strong {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 2px;
    font-family: 'Inter', sans-serif;
}

.contact-card-text span {
    font-size: 12px;
    color: #8b949e;
    font-family: 'Inter', sans-serif;
}

.form-box {
    background: #161b22;
    border: 0.5px solid rgba(123, 47, 247, 0.15);
    border-radius: 16px;
    padding: 32px;
    animation: slideRight 1.6s ease-in-out forwards;
}

.form-title {
    font-family: 'Niccone', cursive;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.field {
    margin-bottom: 16px;
}

.highlight {
    color: hsl(259, 94%, 73%);
}

.field label {
    display: block;
    font-size: 12px;
    color: #8b949e;
    margin-bottom: 7px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.field input,
.field textarea {
    width: 100%;
    background: #1c2128;
    border: 0.5px solid rgba(123, 47, 247, 0.15);
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 13px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.2s;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #8b949e;
    opacity: 0.6;
}

.field input:focus,
.field textarea:focus {
    border-color: rgba(123, 47, 247, 0.6);
}

.field textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    width: 100%;
    padding: 13px;
    background: linear-gradient(45deg, #7b2ff7, #9f44d3);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Niccone', cursive;
    cursor: pointer;
    margin-top: 6px;
    letter-spacing: 1px;
    transition: opacity 0.2s, transform 0.1s;
}

.submit-btn:hover {
    opacity: 0.88;
}

.submit-btn:active {
    transform: scale(0.98);
}

.contact-footer {
    text-align: center;
    padding: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #8b949e;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
}

@keyframes slideDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 600px) {
    .contact-hero h1 {
        font-size: 28px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-box {
        padding: 22px 18px;
    }
}

@keyframes slideLeft {
    from {
        transform: translateX(-30px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideRight {
    from {
        transform: translateX(30px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}