/* Modify navbar */
.navbar {
    position: fixed;
    top: 0px;
    left: 0;
    width: 100%;
    background-color: var(--background-color);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    height: 80px;
    z-index: 1000;
    transition: top 0.4s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.reset-navbar {
    height: 80px;
}

/* Main split layout */
.contact-wrapper {
    max-width: 1280px;
    margin: 3rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

/* Left side – Hero / branding */
.hero-section {
    background: linear-gradient(135deg, #272727 0%, #393939 100%);
    border-radius: 5px;
    padding: 2.5rem;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 20px 35px -12px rgba(0,0,0,0.2);
}
.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.hero-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}
.contact-info {
    margin: 2rem 0;
}
.info-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.info-icon {
    background: rgba(255,255,255,0.15);
    width: 44px;
    height: 44px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}
.info-text strong {
    display: block;
    font-weight: 600;
}
.info-text span {
    font-size: 0.9rem;
    opacity: 0.85;
}
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}
.social-links a {
    background: rgba(255,255,255,0.12);
    width: 40px;
    height: 40px;
    border-radius:40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    transition: all 0.2s;
}
.social-links a:hover {
    background: var(--text-color);
    color: #0b2b26;
    transform: translateY(-3px);
}
.quote {
    font-style: italic;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1.5rem;
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Right side – Form card */
.form-card {
    background: rgb(120, 120, 120);
    border-radius: 5px;
    padding: 2.5rem;
    box-shadow: 0 20px 35px -12px rgba(0,0,0,0.08);
    transition: transform 0.2s;
}
.form-card h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--background-color);
}
.form-card p {
    color: var(--contrast-color);
    margin-bottom: 1.8rem;
}
.input-group {
    margin-bottom: 1.5rem;
}
.input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--background-color);
}
.input-group input,
.input-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.2s;
    background: #c9c9c9;
}
.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--background-color);
    box-shadow: 0 0 0 2px var(--contrast-color);
}

.button {
    background: var(--background-color);
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
}

.button:hover {
    background: var(--text-color);
    color: var(--background-color);
    /* border: 2px solid var(--background-color); */
    transform: translateY(-2px);
}
.alert-message {
    margin-top: 1.2rem;
    padding: 12px;
    border-radius: 5px;
    display: none;
    font-weight: 500;
    text-align: center;
}
.alert-success {
    background: #dcfce7;
    color: #15803d;
    border-left: 4px solid #15803d;
}
.alert-error {
    background: #fee2e2;
    color: #b91c1c;
    border-left: 4px solid #b91c1c;
}
.alert-message.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px);}
    to { opacity: 1; transform: translateY(0);}
}

/* Responsive */
@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .hero-section {
        order: 2;
    }
    .form-card {
        order: 1;
    }
    .nav-container {
        flex-direction: column;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .contact-wrapper {
        padding: 0 1rem;
    }
    .form-card, .hero-section {
        padding: 1.5rem;
    }
}