/* Contact Page Specific Styles */

/* Contact Hero Section */
.contact-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.85) 0%,
            rgba(255,255,255,0.5) 45%,
            rgba(255,255,255,0.15) 100%
        ),
        url("./contact.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}


.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="contact-grid" width="60" height="60" patternUnits="userSpaceOnUse"><path d="M 60 0 L 0 0 0 60" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23contact-grid)"/></svg>');
    opacity: 0.4;
}

.contact-hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
}

.contact-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-hero-title {
    font-size: 56px;
    font-weight: 900;
    color: #000000;
    margin-bottom: 20px;
    letter-spacing: -1px;
    line-height: 1.1;
}

.contact-hero-subtitle {
    font-size: 20px;
    color: #000000;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Contact Information Section */
.contact-info-section {
    padding: 100px 0;
    background: #fff;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.contact-card {
    background: #fafafa;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    background: #fff;
    border-color: #c41e3a;
}

.contact-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 24px;
    color: #c41e3a;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-card-title {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin-bottom: 16px;
}

.contact-card-text {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
}

.contact-card-text a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card-text a:hover {
    color: #c41e3a;
}

/* Contact Form Section */
.contact-form-section {
    padding: 100px 0;
    background: #fafafa;
}

.form-container-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

.form-info {
    position: sticky;
    top: 120px;
}

.form-intro {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
}

.form-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    width: 24px;
    height: 24px;
    color: #c41e3a;
    flex-shrink: 0;
}

.form-feature-item span {
    font-size: 15px;
    color: #333;
    font-weight: 500;
}

.form-container {
    background: #fff;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    letter-spacing: 0.3px;
}

.form-input,
.form-select,
.form-textarea {
    padding: 14px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 4px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    color: #333;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #c41e3a;
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml,<svg width="12" height="8" viewBox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L6 6L11 1" stroke="%23666" stroke-width="2"/></svg>');
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.checkbox-label {
    display: flex;
    align-items: start;
    gap: 12px;
    cursor: pointer;
}

.form-checkbox {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #c41e3a;
}

.checkbox-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.form-submit-btn {
    padding: 16px 40px;
    background: #c41e3a;
    color: #fff;
    border: 2px solid #c41e3a;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    align-self: flex-start;
}

.form-submit-btn:hover {
    background: transparent;
    color: #c41e3a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(196, 30, 58, 0.2);
}

.btn-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-submit-btn:hover .btn-icon {
    transform: translateX(4px);
}

.form-message {
    padding: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-message {
    background: #e8f5e9;
    border: 2px solid #4caf50;
    color: #2e7d32;
}

.error-message {
    background: #ffebee;
    border: 2px solid #f44336;
    color: #c62828;
}

.message-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.success-message .message-icon {
    color: #4caf50;
}

.error-message .message-icon {
    color: #f44336;
}

/* Map Section */
.map-section {
    height: 450px;
    background: #e5e5e5;
}

.map-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-overlay {
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 60px;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.map-overlay h3 {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin-bottom: 12px;
}

.map-overlay p {
    font-size: 16px;
    color: #666;
    margin-bottom: 24px;
}

.map-btn {
    display: inline-block;
    padding: 12px 32px;
    background: #c41e3a;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.map-btn:hover {
    background: #a01829;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(196, 30, 58, 0.3);
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: #fff;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #fafafa;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active {
    border-color: #c41e3a;
}

.faq-question {
    width: 100%;
    padding: 24px 30px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-question:hover {
    color: #c41e3a;
}

.faq-icon {
    width: 24px;
    height: 24px;
    color: #666;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: #c41e3a;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 30px 24px;
}

.faq-answer p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .form-container-wrapper {
        gap: 50px;
    }
    
    .form-container {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        height: 50vh;
        min-height: 350px;
    }
    
    .contact-hero-title {
        font-size: 36px;
    }
    
    .contact-hero-subtitle {
        font-size: 16px;
    }
    
    .contact-info-section {
        padding: 80px 0;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-form-section {
        padding: 80px 0;
    }
    
    .form-container-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-info {
        position: static;
    }
    
    .form-container {
        padding: 30px 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .map-section {
        height: 350px;
    }
    
    .map-overlay {
        padding: 30px 40px;
    }
    
    .map-overlay h3 {
        font-size: 24px;
    }
    
    .faq-section {
        padding: 80px 0;
    }
    
    .faq-question {
        padding: 20px 24px;
        font-size: 15px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 24px 20px;
    }
}

@media (max-width: 480px) {
    .contact-hero-title {
        font-size: 28px;
    }
    
    .contact-hero-subtitle {
        font-size: 14px;
    }
    
    .contact-card {
        padding: 30px 20px;
    }
    
    .form-container {
        padding: 25px 20px;
    }
    
    .form-submit-btn {
        width: 100%;
        justify-content: center;
    }
    
    .map-overlay {
        padding: 25px 30px;
    }
    
    .map-overlay h3 {
        font-size: 22px;
    }
    
    .map-overlay p {
        font-size: 14px;
    }
    
    .faq-question {
        padding: 18px 20px;
        font-size: 14px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 18px;
    }
}