/* ==================== Contact Page Specific Styles ==================== */

/* Make contact cards clickable */
.contact-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.contact-card-link:hover {
    transform: translateY(-5px);
}

.contact-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.05) !important;
}

body.light .contact-card:hover {
    background: rgba(0, 0, 0, 0.05) !important;
}

/* Desktop horizontal layout - side by side */
@media (min-width: 768px) {
    .contact-card-horizontal {
        padding: 20px 25px !important;
        margin-bottom: 15px !important;
    }

    .contact-card-content {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .contact-card-icon {
        font-size: 28px;
        flex-shrink: 0;
    }

    .contact-card-info {
        text-align: left;
    }

    .contact-card-title {
        display: none !important;
    }

    .contact-card-text {
        font-size: 13px !important;
        margin-bottom: 3px;
    }

    .contact-card-hours {
        font-size: 11px !important;
        opacity: 0.7;
        margin: 0;
    }
}

/* Mobile optimization - horizontal layout, stacked cards */
@media (max-width: 767px) {
    .contact-card-horizontal {
        padding: 15px !important;
        margin-bottom: 12px !important;
    }

    .contact-card-content {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }

    .contact-card-icon {
        font-size: 25px !important;
        flex-shrink: 0;
    }

    .contact-card-info {
        text-align: left;
    }

    .contact-card-title {
        display: none !important;
    }

    .contact-card-text {
        font-size: 13px !important;
        word-break: break-word;
        margin-bottom: 2px;
    }

    .contact-card-hours {
        font-size: 11px !important;
        margin: 0;
        opacity: 0.8;
    }
}

@media (max-width: 576px) {
    .contact-card-horizontal {
        padding: 12px !important;
    }

    .contact-card-content {
        gap: 12px;
    }

    .contact-card-icon {
        font-size: 22px !important;
    }

    .contact-card-text {
        font-size: 12px !important;
    }

    .contact-card-hours {
        font-size: 10px !important;
    }
}

/* Reduce spacing between ALL sections - Desktop and Mobile */

/* Header spacing reduction */
.pg-hero {
    padding-top: 80px !important;
    padding-bottom: 24px !important;
}

.pg-hero .row.mb-80px {
    margin-bottom: 16px !important;
}

.pg-hero .h-700px {
    height: 500px !important;
}

.pg-hero .h-800px {
    height: 600px !important;
}

/* Contact section spacing */
.Контакти-style2 {
    padding-top: 24px !important;
    padding-bottom: 40px !important;
}

.contact.mt-80px {
    margin-top: 50px !important;
}

/* Footer spacing */
.footer-contact-simplified {
    padding-top: 50px !important;
    padding-bottom: 30px !important;
}

/* Mobile spacing reduction */
@media (max-width: 991px) {
    .pg-hero {
        padding-top: 60px !important;
        padding-bottom: 16px !important;
    }

    .pg-hero .row.mb-80px {
        margin-bottom: 12px !important;
    }

    .pg-hero .h-700px {
        height: 400px !important;
    }

    .pg-hero .h-800px {
        height: 500px !important;
    }

    .Контакти-style2 {
        padding-top: 16px !important;
        padding-bottom: 30px !important;
    }

    .contact.mt-80px {
        margin-top: 35px !important;
    }

    .footer-contact-simplified {
        padding-top: 35px !important;
        padding-bottom: 25px !important;
    }
}

@media (max-width: 767px) {
    .pg-hero {
        padding-top: 50px !important;
        padding-bottom: 12px !important;
    }

    .pg-hero .row.mb-80px {
        margin-bottom: 10px !important;
    }

    .pg-hero .h-700px {
        height: 350px !important;
    }

    .pg-hero .h-800px {
        height: 450px !important;
    }

    .Контакти-style2 {
        padding-top: 12px !important;
        padding-bottom: 25px !important;
    }

    .contact.mt-80px {
        margin-top: 30px !important;
    }

    .footer-contact-simplified {
        padding-top: 30px !important;
        padding-bottom: 20px !important;
    }
}

@media (max-width: 576px) {
    .pg-hero {
        padding-top: 40px !important;
        padding-bottom: 10px !important;
    }

    .pg-hero .row.mb-80px {
        margin-bottom: 8px !important;
    }

    .pg-hero .h-700px {
        height: 300px !important;
    }

    .pg-hero .h-800px {
        height: 400px !important;
    }

    .Контакти-style2 {
        padding-top: 10px !important;
        padding-bottom: 20px !important;
    }

    .contact.mt-80px {
        margin-top: 25px !important;
    }

    .footer-contact-simplified {
        padding-top: 25px !important;
        padding-bottom: 15px !important;
    }
}

/* Simplified footer styles */
.footer-contact-simplified {
    padding-top: 60px !important;
}

.fo-box-simplified {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 30px;
    padding: 50px;
}

body.light .fo-box-simplified {
    background: rgba(0, 0, 0, 0.03);
}

.fo-box-simplified .social-section h5,
.fo-box-simplified .subscribe h6 {
    margin-bottom: 20px;
}

.fo-box-simplified .social-icon-circle {
    display: flex;
    gap: 15px;
}

.fo-box-simplified .social-icon-circle a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.fo-box-simplified .social-icon-circle a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

body.light .fo-box-simplified .social-icon-circle a {
    background: rgba(0, 0, 0, 0.05);
}

body.light .fo-box-simplified .social-icon-circle a:hover {
    background: rgba(0, 0, 0, 0.15);
}

/* Mobile optimization for simplified footer */
@media (max-width: 767px) {
    .footer-contact-simplified {
        padding-top: 40px !important;
    }

    .fo-box-simplified {
        padding: 30px 20px;
    }

    .fo-box-simplified .social-section {
        margin-bottom: 40px;
        text-align: center;
    }

    .fo-box-simplified .social-icon-circle {
        justify-content: center;
    }

    .fo-box-simplified .subscribe {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .footer-contact-simplified {
        padding-top: 30px !important;
    }

    .fo-box-simplified {
        padding: 25px 15px;
    }

    .fo-box-simplified .social-section {
        margin-bottom: 30px;
    }

    .fo-box-simplified h5 {
        font-size: 18px;
    }

    .fo-box-simplified h6 {
        font-size: 13px;
    }

    .fo-box-simplified .social-icon-circle a {
        width: 40px;
        height: 40px;
    }
}

/* ==================== Contact Form Styles ==================== */

/* Left column content */
.contact-left-content {
    position: sticky;
    top: 100px;
}

/* Contact intro text */
.contact-intro-text h3 {
    font-size: 32px;
    font-weight: 600;
}

.contact-intro-text p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

body.light .contact-intro-text p {
    color: rgba(0, 0, 0, 0.7);
}

/* Light mode - change yellow text to dark brand color */
body.light .contact-intro-text .main-color,
body.light .contact-intro-text a.main-color {
    color: #333253 !important;
}

.contact-intro-text a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-intro-text a:hover {
    text-decoration: underline;
}

/* Contact cards wrapper */
.contact-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Form labels */
.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #fff;
}

body.light .form-label {
    color: #111012;
}

.required-star {
    color: #ff4444;
    margin-left: 2px;
}

/* Textarea height reduction */
#form_message {
    min-height: 80px !important;
    max-height: 120px;
}

