/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Style for the top navigation */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    color: white;
    padding: 10px 60px;
}

/* Left-side styling (Email and Phone) */
.left-side {
    font-size: 14px;
}

.contact-info {
    display: flex;
    gap: 15px;
}

.contact-info span {
    font-weight: 400;
}

/* Right-side styling (Social Icons) */
.right-side {
    display: flex;
    gap: 15px;
}

.social-icon {
    font-size: 20px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    color: white; /* Default color */
}

/* Hover animations for social icons */
.social-icon:hover {
    transform: scale(1.2);
    opacity: 0.8;
}

/* Specific color for each social icon */
.whatsapp:hover {
    color: #25D366;
}

.facebook:hover {
    color: #3b5998;
}

.instagram:hover {
    color: #e4405f;
}

.youtube:hover {
    color: #FF0000;
}

/* Styling for the header below the top navigation */
header {
    padding: 50px 20px;
    text-align: center;
    background-color: #f4f4f4;
}

header h1 {
    font-size: 2.5em;
    color: #333;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    /* Stack elements vertically on smaller screens */
    .top-nav {
        flex-direction: column;
        align-items: flex-start;
        align-items: center;
    }

    .left-side {
        margin-bottom: 10px; /* Space between contact info and social icons */
    }

    .right-side {
        display: flex;
        justify-content: center;
        gap: 10px;
        width: 100%;
    }

    .social-icon {
        font-size: 24px; /* Slightly larger icons on mobile */
    }
}

/* For very small screens (e.g., mobile phones) */
@media (max-width: 480px) {
    /* Reduce font size and spacing */
    .top-nav {
        padding: 10px;
    }

    .contact-info {
        font-size: 12px;
    }

    .social-icon {
        font-size: 20px; /* Adjust icon size for very small screens */
    }

    header h1 {
        font-size: 1.8em; /* Smaller header for mobile screens */
    }
}
