/* Contact Page Specific Styles */

/* Hero Section - Professional Blue Gradient */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
    margin-top: 80px;
    border-radius: 14px;
    margin-left: 20px;
    margin-right: 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-section h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Contact Content Layout */
.contact-content {
    background: white;
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Contact Information Section */
.contact-info {
    background: #f8fafc;
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid #e5e7eb;
}

.contact-info h2 {
    font-size: 2rem;
    color: #1f2937;
    margin-bottom: 2rem;
    font-weight: 600;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.2rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-details p {
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

.contact-details a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.contact-details a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Contact Form Section */
.contact-form-section {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-form-section h2 {
    font-size: 2rem;
    color: #1f2937;
    margin-bottom: 1rem;
    font-weight: 600;
}

.form-subtitle {
    color: #4b5563;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: white;
    min-height: 44px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

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

.form-group 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 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
    appearance: none;
}

/* Form Validation */
.form-group input:invalid,
.form-group select:invalid,
.form-group textarea:invalid {
    border-color: #ef4444;
}

.form-group input:valid,
.form-group select:valid,
.form-group textarea:valid {
    border-color: #10b981;
}

/* Submit Button */
.submit-button {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    margin-top: 1rem;
    min-height: 44px;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.submit-button:active {
    transform: translateY(0);
}

/* Business Hours Section */
.business-hours {
    background: linear-gradient(135deg, #1f2937, #374151);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.business-hours h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: white;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.hours-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hours-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: white;
}

.hours-card p {
    color: white;
    opacity: 0.9;
    line-height: 1.6;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    /* Mobile Container */
    .container {
        padding: 0 15px;
    }

    /* Mobile Hero */
    .hero-section {
        padding: 3rem 0 2.5rem;
        margin-top: 80px;
        border-radius: 12px;
        margin-left: 15px;
        margin-right: 15px;
    }

    .hero-section h1 {
        font-size: 2.2rem;
        line-height: 1.3;
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        padding: 0 10px;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        padding: 0 10px;
    }

    /* Mobile Contact Grid */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info,
    .contact-form-section {
        padding: 2rem;
    }

    .contact-info h2,
    .contact-form-section h2 {
        font-size: 1.8rem;
    }

    /* Mobile Form */
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-item {
        padding: 1.25rem;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        margin-right: 1rem;
    }

    /* Mobile Business Hours */
    .business-hours {
        padding: 3rem 0;
    }

    .business-hours h2 {
        font-size: 2rem;
        padding: 0 10px;
    }

    .hours-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hours-card {
        padding: 1.5rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .hero-section {
        padding: 2.5rem 0 2rem;
        border-radius: 10px;
        margin-left: 12px;
        margin-right: 12px;
    }

    .hero-section h1 {
        font-size: 1.9rem;
        line-height: 1.4;
        word-break: break-word;
        overflow-wrap: anywhere;
        padding: 0 8px;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 8px;
    }

    .contact-info,
    .contact-form-section {
        padding: 1.5rem;
    }

    .contact-info h2,
    .contact-form-section h2 {
        font-size: 1.6rem;
    }

    .business-hours h2 {
        font-size: 1.8rem;
        padding: 0 8px;
    }

    .contact-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }

    .contact-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* Very Small Screens */
@media (max-width: 320px) {
    .hero-section h1 {
        font-size: 1.7rem;
        line-height: 1.5;
        word-break: break-all;
        overflow-wrap: anywhere;
    }

    .contact-info h2,
    .contact-form-section h2 {
        font-size: 1.4rem;
        word-break: break-all;
        overflow-wrap: anywhere;
    }

    .business-hours h2 {
        font-size: 1.6rem;
        word-break: break-all;
        overflow-wrap: anywhere;
    }
}
