/* Contact Page Specific Styles */

/* Contact Hero Section - Full width but vertically shorter */
.contact-hero {
    position: relative;
    width: 100vw; /* Full viewport width */
    margin-left: calc(-50vw + 50%); /* Break out of container */
    min-height: 180px; /* Same short height as support page */
    background: var(--gradient-ocean);
    display: flex;
    align-items: center; /* Center vertically */
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 40px 0 15px 0; /* Same compact padding as support page */
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,50 Q300,0 600,50 T1200,50 V120 H0 Z" fill="rgba(255,255,255,0.05)"/></svg>') bottom center/cover no-repeat;
    opacity: 0.3;
}

.contact-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 138, 0.2);
    backdrop-filter: blur(1px);
}

.contact-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 var(--spacing-md);
}

.contact-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem); /* Same size as support hero */
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--spacing-md);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-hero p {
    font-size: var(--font-size-base); /* Same size as support hero */
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .contact-hero {
        min-height: 130px; /* Same short mobile height as support page */
        padding: 30px 0 10px 0;
    }
    
    .contact-hero h1 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    
    .contact-hero p {
        font-size: var(--font-size-sm);
    }
}

.contact-section {
    padding: 40px 0 80px 0; /* Keep the existing padding */
    background: var(--light-gray);
    margin-top: 0; /* Removed margin since hero is now full width */
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    max-width: 1100px; /* Match global container max-width */
    margin: 0 auto;
    padding: 0 20px; /* Add padding for consistency */
}

/* Contact Form */
.contact-form-container h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-form-container p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(64, 224, 208, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-weight: bold;
    font-size: 12px;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

/* Contact Info */
.contact-info h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 600;
}

.contact-methods {
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-5px);
}

.method-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.method-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.method-info p {
    margin-bottom: 0.3rem;
    line-height: 1.5;
}

.method-info p:first-of-type {
    font-weight: 600;
    color: var(--text-color);
}

.method-info p:last-of-type {
    font-size: 0.9rem;
    color: #666;
}

/* Social Connect */
.social-connect {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
}

.social-connect h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 15px;
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateX(10px);
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-btn.linkedin {
    background: #0077b5;
}

.social-btn.patreon {
    background: #f96854;
}

.social-btn.youtube {
    background: #ff0000;
}

.social-btn i {
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

.social-btn span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.social-btn strong {
    font-size: 1rem;
}

.social-btn small {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: var(--white);
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-weight: 600;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--light-gray);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px var(--shadow);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(64, 224, 208, 0.1);
}

.faq-question h3 {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}

.faq-question i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    line-height: 1.6;
    color: var(--text-color);
}

/* Newsletter Section */
.newsletter-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.newsletter-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.newsletter-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.benefit i {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

.benefit span {
    font-size: 0.9rem;
}

.newsletter-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.newsletter-form .form-group {
    display: flex;
    margin-bottom: 1rem;
}

.newsletter-form input {
    flex: 1;
    border: none;
    border-radius: 50px 0 0 50px;
    padding: 1.2rem 1.5rem;
    font-size: 1rem;
}

.newsletter-form button {
    border: none;
    border-radius: 0 50px 50px 0;
    padding: 1.2rem 2rem;
    background: var(--accent-color);
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.newsletter-form button:hover {
    background: #ff5252;
}

.privacy-note {
    font-size: 0.8rem;
    opacity: 0.8;
    margin: 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .social-buttons {
        gap: 0.8rem;
    }
    
    .social-btn {
        padding: 0.8rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .newsletter-benefits {
        justify-content: center;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        border-radius: 25px;
    }
}

@media (max-width: 480px) {
    .contact-method {
        flex-direction: column;
        text-align: center;
    }
    
    .method-icon {
        margin: 0 auto;
    }
    
    .newsletter-benefits {
        grid-template-columns: 1fr;
    }
    
    .social-btn span {
        align-items: center;
    }
}

/* New Contact Page Styles */

/* Form Success Message */
.form-success {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px var(--shadow);
    text-align: center;
    margin-top: 2rem;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #27ae60;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    animation: successPulse 2s ease-in-out infinite;
}

.success-icon i {
    font-size: 2.5rem;
    color: white;
}

@keyframes successPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.form-success h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.form-success p {
    color: var(--text-color);
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.form-success a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.form-success a:hover {
    color: var(--accent-color);
}

/* Enhanced Social Buttons */
.social-btn.email {
    background: #34495e;
    color: white;
}

.social-btn.email:hover {
    background: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 73, 94, 0.3);
}

/* Quote Section */
.quote-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    text-align: center;
    color: white;
}

.quote-content {
    max-width: 600px;
    margin: 0 auto;
}

.quote-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 1rem;
}

.quote-content h2 {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 1rem;
    font-style: italic;
}

.wave-emoji {
    font-size: 3rem;
    animation: wave 2s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

/* Enhanced Form Styling */
.contact-form-container p em {
    color: var(--secondary-color);
    font-weight: 600;
    font-style: normal;
}

/* Button Enhancement */
.btn.btn-primary.btn-large {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn.btn-primary.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.3);
}

.btn.btn-primary.btn-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn.btn-primary.btn-large:hover::before {
    left: 100%;
}

/* Form Animation */
.contact-form {
    animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .quote-content h2 {
        font-size: 2rem;
    }
    
    .form-success {
        padding: 2rem;
    }
    
    .success-icon {
        width: 60px;
        height: 60px;
    }
    
    .success-icon i {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .quote-content h2 {
        font-size: 1.6rem;
    }
    
    .quote-icon {
        font-size: 2rem;
    }
    
    .wave-emoji {
        font-size: 2rem;
    }
}
