/* =========================
   CONTACT SECTION LAYOUT
========================= */

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 3rem;
    align-items: stretch;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* =========================
   INFO SECTION
========================= */

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

/* Glass Card Shared Style */

.info-card,
.contact-form-card {
    background: rgba(26, 26, 58, 0.75);
    backdrop-filter: blur(18px);
    padding: 2.2rem;
    border-radius: 18px;
    border: 1px solid rgba(100, 255, 218, 0.15);
    transition: all 0.35s ease;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.info-card:hover,
.contact-form-card:hover {
    transform: translateY(-8px);
    border-color: rgba(100, 255, 218, 0.45);
    box-shadow: 0 25px 60px rgba(100, 255, 218, 0.18);
}

/* Info Card Content */

.info-card i {
    font-size: 1.8rem;
    color: #64ffda;
    margin-bottom: 1rem;
}

.info-card h4 {
    margin-bottom: 0.6rem;
    color: #ffffff;
    font-size: 1.1rem;
}

.info-card p {
    color: #9aa6c4;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* =========================
   CONTACT FORM
========================= */

.form-group {
    margin-bottom: 1.6rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    color: #ccd6f6;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    background: #0f0f23;
    border: 1px solid #2e2e5e;
    border-radius: 10px;
    color: #ffffff;
    font-family: inherit;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #64ffda;
    box-shadow: 0 0 0 3px rgba(100, 255, 218, 0.15);
}

/* =========================
   SUBMIT BUTTON
========================= */

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #64ffda 0%, #4facfe 100%);
    border: none;
    border-radius: 12px;
    color: #0a192f;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(100, 255, 218, 0.35);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* =========================
   STATUS MESSAGES
========================= */

.status-msg {
    margin-top: 1.2rem;
    padding: 1rem;
    border-radius: 10px;
    display: none;
    font-size: 0.9rem;
}

.status-msg.success {
    display: block;
    background: rgba(100, 255, 218, 0.1);
    color: #64ffda;
    border: 1px solid #64ffda;
}

.status-msg.error {
    display: block;
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
    border: 1px solid #ff6b6b;
}

/* =========================
   SMOOTH CURSOR TRAIL
========================= */

.cursor-trail-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 999999;
}

.trail-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #64ffda 0%, #00b4d8 100%);
    box-shadow:
        0 0 15px rgba(100, 255, 218, 0.8),
        0 0 30px rgba(100, 255, 218, 0.4);
    transform: translate(-50%, -50%);
    will-change: transform, opacity;
    mix-blend-mode: screen;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.trail-dot:first-child {
    width: 14px;
    height: 14px;
    box-shadow:
        0 0 25px rgba(100, 255, 218, 0.9),
        0 0 50px rgba(100, 255, 218, 0.6);
}

.cursor-clicking {
    transform: translate(-50%, -50%) scale(1.5);
    background: linear-gradient(135deg, #ff6b9d 0%, #ffcc00 100%) !important;
}

.cursor-hovering {
    transform: translate(-50%, -50%) scale(1.3);
    background: linear-gradient(135deg, #00b4d8 0%, #64ffda 100%) !important;
}

/* =========================
   THEME TOGGLE
========================= */

.theme-toggle {
    margin-left: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #64ffda);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: rotate(20deg) scale(1.1);
    box-shadow: 0 10px 20px rgba(100, 255, 218, 0.4);
}

/* =========================
   LIGHT MODE
========================= */

body.light-mode {
    background: #f4f7fb;
    color: #111827;
}

body.light-mode .info-card,
body.light-mode .contact-form-card {
    background: #ffffff;
    color: #111827;
    border: 1px solid #e2e8f0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

body.light-mode .info-card p {
    color: #4b5563;
}

body.light-mode input,
body.light-mode textarea {
    background: #f1f5f9;
    color: #111827;
    border: 1px solid #d1d5db;
}

body.light-mode input:focus,
body.light-mode textarea:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

body.light-mode .submit-btn {
    background: linear-gradient(135deg, #6366f1, #64ffda);
    color: #ffffff;
}/* =========================
   HERO SECTION FIX
========================= */

.hero-section {
    padding: 6rem 1.5rem 4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top, rgba(100,255,218,0.08), transparent 70%);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #64ffda, #4facfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    max-width: 600px;
    font-size: 1.1rem;
    color: #8892b0;
    line-height: 1.6;
}

/* Fix spacing between hero and contact section */

.contact-container {
    margin-top: 2rem;
}

/* Responsive Fix */

@media (max-width: 768px) {
    .hero-section {
        padding: 5rem 1rem 3rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}

/* Light Mode Fix */

body.light-mode .hero-title {
    background: linear-gradient(135deg, #6366f1, #64ffda);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-mode .hero-subtitle {
    color: #4b5563;
}