/* Contact Us Page Custom Styling */

body.conatctus {
    font-family: 'Outfit', sans-serif !important;
    background-color: var(--theme-bg-light, #f8fafc) !important;
    color: var(--theme-text-dark, #0f172a);
}

/* Breadcrumb Styling Override */
.inner-breadcrumb {
    background-color: #ffffff;
    padding: 16px 0;
    border-bottom: 1px solid var(--theme-border, #e2e8f0);
}

.innerbreadcrumbul {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    color: var(--theme-text-muted, #64748b);
    font-weight: 500;
}

.innerbreadcrumbul li a {
    color: var(--theme-text-muted, #64748b);
    text-decoration: none;
    transition: color 0.2s ease;
}

.innerbreadcrumbul li a:hover {
    color: var(--theme-navy, #97281c);
}

.innerbreadcrumbul li:not(:last-child):after {
    content: "/";
    margin-left: 8px;
    color: #cbd5e1;
}

/* Section Header */
.conatctus-section {
    padding: 60px 0 80px 0;
    background-color: var(--theme-bg-light, #f8fafc);
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 38px;
    font-weight: 800;
    color: var(--theme-text-dark, #0f172a);
    margin-bottom: 12px;
}

.contact-header p {
    font-size: 16px;
    color: var(--theme-text-muted, #64748b);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Layout container */
.contact-layout-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Left side: Info Cards */
.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    background: #ffffff;
    border: 1px solid var(--theme-border, #e2e8f0);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -3px rgba(151, 40, 28, 0.06), 0 4px 6px -2px rgba(151, 40, 28, 0.03);
    border-color: rgba(151, 40, 28, 0.2);
}

.contact-card-icon-wrapper {
    background: rgba(151, 40, 28, 0.06);
    color: var(--theme-navy, #97281c);
    border-radius: 12px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-card-icon-wrapper {
    background: var(--theme-navy, #97281c);
    color: #ffffff;
    transform: scale(1.05);
}

.contact-card-icon-wrapper i {
    font-size: 20px;
}

.contact-card-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-card-details h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--theme-text-dark, #0f172a);
    margin: 0;
}

.contact-card-details p, 
.contact-card-details a {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin: 0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-card-details a:hover {
    color: var(--theme-navy, #97281c);
}

/* Social links follow panel */
.contact-social-panel {
    background: #ffffff;
    border: 1px solid var(--theme-border, #e2e8f0);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 10px;
}

.contact-social-panel h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--theme-text-dark, #0f172a);
    margin: 0;
}

.contact-social-list {
    display: flex;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-social-item a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border: 1px solid transparent;
}

.contact-social-item.facebook a:hover {
    background: #1877f2;
    color: #ffffff;
    transform: translateY(-3px) rotate(8deg);
    box-shadow: 0 8px 16px rgba(24, 119, 242, 0.25);
}

.contact-social-item.linkedin a:hover {
    background: #0a66c2;
    color: #ffffff;
    transform: translateY(-3px) rotate(-8deg);
    box-shadow: 0 8px 16px rgba(10, 102, 194, 0.25);
}

.contact-social-item.instagram a:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
    transform: translateY(-3px) rotate(8deg);
    box-shadow: 0 8px 16px rgba(220, 39, 67, 0.25);
}

.contact-social-item.youtube a:hover {
    background: #ff0000;
    color: #ffffff;
    transform: translateY(-3px) rotate(-8deg);
    box-shadow: 0 8px 16px rgba(255, 0, 0, 0.25);
}

/* Right side: Form Card */
.contact-form-card {
    background: #ffffff;
    border: 1px solid var(--theme-border, #cbd5e1);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.03), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
}

.contact-form-card h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--theme-navy, #97281c);
    margin-top: 0;
    margin-bottom: 25px;
    border-bottom: 2px solid rgba(151, 40, 28, 0.08);
    padding-bottom: 12px;
}

.contact-form-card .form-group {
    margin-bottom: 22px;
    position: relative;
}

.contact-form-card .form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
    font-family: 'Outfit', sans-serif;
}

.contact-form-card .form-control {
    width: 100%;
    padding: 11px 16px;
    font-size: 14px;
    color: var(--theme-text-dark, #0f172a);
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    transition: all 0.2s ease;
    box-shadow: none;
    height: auto;
    font-family: 'Outfit', sans-serif;
}

.contact-form-card .form-control::placeholder {
    color: #94a3b8;
}

.contact-form-card .form-control:focus {
    border-color: var(--theme-navy, #97281c);
    box-shadow: 0 0 0 3px rgba(151, 40, 28, 0.12);
    outline: none;
}

.contact-form-card textarea.form-control {
    resize: none;
    min-height: 100px;
}

/* Datetime Row Layout */
.datetime-row {
    display: flex;
    gap: 16px;
    margin-bottom: 22px;
}

.datetime-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-wrapper .form-control {
    padding-right: 44px;
}

.input-icon-wrapper .input-icon {
    position: absolute;
    right: 14px;
    width: 18px;
    height: 18px;
    pointer-events: none;
    opacity: 0.65;
    transition: opacity 0.2s ease;
}

.input-icon-wrapper .form-control:focus + .input-icon {
    opacity: 1;
}

/* reCAPTCHA style customization */
.recaptcha-wrapper {
    margin: 20px 0;
    display: flex;
    justify-content: flex-start;
}

/* Error message styling */
.contact-form-card .form-group label.error {
    color: #ef4444;
    font-size: 11px;
    font-weight: 500;
    margin-top: 4px;
    margin-bottom: 0;
    display: block;
}

/* Submit button override */
.btn-submit-contact {
    background-color: var(--theme-navy, #97281c);
    color: #ffffff;
    border: 1px solid var(--theme-navy, #97281c);
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(151, 40, 28, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    float: none;
    margin: 10px 0 0 0;
    width: 100%;
}

.btn-submit-contact:hover {
    background-color: var(--theme-navy-dark, #7b1f15);
    border-color: var(--theme-navy-dark, #7b1f15);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(151, 40, 28, 0.25);
}

.btn-submit-contact:active {
    transform: translateY(0);
}

/* Datepicker & Timepicker UI custom overrides */
.ui-datepicker {
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025) !important;
    font-family: 'Outfit', sans-serif !important;
    padding: 8px !important;
    z-index: 9999 !important;
}

.ui-datepicker-header {
    background-color: #ffffff !important;
    border: none !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 6px 0 !important;
}

.ui-datepicker-title select {
    border-radius: 4px;
    border: 1px solid #cbd5e1;
    font-size: 12px;
    padding: 2px 4px;
}

.ui-state-default, .ui-widget-content .ui-state-default {
    border: none !important;
    background: transparent !important;
    color: #475569 !important;
    text-align: center !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease;
}

.ui-state-highlight, .ui-widget-content .ui-state-highlight {
    background-color: rgba(151, 40, 28, 0.08) !important;
    color: var(--theme-navy, #97281c) !important;
    font-weight: 700 !important;
}

.ui-state-active, .ui-widget-content .ui-state-active {
    background-color: var(--theme-navy, #97281c) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

.ui-state-default:hover {
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
    .contact-layout-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-header h1 {
        font-size: 30px;
    }
    
    .conatctus-section {
        padding: 40px 0 60px 0;
    }
}

@media (max-width: 576px) {
    .contact-header h1 {
        font-size: 26px;
    }
    
    .contact-header p {
        font-size: 14px;
    }
    
    .contact-form-card {
        padding: 24px;
    }
    
    .datetime-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .recaptcha-wrapper {
        justify-content: center;
        overflow-x: auto;
    }
    
    .contact-info-card {
        padding: 16px;
        gap: 16px;
    }
    
    .contact-card-icon-wrapper {
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }
    
    .contact-card-icon-wrapper i {
        font-size: 16px;
    }
}
