/* Contact Page Specifics */
.contact-section {
    padding: 120px 0 80px 0;
    background-color: #212121;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-info .section-title {
    color: #00BFFF;
    font-size: 2.8em;
    margin-bottom: 20px;
}

.contact-info .contact-description {
    color: #b0b0b0;
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details .contact-item {
    margin-bottom: 25px;
}

.contact-details .contact-item h4 {
    color: #f8f9fa;
    font-size: 1.3em;
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
}

.contact-details .contact-item h4::before {
    /* content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background-color: #00BFFF;
    border-radius: 3px;
    opacity: 0.7; */
}

.contact-details .contact-item p {
    color: #d0d0d0;
    font-size: 1em;
    margin-left: 25px;
}

.contact-form {
    background-color: grey;
    padding: 40px;
    border-radius: 12px;
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background-color: #333;
    border: 1px solid #444;
    border-radius: 8px;
    color: #f8f9fa;
    font-size: 1em;
    outline: none;
    transition: border-color 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    /* border-color: #00BFFF;
    box-shadow: 0 0 0 3px rgba(140, 122, 230, 0.3); */
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-primary {
    width: 100%;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    background-color: #00BFFF;
    color: #fff;
    border: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-form .btn-primary:hover {
    background-color: #0099CC;
    transform: translateY(-2px);
}

/* Responsive Design for Contact Page */
@media (max-width: 992px) {
    .contact-info .section-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
        .nav-menu {
        display: none; /* Hide the regular menu by default on small screens */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 80px; /* Adjust based on your navbar height */
        left: -100%; /* Initially off-screen */
        background-color: #212121; /* Dark background for dropdown */
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.15);
        padding: 2rem 0;
        transition: left 0.3s ease-in-out; /* Smooth transition when opening/closing */
    }

    /* Styles for the navigation menu when active (open) */
    .nav-menu.active {
        left: 0; /* Slide in from the left */
        display: flex; /* Make the menu visible */
    }

    /* Adjustments for individual navigation items in mobile menu */
    .nav-menu li {
        margin: 1rem 0;
    }

    /* Styles for the hamburger icon */
    .hamburger {
        display: flex; /* Show the hamburger icon on screens 768px wide or smaller */
    }

    /* Animations for the hamburger icon when active (transforms into an 'X') */
    .hamburger.active .bar:nth-child(2) {
        opacity: 0; /* Hide the middle bar */
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg); /* Rotate and move top bar */
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg); /* Rotate and move bottom bar */
    }
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-info .section-title {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .contact-info .section-title {
        font-size: 1.8em;
    }
}