/* ============================================ */
/* CONTACT PAGE STYLES */
/* ============================================ */

/* Hero Section */
.contact-hero {
    background: linear-gradient(135deg, #2878B6 0%, #1a5580 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
    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 width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.contact-hero .hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-hero h1 {
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.contact-hero .hero-subtitle {
    line-height: 1.6;
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 60px 0 40px;
    }
}

/* Quick Contact Section */
.quick-contact-section {
    padding: 60px 0;
    background: white;
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

.quick-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .quick-contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 500px;
    }
}

.contact-method {
    text-align: center;
    padding: 40px 30px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-method:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #E9B01F;
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #E9B01F 0%, #d4a01d 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    transition: all 0.3s ease;
}

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

.contact-method h3 {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.contact-detail {
    margin-bottom: 10px;
}

.contact-detail a {
    color: #2878B6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-detail a:hover {
    color: #1a5580;
    text-decoration: underline;
}

.contact-subtext {
    color: #666;
    margin: 0;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.section-header .section-subtitle {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contact Options Section */
.contact-options-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .options-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
}

.option-card {
    background: white;
    border-radius: 12px;
    padding: 35px;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #2878B6;
}

.option-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
}

.option-icon-sales {
    background: linear-gradient(135deg, #E9B01F 0%, #d4a01d 100%);
}

.option-icon-support {
    background: linear-gradient(135deg, #2878B6 0%, #1a5580 100%);
}

.option-icon-general {
    background: linear-gradient(135deg, #28a745 0%, #208637 100%);
}

.option-card h3 {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.option-card > p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.option-actions {
    list-style: none;
    padding: 0;
    margin: 0;
}

.option-actions li {
    margin-bottom: 10px;
}

.action-link {
    display: inline-flex;
    align-items: center;
    color: #2878B6;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding-left: 20px;
    position: relative;
}

.action-link::before {
    content: '';
    position: absolute;
    left: 0;
    width: 12px;
    height: 12px;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%232878B6" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="5" y1="12" x2="19" y2="12"></line><polyline points="12 5 19 12 12 19"></polyline></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}

.action-link:hover {
    color: #1a5580;
}

.action-link:hover::before {
    transform: translateX(4px);
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%231a5580" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="5" y1="12" x2="19" y2="12"></line><polyline points="12 5 19 12 12 19"></polyline></svg>');
}

/* Message Form Section */
.message-form-section {
    padding: 80px 0;
    background: white;
}

.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: #f8f9fa;
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .form-wrapper {
        padding: 30px 20px;
    }
}

.form-header {
    text-align: center;
    margin-bottom: 35px;
}

.form-header h2 {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.form-header p {
    color: #666;
    margin: 0;
}

.form-container {
    background: white;
    border-radius: 12px;
    padding: 30px;
}

/* Hide ActiveHosted form margins */
._form_1 {
    margin-bottom: 0 !important;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

.faq-item {
    background: white;
    border-radius: 12px;
    padding: 30px;
    border-left: 4px solid #E9B01F;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.4;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Contact CTA Section */
.contact-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.cta-content p {
    max-width: 600px;
    margin: 0 auto 35px;
    opacity: 0.9;
    line-height: 1.6;
}

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

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 16px 40px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #E9B01F 0%, #d4a01d 100%);
    color: #1a1a1a;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #d4a01d 0%, #c09019 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(233, 176, 31, 0.4);
    color: #1a1a1a;
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #1a1a1a;
    text-decoration: none;
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}

/* ============================================ */
/* MESSAGE US NOW BUTTON */
/* ============================================ */
.btn-message-now {
    display: inline-block;
    margin-top: 30px;
    padding: 18px 45px;
    font-weight: 700;
    background: linear-gradient(135deg, #E9B01F 0%, #d4a01d 100%);
    color: #1a1a1a;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(233, 176, 31, 0.3);
}

.btn-message-now:hover {
    background: linear-gradient(135deg, #d4a01d 0%, #c09019 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(233, 176, 31, 0.5);
}

.btn-message-now:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(233, 176, 31, 0.4);
}

@media (max-width: 768px) {
    .btn-message-now {
        padding: 16px 35px;
    }
}

/* ============================================ */
/* FRESHWORKS MODAL */
/* ============================================ */
.freshworks-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    position: relative;
    background-color: white;
    margin: 3% auto;
    padding: 0;
    width: 90%;
    max-width: 700px;
    border-radius: 16px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0f0f0;
}

.close-modal svg {
    stroke: #666;
    transition: stroke 0.3s ease;
}

.close-modal:hover,
.close-modal:focus {
    background: #e0e0e0;
    transform: rotate(90deg);
}

.close-modal:hover svg,
.close-modal:focus svg {
    stroke: #1a1a1a;
}

.modal-header {
    padding: 40px 40px 20px;
    text-align: center;
    border-bottom: 2px solid #f0f0f0;
}

.modal-header h2 {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.modal-header p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.form-container-modal {
    padding: 30px 40px 40px;
}

/* Freshworks form styling */
.form-container-modal iframe {
    width: 100%;
    border: none;
    min-height: 500px;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }

    .modal-header {
        padding: 30px 20px 15px;
    }

    .form-container-modal {
        padding: 20px;
    }

    .close-modal {
        right: 15px;
        top: 15px;
        width: 35px;
        height: 35px;
    }

    .close-modal svg {
        width: 16px;
        height: 16px;
    }
}
  