/* Existing Styles */

/* Floating QR Code Button */
.qr-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--main-color); /* Match navbar color */
    color: white;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.qr-float-btn:hover {
    transform: scale(1.1);
    background-color: var(--color-three);
}

/* QR Code Modal */
.qr-modal {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 1001;
    background-color: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    width: 250px;
    text-align: center;
    animation: fadeIn 0.3s ease-in-out;
}

.qr-modal-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
}

.qr-modal-content p {
    font-size: 14px;
    color: #333;
    margin: 0;
}

.qr-close {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 24px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s ease;
}

.qr-close:hover {
    color: #333;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Contact Page Styles - Card System */

/* Add padding between page title and contact section */
.contact-page-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Main wrapper cards with enhanced styling */
.contact-info-wrapper,
.contact-form-wrapper {
    background: #ffffff;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-info-wrapper:hover,
.contact-form-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

/* Section titles within cards */
.contact-info-wrapper .sec-title,
.contact-form-wrapper .sec-title {
    margin-bottom: 35px;
}

.sec-title_title {
    color: var(--main-color, #89c74a);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.sec-title_heading {
    font-size: 32px;
    font-weight: 700;
    color: #222;
    margin: 0;
}

/* Info blocks grid */
.contact-info-grid {
    display: grid;
    gap: 20px;
}

.contact-info-block {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.contact-info-block:hover {
    background: #ffffff;
    border-color: var(--main-color, #89c74a);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-info-icon {
    flex-shrink: 0;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--main-color, #89c74a), #6fb038);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 22px;
    transition: all 0.3s ease;
}

.contact-info-block:hover .contact-info-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-info-content {
    flex: 1;
}

.contact-info-content h5 {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin: 0 0 12px 0;
}

.contact-info-content p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.contact-info-content a {
    color: var(--main-color, #89c74a);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.contact-info-content a:hover {
    color: #6fb038;
    text-decoration: underline;
}

/* Contact form styling */
.contact-form {
    background: transparent;
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e8e9eb;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    color: #333;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--main-color, #89c74a);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(137, 199, 74, 0.1);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

/* Map section */
.map-section {
    margin-top: 60px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .contact-info-wrapper,
    .contact-form-wrapper {
        padding: 40px 30px;
        margin-bottom: 40px;
    }

    .contact-page-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .sec-title_heading {
        font-size: 28px;
    }
}

@media (max-width: 575px) {
    .contact-info-wrapper,
    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .contact-info-block {
        padding: 20px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-info-icon {
        margin-bottom: 15px;
    }

    .sec-title_heading {
        font-size: 24px;
    }
}
