* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f8f9fa;
    padding-top: 120px; /* Adjusted for more space below navbar */
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: transparent;
    transition: all 0.5s ease-in-out;
}

/* LOGO */
.logo img {
    height: 150px;
    transition: filter 0.3s ease-in-out, height 0.3s, transform 0.5s ease-in-out;
}

/* NAVIGATION */
.nav-container {
    transition: transform 0.5s ease-in-out, background 0.5s ease-in-out, padding 0.5s ease-in-out, width 0.5s ease-in-out;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
    transition: gap 0.5s ease-in-out, justify-content 0.5s ease-in-out;
}

.nav-links li a {
    text-decoration: none;
    color: black;
    font-size: 18px;
    padding: 8px 15px;
    transition: color 0.3s;
}

/* SCROLL EFFECT */
.navbar.scrolled {
    background: black;
    padding: 10px 30px;
    justify-content: center;
}

.navbar.scrolled .logo img {
    filter: brightness(0) invert(1);
    height: 0px;
}

.navbar.scrolled .nav-links li a {
    color: white;
}

/* CONTACT SECTION */
.contact {
    padding: 70px 0; /* Adjusted for more spacing */
    text-align: center;
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
    margin-top: 30px; /* Increased margin for extra gap */
}

.content h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Contact Info & Form */
.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
}

/* Contact Info */
.contactInfo {
    width: 40%;
}

.contactInfo .box {
    display: flex;
    align-items: center;
    background: white;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.contactInfo .icon {
    font-size: 24px;
    color: rgba(4, 9, 30, 0.7);
    margin-right: 15px;
}

/* Contact Form */
.contactForm {
    width: 50%;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.contactForm h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.inputBox {
    position: relative;
    margin-bottom: 20px;
}

.inputBox input,
.inputBox textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    font-size: 16px;
}

.inputBox span {
    position: absolute;
    top: 12px;
    left: 15px;
    font-size: 16px;
    color: #777;
    transition: 0.3s;
}

.inputBox input:focus + span,
.inputBox textarea:focus + span,
.inputBox input:valid + span,
.inputBox textarea:valid + span {
    top: -10px;
    font-size: 14px;
    color: rgba(4, 9, 30, 0.7);
}

textarea {
    height: 100px;
    resize: none;
}

input[type="submit"] {
    width: 100%;
    padding: 12px;
    border: none;
    background: rgba(4, 9, 30, 0.7);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

input[type="submit"]:hover {
    background: rgba(3, 7, 25, 0.9);
}

/* FOOTER */
.footer {
    background-color: rgba(4, 9, 30, 0.7);
    color: white;
    padding: 50px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.footer-column {
    width: 23%;
    padding: 10px;
}

.footer-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    text-decoration: none;
    color: #ccc;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .contactInfo,
    .contactForm {
        width: 100%;
        text-align: center;
    }

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

    .footer-column {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }
}
