/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: auto;
}

/* Header Styles */
header {
    background-color: #1a1a1a;
    color: #fff;
    padding: 10px 0;
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header .logo-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* 3D effect */
}

header h1 .highlight {
    color: #28a745; /* Green color for the last two words */
}

header .company-logo {
    max-height: 50px;
    margin-left: 15px;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

header nav ul li {
    position: relative;
}

header nav ul li a {
    color: #ffffff;
    text-decoration: none;
    padding: 10px 15px;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

header nav ul li a:hover,
header nav ul li a.cta {
    background-color: #ff6347;
    color: #ffffff;
}

/* Dropdown Styles */
.services-dropdown .dropdown-content {
    display: none;
    position: absolute;
    background-color: #2a2a2a;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    z-index: 15;
    top: 100%;
    left: 0;
    width: 200px;
    border-radius: 5px;
}

.services-dropdown:hover .dropdown-content {
    display: block;
}

.services-dropdown .dropdown-content li {
    width: 100%;
}

.services-dropdown .dropdown-content li a {
    padding: 10px 15px;
    display: block;
    color: #cccccc;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.services-dropdown .dropdown-content li a:hover {
    background-color: #ff6347;
    color: #ffffff;
    border-radius: 5px;
}

/* Hero Section */
.contact-hero {
    background: linear-gradient(to right, #ff6347, #ff4500);
    color: #fff;
    padding: 50px 0;
    text-align: left;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Added shadow for 3D effect */
    transform: translateY(-5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-hero:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
}

.contact-hero .hero-content {
    text-align: center;
}

.contact-hero h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.contact-hero p {
    font-size: 18px;
}

/* Consultation Section */
.consultation {
    padding: 30px 0;
    text-align: center;
    background-color: #f4f4f4;
}

.consultation h2 {
    font-size: 32px;
    color: #ff6347;
    margin-bottom: 10px;
}

.consultation p {
    font-size: 18px;
    color: #666;
}

/* Contact Form Section */
.contact-form {
    padding: 50px 0;
    background-color: #f4f4f4;
}

.contact-form h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
    color: #ff6347;
}

.contact-form form {
    max-width: 600px;
    margin: auto;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box; /* Ensures padding is included in width calculation */
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
}

button[type="submit"] {
    background-color: #ff6347;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

button[type="submit"]:hover {
    background-color: #ff4500;
}

#status {
    margin-top: 20px;
    text-align: center;
}

/* Footer Styles */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 40px 0;
    text-align: center;
    border-top: 3px solid #ff6347;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1);
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

footer .footer-info {
    flex: 1;
    text-align: left;
    font-size: 14px;
    margin-bottom: 15px;
}

footer .social-icons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

footer .social-icons a {
    color: #fff;
    font-size: 14px;
    padding: 5px 10px;
    background-color: #ff6347; /* Orange background */
    border-radius: 3px; /* Square with slight rounding */
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

footer .social-icons a:hover {
    background-color: #ff4500;
}

footer .footer-links {
    flex: 1;
    text-align: right;
    margin-bottom: 15px;
}

footer .container ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer .container ul li {
    margin-bottom: 10px;
}

footer .container ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer .container ul li a:hover {
    color: #ffffff;
}

/* Scroll to Top Button */
#scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ff6347;
    color: #ffffff;
    padding: 10px 15px;
    border-radius: 50%;
    font-size: 20px;
    display: none;
    z-index: 1000;
}

#scrollToTopBtn:hover {
    background-color: #ffffff;
    color: #ff6347;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .contact-form form {
        width: 100%;
        padding: 20px;
    }

    .top-bar, .logo-nav, .container {
        flex-direction: column;
        align-items: center;
    }

    footer .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    footer .footer-info,
    footer .footer-links {
        margin-bottom: 15px;
        text-align: center;
    }

    footer .social-icons {
        justify-content: center;
    }
}

.company-logo {
    max-height: 40px;
    vertical-align: middle;
    margin-left: 10px;
}

/* Modal styling */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.5); /* Black with opacity */
    padding-top: 60px;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto; /* 5% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 500px;
    text-align: center;
    border-radius: 10px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
