/* General Styles */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #0D0D0D;
    color: #FFFFFF;
}

/* Header Styles */
header {
    background-color: #1A1A1A;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
}

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
}

.logo-image {
    width: 35px;
    margin-right: 10px;
}

.logo-text {
    color: #00FFFF;
    font-size: 22px;
    text-decoration: none;
    font-weight: bold;
}

/* Navigation */
nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav li {
    margin-left: 15px;
}

/* Navigation Menu Links */
nav a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: normal;
    font-size: 16px;
    padding: 10px 15px;
    transition: color 0.3s ease-in-out; /* Smooth text color transition */
}

/* Hover Effect for Neon Cyan Text */
nav a:hover {
    color: #00FFFF; /* Change text color to neon cyan */
    border: none; /* Ensure no border appears */
    box-shadow: none; /* Remove any shadow effect */
}

.burger {
    display: block; /* Ensure it is visible on mobile */
    cursor: pointer;
    position: relative;
    z-index: 10; /* Ensure it's above other elements */
    width: 30px; /* Adjust size */
    height: 30px; /* Adjust size */
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #FFFFFF;
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

.burger.active div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active div:nth-child(2) {
    opacity: 0; /* Hide middle bar */
}

.burger.active div:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    background-color: #00FFFF; /* Neon cyan for the active state */
}

/* Hero Section */
.contact-hero {
    background-image: url('../images/contact.png');
    background-size: cover;
    background-position: center;
    height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.contact-hero::after {
    content: '';
    background-color: rgba(13, 13, 13, 0.7);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.contact-hero-content {
    position: relative;
    z-index: 1;
}

.contact-hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    color: #00FFFF;
}

.contact-hero p {
    font-size: 24px;
    margin-top: 10px;
}

/* Contact Information */
.contact-info {
    padding: 40px 20px;
    background-color: #0D0D0D;
    text-align: center;
}

.contact-info .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* Add spacing between items */
}

.contact-item {
    width: 28%; /* Adjust for better responsiveness */
    min-width: 250px;
    margin: 20px auto; /* Center items */
    text-align: center;
}

.contact-box img {
    width: 60px;
    margin-bottom: 10px;
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out; /* Smooth transition */
    filter: none; /* Ensure no initial filter is applied */
}

.contact-box:hover img {
    filter: brightness(0) saturate(100%); /* Turn image completely black */
}

/* Contact Box Styles */
.contact-box {
    background-color: #1A1A1A; /* Grey background */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional shadow for depth */
    display: inline-block;
    text-align: center;
    width: 100%;
    text-decoration: none; /* Remove underline */
    color: inherit; /* Inherit text color */
    transition: all 0.3s ease-in-out; /* Smooth transition for hover effects */
}

.contact-box:hover {
    background-color: #00FFFF; /* Change background color on hover */
    color: #0D0D0D; /* Change text color for contrast */
    box-shadow: 0 8px 16px rgba(0, 255, 255, 0.4); /* Enhanced shadow effect */
    transform: translateY(-5px); /* Slightly lift the box */
}

.contact-box img {
    width: 60px;
    margin-bottom: 10px;
    transition: transform 0.3s ease-in-out; /* Smooth image scaling */
}

.contact-box:hover img {
    transform: scale(1.1); /* Slightly enlarge the image */
}

.contact-box p a {
    color: inherit; /* Default link color */
    text-decoration: none;
    font-size: 16px;
}

.contact-box:hover p a {
    color: #0D0D0D; /* Change link color to black on hover */
    transition: none; /* Immediate change */
}

/* Footer Styles */
footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    padding: 20px; /* Keep the padding */
}

footer p {
    margin: 0;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    /* Navigation */
    .burger {
        display: block;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        align-items: center; /* Center text horizontally */
        justify-content: center; /* Center text vertically */
        background-color: #1A1A1A;
        position: absolute;
        top: 60px;
        right: 10px; /* Adjust spacing from the right */
        width: 140px; /* Adjust menu width */
        padding: 15px; /* Add padding around the menu */
        border-radius: 10px; /* Rounded corners for a clean look */
        transform: scale(0); /* Hidden by default */
        transform-origin: top right; /* Animate from top-right corner */
        transition: transform 0.3s ease-in-out; /* Smooth transition */
    }

    nav ul.open {
        transform: scale(0.8); /* Zoom-out effect */
    }

    nav ul li {
        margin: 10px 0; /* Add vertical spacing between menu items */
        text-align: center; /* Center text horizontally */
        padding: 10px; /* Add padding for better tap targets */
        width: 100%; /* Ensure full-width alignment */
    }

    nav ul li a {
        color: #FFFFFF; /* Keep text white */
        font-size: 18px; /* Slightly larger font for readability */
        text-decoration: none; /* Remove underline */
        display: block; /* Ensure full clickable area */
    }

    /* Contact Information */
    .contact-info .container {
        flex-direction: column;
        gap: 20px;
    }

    .contact-item {
        width: 90%; /* Make it fit better on smaller screens */
    }

    .contact-box {
        padding: 15px;
    }

    .contact-box h2 {
        font-size: 16px;
    }

    .contact-box p a {
        font-size: 14px;
    }

    .contact-item img {
        width: 50px; /* Scale down icons for smaller screens */
    }
}

/* Hide Burger Menu on Large Screens */
@media screen and (min-width: 769px) {
    .burger {
        display: none; /* Hide burger menu on large screens */
    }

    nav ul {
        flex-direction: row;
        position: static;
        width: auto;
        transform: scale(1); /* Reset any transforms */
    }

    nav ul li {
        margin: 0 15px;
        text-align: left;
    }
}

.youtube-icon {
    display: inline-block;
    margin-left: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: none !important; /* Remove any parent background */
    border: none !important; /* Remove any border */
    outline: none !important; /* Remove outline */
    box-shadow: none !important; /* Remove box shadow */
}

.youtube-icon img {
    width: 30px; /* Adjust size as needed */
    height: auto;
    vertical-align: middle;
    background: none !important; /* Remove background on the image */
    border: none !important; /* Remove border on the image */
    outline: none !important; /* Remove outline */
    transition: transform 0.3s ease, filter 0.3s ease;
}

.youtube-icon:hover img {
    transform: scale(1.2);
    filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(180deg); /* Cyan color */
}

.youtube-icon:hover {
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.7); /* Cyan glow */
    background: none; /* Ensure no background on hover */
}