/* Contact Page Styles */

.contact-hero {
    background: linear-gradient(135deg, #46b8da 0%, #2196f3 100%);
    min-height: 60vh;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 300"><defs><pattern id="contact-pattern" x="0" y="0" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect fill="url(%23contact-pattern)" width="100%" height="100%"/></svg>');
    opacity: 0.3;
}

.contact-hero .container {
    position: relative;
    z-index: 2;
}

.contact-form-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.contact-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin: 0px 10px 0px 10px;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #46b8da, #2196f3);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
}

.contact-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.contact-form .form-control:focus {
    border-color: #46b8da;
    box-shadow: 0 0 0 0.2rem rgba(70, 184, 218, 0.25);
    background: #ffffff;
    transform: translateY(-2px);
}

.contact-form .form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.contact-info-card {
    background: linear-gradient(135deg, #46b8da 0%, #2196f3 100%);
    color: white;
    border-radius: 20px;
    padding: 40px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.contact-info-item i {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-info-item:hover i {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.contact-info-item h5 {
    margin: 0 0 5px 0;
    font-weight: 600;
}

.contact-info-item p {
    margin: 0;
    opacity: 0.9;
}

.contact-info-item a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-info-item a:hover {
    color: #f0f0f0;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.btn-primary-contact {
    background: linear-gradient(135deg, #46b8da 0%, #2196f3 100%);
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary-contact:hover::before {
    left: 100%;
}

.btn-primary-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(70, 184, 218, 0.4);
}

.btn-primary-contact:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.contact-map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    height: 450px;
    background: #f8f9fa;
    display: block;
    width: 100%;
}

.contact-map iframe {
    width: 100% !important;
    height: 100% !important;
    border: none;
    border-radius: 20px;
    display: block;
}

.map-placeholder {
    text-align: center;
    color: #6c757d;
}

.map-placeholder i {
    font-size: 60px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.faq-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.faq-item {
    background: white;
    border: none;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.accordion-button {
    border: none;
    border-radius: 15px !important;
    font-weight: 600;
    padding: 20px 25px;
    background: white;
    color: #2c3e50;
    font-size: 16px;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #46b8da 0%, #2196f3 100%);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    border: none;
    box-shadow: none;
}

.accordion-body {
    padding: 20px 25px;
    font-size: 15px;
    line-height: 1.6;
    color: #6c757d;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    position: relative;
    z-index: 2;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.form-floating>.form-control {
    padding: 1rem 0.75rem;
    height: calc(3.5rem + 2px);
}

.form-floating>label {
    padding: 1rem 0.75rem;
    color: #6c757d;
}

.contact-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
    text-align: center;
    display: none;
}

.contact-error {
    background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%);
    color: white;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
    text-align: center;
    display: none;
}


/* Loading animation */

.contact-loading {
    display: none;
    text-align: center;
    padding: 20px;
}

.contact-loading .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #46b8da;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


/* Mobile responsiveness */

@media (max-width: 768px) {
    .contact-hero {
        min-height: 50vh;
    }
    .contact-form-section {
        padding: 60px 0;
    }
    .contact-card {
        margin-bottom: 30px;
    }
    .contact-info-card {
        padding: 30px;
    }
    .faq-section {
        padding: 60px 0;
    }
}


/* Animation classes */

.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in {
    animation: slideIn 0.8s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* Form validation styles */

.form-control.is-valid {
    border-color: #28a745;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='m2.3 6.73.9-.8a.9.9.9 0 0 1 1.29 0l.9.8.9-.8a.9.9.9 0 0 1 1.29 0l.9.8.9-.8a.9.9.9 0 0 1 1.29 0l.9.8.9-.8a.9.9.9 0 0 1 1.29 0l.9.8V1a1 1 0 0 0-1-1H1a1 1 0 0 0-1 1v5.73l.9-.8a.9.9.9 0 0 1 1.3 0z'/%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' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 3.6.4 5 .4-5'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
}