/* Mobile-first base styles */
.content-section {
    min-height: auto;
    padding: 30px 15px;
    background: #1a1a1a;
    position: relative;
    overflow: hidden;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,%3Csvg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 20h10v10H0zm10-10h10v10H10zm10 10h10v10H20zm10-10h10v10H30z" fill="%23ff450033"/%3E%3C/svg%3E') repeat;
    opacity: 0.05;
    z-index: 0;
    animation: circuit-flow 15s linear infinite;
}

@keyframes circuit-flow {
    0% { background-position: 0 0; }
    100% { background-position: 40px 40px; }
}

.contact-container {
    max-width: 90%;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.banner {
    background: linear-gradient(45deg, #ff4500, #e03e00);
    color: #ffffff;
    padding: 25px;
    margin-bottom: 40px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.5);
    animation: fadeIn 1s ease-in;
}

.banner h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin: 0 0 10px;
    text-transform: uppercase;
    text-shadow: 0 0 8px #ff4500;
}

.banner .tagline {
    font-family: Arial, sans-serif;
    font-size: 1.2rem;
    font-style: italic;
    margin: 0 auto;
    max-width: 600px;
    text-shadow: 0 0 3px #ff4500;
}

.contact-container h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.4rem;
    color: #ffffff;
    margin: 0 auto 25px;
    text-transform: uppercase;
    max-width: 800px;
    text-shadow: 0 0 5px #ff4500;
}

.contact-container h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    color: #ff4500;
    margin: 0 auto 15px;
    max-width: 800px;
    text-shadow: 0 0 3px #ff4500;
}

.intro {
    font-style: italic;
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-container p {
    font-family: Arial, sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #cccccc;
    margin: 0 auto 20px;
    max-width: 800px;
}

.section-divider {
    width: 60%;
    height: 3px;
    background: linear-gradient(to right, #ff4500 0%, transparent 100%);
    margin: 25px auto;
    opacity: 0.7;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto 30px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: #ff4500;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    background: #2a2a2a;
    border: 2px solid #ff4500;
    border-radius: 4px;
    color: #cccccc;
    font-family: Arial, sans-serif;
    font-size: 1.1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffffff;
    box-shadow: 0 0 10px rgba(255, 69, 0, 0.5);
}

.form-group textarea {
    resize: vertical;
}

.submit-button {
    display: inline-block;
    background: linear-gradient(45deg, #ff4500, #e03e00);
    color: #ffffff;
    padding: 15px 35px;
    border: none;
    border-radius: 4px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    animation: button-pulse 2s ease-in-out infinite;
}

.submit-button:hover {
    background: linear-gradient(45deg, #e03e00, #ff4500);
    transform: scale(1.05);
    box-shadow: 0 0 15px #ff4500;
}

.inline-link {
    color: #ff4500;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease, box-shadow 0.3s ease;
    margin: 0 auto;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 4px;
}

.inline-link:hover {
    color: #ffffff;
    box-shadow: 0 0 10px #ff4500;
    background: rgba(255, 69, 0, 0.2);
}

.cta-section {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    border-top: 4px solid #ff4500;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.3);
    transition: box-shadow 0.3s ease;
    animation: fadeIn 1s ease-in 0.8s;
    text-align: center;
}

.cta-section:hover {
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.6);
}

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

.cta-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: #ffffff;
    margin: 0 0 20px;
    text-shadow: 0 0 5px #ff4500;
}

.cta-content p {
    font-family: Arial, sans-serif;
    font-size: 1.2rem;
    color: #cccccc;
    margin: 0 0 25px;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
}

.cta-link {
    display: inline-block;
    color: #ff4500;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 15px 35px;
    border: 2px solid #ff4500;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    animation: button-pulse 2s ease-in-out infinite;
}

.cta-link:hover {
    background-color: #ff4500;
    color: #ffffff;
    box-shadow: 0 0 15px #ff4500;
}

@keyframes button-pulse {
    0% { box-shadow: 0 0 5px #ff4500; }
    50% { box-shadow: 0 0 20px #ff4500; }
    100% { box-shadow: 0 0 5px #ff4500; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Larger screens */
@media (min-width: 769px) {
    .content-section {
        padding: 40px 20px;
    }

    .contact-container {
        max-width: 1200px;
    }

    .banner h2 {
        font-size: 2.5rem;
    }

    .banner .tagline {
        font-size: 1.3rem;
    }

    .banner {
        padding: 30px;
        margin-bottom: 50px;
    }

    .contact-container h2 {
        font-size: 3rem;
        margin: 0 auto 30px;
    }

    .contact-container h3 {
        font-size: 2rem;
    }

    .intro {
        font-size: 1.2rem;
    }

    .contact-container p {
        font-size: 1.3rem;
        margin: 0 auto 25px;
    }

    .section-divider {
        width: 40%;
    }

    .contact-form {
        max-width: 700px;
    }

    .form-group label {
        font-size: 1.3rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 1.2rem;
        padding: 12px;
    }

    .submit-button {
        font-size: 1.3rem;
        padding: 18px 40px;
    }

    .cta-section {
        padding: 40px;
        margin-top: 60px;
    }

    .cta-content h2 {
        font-size: 2.5rem;
    }

    .cta-content p {
        font-size: 1.3rem;
    }

    .cta-buttons {
        flex-direction: row;
        gap: 25px;
    }

    .cta-link {
        font-size: 1.3rem;
        padding: 18px 40px;
    }
}

/* Smaller screens */
@media (max-width: 480px) {
    .content-section {
        padding: 20px 10px;
    }

    .banner {
        padding: 15px;
        margin-bottom: 30px;
    }

    .banner h2 {
        font-size: 1.6rem;
    }

    .banner .tagline {
        font-size: 1rem;
    }

    .contact-container h2 {
        font-size: 2rem;
        margin: 0 auto 20px;
    }

    .contact-container h3 {
        font-size: 1.5rem;
    }

    .intro {
        font-size: 1rem;
    }

    .contact-container p {
        font-size: 1.1rem;
        margin: 0 auto 15px;
    }

    .section-divider {
        width: 70%;
    }

    .contact-form {
        max-width: 100%;
    }

    .form-group label {
        font-size: 1.1rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 1rem;
        padding: 8px;
    }

    .submit-button {
        font-size: 1.1rem;
        padding: 12px 25px;
    }

    .cta-section {
        padding: 20px;
        margin-top: 40px;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-content p {
        font-size: 1.1rem;
    }

    .cta-link {
        font-size: 1.1rem;
        padding: 12px 25px;
    }
}