/* General Styles */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #000;
    color: white;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

nav {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 20px;
    position: absolute; 
    width: 100%;
    z-index: 1;
}

.menu-icon {
    display: none;
    cursor: pointer;
    font-size: 25px;
    color: white;
    text-align: right;
    right: 60px; 
    top: 20px;
    position: absolute;
}

.logo img {
    width: 150px;
    height: auto;
    margin-left: 100px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 70px; 
    padding: 0;
    justify-content: flex-end; /* Align links to the right */
    overflow-x: hidden;
    margin-right: 100px;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    position: relative;
    font-size: 25px;
}

.nav-links a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section img {
    width: 100%;
    height: auto;
}

.about-section {
    padding: 40px;
    background-color: #111;
    text-align: center;
}

.about-section h1,
.events-section h1,
.clients-section h1,
.team-section h1,
.contact-section h1,
.newsletter-section h1{
    font-size: 35px;
    margin-bottom: 20px;
}

.about-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-content img {
    width: 40%;
    margin-right: 30px;
}

.about-text {
    max-width: 40%;
}

.know-more-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid white;
}

.events-section {
    padding: 40px;
    text-align: center;
}

.event-cards {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.event-card img {
    width: 100%;
    border-radius: 10px;
}

.event-details-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid white;
}

.connect-btn {
    margin-top: 30px;
    padding: 10px 20px;
    border: 1px solid white;
    background-color: #000;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.clients-section {
    padding: 40px;
    text-align: center;
    background-color: #222;
}

.client-logos img {
    margin: 0 20px;
    width: 100px;
}

.team-section {
    padding: 40px;
    text-align: center;
}

.team-members {
    display: flex;
    justify-content: space-around;
}

.team-member img {
    width: 150px;
    border-radius: 50%;
}

.contact-intro {
    text-align: center;
    padding: 50px 20px;
}

.contact-intro h1 {
    font-size: 35px;
    margin-bottom: 70px;
}

.contact-intro p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-intro img {
    margin-top: 40px;
    width: 150px;
}

.map {
    padding: 50px 0;
    text-align: center;
}

.contact-form-section {
    display: flex;
    justify-content: center;
    padding: 50px;
}

.form-container {
    display: flex;
    background-color: #222;
    padding: 20px;
    gap: 20px;
    width: 1200px;
}

.form-container img {
    width: 600px;
    height: auto;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 600px;
}

form input, form textarea {
    padding: 10px;
    background-color: #333;
    color: white;
    border: none;
}

form textarea {
    height: 100px;
}

form button {
    padding: 10px 20px;
    border: 1px solid white;
    background-color: #222;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    margin-bottom: 50px;
}

form button:hover {
    background-color: #fff;
    color: #222;
}

/* Newsletter Section */
.newsletter-section {
    padding: 20px;
    text-align: center;
    background-color: #111;
}

.newsletter-section h1 {
    font-size: 28px;
    margin-bottom: 20px;
}

.newsletter-form {
    margin-top: 10px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px; 
}

.newsletter-form input {
    padding: 12px;
    width: 70%;
    max-width: 1000px; /* Limit the width for smaller screens */
    height: 40px;
    border: 1px solid white;
    border-radius: 5px;
    background-color: #111;
    color: white;
}

.subscribe-btn {
    padding: 12px 20px;
    border: 1px solid white;
    background-color: #111;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    width: 25%;
    height: 40px;
    max-width: 150px; /* Ensure button doesn't become too wide */
    transition: background-color 0.3s, color 0.3s;
}

.subscribe-btn:hover {
    background-color: white;
    color: #111;
}

/* Footer Styles */
footer {
    background-color: #000; 
    padding: 50px 20px; 
    text-align: center;
    color: #fff; 
}

footer .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

footer .social-icons {
    display: flex; /* Flexbox for horizontal alignment */
    justify-content: center; /* Center the icons */
    gap: 20px; /* Space between icons */
    margin: 20px 0; /* Space around the icon section */
}

footer .social-icons a {
    text-decoration: none; /* Remove underline from links */
}

