:root {
    --primary: #00ff88;
    --secondary: #60efff;
    --bg-dark: #050609;
    --card-bg: #11151c;
    --text-gray: #a1a1a1;
    --border: rgba(255, 255, 255, 0.08);
    --neon-shadow: 0 0 25px rgba(0, 255, 136, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- BACKGROUND GRID --- */
.cyber-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, #0d1a30 0%, #050609 100%);
    z-index: -2;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    opacity: 0.15;
}

/* --- NAVIGATION --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
    background: rgba(5, 6, 9, 0.9);
    backdrop-filter: blur(15px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    margin-right: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links a {
    color: #aaa;
    text-decoration: none;
    margin-left: 25px;
    font-size: 0.9rem;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
}

/* --- MAIN WRAPPER --- */
.main-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.contact-container {
    width: 100%;
    max-width: 1100px;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    background: rgba(17, 21, 28, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

/* Left side: Info Panel */
.contact-info {
    background: linear-gradient(135deg, var(--primary) 0%, #0d1a30 100%);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #050609;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: "\f3ed";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 15rem;
    opacity: 0.1;
}

.contact-info h2 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 35px;
    font-weight: 700;
    font-size: 1.1rem;
}

.info-item i {
    font-size: 1.5rem;
    background: #050609;
    color: var(--primary);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

/* Right side: Form Panel */
.contact-form {
    padding: 60px;
    background: #0d1117;
}

.contact-form h3 {
    margin-bottom: 30px;
    font-size: 1.8rem;
    letter-spacing: 1px;
}

.contact-form h3 span {
    color: var(--primary);
}

.input-group {
    margin-bottom: 25px;
    position: relative;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 15px;
    color: white;
    outline: none;
    transition: 0.4s;
    font-size: 0.95rem;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: var(--primary);
    background: #1c2128;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: var(--primary);
    border: none;
    border-radius: 15px;
    color: #050609;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.4s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.submit-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 255, 136, 0.3);
    background: #fff;
}

/* --- PREMIUM FOOTER --- */
footer {
    background: #080a10;
    padding: 80px 8% 30px;
    border-top: 1px solid #222;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 255, 136, 0.1);
    padding: 8px 15px;
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 20px;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.footer-column h4 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.1rem;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 8px;
}

.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background: #11151c;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #fff;
    border: 1px solid #222;
    transition: 0.3s;
    text-decoration: none;
}

.footer-socials a:hover {
    background: var(--primary);
    color: #050609;
    box-shadow: 0 0 15px var(--primary);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #222;
    color: var(--text-gray);
    font-size: 0.8rem;
}

@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-socials {
        justify-content: center;
    }
}