.main_contacts {
    height: auto;
    margin: 150px;
}
.main_contacts h2 {
    font-size: 60px;
    text-align: center;
    margin: 60px;
    color: #000000;
}
.contact_us {
    display: flex;
    justify-content: center;
}
.contacts-form {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    flex: 0.45;
    width: auto;
}
.contacts {
    flex: 0.5;
}
#feedback-form h3 {
    text-align: center;
    margin: 0;
    margin-bottom: 20px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-sizing: border-box;
    resize: none;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    /* font-family: "Inter", sans-serif; */
    font-size: 16px;
}
button[type="submit"] {
    width: 100%;
    padding: 10px;
    border: none;
    background-color: #3a3b3bc0;
    color: white;
    font-size: 16px;
    cursor: pointer;
    border-radius: 10px;
}
button[type="submit"]:hover {
    background-color: rgba(29, 27, 32, 0.904);
    transition: all 0.6s;
}
.contacts li {
    list-style: none;
    /* padding-bottom: 10px; */
}
.icon_support {
    display: flex;
    padding-right: 20px;
    gap: 20px;
    align-items: center;
    list-style: none;
    color: rgb(0, 0, 0);
    text-decoration: none;
    width: 0;   
}
.distance {
    padding-left: 4px;
}
.icon_support span:hover {
    color: #0477b1;
    filter: brightness(120%);
    transition: all 0.3s;
}
.contacts p {
    line-height: 2;
}
.for_contact p {
    padding-top: 50px;
}


/* Contacts Section Styles */
.contacts-section {
    padding: 20px 0 60px;
    background: linear-gradient(135deg, rgba(18, 18, 62, 0.05) 0%, rgba(30, 30, 79, 0.08) 100%);
    color: #333;
    width: 100%;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
}

.contacts-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-title {
    color: #12123e;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    /* Animation */
    animation: fadeSlideUp 0.7s ease-out forwards;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: #03abc9;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    min-height: 450px;
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.company-card {
    background: linear-gradient(135deg, #12123e, #1e1e4f);
    border-radius: 12px;
    padding: 30px;
    color: white;
    box-shadow: 0 10px 30px rgba(18, 18, 62, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Animation */
    animation: scaleIn 0.6s ease-out forwards;
    animation-delay: 0.1s;
    opacity: 0;
}

.company-card a {
    text-decoration: none;
}

.company-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.company-icon {
    width: 30px;
    height: 30px;
    fill: #03abc9;
}

.company-card-header h3 {
    font-size: 22px;
    font-weight: 600;
    color: #03abc9;
    margin: 0;
}

.company-card-content p {
    margin: 0;
    line-height: 1.6;
    font-size: 16px;
}

.company-name {
    font-weight: 600;
    font-size: 18px !important;
    margin-bottom: 15px !important;
}

.contact-channels {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    flex-grow: 1;
    /* Animation */
    animation: scaleIn 0.6s ease-out forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.contact-channels h3 {
    color: #12123e;
    font-size: 20px;
    font-weight: 600;
    margin: 0; 
    position: relative;
    padding-bottom: 8px;
}

.contact-channels h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #03abc9;
}

.channels-description {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
    font-size: 15px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    padding: 5px;
    border-radius: 9px;
    transition: all 0.3s ease;
    background: rgba(18, 18, 62, 0.03);
}

.contact-link:hover {
    background: rgba(3, 171, 201, 0.1);
    transform: translateX(5px);
}

.link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    padding: 0;
}

.link-icon img {
    width: 30px;
    height: 30px;
}

.link-text {
    display: flex;
    flex-direction: column;
}

.link-detail {
    color: #03abc9;
    font-size: 15px;
    font-weight: 500;
}

.contact-form-wrapper {
    display: flex;
    align-items: center;
    height: 100%;
}

.form-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 500px;
    /* Animation */
    animation: scaleIn 0.6s ease-out forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.form-header {
    margin-bottom: 20px;
}

.form-header h3 {
    color: #12123e;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-grow: 1;
}

.form-group {
    position: relative;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(18, 18, 62, 0.2);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: rgba(18, 18, 62, 0.02);
    color: #333;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #03abc9;
    box-shadow: 0 0 0 2px rgba(3, 171, 201, 0.2);
    background: white;
}

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

.contact-form textarea {
    resize: none;
    min-height: 180px;
    flex-grow: 1;
}

.submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(to right, #03abc9, #0477b1);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    align-self: flex-end;
}

.submit-button::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: all 0.6s;
}

.submit-button:hover::before {
    left: 100%;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(3, 171, 201, 0.4);
}

.send-icon {
    width: 18px;
    height: 18px;
    fill: white;
    transition: transform 0.3s ease;
}

.submit-button:hover .send-icon {
    transform: translateX(5px);
}

/* ===== Entrance Animations ===== */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== Responsive styles ===== */
@media (max-width: 992px) {
    .contacts-content {
        grid-template-columns: 1fr;
        gap: 30px;
        min-height: auto;
    }
    
    .form-card, 
    .contact-info-wrapper {
        height: auto;
    }
}

@media (max-width: 768px) {   
    .section-title {
        font-size: 30px;
    }
    
    .contact-links {
        gap: 10px;
    }
}

@media (max-width: 576px) {    
    .section-title {
        font-size: 26px;
    }
    
    .form-card,
    .company-card,
    .contact-channels {
        padding: 20px;
    }
    
    .contact-link {
        padding: 10px;
    }
    
    .submit-button {
        width: 100%;
    }
}

