/* Contact Page Styles */
:root {
    --primary-green: #4BC755;
    --dark-green: #2E7D32;
    --light-green: #E8F5E8;
    --orange: #FF9800;
    --gradient-primary: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    --gradient-orange: linear-gradient(135deg, var(--orange), #FF6F00);
    --gradient-warm: linear-gradient(135deg, #FFF3E0, #FFE0B2);
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --text-muted: #6C757D;
    --success-green: #28A745;
    --warning-orange: #FD7E14;
}

/* Hero Section */
.contact-hero {
    background: #f8f9fa;
    color: var(--dark-green);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(75, 199, 85, 0.05) 0%, rgba(255, 140, 0, 0.05) 100%);
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 1.1rem;
}

.stat-item i {
    font-size: 1.25rem;
    opacity: 0.8;
}

/* Floating Elements */
.hero-image {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-elements {
    position: relative;
    width: 300px;
    height: 300px;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    animation: float 3s ease-in-out infinite;
}

.floating-icon.icon-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-icon.icon-2 {
    top: 10%;
    right: 20%;
    animation-delay: 0.5s;
}

.floating-icon.icon-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 1s;
}

.floating-icon.icon-4 {
    bottom: 20%;
    right: 10%;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.contact-form-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 2px solid var(--light-green);
}

.contact-form-card .card-header {
    background: var(--gradient-primary);
    color: white;
    padding: 2rem;
    border: none;
}

.contact-form-card .card-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.contact-form-card .card-body {
    padding: 2rem;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid var(--light-green);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(75, 199, 85, 0.25);
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 0.5rem;
}

.contact-form .btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(75, 199, 85, 0.3);
}

.contact-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(75, 199, 85, 0.4);
}

/* Contact Info Sidebar */
.contact-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 2px solid var(--light-green);
}

.info-header {
    background: var(--gradient-orange);
    color: white;
    padding: 1.5rem;
}

.info-header h4 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.info-content {
    padding: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    width: 40px;
    height: 40px;
    background: var(--light-green);
    color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.info-item h6 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 0.25rem;
}

.info-item p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.info-item a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
}

.info-item a:hover {
    color: var(--dark-green);
    text-decoration: underline;
}

/* Business Hours */
.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item .day {
    font-weight: 600;
    color: var(--dark-green);
}

.hours-item .time {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Quick Contact Buttons */
.quick-contact-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.quick-contact-buttons .btn {
    flex: 1;
    min-width: 120px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.quick-contact-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: var(--white);
}

.map-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 2px solid var(--light-green);
}

.map-header {
    background: var(--gradient-primary);
    color: white;
    padding: 2rem;
    text-align: center;
}

.map-header h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.map-header p {
    margin: 0;
    opacity: 0.9;
}

.map-container {
    position: relative;
    height: 400px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.map-overlay {
    text-align: center;
    color: var(--text-muted);
}

.map-overlay i {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.map-overlay p {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-green);
}

.map-overlay small {
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 0;
}

.accordion-item {
    border: 2px solid var(--light-green);
    border-radius: 10px !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-item:last-child {
    margin-bottom: 0;
}

.accordion-button {
    background: var(--white);
    color: var(--dark-green);
    font-weight: 600;
    border: none;
    padding: 1.25rem;
    font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-primary);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(75, 199, 85, 0.25);
    border: none;
}

.accordion-body {
    background: var(--light-gray);
    padding: 1.5rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Form Validation States */
.form-control.is-valid {
    border-color: var(--success-green);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='m2.3 6.73.94-.94 1.06 1.06L6.73 5.3l.94.94L4.3 9.73z'/%3e%3c/svg%3e");
}

.form-control.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 4.6 1.4 1.4 1.4-1.4'/%3e%3c/svg%3e");
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-hero {
        padding: 80px 0 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-item {
        font-size: 1rem;
    }
    
    .floating-elements {
        width: 250px;
        height: 250px;
    }
    
    .floating-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .contact-form-card .card-header,
    .contact-form-card .card-body {
        padding: 1.5rem;
    }
    
    .info-content {
        padding: 1.25rem;
    }
    
    .quick-contact-buttons {
        flex-direction: column;
    }
    
    .quick-contact-buttons .btn {
        flex: none;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .map-container {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .contact-form-card .card-header,
    .contact-form-card .card-body {
        padding: 1.25rem;
    }
    
    .info-header,
    .map-header {
        padding: 1.5rem;
    }
    
    .accordion-button {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .accordion-body {
        padding: 1.25rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading States */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
