/* Contact Page Styles */

:root {
    --orange-primary: rgb(247, 157, 101);
    --orange-light: rgba(247, 157, 101, 0.2);
    --orange-dark: rgb(227, 137, 81);
    --purple-primary: #667eea;
    --purple-secondary: #764ba2;
    --purple-light: rgba(102, 126, 234, 0.1);
}

.ss-contact-wrapper {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(to bottom, #0a0e27 0%, #151933 50%, #0a0e27 100%);
    overflow-x: hidden;
}

/* Starry Background */
#starCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.cosmic-dust {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(10, 14, 39, 0.4) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Content positioning */
.ss-contact-wrapper > section {
    position: relative;
    z-index: 10;
}

/* Ensure footer appears above background */
footer {
    position: relative;
    z-index: 100;
}

/* Hero Section */
.contact-hero {
    padding: 120px 0 80px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--purple-primary) 0%, var(--orange-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: #a0aec0;
    margin-bottom: 40px;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-cta {
    background: linear-gradient(135deg, var(--purple-light) 0%, var(--orange-light) 100%);
    border: 1px solid;
    border-image: linear-gradient(135deg, var(--purple-primary), var(--orange-primary)) 1;
    border-radius: 12px;
    padding: 30px;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.cta-text {
    font-size: 1.125rem;
    color: #fff;
    margin-bottom: 20px;
}

.btn-demo-primary {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-dark) 100%);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(247, 157, 101, 0.3);
}

.btn-demo-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(247, 157, 101, 0.4);
}

/* Main Contact Section */
.contact-main {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr;
    gap: 60px;
    align-items: start;
}

/* Contact Form */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.form-header {
    margin-bottom: 40px;
}

.form-header h2 {
    font-size: 2rem;
    color: var(--orange-primary);
    margin-bottom: 10px;
}

.form-header p {
    color: #a0aec0;
    font-size: 1.125rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

/* Ensure placeholder text is visible */
.form-group input::placeholder,
.form-group select::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Make select option text visible */
.form-group select option {
    background: #1a1a2e;
    color: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange-primary);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    box-shadow: 0 0 0 3px var(--orange-light);
}

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

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    color: #a0aec0;
    font-size: 0.95rem;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--orange-primary);
    cursor: pointer;
}

.btn-submit {
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-secondary) 100%);
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.4);
}

/* Form Success Message */
.form-success {
    text-align: center;
    padding: 60px 40px;
}

.form-success h3 {
    font-size: 2rem;
    color: var(--orange-primary);
    margin-bottom: 15px;
}

.form-success p {
    color: #a0aec0;
    font-size: 1.125rem;
    margin-bottom: 30px;
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: var(--orange-primary);
    border: 2px solid var(--orange-primary);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--orange-primary);
    color: white;
}

/* Contact Info Cards */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.info-card h3 {
    font-size: 1.35rem;
    margin-bottom: 20px;
    color: #fff;
}

/* Alternate card colors */
.quick-connect {
    border-image: linear-gradient(135deg, var(--orange-primary), transparent) 1;
}

.office-location {
    border-image: linear-gradient(135deg, var(--purple-primary), transparent) 1;
}

.why-choose {
    border-image: linear-gradient(135deg, var(--orange-primary), var(--purple-primary)) 1;
}

.social-connect {
    border-image: linear-gradient(135deg, var(--purple-primary), var(--orange-primary)) 1;
}

.info-item {
    margin-bottom: 15px;
    color: #a0aec0;
}

.info-item strong {
    color: #fff;
    display: block;
    margin-bottom: 5px;
}

.contact-link {
    color: var(--orange-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--orange-dark);
}

address {
    font-style: normal;
    color: #a0aec0;
    line-height: 1.6;
}

.mailing-address {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #a0aec0;
}

.mailing-address strong {
    color: #fff;
}

/* Benefits List */
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.benefits-list li {
    padding: 8px 0;
    padding-left: 25px;
    color: #a0aec0;
    position: relative;
}

.benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--orange-primary);
    font-weight: bold;
}

.btn-cta-small {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-dark) 100%);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-cta-small:hover {
    transform: translateX(5px);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    color: #a0aec0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--orange-primary);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Bottom CTA Section */
.contact-bottom-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(247, 157, 101, 0.1) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.25rem;
    color: #a0aec0;
    margin-bottom: 50px;
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-bottom: 50px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--purple-primary) 0%, var(--orange-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
    line-height: 1.2;
    padding: 5px 0;
}

.stat-label {
    color: #a0aec0;
    font-size: 1.125rem;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-primary {
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-dark) 100%);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(247, 157, 101, 0.4);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .social-links {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .info-card {
        padding: 25px 20px;
    }

    .cta-stats {
        gap: 40px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .cta-stats {
        flex-direction: column;
        gap: 30px;
    }
}