/* Global Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #121212;
    color: #ffffff;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

/* Navbar Styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #121212;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #cccccc;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: #ffffff;
}

.lets-talk-btn a {
    background-color: #ffffff;
    color: #000000;
    padding: 6px 14px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Main Content Layout */
.main-content {
    padding: 20px 60px 60px 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.page-title {
    text-align: center;
    font-size: 3rem;
    color: #d946ef;
    letter-spacing: 2px;
    margin-bottom: 40px;
    text-shadow: 0 0 15px rgba(217, 70, 239, 0.6);
}

/* Contact Container (Flexbox Grid) */
.contact-container {
    display: flex;
    gap: 50px;
    align-items: stretch;
    justify-content: center;
}

/* Left Image Box */
.contact-image-wrapper {
    flex: 1;
    max-width: 450px;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #000;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.contact-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fits and crops perfectly without distortion */
    object-position: center;
}

/* Right Form / Info Card */
.contact-card {
    flex: 1.5;
    max-width: 700px;
    background-color: #1a1a1a;
    border-left: 2px solid #ffffff;
    padding: 40px;
    border-radius: 0 12px 12px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.input-group label {
    color: #aaaaaa;
    font-size: 0.95rem;
}

.input-group input {
    background: transparent;
    border: none;
    border-bottom: 1px solid #ffffff;
    color: #ffffff;
    font-size: 1rem;
    padding: 8px 0;
    outline: none;
}

.input-group input:focus {
    border-bottom-color: #d946ef;
}

/* Submit Button */
.submit-btn {
    background-color: #000000;
    color: #ffffff;
    border: 1px solid #333;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    align-self: flex-start;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #222;
    border-color: #d946ef;
}

/* Contact Info Section */
.contact-info {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-label {
    color: #aaaaaa;
    font-size: 0.95rem;
}

.info-value {
    color: #ffffff;
    font-size: 1rem;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
    }

    .contact-image-wrapper {
        width: 100%;
        max-width: 500px;
        height: 400px;
    }

    .contact-card {
        width: 100%;
        max-width: 500px;
        border-left: none;
        border-top: 2px solid #ffffff;
        border-radius: 12px;
        padding: 30px 20px;
    }

    .main-content {
        padding: 20px 20px 40px 20px;
    }
}

@media (max-width: 600px) {
    .nav-links {
        display: none;
    }

    .page-title {
        font-size: 2.2rem;
    }

    .contact-info {
        flex-direction: column;
        gap: 15px;
    }
}