/* Base Styles & Theme */
:root {
    --primary: #00ffcc;
    --primary-hover: #00ccaa;
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --accent: #3b82f6;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    background: var(--bg-dark);
    background-image: radial-gradient(circle at top right, #1e293b, #0f172a);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-main);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Header & Nav */
header {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
}

.top-header h1 {
    font-size: 1.8rem;
    color: var(--primary);
    text-shadow: 0 0 15px rgba(0, 255, 204, 0.4);
    margin: 0;
}

.header-logo {
    height: 45px;
    width: auto;
}

#nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 15px 0;
}

#nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 5px 12px;
    border-radius: 6px;
}

#nav a:hover, #nav a.active {
    color: var(--primary);
    background: rgba(0, 255, 204, 0.05);
}

/* Contact Wrapper */
.contact-wrapper {
    display: flex;
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
    gap: 40px;
    align-items: flex-start;
}

/* Info Card */
.contact-info-card {
    flex: 1;
    background: var(--bg-card);
    padding: 40px;
    border-radius: 24px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.contact-info-card h2 {
    font-size: 2.2rem;
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.contact-info-card p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.info-item .icon {
    font-size: 1.5rem;
    background: rgba(0, 255, 204, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--primary);
}

.info-item h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-main);
}

.info-item p, .info-item a {
    margin: 5px 0 0;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
}

.info-item a:hover {
    color: var(--primary);
}

/* Contact Form Container */
.contact-container {
    flex: 1.5;
    background: var(--bg-card);
    padding: 40px;
    border-radius: 24px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.form-header h1 {
    font-size: 2rem;
    margin: 0 0 10px;
}

.form-header p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Form Styles */
.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    flex: 1;
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

input, textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 255, 204, 0.05);
    box-shadow: 0 0 0 4px rgba(0, 255, 204, 0.1);
}

textarea {
    resize: vertical;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #0f172a;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 255, 204, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn .arrow {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover .arrow {
    transform: translateX(5px);
}

/* Footer */
#foot {
    margin-top: 100px;
    padding: 60px 0;
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-muted);
}

.footer-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 900px) {
    .contact-wrapper {
        flex-direction: column;
    }
    
    .contact-info-card, .contact-container {
        width: 100%;
        flex: none;
    }
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .top-header {
        padding: 10px 20px;
    }
}
