/* ====================================
   Contact Page - Premium Elegant Design
   ==================================== */

/* Main Container */
.contact-page-premium-elegant {
    position: relative;
    padding: 120px 0;
    background: #ffffff;
    overflow: hidden;
}

/* Background Elements */
.contact-page-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-element-page {
    position: absolute;
    border-radius: 50%;
    opacity: 0.04;
    animation: float-element-page 25s ease-in-out infinite;
}

.element-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #10b366, #25a2e2);
    top: -150px;
    right: -150px;
    animation-delay: 0s;
}

.element-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #e0368e, #f8db27);
    bottom: -100px;
    left: -100px;
    animation-delay: 8s;
}

.element-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #25a2e2, #10b366);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 16s;
}

@keyframes float-element-page {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(40px, -40px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

.contact-page-premium-elegant .container {
    position: relative;
    z-index: 1;
}

/* ====================================
   Header Section
   ==================================== */
.contact-page-header {
    text-align: center;
    margin-bottom: 80px;
}

.header-label-page {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.label-line-left-page,
.label-line-right-page {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #10b366 100%);
}

.label-line-right-page {
    background: linear-gradient(90deg, #10b366 0%, transparent 100%);
}

.label-text-page {
    font-size: 14px;
    font-weight: 700;
    color: #10b366;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
}

.contact-page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    color: #333333;
    margin: 0 0 20px 0;
    text-transform: none;
    letter-spacing: -1px;
}

.contact-page-subtitle {
    font-size: 18px;
    color: #666666;
    margin: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* ====================================
   Contact Cards
   ==================================== */
.contact-card-premium-page {
    background: #ffffff;
    border-radius: 24px;
    padding: 45px 35px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #f0f0f0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.contact-card-premium-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b366, #25a2e2, #e0368e, #f8db27);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.contact-card-premium-page:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(16, 179, 102, 0.2);
    border-color: #10b366;
}

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

.card-icon-wrapper-page {
    position: relative;
    margin-bottom: 30px;
}

.icon-circle-page {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #10b366 0%, #25a2e2 100%);
    border-radius: 24px;
    color: #ffffff;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(16, 179, 102, 0.3);
}

.contact-card-premium-page:hover .icon-circle-page {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, #25a2e2 0%, #e0368e 100%);
    box-shadow: 0 15px 40px rgba(37, 162, 226, 0.4);
}

.icon-glow-page {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110px;
    height: 110px;
    background: radial-gradient(circle, rgba(16, 179, 102, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.contact-card-premium-page:hover .icon-glow-page {
    opacity: 1;
}

.card-content-page {
    width: 100%;
}

.card-title-page {
    font-size: 22px;
    font-weight: 700;
    color: #333333;
    margin: 0 0 20px 0;
    text-transform: none;
}

.card-details-page {
    margin-top: 10px;
}

.contact-link-page {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #666666;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    margin: 8px 0;
    padding: 8px 15px;
    border-radius: 12px;
}

.contact-link-page:hover {
    color: #10b366;
    background: rgba(16, 179, 102, 0.1);
    transform: translateX(5px);
}

.link-text-page {
    font-weight: 500;
}

.link-arrow-page {
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.contact-link-page:hover .link-arrow-page {
    transform: translateX(5px);
}

.address-text-page {
    color: #666666;
    font-size: 16px;
    line-height: 1.7;
    margin: 8px 0;
}

/* ====================================
   Contact Form Section
   ==================================== */
.contact-form-section-page {
    height: 100%;
}

.form-container-page {
    background: #ffffff;
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.08);
    border: 2px solid #f0f0f0;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.form-container-page:hover {
    border-color: #10b366;
    box-shadow: 0 15px 60px rgba(16, 179, 102, 0.15);
}

.form-header-page {
    margin-bottom: 40px;
    text-align: center;
}

.form-title-page {
    position: relative;
    margin: 0 0 15px 0;
    display: inline-block;
}

.title-text-page {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: #333333;
    position: relative;
    display: inline-block;
}

.title-underline-page {
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b366, #25a2e2);
    border-radius: 2px;
    transform: scaleX(0.3);
    transform-origin: center;
}

.form-subtitle-page {
    font-size: 16px;
    color: #666666;
    margin: 0;
    line-height: 1.6;
}

.form-body-page {
    flex: 1;
}

.form-container-page form .form-control {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5em;
    color: #333333;
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 15px 25px;
    outline: none;
    box-shadow: none;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    width: 100%;
}

.form-container-page form .form-control:focus {
    border-color: #10b366;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(16, 179, 102, 0.1);
}

.form-container-page form .form-control::placeholder {
    color: #999999;
    opacity: 1;
}

.form-container-page .contact-form-btn .btn-default {
    width: 100%;
    margin-right: 0;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    background: linear-gradient(135deg, #10b366 0%, #25a2e2 100%);
    border: none;
    color: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(16, 179, 102, 0.3);
    cursor: pointer;
}

.form-container-page .contact-form-btn .btn-default:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(16, 179, 102, 0.4);
    background: linear-gradient(135deg, #25a2e2 0%, #e0368e 100%);
}

/* ====================================
   Map Section
   ==================================== */
.map-section-page {
    height: 100%;
}

.map-wrapper-page {
    position: relative;
    height: 100%;
    min-height: 600px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.08);
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.map-section-page:hover .map-wrapper-page {
    border-color: #10b366;
    box-shadow: 0 15px 60px rgba(16, 179, 102, 0.15);
}

.map-overlay-page {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 179, 102, 0.05) 0%, rgba(37, 162, 226, 0.05) 100%);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.map-section-page:hover .map-overlay-page {
    opacity: 1;
}

.map-wrapper-page iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ====================================
   Responsive Styles
   ==================================== */
@media (max-width: 991px) {
    .contact-page-premium-elegant {
        padding: 80px 0;
    }
    
    .contact-page-header {
        margin-bottom: 50px;
    }
    
    .form-container-page {
        padding: 40px 30px;
        margin-bottom: 30px;
    }
    
    .map-wrapper-page {
        min-height: 500px;
    }
    
    .bg-element-page {
        display: none;
    }
}

@media (max-width: 768px) {
    .contact-page-title {
        font-size: 2rem;
    }
    
    .contact-card-premium-page {
        padding: 35px 25px;
    }
    
    .icon-circle-page {
        width: 80px;
        height: 80px;
    }
    
    .icon-circle-page svg {
        width: 24px;
        height: 24px;
    }
    
    .form-container-page {
        padding: 30px 20px;
    }
    
    .map-wrapper-page {
        min-height: 400px;
    }
}

