/* Contact Page Specific Styles */

/* Hero Section */
.contact-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.contact-hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.contact-hero .hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(34, 139, 34, 0.8), rgba(46, 125, 50, 0.6));
    z-index: 2;
}

.contact-hero .hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
}

/* Contact Methods Section */
.contact-methods {
    padding: 80px 0;
    background: #f8f9fa;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.method-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.method-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.method-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #228b22, #2e7d32);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: white;
}

.method-title {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.method-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 25px;
}

.method-info {
    border-top: 1px solid #e9ecef;
    padding-top: 20px;
}

.method-link {
    display: inline-block;
    color: #228b22;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 8px;
    font-size: 16px;
    transition: color 0.3s ease;
}

.method-link:hover {
    color: #2e7d32;
    text-decoration: underline;
}

.response-time {
    display: block;
    font-size: 14px;
    color: #6c757d;
    font-style: italic;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background: white;
}

.form-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.form-subtitle {
    color: #6c757d;
    line-height: 1.6;
    margin-top: 15px;
}

/* Form Styles */
.contact-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.form-group {
    margin-bottom: 30px;
    position: relative;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 15px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    background: white;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #228b22;
    box-shadow: 0 0 0 3px rgba(34, 139, 34, 0.1);
    transform: translateY(-1px);
}

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

.form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 50px;
    appearance: none;
}

/* Checkbox Styles */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.form-checkbox {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
    accent-color: #228b22;
}

.checkbox-label {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
    margin: 0;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, #228b22, #2e7d32);
    color: white;
    box-shadow: 0 4px 15px rgba(34, 139, 34, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 139, 34, 0.4);
    text-decoration: none;
    color: white;
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: white;
    color: #228b22;
    border: 2px solid #228b22;
}

.btn-secondary:hover {
    background: #228b22;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 36px;
    font-size: 18px;
    width: 100%;
    justify-content: center;
}

/* Form Sidebar */
.form-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.sidebar-title {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: #495057;
}

.sidebar-list i {
    color: #228b22;
    font-size: 16px;
    width: 16px;
}

/* FAQ Items */
.faq-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.faq-question {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.faq-answer {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.5;
    margin: 0;
}

/* Response Info Section */
.response-info {
    padding: 80px 0;
    background: #f8f9fa;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.info-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #228b22, #2e7d32);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 28px;
    color: white;
}

.info-title {
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.info-description {
    color: #6c757d;
    line-height: 1.6;
}

/* Alternative Contact CTA */
.alt-contact-cta {
    padding: 80px 0;
    background: white;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-text {
    padding-right: 20px;
}

.cta-description {
    color: #6c757d;
    line-height: 1.6;
    margin: 20px 0 30px;
    font-size: 16px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Focus States for Better Accessibility */
.form-group.focused .form-label {
    color: #228b22;
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-in-up.delay-1 {
    animation-delay: 0.2s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-hero {
        height: 40vh;
        min-height: 300px;
    }
    
    .contact-methods,
    .contact-form-section,
    .response-info,
    .alt-contact-cta {
        padding: 60px 0;
    }
    
    .methods-grid,
    .info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cta-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .cta-text {
        padding-right: 0;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .method-card,
    .info-card,
    .sidebar-card {
        padding: 30px 20px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .cta-buttons .btn {
        width: auto;
        min-width: 200px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .method-title,
    .info-title {
        font-size: 20px;
    }
    
    .method-icon,
    .info-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .contact-form {
        padding: 20px 15px;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        padding: 12px 15px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .method-card,
    .info-card,
    .sidebar-card,
    .contact-form {
        border: 2px solid #000;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        border: 2px solid #000;
    }
    
    .form-input:focus,
    .form-select:focus,
    .form-textarea:focus {
        border-color: #000;
        box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.3);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll,
    .animate-fade-in-up,
    .method-card,
    .info-card,
    .btn {
        transition: none;
        animation: none;
    }
    
    .method-card:hover,
    .info-card:hover,
    .btn:hover {
        transform: none;
    }
}