body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: #e0e0e0;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.navbar {
    background-color: #1f1f1f;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.navbar:hover {
    background-color: #2c2c2c;
}

.navbar .logo {
    height: 60px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.navbar .logo:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    transition: opacity 0.3s ease;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    font-weight: bold;
}

.nav-links a:hover {
    color: #00bcd4;
    text-shadow: 0 0 10px #00bcd4;
}

.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    transition: transform 0.3s ease;
}

.menu-icon span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* .menu-icon:hover {
    transform: rotate(90deg);
} */

h1 {
    color: black;
    text-align: center;
    margin-bottom: 30px;
    font-size: 3em;
    font-weight: bold;
    animation: textGlow 1.5s ease-in-out infinite;
}

@keyframes textGlow {
    0% {
        text-shadow: 0 0 5px #00bcd4, 0 0 10px #00bcd4, 0 0 15px #00bcd4, 0 0 20px #00bcd4;
    }
    50% {
        text-shadow: 0 0 10px #00bcd4, 0 0 20px #00bcd4, 0 0 30px #00bcd4, 0 0 40px #00bcd4;
    }
    100% {
        text-shadow: 0 0 5px #00bcd4, 0 0 10px #00bcd4, 0 0 15px #00bcd4, 0 0 20px #00bcd4;
    }
}

.contact-us {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 50px 20px;
    background: #1c1c1c;
    position: relative;
    overflow: hidden;
}

.contact-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 188, 212, 0.2), transparent);
    z-index: -1;
    animation: pulsate 4s infinite ease-in-out;
}

.contact-box {
    background: linear-gradient(145deg, #2c2c2c, #1f1f1f);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8);
    width: 90%;
    max-width: 900px;
    position: relative;
    overflow: hidden;
    animation: bounceIn 1s ease-out, pulseBorder 2s infinite;
    backdrop-filter: blur(10px);
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(20px);
    }
    60% {
        opacity: 1;
        transform: scale(1.1) translateY(-10px);
    }
    100% {
        transform: scale(1) translateY(0);
    }
}

@keyframes pulseBorder {
    0% {
        border: 2px solid rgba(0, 188, 212, 0.8);
    }
    50% {
        border: 2px solid rgba(0, 188, 212, 0.5);
    }
    100% {
        border: 2px solid rgba(0, 188, 212, 0.8);
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.4s ease-in-out, color 0.4s ease-in-out;
    animation: slideIn 1s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-item:hover {
    transform: scale(1.1);
    color: #00bcd4;
}

.social-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px);
    color: #00bcd4;
}

.social-link img {
    width: 60px;
    height: 60px;
    transition: transform 0.4s ease-in-out, filter 0.4s ease-in-out;
}

.social-link img:hover {
    transform: scale(1.3);
    filter: brightness(1.2);
}

.label {
    font-size: 18px;
    margin-left: 15px;
    transition: color 0.4s ease-in-out;
}

.contact-numbers {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.contact-number {
    display: flex;
    align-items: center;
    gap: 20px;
    animation: slideIn 1s ease-out;
}

.owner-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #00bcd4;
    transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

.owner-photo:hover {
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.6);
}

.contact-label {
    font-size: 20px;
    color: white;
}

/* Responsive styles */
@media (max-width: 768px) {
    .navbar {
        display: flex; /* Display flex for alignment */
        flex-direction: row; /* Keep items in a row */
        justify-content: space-between; /* Space between logo and menu */
        align-items: center; /* Center items vertically */
        padding: 10px 20px; /* Adjust padding */
        position: relative; /* Relative positioning to keep elements in place */
    }

    .menu-icon {
        display: flex; /* Show menu icon */
        align-items: center;
        flex-direction: column; /* Stack icon bars vertically */
        cursor: pointer; /* Show pointer on hover */
        gap: 5px; /* Space between icon bars */
        /* position: absolute; Position in top right */
        /* top: 15px; Adjust top spacing */
        /* right: 20px; Adjust right spacing */
    }

    .nav-links {
        position: absolute; /* Position the menu */
        top: 56px; /* Position below the navbar */
        right: 0; /* Align to the right */
        background-color: #343a40; /* Set background color */
        width: 100%; /* Full width */
        display: none; /* Hide by default */
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center items */
        padding: 10px 0; /* Adjust padding */
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* Add shadow for dropdown effect */
        z-index: 1; /* Ensure it appears on top */
    }

    .nav-links.open {
        display: flex; /* Show the menu when open */
    }

    .nav-links a {
        padding: 15px 0; /* Adjust padding for spacing */
        width: 100%; /* Full width */
        text-align: center; /* Center align text */
        font-size: 18px; /* Adjust font size */
        color: white; /* Text color */
        text-decoration: none; /* Remove underline */
        
    }

    .navbar .logo {
        margin-bottom: 0; /* Remove bottom margin */
        height: 50px; /* Adjust logo size */
    }
}

/* Dropdown menu styles */
.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: ' ';
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #1f1f1f;
    list-style: none;
    padding: 0;
    margin: 0;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    top: 100%;
    left: 0;
    width: 200px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.dropdown-menu li {
    padding: 10px 15px;
}

.dropdown-menu a {
    color: white;
    text-decoration: none;
    display: block;
}

.dropdown-menu a:hover {
    background-color: #00bcd4;
    color: white;
}

.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
}
