/* Contact Page Specific Styles */

/* Contact Hero */
.contact-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
    text-align: center;
    padding: 6rem 2rem 2rem;
    margin-top: 60px;
}

.contact-hero-content {
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
}

.contact-hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.contact-hero-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Active menu state */
.menu a.active {
    color: var(--primary);
}

.menu a.active:after {
    width: 100%;
}

/* Section Spacing */
.contact-channels,
.faq-section,
.events-section,
.follow-section,
.contact-form-section {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* Channel Cards - 4 columns */
.channels-grid.four-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.channel-card {
    background: white;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.channel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.channel-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary);
}

.channel-icon.whatsapp {
    color: #25D366;
    background: rgba(37, 211, 102, 0.1);
}

.channel-icon.telegram {
    color: #0088cc;
    background: rgba(0, 136, 204, 0.1);
}

.channel-icon.linkedin {
    color: #0077b5;
    background: rgba(0, 119, 181, 0.1);
}

.channel-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.channel-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.channel-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
    border: none;
    cursor: pointer;
}

.channel-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(14, 165, 233, 0.3);
}

.channel-button.whatsapp-btn {
    background: #25D366;
}

.channel-button.whatsapp-btn:hover {
    background: #128C7E;
}

.channel-button.telegram-btn {
    background: #0088cc;
}

.channel-button.telegram-btn:hover {
    background: #0077b5;
}

/* FAQ Section */
.faq-section {
    background: #f8fafc;
    padding: 5rem 0;
}

/* FAQ Grid - 2 columns */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 2rem auto 0;
}

.faq-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: fit-content;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

.faq-question:hover {
    background: rgba(14, 165, 233, 0.02);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
    padding-right: 2rem;
    line-height: 1.4;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

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

.faq-answer {
    max-height: 0;
    padding: 0 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border-top: 0 solid transparent;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
    border-top: 1px solid var(--border);
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.faq-answer li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.faq-answer li:last-child {
    margin-bottom: 0;
}

/* Events Section */
.events-section {
    background: white;
    padding: 5rem 0;
}

/* Events Grid - 2 columns */
.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 2rem auto 0;
}

/* Event Card Styles */
.event-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.event-date-large {
    min-width: 80px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 1rem 0.5rem;
    border-radius: 12px;
}

.event-date-large .event-day {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
}

.event-date-large .event-month {
    font-size: 0.875rem;
    text-transform: uppercase;
    opacity: 0.9;
}

.event-card .event-details {
    flex: 1;
}

.event-card .event-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.event-card .event-details p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.event-card .event-type {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.event-type.crypto {
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent);
}

.event-type.proptech {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.event-type.fintech {
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
}

.event-card .event-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.event-card .event-link:hover {
    gap: 0.75rem;
}

/* Follow Section */
.follow-section {
    background: #f8fafc;
    padding: 5rem 0;
}

/* Follow Grid - 4 columns */
.follow-grid.four-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.follow-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.follow-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.follow-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.follow-card.wellfound .follow-icon {
    background: #14a800;
    color: white;
}

.follow-card.youtube .follow-icon {
    background: #ff0000;
    color: white;
}

.follow-card.linkedin .follow-icon {
    background: #0077b5;
    color: white;
}

.follow-card.finextra .follow-icon {
    background: #0055a4;
    color: white;
}

.follow-content {
    flex: 1;
    min-width: 0;
}

.follow-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.follow-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.follow-card:hover .follow-arrow {
    transform: translateX(5px);
}

/* Contact Form Section */
.contact-form-section {
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    padding: 5rem 0;
}

.form-card {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    max-width: 800px;
    margin: 0 auto;
}

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

.form-header h3 {
    font-size: 1.75rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-secondary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

/* reCAPTCHA wrapper */
.recaptcha-wrapper {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.3);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Alert Messages */
.alert-message {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-align: center;
    font-weight: 500;
    animation: slideDown 0.5s ease;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid var(--success);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid var(--danger);
}

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

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .container {
        padding: 0 2rem;
    }
}

@media (max-width: 1024px) {
    /* 4-column grids become 2 columns on tablet */
    .channels-grid.four-columns,
    .follow-grid.four-columns {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 2-column grids remain 2 columns on tablet */
    .faq-grid,
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-hero {
        min-height: 30vh;
        padding: 5rem 1rem 2rem;
    }
    
    .contact-hero-content h1 {
        font-size: 2rem;
    }
    
    /* All grids become 1 column on mobile */
    .channels-grid.four-columns,
    .follow-grid.four-columns,
    .faq-grid,
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    /* Event card mobile layout */
    .event-card {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .event-date-large {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 1rem;
    }
    
    .event-date-large .event-day,
    .event-date-large .event-month {
        display: inline-block;
    }
    
    .event-date-large .event-day {
        font-size: 1.25rem;
        margin-right: 0.5rem;
    }
    
    /* Form mobile layout */
    .form-card {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* FAQ mobile adjustments */
    .faq-question h3 {
        font-size: 1rem;
        padding-right: 1rem;
    }
    
    .faq-answer {
        font-size: 0.95rem;
    }
    
    /* Follow card mobile adjustments */
    .follow-card {
        padding: 1rem;
    }
    
    .follow-content p {
        white-space: normal;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .channel-card {
        padding: 1.5rem 1rem;
    }
    
    .channel-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .channel-button {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .event-date-large {
        min-width: 70px;
    }
    
    .event-date-large .event-day {
        font-size: 1.1rem;
    }
    
    .recaptcha-wrapper {
        transform: scale(0.9);
        transform-origin: center;
    }
}

/* Print styles */
@media print {
    .contact-hero {
        background: none;
        color: black;
        min-height: auto;
        padding: 2rem 0;
    }
    
    .channel-button,
    .follow-card,
    .contact-form,
    .menu-toggle,
    .footer-share {
        display: none !important;
    }
    
    .faq-item {
        break-inside: avoid;
        page-break-inside: avoid;
    }
    
    .event-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}