/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #1f242d;
    color: #333;
    padding-top: 70px; /* Space for fixed navbar */
}

/* Navbar */
/* Navbar */
        .navbar {
            width: 100%;
            background: linear-gradient(135deg, #0f172a, #1e293b);
            padding: 15px 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: fixed;
            top: 0;
            z-index: 1000;
        }

        .logo {
            font-size: 1.8rem;
            font-weight: bold;
            color: white;
            text-decoration: none;
        }

        .menu {
            display: flex;
            align-items: center;
        }

        .menu ul {
            list-style: none;
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .menu ul li a {
            text-decoration: none;
            color: white;
            padding: 8px 12px;
            border-radius: 5px;
            transition: background 0.3s ease;
        }

        .menu ul li a:hover {
            background-color: #334155;
        }

        /* Hamburger */
        .hamburger {
            font-size: 2rem;
            color: white;
            cursor: pointer;
            display: none;
        }

        /* Submenu */
        .submenu {
            max-height: 0;
            overflow: hidden;
            background-color: #334155;
            border-radius: 5px;
            transition: max-height 0.4s ease;
            position: absolute;
            top: 100%;
            left: 0;
            width: 200px;
        }

        .submenu a {
            display: block;
            padding: 10px 15px;
            color: white;
            text-decoration: none;
            transition: background 0.3s ease;
        }

        .submenu a:hover {
            background-color: white;
            color: #0f172a;
        }

        /* Desktop Hover Effect */
        @media (min-width: 769px) {
            .has-submenu {
                position: relative;
            }

            .has-submenu:hover .submenu {
                max-height: 500px;
            }
        }

        /* Mobile Styles */
        @media (max-width: 768px) {
            .menu {
                position: absolute;
                top: 100px;
                right: 0;
                background-color: #1e293b;
                width: 250px;
                flex-direction: column;
                transform: translateX(100%);
                transition: transform 0.3s ease;
            }

            .menu.active {
                transform: translateX(0);
            }

            .menu ul {
                flex-direction: column;
                width: 100%;
            }

            .menu ul li {
                width: 100%;
            }

            .menu ul li a {
                padding: 12px 20px;
                width: 100%;
            }

            .hamburger {
                display: block;
            }

            /* Mobile submenu style */
            .submenu {
                position: static;
                background-color: #475569;
                width: 100%;
            }
        }


/* Contact Section */
.contact-button {
    display: inline-block;
    margin-top: 50px;
    padding: 15px 35px;
    background: linear-gradient(45deg, #00e5ff, #00a6d8);
    color: #000;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 0 10px #00e5ff, 0 0 20px #00ffb0 inset;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px #00e5ff, 0 0 40px #00ffb0 inset;
}

.new-contact-section {
    position: relative;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    padding: 80px 20px;
    overflow: hidden;
    color: #a0d8f7;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 50px;
}

.contact-content > div {
    opacity: 0;
    transform: translateY(50px);
    animation: slideIn 1s forwards;
}

.contact-content > div:nth-child(1) { animation-delay: 0.3s; }
.contact-content > div:nth-child(2) { animation-delay: 0.6s; }
.contact-content > div:nth-child(3) { animation-delay: 0.9s; }

.quick-links ul li {
    margin-bottom: 15px;
    animation: bounceIn 1.5s ease-in-out;
    display: flex;
    align-items: center;
    gap: 10px;
}

.quick-links ul li a {
    color: #a0d8f7;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.quick-links a:hover {
    color: #00f0ff;
    text-shadow: 0 0 10px #00f0ff;
}

.contact-container {
    text-align: center;
    max-width: 400px;
}

.contact-title {
    font-size: 42px;
    color: #00f0ff;
    margin-bottom: 20px;
    text-shadow: 0 0 10px #00f0ff;
}

.contact-subtitle {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 16px;
    color: #ffffff;
    margin: 10px 0;
}

.social-media {
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.social-icons a img {
    width: 48px;
    height: 48px;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: floatIcons 3s ease-in-out infinite;
}

.social-icons a:hover img {
    transform: scale(1.2);
    box-shadow: 0 0 15px #00f0ff;
}

.rotating-ring {
    position: absolute;
    border: 8px solid #00f0ff;
    border-radius: 50%;
    opacity: 0.1;
    animation: rotateRing 15s linear infinite;
    z-index: 0;
}

.ring1 { width: 300px; height: 300px; top: -150px; left: -150px; }
.ring2 { width: 200px; height: 200px; bottom: -100px; right: -100px; animation-duration: 25s; }

@keyframes slideIn { to { opacity: 1; transform: translateY(0); } }

@keyframes bounceIn {
    0% { transform: scale(0.8); opacity: 0; }
    60% { transform: scale(1.05); opacity: 1; }
    80% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

@keyframes floatIcons {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

@keyframes rotateRing {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .contact-content { flex-direction: column; align-items: center; gap: 30px; }
    .rotating-ring { display: none; }
}

/* Contact Form Section */
.whole-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #1f242d;
    padding: 20px;
    animation: fadeIn 1.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.contact h2 {
    font-size: 40px;
    color: #ededed;
    text-align: center;
    margin-bottom: 10px;
    animation: slideDown 1s ease-in-out;
}

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.contact form {
    width: 600px;
    text-align: center;
}

form .input-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.input-box .input-field {
    width: 48.5%;
}

.field .item {
    width: 100%;
    padding: 18px;
    background: transparent;
    border: 2px solid #0ef;
    outline: none;
    border-radius: 6px;
    font-size: 16px;
    color: #ededed;
    margin: 12px 0;
    transition: all 0.3s ease;
}

.field .item:focus {
    border-color: #00ffbf;
    box-shadow: 0 0 8px #00ffbf;
    transform: scale(1.02);
}

.field .item::placeholder {
    color: rgba(255, 255, 255, .3);
}

.field .error-txt {
    font-size: 14.5px;
    color: #d93925;
    text-align: left;
    margin: -5px 0 10px;
    display: none;
}

form .textarea-field .item {
    resize: none;
}

form .textarea-field .error-txt {
    margin-top: -10px;
}

form button {
    padding: 12px 32px;
    background: #0ef;
    border: none;
    outline: none;
    border-radius: 6px;
    box-shadow: 0 0 10px #0ef;
    font-size: 16px;
    color: #333;
    letter-spacing: 1px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
}

form button:hover {
    background: #00ffbf;
    box-shadow: 0 0 15px #00ffbf;
    transform: scale(1.05);
}

/* Google Map Section */
.map-section {
    margin-top: 50px;
    padding: 40px 20px;
    background: #1f242d;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    text-align: center;
    animation: fadeInMap 1.5s ease-in-out;
}

@keyframes fadeInMap {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

.map-section h3 {
    color: white;
    font-size: 28px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

#custom-map {
    width: 90%;
    height: 400px;
    margin: 0 auto;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s ease;
}

#custom-map:hover {
    transform: scale(1.02);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .contact form {
        width: 100%;
    }

    form .input-box {
        flex-direction: column;
    }

    .input-box .input-field {
        width: 100%;
    }

    form button {
        width: 100%;
    }

    #custom-map {
        width: 100%;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .contact h2 {
        font-size: 32px;
    }

    .map-section h3 {
        font-size: 24px;
    }

    form button {
        padding: 10px 20px;
    }
}
