/* ======= Enhanced Contact Page Styles ======= */

/* Contact Hero Section */
.contact-hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
    margin-top: -100px;
    padding-top: 180px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: float 12s ease-in-out infinite;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.05) 0%, 
        transparent 30%, 
        transparent 70%, 
        rgba(255, 255, 255, 0.05) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Form Section */
.contact-form-section {
    background: #f8f9fa;
    position: relative;
}

/* Contact Form Card */
.contact-form-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-top: -50px;
    position: relative;
    z-index: 10;
    border: none;
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.form-header {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.form-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-title i {
    color: var(--primary-color);
}

.form-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

.form-body {
    padding: 2rem;
}

/* Enhanced Form Controls */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.form-label i {
    color: var(--primary-color);
    font-size: 1rem;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1rem 1.2rem;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    background: #f8f9fa;
    position: relative;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(253, 133, 53, 0.1);
    transform: translateY(-1px);
}

.form-select {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1rem 1.2rem;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    background: #f8f9fa;
    cursor: pointer;
    appearance: none;
    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 1rem center;
    background-repeat: no-repeat;
    background-size: 1rem;
    padding-right: 3rem;
}

.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: white;
    box-shadow: 0 0 0 4px rgba(253, 133, 53, 0.1);
    transform: translateY(-1px);
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
    font-family: inherit;
    line-height: 1.6;
}

/* Character Counter */
.character-counter {
    text-align: right;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
    font-weight: 500;
}

/* Enhanced Submit Button */
.btn-submit-contact {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 1rem 3rem;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn-submit-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(253, 133, 53, 0.3);
    color: white;
}

.btn-submit-contact:active {
    transform: translateY(-1px);
}

.btn-text,
.btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

/* Form Validation Styles */
.form-control.is-valid {
    border-color: #28a745;
    background: #f8fff9;
}

.form-control.is-invalid {
    border-color: #dc3545;
    background: #fff8f8;
}

.valid-feedback,
.invalid-feedback {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 0.3rem;
}

.valid-feedback {
    color: #28a745;
}

.invalid-feedback {
    color: #dc3545;
}

/* Contact Information Cards */
.contact-info-card,
.office-hours-card,
.social-media-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 2rem;
    border: none;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #17a2b8, #20c997);
}

.office-hours-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #28a745, #20c997);
}

.social-media-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.info-header {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.info-title {
    margin: 0;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-title i {
    color: var(--primary-color);
}

.info-body {
    padding: 1.5rem;
}

/* Contact Items */
.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item:hover {
    background: #f8f9fa;
    margin: 0 -1rem;
    padding: 1rem;
    border-radius: 10px;
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, white, yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(253, 133, 53, 0.2);
}

.contact-content h6 {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.contact-content p {
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

.contact-content a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.contact-content a:hover {
    color: var(--primary-color);
}

/* Office Hours */
.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 500;
}

.hours-item:last-child {
    border-bottom: none;
}

.day {
    color: var(--text-dark);
    font-weight: 600;
}

.time {
    color: var(--text-muted);
    font-weight: 500;
}

/* Social Media Links */
.social-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.social {
    display: flex;
    text-align:-webkit-center;
    align-content:center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.social:hover {
    background: var(--primary-color), transparent 70%;
    color: white;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(253, 133, 53, 0.2);
    text-decoration:none;
    font-weight: bolder;
}

.social.facebook:hover { background: #3b5998; }
.social.twitter:hover { background: #1da1f2; }
.social.instagram:hover { background: radial-gradient(circle at 30% 107%, 
    #fdf497 0%, 
    #fdf497 2%, 
    #fd5949 45%, 
    #d6249f 60%, 
    #285AEB 90%);; }
.social.youtube:hover { background: #ff0000; }

.social i {
    font-size: 25px;
    width: 24px;
    text-align: -webkit-center;
}

.social span {
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 10px;
}


/* FAQ Section */
.faq-section {
    background: white;
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.faq-accordion .accordion {
    border: none;
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.accordion-header {
    margin: 0;
}

.accordion-button {
    background: #f8f9fa;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.5rem;
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-180deg);
}

.accordion-body {
    padding: 1.5rem;
    background: white;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
}

/* Success Message Overlay */
.success-message-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.success-message {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    max-width: 500px;
    margin: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideInScale 0.5s ease-out;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 2.5rem;
    animation: pulse 2s infinite;
}

.success-message h4 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

.success-message p {
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* Loading States */
.btn-submit-contact.loading {
    cursor: not-allowed;
}

.btn-submit-contact.loading .btn-text {
    opacity: 0;
}

.btn-submit-contact.loading .btn-loading {
    opacity: 1;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-8px) rotate(1deg); }
    66% { transform: translateY(4px) rotate(-1deg); }
}

@keyframes slideInScale {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(50px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Click Effects */
.social-link.clicked {
    animation: clickPulse 0.3s ease;
}

@keyframes clickPulse {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 1199.98px) {
    .contact-form-card,
    .contact-info-card,
    .office-hours-card,
    .social-media-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 991.98px) {
    .contact-hero-section {
        padding: 6rem 0 3rem;
        padding-top: 140px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .form-header,
    .form-body,
    .info-header,
    .info-body {
        padding: 1.5rem;
    }
    
    .contact-item {
        padding: 0.8rem 0;
    }
    
    .contact-item:hover {
        margin: 0 -1.5rem;
        padding: 0.8rem 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .contact-hero-section {
        padding: 5rem 0 2rem;
        padding-top: 120px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-form-card {
        margin-top: -30px;
    }
    
    .form-header,
    .form-body {
        padding: 1.5rem;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
    
    .form-control,
    .form-select {
        padding: 0.9rem 1rem;
        font-size: 0.95rem;
    }
    
    .btn-submit-contact {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .accordion-button {
        padding: 1.2rem;
        font-size: 1rem;
    }
    
    .accordion-body {
        padding: 1.2rem;
        font-size: 0.95rem;
    }
    
    .success-message {
        padding: 2rem;
        margin: 1rem;
    }
    
    .success-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
}

@media (max-width: 575.98px) {
    .contact-hero-section {
        padding: 4rem 0 2rem;
        padding-top: 100px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .form-header,
    .form-body,
    .info-header,
    .info-body {
        padding: 1rem;
    }
    
    .form-title {
        font-size: 1.3rem;
        flex-direction: column;
        gap: 0.3rem;
        text-align: center;
    }
    
    .form-control,
    .form-select {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .btn-submit-contact {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    
    .contact-item:hover {
        margin: 0;
        padding: 1rem;
        transform: none;
    }
    
    .hours-item {
        flex-direction: column;
        gap: 0.3rem;
        text-align: center;
    }
    
    .social-links {
        gap: 0.6rem;
    }
    
    .social-link {
        justify-content: center;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .accordion-button {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    .accordion-body {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .success-message {
        padding: 1.5rem;
    }
    
    .success-message h4 {
        font-size: 1.3rem;
    }
}

/* Print Styles */
@media print {
    .contact-hero-section,
    .btn-submit-contact,
    .social-media-card {
        display: none;
    }
    
    .contact-form-card,
    .contact-info-card,
    .office-hours-card {
        box-shadow: none;
        border: 1px solid #ccc;
        break-inside: avoid;
    }
    
    .form-control,
    .form-select {
        border-color: #ccc;
        background: white;
    }
}

