:root {
    --bg-color: #0f0f0f;
    --bg-card: #2d2d2d;
    --accent-color: #202020;
    --text-color: #ffffff;
    --text-muted: #3a3a3a;
    --text-faint: #bbbbbb;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-weight: 200;
    font-size: 2rem;
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--bg-color);
}

body:not(.index-page) .navbar,
body:not(.index-page) header .navbar,
body:not(.index-page) nav.navbar {
    background-color: var(--bg-color) !important;
    background: var(--bg-color) !important;
}

.navbar.contact-active {
    background-color: var(--bg-color) !important;
    background: var(--bg-color) !important;
}

.brand-name,
.nav-link {
    transition: color 0.3s ease-in-out;
}

.brand-name:hover {
    /* color: var(--text-muted); */
    cursor: pointer;
}

.nav-link {
    color: var(--text-muted) !important;
}

.nav-link:hover {
    color: var(--text-color) !important;
}

#navMenu {
    background-color: var(--bg-color) !important;
}

.contact-container {
    width: 75%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

#email-me {
    color: var(--text-faint);
    text-decoration: none;
}

#email-me:hover {
    text-decoration: underline;
}

.contact-section {
    width: 100%;
    flex: 1;
    min-height: calc(100vh - 120px);
    padding-top: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-left {
    flex: 1;
}

.main-quote-heading {
    font-size: 2rem;
    text-transform: uppercase;
    font-style: italic;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 900;
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 80px;
}

.contact-container {
    width: 75%;
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

.contact-heading {
    font-size: 3rem;
    letter-spacing: 2px;
    color: var(--text-color);
    margin-bottom: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    color: var(--accent-color)
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.info-item i {
    color: var(--text-faint) !important;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: none;
    background-color: var(--bg-card);
    color: var(--text-color);
    border-bottom: 2px solid #444;
    font-size: 15px;
    outline: none;
    transition: 0.3s ease;
    resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-bottom: 2px solid #000;
}

@media (max-width: 992px) {
    .main-quote-heading {
        font-size: 0.5rem;
        margin-bottom: 50px;
        padding: 0 20px;
    }

    .info-item {
        justify-content: center;
        gap: 12px;
    }

    .contact-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-heading {
        font-size: 3rem;
    }
}

.contact-subtext {
    font-size: 16px;
    margin: 30px 0;
    max-width: 400px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    letter-spacing: 0.5px;
    gap: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.info-item i {
    font-size: 18px;
    color: var(--accent-color);
}

.contact-right {
    flex: 1;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: none;
    border-bottom: 2px solid #ddd;
    font-size: 15px;
    outline: none;
    transition: 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-bottom: 2px solid #000;
}

.g-recaptcha {
    width: 304px;
    margin: 20px auto;
}

.send-btn {
    display: none;
    margin-top: 10px;
    padding: 14px;
    border: none;
    background-color: var(--accent-color);
    color: var(--text-color);
    font-size: 20px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s ease;
}

.send-btn:hover {
    background-color: #555;
}

.main-quote-heading,
.contact-left,
.contact-right {
    opacity: 0;
}

.main-quote-heading {
    transform: translateY(40px);
    animation: fadeUp 1s ease forwards;
    animation-delay: 0.2s;
}

.contact-left {
    transform: translateX(-60px);
    animation: slideLeft 1s ease forwards;
    animation-delay: 0.6s;
}

.contact-right {
    transform: translateX(60px);
    animation: slideRight 1s ease forwards;
    animation-delay: 0.8s;
}

.info-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards;
}
.contact-info, .info-item span {
    color: var(--text-faint);
}


.info-item:nth-child(1) { animation-delay: 1s; }
.info-item:nth-child(2) { animation-delay: 1.2s; }
.info-item:nth-child(3) { animation-delay: 1.4s; }

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

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

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

@media (max-width: 992px) {
    html, body {
        overflow-x: hidden;
    }
    
    .main-quote-heading {
        font-size: 0.8rem;
    }
    
    .contact-section {
        min-height: auto;
        padding-top: 120px;
        margin-bottom: 120px;
    }
    
    .contact-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-left {
        order: 1;
        width: 100%;
    }
    
    .contact-subtext {
        margin: 20px auto;
    }

    .contact-right {
        order: 2;
        width: 100%;
    }

    .contact-info {
        order: 3;
        margin-top: 40px;
        font-size: 0.8rem;
    }

    .contact-heading {
        font-size: 1rem;
    }

    .contact-heading br {
        display: none;
        align-items: center;
    }

    .contact-form input, .send-btn, .contact-info span, .main-quote-heading {
        letter-spacing: 1px;
    }

    .contact-form textarea {
        height: 100px;
        letter-spacing: 1px;
    }

    .g-recaptcha {
        transform: scale(0.85);
        transform-origin: center;
        display: flex;
        justify-content: center;
    }
}