/* Contact Page Specific Styles */

/* Contact Hero */
.contact-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2)), url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    position: relative;
}

.contact-hero .hero-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
    max-width: 1200px;
}

.contact-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    animation: fadeInDown 1s ease;
}

.contact-hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    animation: fadeInUp 1s ease;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    color: var(--gray-color);
    animation: fadeIn 1.5s ease;
}

.breadcrumbs a {
    color: var(--gray-color);
    transition: var(--transition);
}

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

.breadcrumbs span {
    color: var(--primary-color);
    margin-left: 5px;
}

/* Contact Content */
.contact-content {
    /* overflow: hidden; */
    padding: 40px 0;
    background: var(--dark-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-header, .section-header-con {
    text-align: left;
    margin-bottom: 30px;
}

.section-header h2, .section-header-con h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: white;
    position: relative;
    display: inline-block;
}

.section-header h2::after, .section-header-con h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    bottom: -10px;
    left: 0;
    transform: none;
}

.section-header p, .section-header-con p {
    color: var(--gray-color);
    font-size: 1rem;
    max-width: 100%;
    margin: 0;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: white;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-family: inherit;
    transition: var(--transition);
}

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 77, 77, 0.2);
}

.error-message {
    display: block;
    color: #ff6b6b;
    font-size: 0.8rem;
    margin-top: 5px;
    height: 15px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
    margin-top: 3px;
}

.checkbox-group label {
    font-weight: normal;
    color: var(--gray-color);
    font-size: 0.9rem;
}

.checkbox-group label a {
    color: var(--primary-color);
}

.form-submit {
    margin-top: 20px;
}

.form-submit button {
    position: relative;
    overflow: hidden;
}

.button-text {
    display: inline-block;
    transition: var(--transition);
}

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    opacity: 0;
    transition: var(--transition);
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.form-submit button.loading .button-text {
    opacity: 0;
}

.form-submit button.loading .loading-spinner {
    opacity: 1;
}

.form-success-message {
    background: rgba(46, 125, 50, 0.2);
    border: 1px solid rgba(46, 125, 50, 0.3);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    display: none;
}

.form-success-message i {
    font-size: 3rem;
    color: #4caf50;
    margin-bottom: 20px;
    display: block;
}

.form-success-message h3 {
    color: white;
    margin-bottom: 15px;
}

.form-success-message p {
    color: var(--gray-color);
    line-height: 1.8;
}

.form-success-message a {
    color: var(--primary-color);
}

/* Contact Info */
.contact-info-container {
    position: relative;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 100px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 77, 77, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-text h3 {
    color: white;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.info-text p {
    color: var(--gray-color);
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.info-link {
    color: var(--primary-color);
    font-size: 0.9rem;
    transition: var(--transition);
}

.info-link:hover {
    text-decoration: underline;
}

.social-links {
    margin: 40px 0;
}

.social-links h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.business-hours {
    margin-top: 40px;
}

.business-hours h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.business-hours ul {
    list-style: none;
}

.business-hours li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-color);
    font-size: 0.9rem;
}

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


/* CTA Section */
.contact-cta {
    padding: 80px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2)), url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: white;
}

.contact-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-cta p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-grid {
        display: flex;
        flex-direction: column;
    }
    
    .contact-info-card {
        position: static;
    }
    
    .contact-hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        height: 100vh;
        min-height: 300px;
    }
    .social-links-con{
        display: block;
    }
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-hero .subtitle {
        font-size: 1.2rem;
    }
    
    .contact-form-container {
        padding: 30px;
    }
    
    .contact-info-card {
        padding: 30px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn.secondary {
        margin-left: 0;
        margin-top: 15px;
    }
}

@media (max-width: 576px) {
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .map-container iframe {
        height: 300px;
    }
}