:root {
    --primary: #9d00ff;
    --primary-glow: rgba(157, 0, 255, 0.5);
    --secondary: #6e00b3;
    --bg-dark: #050505;
    --bg-card: rgba(20, 20, 20, 0.6);
    --text-main: #ffffff;
    --text-dim: #b0b0b0;
    --accent: #bc4cff;
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.glow-1 {
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    animation: pulse 10s infinite alternate;
}

.glow-2 {
    bottom: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(110, 0, 179, 0.3) 0%, transparent 70%);
    animation: pulse 12s infinite alternate-reverse;
}

@keyframes pulse {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.2) translate(50px, 50px);
        opacity: 0.8;
    }
}

/* Navbar */
.navbar {
    padding: 20px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-main);
    letter-spacing: 2px;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

/* Hero Section */
.contact-hero {
    padding: 150px 0 60px;
    text-align: center;
}

.contact-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.contact-hero h1 span {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-hero p {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Section */
.contact-section {
    padding: 40px 0 100px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.glass {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    transition: var(--transition);
}

.glass:hover {
    border-color: rgba(157, 0, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(157, 0, 255, 0.1);
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.info-list {
    list-style: none;
    margin-top: 40px;
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.icon {
    width: 50px;
    height: 50px;
    background: rgba(157, 0, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 1px solid rgba(157, 0, 255, 0.2);
}

.text span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-dim);
}

.text p {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-left: 5px;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 15px;
    color: white;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(157, 0, 255, 0.05);
}

.submit-btn {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px var(--primary-glow);
    filter: brightness(1.2);
}

/* Footer Overhaul */
.footer {
    padding: 100px 0 40px;
    margin-top: 100px;
    background: linear-gradient(to bottom, transparent, rgba(157, 0, 255, 0.03));
    border-top: 1px solid var(--glass-border);
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.brand-col .brand-desc {
    margin-top: 20px;
    color: var(--text-dim);
    max-width: 350px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-heading {
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-dim);
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links a:hover,
.footer-links a.active {
    color: var(--primary);
    padding-left: 5px;
}

.social-grid {
    display: flex;
    gap: 12px;
}

.social-item {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    text-decoration: none;
    transition: var(--transition);
}

.social-item i {
    width: 20px;
    height: 20px;
}

.social-item:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--primary-glow);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.bottom-left span {
    color: var(--primary);
    font-weight: 600;
}

.bottom-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.legal-link {
    text-decoration: none;
    color: var(--text-dim);
    transition: var(--transition);
}

.legal-link:hover {
    color: var(--text-main);
}

.scroll-top {
    width: 40px;
    height: 40px;
    background: rgba(157, 0, 255, 0.1);
    border: 1px solid rgba(157, 0, 255, 0.2);
    border-radius: 50%;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.scroll-top:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .brand-col {
        grid-column: span 2;
        text-align: center;
    }

    .brand-col .brand-desc {
        max-width: 100%;
    }

    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 600px) {
    .footer {
        padding: 60px 0 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .brand-col {
        grid-column: span 1;
    }

    .social-grid {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .bottom-right {
        flex-direction: column;
        gap: 15px;
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease forwards;
}

.fade-in-delay {
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 600px) {
    .nav-links {
        display: none;
    }

    .contact-hero h1 {
        font-size: 2.5rem;
    }

    .glass {
        padding: 25px;
    }
}