/* Contact Page Specific Styles */

.contact-section {
    background-color: #f5f5f5;
}

.pt-80 {
    padding-top: 80px;
}

.pb-80 {
    padding-bottom: 80px;
}

.contact-hero-wrapper {
    position: relative;
    width: 100%;
    display: block;
}

.contact-hero-wrapper::before {
    position: absolute;
    content: '';
    background-color: rgba(43, 42, 61, 0.7);
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 1;
    pointer-events: none;
}

.contact-hero-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.contact-main-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.contact-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 0;
    font-family: 'Montserrat', sans-serif;
}

/* Contact Cards */
.contact-card {
    background-color: #1a1a2e;
    border-radius: 12px;
    padding: 30px;
    height: 100%;
    min-height: 350px;
}

/* Form Card - Light Style */
.contact-card.form-card {
    background-color: #fff;
    border: 1px solid #d0e3f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Contact Form Styles */
.contact-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 0;
}

.contact-form .form-row .form-group {
    flex: 1;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

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

.contact-form label .required {
    color: #e74c3c;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background-color: #f5f7fa;
    border: 1px solid #e0e6ed;
    border-radius: 4px;
    padding: 12px 14px;
    font-size: 14px;
    color: #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #a0a8b0;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #3a9fd5;
    box-shadow: 0 0 0 3px rgba(58, 159, 213, 0.15);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-send-message {
    width: 100%;
    background: linear-gradient(180deg, #3eb8e5 0%, #2a9fd6 100%);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 4px rgba(42, 159, 214, 0.3);
}

.btn-send-message:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(42, 159, 214, 0.4);
}

/* Workplace Card */
.workplace-card {
    background: linear-gradient(145deg, #252540 0%, #1a1a2e 100%);
    padding: 35px 30px;
}

.workplace-title {
    font-size: 34px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.workplace-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 18px;
    font-family: 'Montserrat', sans-serif;
}

.workplace-text:last-of-type {
    margin-bottom: 45px;
}

.btn-journey {
    display: inline-block;
    padding: 14px 32px;
    background-color: #e67e22;
    border: none;
    border-radius: 25px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
    font-family: 'Montserrat', sans-serif;
}

.workplace-card .btn-journey {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

.btn-journey:hover {
    background-color: #d35400;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

/* Info Card */
.info-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 35px;
}

.info-block {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-block:last-child {
    margin-bottom: 0;
}

.info-icon {
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-right: 12px;
    flex-shrink: 0;
    padding-top: 2px;
}

.info-icon i {
    font-size: 18px;
}

.info-icon .fa-map-marker-alt {
    color: #e67e22;
}

.info-icon .fa-phone-alt {
    color: #27ae60;
}

.info-icon .fa-hashtag {
    color: #0096DB
}

.footer_social ul li {
    max-width: 45px;
}

.info-content {
    color: #fff;
}

.info-title {
    font-size: 26px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.info-content p {
    margin: 0;
    font-size: 20px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Montserrat', sans-serif;
}

.info-content a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: #3a7bd5;
}

/* Map Card */
.map-card {
    padding: 0;
    overflow: hidden;
    min-height: 280px;
}

.map-card iframe {
    display: block;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .contact-card {
        min-height: 405px;
    }

    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .workplace-card {
        margin-top: 0;
    }
}

@media (max-width: 575px) {
    .contact-main-title {
        font-size: 26px;
    }

    .workplace-title {
        font-size: 24px;
    }

    .contact-card {
        padding: 25px;
    }

    .btn-journey {
        margin: 0 auto;
    }
}

/* Centered Footer for Contact Page */
.footer-centered .row {
    text-align: center;
}

.footer-centered .footer_info,
.footer-centered .footer_hours,
.footer-centered .footer_logo {
    text-align: center;
}

.footer-centered .footer_social ul {
    justify-content: center;
}

@media (max-width: 767px) {
    .footer-centered .col-sm-6 {
        margin-bottom: 30px;
    }
}

/* Auto-Scrolling Gallery */
.auto-scroll-gallery {
    width: 100%;
    overflow: hidden;
    background-color: #1a1a2e;
    padding: 30px 0;
}

.gallery-track {
    display: flex;
    width: max-content;
    animation: scroll-gallery 120s linear infinite;
}

.gallery-track:hover {
    animation-play-state: paused;
}

.gallery-item {
    flex-shrink: 0;
    width: 290px;
    height: auto;
    margin: 0 10px;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease, filter 0.4s ease;
    filter: grayscale(100%);
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

@keyframes scroll-gallery {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .gallery-item {
        width: 150px;
        height: auto;
    }

    .auto-scroll-gallery {
        padding: 20px 0;
    }
    .header_hero {
        padding-top: 62px;
    }
    .pt-80 {
        padding-top: 20px;
    }
}