/* General Body Styling */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: url('atlantacity.jpg') no-repeat center center fixed;
    background-size: cover;
    color: white;
}

/* Navbar Styling */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%; /* Use percentage for responsive padding */
    background: #602f6b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    box-sizing: border-box; /* Prevents content from overflowing the width */
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 24px;
    color: aliceblue;
}

.logo-image {
    width: 60px;
    height: auto;
    margin-right: 8px;
}

.navbar {
    display: flex;
    flex-wrap: wrap; /* Allows navbar items to wrap on small screens */
    justify-content: flex-end; /* Aligns links to the right */
    flex-grow: 1;
}

.navbar a {
    font-size: 18px;
    color: aliceblue;
    font-weight: 500;
    text-decoration: none;
    margin-left: 20px; /* Reduced to 20px for better spacing */
    position: relative;
}

.navbar a::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 0;
    height: 2px;
    background: aliceblue;
    transition: 0.3s;
}

.navbar a:hover::before {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 10px 5%; /* Reduced padding for smaller screens */
    }

    .navbar a {
        margin-left: 10px; /* Smaller margins on small screens */
        font-size: 16px; /* Slightly smaller font for mobile */
    }

    .navbar {
        justify-content: center; /* Centered links on smaller screens */
        flex-direction: column; /* Stack links vertically */
    }
}

/* Contact Section Styling */
.contact-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin-top: 100px; /* Adjust for the navbar height */
}

.container {
    background: rgba(44, 1, 73, 0.441); /* Semi-transparent container */
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-around; /* Increased space between boxes */
    max-width: 1200px;
    width: 90%;
}

/* Individual Contact Box Styling */
.contact-box {
    text-align: center;
    width: 30%;
    padding: 20px;
    background: #ffffffd3; /* Purple background for the boxes */
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin: 0 20px; /* Added margin to create gap between boxes */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Ensures content is vertically centered */
    align-items: center;
}

/* Aligned text and icons */
.contact-box h3,
.contact-box p {
    color: rgb(83, 0, 108); /* Text color */
    margin: 0;
    padding: 5px 0;
}

.contact-box h3 {
    font-size: 1.4em;
    margin-bottom: 10px; /* Adds consistent spacing below header */
}

.contact-box p {
    font-size: 1.1em;
    margin-top: 10px; /* Added margin to create space between icon and text */
}

.icon {
    width: 100px;
    height: auto;
    margin-bottom: 5px; /* Consistent spacing for icons */
}
.icon1 {
    width: 130px;
    height: auto;
    margin-bottom: 5px; /* Consistent spacing for icons */
}

/* Responsive Design for Contact Section */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }
    .contact-box {
        width: 80%;
        margin-bottom: 20px;
    }
}
