* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #070824, #1b0f3a);
    color: white;
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

/* Logo */
.logo {
    font-weight: bold;
    font-size: 20px;
    color: #ffffff;
}

/* Navigation */
.nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav ul li {
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 20px;
    transition: 0.3s;
    color: #ddd;
}

.nav ul li:hover,
.nav ul li.active {
    background: #7a3cff;
    color: white;
}

/* Main Center */
.main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-size: 52px;
    color: #ffffff;
    text-shadow: 0 0 15px #7a3cff;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    color: #cfcfcf;
}

/* Footer */
.footer {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.4);
}

/* Buttons */
.auth-btn {
    padding: 12px 28px;
    border: none;
    border-radius: 30px;
    background: #7a3cff;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.auth-btn:hover {
    transform: scale(1.05);
    background: #5a2cd6;
}
.logo img {
    height:100px;
    width: auto;
}
.logo img {
    height: 100px;
    filter: drop-shadow(0 0 5p#7a3cff);
}
.nav ul li a {
    color: inherit;
    text-decoration: none;
}
/* Popup Background */
.popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;   /* vertical centering */
    z-index: 1000;
}


/* Popup Box */
.popup-box {
    background: #111;
    padding: 30px;
    border-radius: 30px;
    width: 350px;
    text-align: center;
    position: relative;
    animation: popupFade 0s ease;
}

@keyframes popupFade {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 22px;
    cursor: pointer;
}

/* Service items */
.service-list {
    display: grid;
    gap: 15px;
    margin-top: 20px;
}

.service-item {
    padding: 12px;
    background: #7a3cff;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.service-item:hover {
    background: #5a2cd6;
}

/* Services dropdown */
.services-menu {
    position: relative;
}

.services-dropdown {
    position: absolute;
    top: 40px;
    left: 0;
    background: #111;
    border-radius: 10px;
    padding: 10px;
    width: 200px;
    display: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    z-index: 1000;
}

.service-item {
    padding: 10px;
    background: #7a3cff;
    margin: 6px 0;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.service-item:hover {
    background: #5a2cd6;
}
/* Form popup box */
.form-box {
    background: linear-gradient(135deg, #0c0c2b, #1b0f3a);
    padding: 35px;
    border-radius: 15px;
    width: 380px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    transform: translateY(150px); /* moves popup slightly down */
}



/* Form heading */
.form-box h2 {
    margin-bottom: 20px;
    font-size: 26px;
    text-shadow: 0 0 10px #7a3cff;
}

/* Form layout */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Inputs */
.contact-form input {
    padding: 12px 14px;
    border: none;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 15px;
    outline: none;
    transition: 0.3s;
}

.contact-form input::placeholder {
    color: #bbb;
}

.contact-form input:focus {
    background: rgba(255,255,255,0.2);
}

/* Button */
.contact-form button {
    padding: 12px;
    border: none;
    border-radius: 25px;
    background: #7a3cff;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #5a2cd6;
    transform: scale(1.03);
}
