/* Contact Page Styles */

/* Hero Section */
.contact-hero {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background-color: #f8f9fa;
}

/* Animation container for Three.js */
.contact-hero-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.7;
    pointer-events: none;
}

/* SVG Animation */
.animated-svg {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(255, 107, 25, 0.1));
    transform-origin: center;
    animation: float-svg 6s ease-in-out infinite;
}

@keyframes float-svg {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.contact-hero .orange-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background-color: rgba(255, 107, 25, 0.05);
    border-radius: 50%;
    top: -200px;
    right: -300px;
    z-index: 1;
}

.contact-hero .enso-background {
    position: absolute;
    width: 600px;
    height: 600px;
    left: -200px;
    bottom: -300px;
    opacity: 0.04;
    z-index: 1;
}

.contact-hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.contact-hero-text {
    flex: 1;
    max-width: 600px;
}

.contact-hero-image {
    flex: 1;
    text-align: right;
    position: relative;
    z-index: 3;
}

.contact-hero-image img {
    max-width: 100%;
    height: auto;
}

.contact-hero .hero-tagline {
    font-size: 18px;
    font-weight: 500;
    color: #FF6B19;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
    padding-left: 36px;
}

.contact-hero .hero-tagline::before {
    content: "";
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: #FF6B19;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.contact-hero .hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    margin-bottom: 24px;
    line-height: 1.2;
}

.contact-hero .hero-title span {
    color: #FF6B19;
}

.contact-hero .hero-subtitle {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 32px;
}

/* Contact Info Section */
.contact-info {
    padding: 100px 0;
    background-color: #fff;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.contact-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 107, 25, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-card-icon img {
    width: 24px;
    height: 24px;
}

.contact-card-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.contact-card-info {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.contact-card-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.contact-card-link {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: #FF6B19;
    position: relative;
    transition: all 0.3s ease;
}

.contact-card-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #FF6B19;
    left: 0;
    bottom: -4px;
    transition: all 0.3s ease;
}

.contact-card-link:hover::after {
    width: 100%;
}

/* Contact Form Section */
.contact-form-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background-color: #f8f9fa;
}

.form-section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.form-blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background-color: rgba(255, 107, 25, 0.05);
    border-radius: 50%;
    top: -200px;
    right: -250px;
}

.form-enso {
    position: absolute;
    width: 500px;
    height: 500px;
    left: -250px;
    bottom: -250px;
    opacity: 0.04;
}

.contact-form-container {
    position: relative;
    z-index: 2;
}

.contact-form-wrapper {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.contact-form-content {
    flex: 1;
    padding: 48px;
}

.contact-form-image {
    flex: 1;
    position: relative;
    height: 100%;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.contact-form-image img {
    width: 80%;
    height: auto;
    position: relative;
    z-index: 2;
}

.contact-pattern {
    position: absolute;
    width: 400px;
    height: 400px;
    background-color: rgba(255, 107, 25, 0.05);
    border-radius: 50%;
    z-index: 1;
}

.contact-form-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 32px;
    line-height: 1.6;
}

.contact-form {
    width: 100%;
}

.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    flex: 1;
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #FF6B19;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 25, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
    margin-top: 4px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 14px;
    color: #666;
}

.form-submit {
    margin-top: 24px;
}

.submit-btn {
    background-color: #FF6B19;
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #e55b0a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 25, 0.3);
}

/* Map Section */
.map-section {
    padding: 100px 0;
    background-color: #fff;
}

.map-wrapper {
    position: relative;
    margin-top: 48px;
    border-radius: 12px;
    overflow: hidden;
    height: 500px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 2;
}

.map-card {
    background-color: #fff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 320px;
}

.map-card-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.map-card-address {
    font-size: 16px;
    color: #666;
    margin-bottom: 16px;
    line-height: 1.6;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    /* This should be larger than any potential answer height */
}

.faq-item.active .faq-question {
    background-color: rgba(255, 107, 25, 0.05);
}