/* Contact Page Specific Styles */

/* Page Header */
.contact-page .page-header {
    height: 50vh;
    min-height: 400px;
    background-color: var(--zasti-black);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

.contact-page .page-header-content {
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.contact-page .page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.contact-page .page-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
}

.contact-mesh-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: var(--zasti-black);
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 87, 184, 0.15) 0%, rgba(10, 10, 10, 0) 70%),
        radial-gradient(circle at 80% 70%, rgba(0, 87, 184, 0.1) 0%, rgba(10, 10, 10, 0) 70%);
}

.contact-mesh-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100" opacity="0.05"><path d="M0 50 L100 50 M50 0 L50 100" stroke="%230057b8" stroke-width="0.3" fill="none"/><circle cx="50" cy="50" r="1" fill="%230057b8"/></svg>');
    background-size: 50px 50px;
    opacity: 0.3;
}

/* Contact Section */
.contact-section {
    background-color: var(--zasti-gray);
    position: relative;
    z-index: 1;
    padding-bottom: 3rem;
}

.contact-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
}

.contact-form-block {
    background-color: var(--zasti-dark-gray);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 600px;
    width: 100%;
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.form-header p {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form .form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-form .form-group {
    flex: 1;
    margin-bottom: 1.5rem;
}

.contact-form .form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-form .form-input,
.contact-form .form-select,
.contact-form .form-textarea {
    width: 100%;
    background-color: var(--zasti-gray);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    padding: 0.75rem 1rem;
    color: var(--zasti-white);
    font-size: 1rem;
    transition: all var(--transition-medium);
}

.contact-form .form-input:focus,
.contact-form .form-select:focus,
.contact-form .form-textarea:focus {
    border-color: var(--zasti-blue);
    box-shadow: 0 0 0 3px rgba(0, 87, 184, 0.1);
    outline: none;
}

.contact-form .form-textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form .form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.contact-form .form-check-input {
    margin-top: 0.25rem;
}

.contact-form .form-check-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.contact-form .form-check-label a {
    color: var(--zasti-blue);
    text-decoration: underline;
}

.contact-form .btn-submit-form {
    width: 100%;
    padding: 1rem;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background-color: var(--zasti-dark-gray);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.info-header {
    margin-bottom: 2.5rem;
}

.info-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.info-header p {
    color: rgba(255, 255, 255, 0.7);
}

.info-list {
    margin-bottom: 2.5rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 87, 184, 0.1);
    border-radius: var(--border-radius-full);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    color: var(--zasti-blue);
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.info-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.social-connects {
    margin-bottom: 2.5rem;
}

.social-connects h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.social-connects .social-icons {
    display: flex;
    gap: 1rem;
}

.social-connects .social-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(0, 87, 184, 0.1);
    border-radius: var(--border-radius-full);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    color: var(--zasti-blue);
    transition: all var(--transition-medium);
}

.social-connects .social-icon:hover {
    background-color: var(--zasti-blue);
    color: var(--zasti-white);
    transform: translateY(-5px);
}

.cta-box {
    background-color: rgba(0, 87, 184, 0.1);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    border: 1px solid rgba(0, 87, 184, 0.2);
}

.cta-box h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--zasti-blue);
}

.cta-box p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.cta-box .btn {
    width: 100%;
}

/* Offices Section */
.offices-section {
    background-color: var(--zasti-black);
    position: relative;
}

.offices-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="150" height="150" viewBox="0 0 150 150" opacity="0.02"><path d="M30 75 C30 50, 50 30, 75 30 C100 30, 120 50, 120 75 C120 100, 100 120, 75 120 C50 120, 30 100, 30 75 Z" stroke="%230057B8" stroke-width="0.7" fill="none"/><path d="M75 45 L75 105 M45 75 L105 75" stroke="%230057B8" stroke-width="0.5" fill="none"/></svg>');
    background-size: 150px 150px;
    opacity: 0.05;
    z-index: 0;
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.office-card {
    background-color: var(--zasti-gray);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-medium);
}

.office-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--zasti-blue);
}

.office-map {
    position: relative;
}

.office-map img {
    width: 100%;
    height: auto;
    display: block;
}

.office-location {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--zasti-blue);
    color: var(--zasti-white);
    border-radius: var(--border-radius-full);
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.office-info {
    padding: 2rem;
}

.office-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.office-info p {
    font-size: 0.9rem;
    color: var(--zasti-blue);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.office-info address {
    font-style: normal;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.office-email {
    color: var(--zasti-blue);
    font-weight: 500;
    display: inline-block;
}

.office-email:hover {
    text-decoration: underline;
}

/* FAQ Section */
.faq-section {
    background-color: var(--zasti-dark-gray);
    position: relative;
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: all var(--transition-medium);
}

.faq-question {
    padding: 1.5rem;
    background-color: var(--zasti-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all var(--transition-medium);
}

.faq-item.active .faq-question {
    background-color: rgba(0, 87, 184, 0.1);
}

.faq-question h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
    font-weight: 600;
}

.question-toggle {
    width: 30px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-full);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    color: var(--zasti-white);
    transition: all var(--transition-medium);
    flex-shrink: 0;
}

.faq-item.active .question-toggle {
    background-color: var(--zasti-blue);
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-medium);
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    line-height: 1.7;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .contact-page .page-header h1 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form-block {
        padding: 2rem;
    }
    
    .contact-form .form-row {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .offices-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .contact-page .page-header {
        min-height: 300px;
    }
    
    .contact-page .page-header h1 {
        font-size: 2.5rem;
    }
    
    .contact-page .page-header p {
        font-size: 1.1rem;
    }
    
    .form-header h2 {
        font-size: 1.75rem;
    }
    
    .info-card {
        padding: 2rem;
    }
    
    .info-header h2 {
        font-size: 1.75rem;
    }
    
    .info-item {
        gap: 1rem;
    }
    
    .info-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .contact-page .page-header {
        min-height: 250px;
    }
    
    .contact-page .page-header h1 {
        font-size: 2rem;
    }
    
    .contact-form-block {
        padding: 1.5rem;
    }
    
    .cta-box {
        padding: 1.5rem;
    }
    
    .offices-grid {
        grid-template-columns: 1fr;
    }
}