footer .social-icons i {
    font-size: 20px; /* Set a consistent size for icons */
    color: #fff; /* Set the color to white */
    transition: transform 0.3s, color 0.3s; /* Add a transition for hover effect */
}

footer .social-icons a:hover i {
    transform: scale(1.2); /* Scale up the icon on hover */
    color: #ccc; /* Change color on hover */
}


footer .links {
    margin-top: 20px;
}

footer .links a {
    margin: 0 20px; 
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s; 
}

footer .links a:hover {
    color: #ccc; 
}

footer p {
    font-size: 14px;
    margin-top: 20px;
    line-height: 1.5;
}

footer p a {
    color: #fff; 
    text-decoration: none; 
    transition: color 0.3s;
}

footer p a:hover {
    color: #ccc;
}

/* Responsive Styles */

/* For screens with a maximum width of 1024px */
@media (max-width: 1024px) {
    .logo img {
        width: 120px;
        margin-left: 50px;
    }

    .nav-links {
        gap: 40px;
        margin-left: 50px;
        margin-right: 10px;
    }

    .nav-links a{
        font-size: 22px;
    }

    .about-content img {
        width: 50%;
    }

    .about-text {
        max-width: 45%;
    }

    .form-container {
        width: 1000px;
    }

    .form-container img {
        width: 50%;
    }

    form {
        width: 50%;
    }
}

/* For screens with a maximum width of 768px */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

    .menu-icon {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0px;
        background-color: transparent;
        width: 50%;
        padding: 10px;
        text-align: center;
     }

     .nav-links a {
        font-size: 18px;
    }

    .nav-links.active {
        display: flex;
    }

    .logo img {
        width: 100px;
        margin-left: 20px;
    }

    .about-content {
        flex-direction: column;
    }

    .about-content img {
        width: 80%;
        margin: 0 auto 20px;
    }

    .about-text {
        max-width: 100%;
        text-align: center;
    }

    .event-cards {
        flex-direction: column;
        gap: 30px;
    }

    .form-container {
        flex-direction: column;
        width: 100%;
    }

    .form-container img {
        width: 100%;
        height: auto;
    }

    form {
        width: 100%;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

    .newsletter-form input {
        width: 100%;
    }

    .subscribe-btn {
        width: 100%;
        margin-right: auto;
        margin-left: auto;
    }

    .team-members {
        flex-direction: column;
        gap: 20px;
    }

    footer .footer-content {
        padding: 30px 20px;
    }

    footer .social-icons {
        gap: 15px;
    }

    footer .links {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    footer p {
        font-size: 14px;
    }
}

/* For screens with a maximum width of 480px */
@media (max-width: 480px) {
    nav {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    .menu-icon{
        right: 30px;
    }

    .nav-links {
        gap: 20px;
        margin-left: 0;
    }

    .nav-links a{
        font-size: 16px;
    }

    .nav-links.active {
        display: flex;
    }

    .logo {
        display: flex;
        justify-content: flex-start; /* Ensures the logo stays aligned to the left */
        width: 100%; /* Stretches the logo container to full width */
    }

    .logo img {
        width: 100px;
        margin-left: 20px; /* Adjust this value as needed for spacing */
    }

    .about-section h1,
    .events-section h1,
    .clients-section h1,
    .team-section h1,
    .contact-section h1,
    .newsletter-section h1 {
        font-size: 28px;
    }

    .about-content {
        flex-direction: column;
    }

    .about-content img {
        width: 80%;
        margin-bottom: 20px;
    }

    .about-text {
        max-width: 90%;
        text-align: center;
    }

    .event-cards {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .event-card {
        margin-bottom: 20px;
    }

    .event-card img {
        width: 100%;
        height: auto;
    }

    .form-container {
        flex-direction: column;
        width: 100%;
        padding: 20px;
    }

    .form-container img {
        width: 100%;
        margin-bottom: 20px;
    }

    form {
        width: 100%;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .newsletter-form input {
        width: 100%;
    }

    .subscribe-btn {
        width: 100%;
    }

    .team-members {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .team-member {
        margin-bottom: 20px;
    }

    footer p {
        font-size: 12px;
    }
}
