/* Container adjustments */
.contact-page-section .row {
    display: flex;
    flex-wrap: wrap;
}

/* Adjusting columns to have equal height */
.contact-page-section .left-section,
.contact-page-section .form-column {
    display: flex;
    flex-direction: column;
}

/* Ensure equal height of the two cards on the left */
.contact-page-section .card {
    flex: 1; /* Allows both cards to grow equally */
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    background: #fff;
    transition: transform 0.3s ease;
}

/* Styling for 'Kickstart Your Digital Journey' Card */
.contact-page-section .journey-card {
    background: #f0f4f8;
    text-align: left;
    flex: 1;
}

/* Styling for Contact Information Card */
.contact-page-section .info-card {
    background: #f8f9fa;
    flex: 1;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 15px 20px; /* Reduced padding inside the card */
    max-height: 300px; /* Optionally set a max height */
}

/* Adjust heading style */
.info-card h3 {
    margin-bottom: 10px; /* Reduced space below heading */
    font-size: 1.3em; /* Slightly smaller heading font size */
    text-align: center;
}

/* Adjust the contact info list */
.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info-list li {
    display: flex;
    align-items: center; /* Aligns icon and text vertically */
    margin-bottom: 10px; /* Reduced space between list items */
    font-size: 1em; /* Slightly smaller text */
    line-height: 1.5; /* Adjusted line height for better spacing */
}

/* Additional styling to ensure no overlap between text and icons */
.contact-info-list li strong,
.contact-info-list li .icon,
.contact-info-list li .icon-flag {
    margin: 0;
    padding: 0;
}

/* Icon styling */
.contact-info-list li .icon {
    margin-right: 12px; /* Increased space between icon and text */
    color: #007bff; /* Icon color */
    font-size: 1.3em; /* Adjusted icon size */
    min-width: 30px; /* Set a larger minimum width to prevent overlap */
    text-align: center; /* Center align icons */
}

/* Specific icon styles for flag */
.contact-info-list li .icon-flag {
    margin-left: 5px; /* Space between flag and phone number */
    font-size: 1.3em; /* Adjusted flag size */
    min-width: 30px; /* Consistent spacing for the flag */
    text-align: center; /* Center align flag */
}

/* Ensure equal height for form column */
.contact-page-section .form-column .contact-form {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-page-section .form-column {
    background: #ffffff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 10px;
    margin-top: -10px; /* Adjust this value to move the card up */
    display: flex; /* Added to make it a flex container */
    flex-direction: column;
    justify-content: space-between; /* Ensures the message card is spaced properly */
    max-height: 400px;
}

/* Styling for the form fields */
.contact-page-section .form-column .contact-form .form-group {
    margin-bottom: 5px;
}

.contact-page-section .form-column .contact-form .form-group input,
.contact-page-section .form-column .contact-form .form-group textarea {
    padding: 6px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px; /* Reduced font size */
    transition: all 0.3s ease; /* Smooth transition for effects */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); /* 3D text effect */
}

/* Adjust button alignment */
.contact-page-section .form-column .contact-form .form-group .theme-btn.submit-btn {
    padding: 6px 12px; /* Reduced padding for the button */
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    width: auto; /* Set a fixed width */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* 3D effect */
    transition: all 0.3s ease; /* Smooth transition for effects */
}

.contact-page-section .form-column .contact-form .form-group .theme-btn.submit-btn:hover {
    background: #0056b3;
}
.contact-page-section .form-column .contact-form .form-group .theme-btn.submit-btn:active {
    transform: translateY(2px); /* 3D effect on click */
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2); /* Adjust shadow for pressed effect */
}
/* Ensure cards and form column align */
@media (min-width: 992px) {
    .contact-page-section .form-column {
        flex: 1;
        height: auto;
        margin-top: 0; /* Takes up remaining space to match height */
    }

    .contact-page-section .left-section .card {
        height: 100%; /* Match the height of the form column */
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-page-section .row {
        flex-direction: column;
    }
    
    .contact-page-section .left-section, 
    .contact-page-section .form-column {
        margin-bottom: 20px;
    }
}
/* Style for the contact info table */
.contact-info-table {
    width: 100%;
    border-collapse: collapse; /* Ensures borders are hidden */
    margin: 0;
    padding: 0;
}

.contact-info-table td {
    padding: 10px 0; /* Space between the table cells */
    vertical-align: middle; /* Aligns icon and text vertically */
}

.icon-cell {
    width: 40px; /* Fixed width for the icons */
    text-align: center; /* Center align the icons */
}

/* Icon styling */
.contact-info-table .icon {
    color: #007bff; /* Icon color */
    font-size: 1.3em; /* Adjust icon size */
    min-width: 30px; /* Ensures icon has enough space */
}
/* Styling for the "For Business" button */
.btn-primary {
    padding: 6px 12px; /* Match padding of the submit button */
    background: #007bff; /* Button background color */
    color: #fff; /* Text color */
    border: none; /* No border */
    border-radius: 5px; /* Rounded corners */
    font-size: 14px; /* Font size to match submit button */
    cursor: pointer; /* Pointer cursor on hover */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* 3D effect shadow */
    transition: all 0.3s ease; /* Smooth transition for effects */
    width: auto; /* Adjust width as needed */
}

/* Hover effect */
.btn-primary:hover {
    background: #0056b3; /* Darker background on hover */
    transform: translateY(-2px); /* Lift the button slightly */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5); /* Enhance shadow on hover */

}

/* Active/Pressed effect */
.btn-primary:active {
    transform: translateY(2px); /* Pressed effect */
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2); /* Shadow adjustment for pressed state */
}
/* New styling for the "Send A Message" heading */
.contact-page-section .form-column h2 {
    font-size: 24px; /* Adjust font size as needed */
    color: #007bff; /* Set to the same color as "Kickstart Your Journey" */
    position: relative; /* Enable positioning for the underline effect */
    display: inline-block; /* Allows padding and underline to work correctly */
}

/* Underline effect */
.contact-page-section .form-column h2::after {
    content: ''; /* Empty content for the underline */
    position: absolute; /* Positioning the underline */
    left: 0; /* Align to left */
    bottom: -5px; /* Position below the text */
    width: 100%; /* Full width of the text */
    height: 3px; /* Height of the underline */
    background-color: transparent; /* Initially transparent */
    transition: background-color 0.3s ease; /* Smooth transition for the effect */
}

/* Hover effect */
.contact-page-section .form-column h2:hover::after {
    background-color: #007bff; /* Blue underline on hover */
}

.flag-icon {
    width: 25px; /* Adjust to match the size of the mailbox icon */
    height: auto; /* Maintain aspect ratio */
    margin-right: 4px; /* Space between the flag and text */
    vertical-align: middle; /* Aligns the flag vertically with the text */
}
