/* Contact Page Specific Styles */

/* Contact Hero Section */
.contact-hero {
    position: relative;
    height: 425px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 91px;
    overflow: hidden;
}

.contact-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.contact-hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    display: block;
}

.contact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.contact-hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    color: #FFFFFF;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-hero-arrow {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 46px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 10;
}

.contact-expand-arrow {
    width: 46px;
    height: 25px;
    object-fit: contain;
    display: block;
}

.contact-hero-arrow:hover {
    transform: translateX(-50%) scale(1.1);
    animation-play-state: paused;
}

@keyframes arrowBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Contact Information Section */
.contact-info-section {
    padding: 112px 0;
    background: #FFFFFF;
}

.contact-info-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 122px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info-column {
    flex: 1;
    max-width: 461px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    opacity: 0;
    transform: translateY(30px);
    animation: contactColumnFadeIn 0.8s ease-out forwards;
}

.contact-info-column:nth-child(1) {
    animation-delay: 0.2s;
}

.contact-info-column:nth-child(2) {
    animation-delay: 0.4s;
}

@keyframes contactColumnFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-info-card {
    background: #EBEBEB;
    padding: 18px 10px 12px 10px;
    border-radius: 0;
    position: relative;
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background: #f0f0f0;
}

.contact-info-title {
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    color: #000000;
    margin-bottom: 16px;
}

.contact-info-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    color: #000000;
    margin-bottom: 16px;
}

.contact-info-content {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #000000;
    margin-bottom: 16px;
}

.contact-info-content p {
    margin-bottom: 8px;
}

.contact-note {
    font-weight: 600 !important;
    color: #000000 !important;
}

.btn-map {
    background: transparent;
    color: #000000;
    border: 2px solid #000000;
    padding: 8px 15px 8px 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 400;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    width: fit-content;
}

.btn-map::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #000000;
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-map:hover::before {
    left: 0;
}

.btn-map:hover {
    color: #FFFFFF;
}

.btn-map .forward-arrow.white {
    width: 9.45555px;
    height: 23px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.btn-map:hover .forward-arrow.white {
    transform: translateX(5px);
}

.contact-person {
    margin-top: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contact-person-name {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    color: #000000;
    margin-bottom: 16px;
}

.contact-person-details {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #000000;
}

.contact-person-details p {
    margin-bottom: 8px;
}

.contact-social-media {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 2px;
    margin-top: 24px;
    justify-content: flex-start;
}

.contact-social-media .social-media-item {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #161616;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.contact-social-media .social-media-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.contact-social-media .social-media-item:hover::before {
    left: 100%;
}

.contact-social-media .social-media-item:hover {
    background: #696969;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.contact-social-media .social-media-icon {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

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

.map-section-title {
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    color: #000000;
    text-align: left;
    margin-bottom: 32px;
    margin-left: 155px;
    opacity: 0;
    transform: translateX(-30px);
    animation: mapTitleSlideIn 0.8s ease-out 0.6s forwards;
}

@keyframes mapTitleSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.map-container {
    max-width: 1001px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 0;
    opacity: 0;
    transform: scale(0.95);
    animation: mapContainerFadeIn 1s ease-out 0.8s forwards;
}

@keyframes mapContainerFadeIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.map-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

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

.contact-form-container {
    max-width: 1000px;
    margin: 0 auto;
    background: #EBEBEB;
    padding: 26px 14px 26px 14px;
    border-radius: 0;
    opacity: 0;
    transform: translateY(40px);
    animation: formContainerFadeIn 1s ease-out 1s forwards;
}

@keyframes formContainerFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-form-header {
    text-align: left;
    margin-bottom: 40px;
}

.contact-form-title {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    color: #000000;
    margin-bottom: 16px;
}

.contact-form-description {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #000000;
    max-width: 253px;
}

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

.form-row {
    display: flex;
    gap: 24px;
}

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

.form-group.full-width {
    width: 100%;
}

.form-group label {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: #000000;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    padding: 16px;
    border: 2px solid #000000;
    border-radius: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    background: #FFFFFF;
    transition: all 0.3s ease;
    position: relative;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #696969;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: #696969;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-group.focused label {
    color: #696969;
    font-weight: 600;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    gap: 20px;
}

.g-recaptcha {
    transform: scale(0.85);
    transform-origin: left top;
    flex-shrink: 0;
}

.btn-submit {
    background: transparent;
    color: #000000;
    border: 2px solid #000000;
    padding: 8px 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    flex-shrink: 0;
    transform: translateY(0);
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #000000;
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-submit:hover::before {
    left: 0;
}

.btn-submit:hover {
    color: #FFFFFF;
}



/* Active Navigation State */
.nav-link.active,
.footer-link.active {
    color: #000000;
}

.nav-link.active::after,
.footer-link.active::after {
    width: 100%;
}

.btn-contact.active {
    background: #000000;
    color: #FFFFFF;
}

/* Additional Animation Classes */
.contact-info-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-info-card:hover {
    transform: translateY(-8px) scale(1.02);
}

.map-container {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.map-container:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Loading Animation for Form */
.form-loading {
    position: relative;
    overflow: hidden;
}

.form-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loadingShimmer 1.5s infinite;
}

@keyframes loadingShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Success Animation */
.form-success {
    animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .contact-info-grid {
        gap: 60px;
        padding: 0 32px;
    }
    
    .contact-info-column {
        max-width: 100%;
    }
    
    .contact-info-card {
        padding: 40px 20px;
    }
    
    .map-section-title {
        margin-left: 32px;
    }
    
    .contact-form-container {
        margin: 0 32px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        height: 300px;
    }
    
    .contact-hero-title {
        font-size: 42px;
    }
    
    .contact-info-section {
        padding: 60px 0;
    }
    
    .contact-info-grid {
        flex-direction: column;
        gap: 40px;
        padding: 0 16px;
    }
    
    .contact-info-column {
        max-width: 100%;
    }
    
    .contact-info-card {
        max-width: 100%;
        padding: 30px 20px;
        margin-top: 8px;
    }
    
    .map-section {
        padding: 60px 0;
    }
    
    .map-section-title {
        margin-left: 16px;
        font-size: 18px;
    }
    
    .contact-form-section {
        padding: 60px 0;
    }
    
    .contact-form-container {
        margin: 0 16px;
        padding: 20px 16px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 16px;
    }
    
    .form-submit {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .g-recaptcha {
        transform: scale(0.75);
        transform-origin: center top;
    }
    

}

@media (max-width: 480px) {
    .contact-hero-title {
        font-size: 32px;
    }
    
    .contact-info-title {
        font-size: 20px;
    }
    
    .contact-info-subtitle {
        font-size: 18px;
    }
    
    .contact-form-title {
        font-size: 18px;
    }
    
    .contact-form-description {
        font-size: 14px;
    }
    
    .btn-map,
    .btn-submit {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .g-recaptcha {
        transform: scale(0.7);
        transform-origin: center top;
    }
}
