/* Contact Page Styling */

/* Hero Section */
.contact-hero-section {
    background: linear-gradient(135deg, #292929 0%, #292929 100%);
    padding: 80px 0;
    color: white;
    text-align: center;
}

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

.contact-heading {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.accent-star {
    color: #ff4c4b;
}

.contact-description {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background: #f7f7f7f7;
}

.contact-container {
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Information */
.contact-info {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.contact-info-header {
    margin-bottom: 40px;
}

.contact-info-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 10px;
}

.contact-info-subtitle {
    color: #64748b;
    line-height: 1.6;
}

.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff4c4b, #ff6b6a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.contact-info-content {
    flex: 1;
}

.contact-info-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 5px;
}

.contact-info-text {
    color: #292929;
    line-height: 1.5;
}

/* Contact Form */
.contact-form {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-form-header {
    margin-bottom: 30px;
}

.contact-form-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 10px;
}

.contact-form-subtitle {
    color: #292929;
    line-height: 1.6;
}

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

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

.form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-input,
.form-textarea {
    padding: 15px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #ff4c4b;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.form-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 5px;
}

.form-submit-btn {
    background: linear-gradient(135deg, #ff4c4b, #ff6b6a);
    color: white;
    border: none;
    padding: 18px 30px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* Map Section */
.contact-map-section {
    padding: 80px 0;
    background: white;
}

.contact-map-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-map-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 15px;
}

.contact-map-subtitle {
    color: #292929;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-map-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-map-placeholder {
    height: 400px;
    background: #f1f5f9;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #cbd5e1;
}

.map-placeholder-content {
    text-align: center;
    color: #292929;
}

.map-placeholder-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    opacity: 0.6;
}

.map-placeholder-text {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-heading {
        font-size: 3rem;
    }
}

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

    .contact-heading {
        font-size: 2.5rem;
    }

    .contact-description {
        font-size: 1.1rem;
    }

    .contact-form-section {
        padding: 60px 0;
    }

    .contact-info,
    .contact-form {
        padding: 30px;
    }

    .contact-info-title,
    .contact-form-title {
        font-size: 1.8rem;
    }

    .contact-map-title {
        font-size: 2rem;
    }

    .contact-map-section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .contact-hero-section {
        padding: 50px 0;
    }

    .contact-heading {
        font-size: 2rem;
    }

    .contact-form-section {
        padding: 50px 0;
    }

    .contact-info,
    .contact-form {
        padding: 25px;
        border-radius: 15px;
    }

    .contact-info-item {
        gap: 15px;
    }

    .contact-info-icon {
        width: 45px;
        height: 45px;
    }

    .contact-info-icon svg {
        width: 20px;
        height: 20px;
    }

    .form-input,
    .form-textarea {
        padding: 12px 15px;
    }

    .form-submit-btn {
        padding: 15px 25px;
        font-size: 1rem;
    }

    .contact-map-placeholder {
        height: 300px;
    }
}

/* Animation Effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-info,
.contact-form {
    animation: fadeInUp 0.6s ease;
}

.contact-info-item {
    animation: fadeInUp 0.6s ease;
}

.contact-info-item:nth-child(1) {
    animation-delay: 0.1s;
}
.contact-info-item:nth-child(2) {
    animation-delay: 0.2s;
}
.contact-info-item:nth-child(3) {
    animation-delay: 0.3s;
}
.contact-info-item:nth-child(4) {
    animation-delay: 0.4s;
}

/* Hover Effects */
.contact-info-item:hover .contact-info-icon {
    transform: scale(1.1);
}

.contact-info-icon {
    transition: transform 0.3s ease;
}

/* Success/Error States */
.form-input.success,
.form-textarea.success {
    border-color: #10b981;
    background: #f0fdf4;
}

.form-input.error,
.form-textarea.error {
    border-color: #ef4444;
    background: #fef2f2;
}

/* Loading State */
.form-submit-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-submit-btn.loading .btn-text::after {
    content: "...";
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%,
    20% {
        content: "...";
    }
    40% {
        content: "..";
    }
    60% {
        content: ".";
    }
    80%,
    100% {
        content: "";
    }
}
