/* ========================================
   Contact Page Specific Styles
   ======================================== */

/* Hero Section */
.contact-hero {
    min-height: 70vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0f0f1a 100%);
}

.contact-hero .hero-gradient {
    background: radial-gradient(ellipse at 30% 70%, rgba(0, 102, 179, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 30%, rgba(0, 168, 107, 0.1) 0%, transparent 50%);
}

/* Contact Info Section */
.contact-info-section {
    padding: 100px 0;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.contact-card {
    background: linear-gradient(145deg, rgba(25, 25, 40, 0.9), rgba(35, 35, 55, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 102, 179, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.contact-card-icon {
    color: var(--primary-color);
    margin-bottom: 25px;
    transition: transform 0.4s ease;
}

.contact-card:hover .contact-card-icon {
    transform: scale(1.1);
}

.contact-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

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

.contact-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-value {
    display: block;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

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

.contact-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.app-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 10px;
}

.app-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(0, 102, 179, 0.15);
    border-radius: 25px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.app-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* Contact Form Section */
.contact-form-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #0f0f1a 0%, #141428 100%);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.form-content .section-tag {
    color: var(--secondary-color);
}

.form-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.form-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-feature {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.form-feature:hover {
    background: rgba(0, 102, 179, 0.1);
    border-color: rgba(0, 102, 179, 0.3);
    transform: translateX(5px);
}

.form-feature-icon {
    flex-shrink: 0;
    color: var(--primary-color);
}

.form-feature-text h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}

.form-feature-text p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Form Wrapper */
.form-wrapper {
    background: linear-gradient(145deg, rgba(25, 25, 40, 0.95), rgba(35, 35, 55, 0.85));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 50px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 102, 179, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23ffffff' stroke-opacity='0.5' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
}

.form-group select option {
    background: #1a1a2e;
    color: #fff;
}

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

.checkbox-group {
    flex-direction: row;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.checkbox-label a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Map Section */
.map-section {
    padding: 0;
}

.map-container {
    height: 400px;
    background: linear-gradient(135deg, #0a0a0a 0%, #15152a 100%);
    position: relative;
}

.map-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(0, 102, 179, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(0, 168, 107, 0.1) 0%, transparent 40%);
}

.map-content {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 40px;
}

.map-content svg {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.map-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.map-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 25px;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.faq-item {
    background: linear-gradient(145deg, rgba(25, 25, 40, 0.9), rgba(35, 35, 55, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.faq-item:hover {
    border-color: rgba(0, 102, 179, 0.3);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 30px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-question h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    padding-right: 20px;
}

.faq-icon {
    flex-shrink: 0;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 30px 25px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
}

/* Responsive */
@media (max-width: 1200px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .form-wrapper {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .contact-info-section,
    .contact-form-section,
    .faq-section {
        padding: 60px 0;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-wrapper {
        padding: 30px;
    }
    
    .map-container {
        height: 350px;
    }
    
    .map-content h3 {
        font-size: 1.5rem;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h3 {
        font-size: 0.95rem;
    }
    
    .faq-answer p {
        padding: 0 20px 20px;
    }
}

@media (max-width: 480px) {
    .contact-card {
        padding: 30px 20px;
    }
    
    .app-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .map-container {
        height: 300px;
    }
    
    .map-content {
        padding: 30px 20px;
    }
    
    .map-content h3 {
        font-size: 1.3rem;
    }
    
    .map-content p {
        font-size: 0.9rem;
    }
}