@media (max-width: 767px) {
    #form_message {
        min-height: 60px !important;
        max-height: 100px;
    }
}

@media (max-width: 576px) {
    #form_message {
        min-height: 50px !important;
        max-height: 80px;
    }
}

/* Services checkboxes */
.services-checkboxes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #DDF160;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.checkbox-item label {
    cursor: pointer;
    font-size: 14px;
    color: #fff;
    margin: 0;
    user-select: none;
}

body.light .checkbox-item label {
    color: #111012;
}

.checkbox-item input[type="checkbox"]:checked + label {
    color: #DDF160;
    font-weight: 500;
}

body.light .checkbox-item input[type="checkbox"]:checked + label {
    color: #9F8BE7;
}

/* Newsletter checkbox */
.newsletter-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.newsletter-checkbox:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(221, 241, 96, 0.3);
}

body.light .newsletter-checkbox {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
}

body.light .newsletter-checkbox:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(159, 139, 231, 0.3);
}

.newsletter-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #DDF160;
    margin-top: 2px;
    flex-shrink: 0;
}

.newsletter-checkbox label {
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    color: #fff;
    margin: 0;
    user-select: none;
}

body.light .newsletter-checkbox label {
    color: #111012;
}

.newsletter-checkbox input[type="checkbox"]:checked + label {
    color: #DDF160;
}

body.light .newsletter-checkbox input[type="checkbox"]:checked + label {
    color: #9F8BE7;
}

/* Tablet and mobile optimization */
@media (max-width: 991px) {
    .contact-left-content {
        position: relative;
        top: 0;
    }

    .contact-intro-text h3 {
        font-size: 28px;
    }
}

/* Mobile optimization for checkboxes */
@media (max-width: 767px) {
    .services-checkboxes {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .checkbox-item label,
    .newsletter-checkbox label {
        font-size: 13px;
    }

    .newsletter-checkbox {
        padding: 15px;
    }

    .contact-intro-text h3 {
        font-size: 24px;
    }

    .contact-intro-text p {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .checkbox-item input[type="checkbox"],
    .newsletter-checkbox input[type="checkbox"] {
        width: 18px;
        height: 18px;
    }

    .checkbox-item label,
    .newsletter-checkbox label {
        font-size: 12px;
    }

    .newsletter-checkbox {
        padding: 12px;
    }
}

