/* ===================================
   CTA ENHANCEMENTS
   =================================== */

/* CTA Divider */
.cta-divider {
    margin: 32px 0 24px;
    position: relative;
    text-align: center;
}

.cta-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--card-border), transparent);
}

.cta-divider span {
    position: relative;
    background: var(--card-bg);
    padding: 0 20px;
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CTA Contact Text */
.cta-contact-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.contact-link {
    color: #0066ff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.contact-link:hover {
    color: #fff;
    border-bottom-color: #0066ff;
}

/* ===================================
   CONTACT PAGE STYLES
   =================================== */

/* ===================================
   CONTACT PAGE STYLES
   =================================== */

/* Contact Header Enhancement */
.contact-header {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 102, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

body.dark-theme .contact-header {
    background: rgba(10, 14, 23, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
            rgba(0, 102, 255, 0.02),
            rgba(0, 102, 255, 0.05),
            rgba(0, 102, 255, 0.02));
    pointer-events: none;
}

.contact-header .header-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.contact-header .logo a {
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.contact-header .logo a:hover {
    transform: translateY(-1px);
    text-shadow: 0 0 20px rgba(0, 102, 255, 0.3);
}

.contact-header .nav {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    padding: 5px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-header .nav-link {
    position: relative;
    padding: 8px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 25px;
}

.contact-header .nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.contact-header .nav-link.active {
    color: #fff;
    background: linear-gradient(135deg, #0066ff 0%, #0047ab 100%);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
    font-weight: 600;
}

/* Contact Hero Section */
.contact-hero-section {
    padding: 80px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 20%, rgba(0, 102, 255, 0.05), transparent 60%);
    pointer-events: none;
}

body.dark-theme .contact-hero-bg {
    background: radial-gradient(circle at 50% 20%, rgba(0, 102, 255, 0.08), transparent 60%);
}

.contact-hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.25);
    border-radius: 50px;
    color: #00ccff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 28px;
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.15);
}

.contact-hero-content h1 {
    font-size: 64px;
    margin-bottom: 24px;
    font-weight: 800;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 750px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    margin-top: 48px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 15px;
    padding: 12px 20px;
    background: rgba(0, 102, 255, 0.05);
    border-radius: 50px;
    border: 1px solid rgba(0, 102, 255, 0.1);
    transition: all 0.3s ease;
}

.hero-feature:hover {
    background: rgba(0, 102, 255, 0.08);
    border-color: rgba(0, 102, 255, 0.2);
    transform: translateY(-2px);
}

.hero-feature svg {
    color: #10b981;
    flex-shrink: 0;
}

.contact-form-section {
    padding: 60px 0 120px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
}

/* Column Layout (stacked) */
.contact-column-layout {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-container h2,
.contact-info-container h2 {
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.form-description {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.contact-form {
    margin-top: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 102, 255, 0.05);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
}

/* Ensure options have solid background */
.form-group select option {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    padding: 10px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(0, 102, 255, 0.5);
    background: rgba(0, 102, 255, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    margin-top: 8px;
}

.contact-method {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.contact-method:hover {
    border-color: rgba(0, 102, 255, 0.3);
    transform: translateY(-2px);
}

.method-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 102, 255, 0.1);
    border-radius: var(--border-radius);
    color: #0066ff;
}

.method-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.method-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.method-content .btn {
    display: inline-flex;
    margin-top: 8px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .contact-hero-content h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-method {
        flex-direction: column;
        text-align: center;
    }

    .method-icon {
        margin: 0 auto;
    }

    .cta-contact-text {
        font-size: 14px;
    }
}

/* ===================================
   LIGHT THEME SUPPORT
   =================================== */

/* Contact Header - Light Theme */
body.light-theme .contact-header {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(0, 102, 255, 0.1);
}

body.light-theme .contact-header .nav-link {
    color: var(--text-secondary);
}

body.light-theme .contact-header .nav-link:hover {
    color: var(--primary-color);
    background: rgba(0, 102, 255, 0.05);
}

body.light-theme .contact-header .nav-link.active {
    color: #fff;
    background: linear-gradient(135deg, #0066ff 0%, #0047ab 100%);
}

/* Contact Hero - Light Theme */
body.light-theme .contact-hero-bg {
    background: radial-gradient(circle at 50% 20%, rgba(0, 102, 255, 0.05), transparent 60%);
}

body.light-theme .hero-badge {
    background: rgba(0, 102, 255, 0.05);
    border-color: rgba(0, 102, 255, 0.1);
    color: var(--primary-color);
}

body.light-theme .hero-feature {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

body.light-theme .hero-feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* CTA Section - Light Theme */
body.light-theme .cta-section {
    background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

body.light-theme .cta-section::before {
    background: linear-gradient(90deg, transparent, rgba(0, 102, 255, 0.1), transparent);
}

body.light-theme .cta-content {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 1);
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.1);
}

body.light-theme .cta-content h2 {
    background: linear-gradient(135deg, #0066ff 0%, #0047ab 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

body.light-theme .cta-content>p {
    color: var(--text-secondary);
}

body.light-theme .cta-divider span {
    background: rgba(0, 102, 255, 0.05);
    color: var(--text-secondary);
}

body.light-theme .cta-contact-text {
    color: var(--text-secondary);
}

body.light-theme .contact-link {
    color: var(--primary-color);
    border-bottom-color: rgba(0, 102, 255, 0.2);
}

body.light-theme .contact-link:hover {
    color: #0047ab;
    border-bottom-color: #0047ab;
}

/* Mobile Menu Styling */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .contact-header .nav {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 14, 23, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        gap: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
        border-radius: 0 0 20px 20px;
        margin: 0 10px;
        z-index: 1000;
    }

    .contact-header .nav.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
        width: 100%;
        border-radius: 0;
        margin: 0;
    }

    /* Light theme mobile menu */
    body.light-theme .contact-header .nav {
        background: rgba(255, 255, 255, 0.95);
        border-top: 1px solid rgba(0, 102, 255, 0.1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .contact-header .nav-link {
        width: 100%;
        text-align: center;
        padding: 12px;
    }

    body.light-theme .mobile-menu-btn {
        color: var(--primary-color);
    }

    .submit-btn {
        justify-self: center;
    }
}