/* Contact Page Styles - Premium Layout */
.aotheu-contact-page {
    --brand-color: #183059;
    --brand-dark: #24447d;
    --text-main: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-gray: #f4f6f8;
    background-color: var(--bg-light);
    color: var(--text-main);
}

/* Hero Section */
.aotheu-contact-page .contact-hero {
    background: var(--brand-color);
    padding: 100px 20px 180px;
    text-align: center;
    color: #fff;
    position: relative;
}

.aotheu-contact-page .contact-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.1), transparent);
    pointer-events: none;
}

.aotheu-contact-page .contact-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 15px;
    position: relative;
    z-index: 1;
    color: white;
}

.aotheu-contact-page .contact-hero p {
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Main Container */
.aotheu-contact-page .contact-main {
    max-width: 1100px;
    margin: -100px auto 80px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.aotheu-contact-page .contact-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    overflow: hidden;
    min-height: 600px;
}

/* Left Sidebar - Info */
.aotheu-contact-page .contact-sidebar {
    width: 40%;
    background: var(--bg-gray);
    color: var(--brand-color);
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

/* Abstract pattern */
.aotheu-contact-page .contact-sidebar::before {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: rgba(24, 48, 89, 0.04);
    border-radius: 50%;
}

.aotheu-contact-page .contact-sidebar::after {
    content: '';
    position: absolute;
    top: 50px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: rgba(24, 48, 89, 0.04);
    border-radius: 50%;
}

.aotheu-contact-page .sidebar-header h2 {
    font-size: 1.8rem;
    margin: 0 0 10px;
    color: var(--brand-color);
}

.aotheu-contact-page .sidebar-header p {
    opacity: 0.85;
    margin: 0 0 40px;
    line-height: 1.5;
}

.aotheu-contact-page .info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.aotheu-contact-page .info-item {
    display: flex;
    align-items: flex-start;
}

.aotheu-contact-page .info-icon {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    flex-shrink: 0;
    color: var(--brand-color);
}

.aotheu-contact-page .info-text h4 {
    margin: 0 0 5px;
    font-size: 1rem;
    font-weight: 600;
}

.aotheu-contact-page .info-text p,
.aotheu-contact-page .info-text a {
    margin: 0;
    color: var(--brand-color);
    opacity: 0.85;
    text-decoration: none;
    line-height: 1.5;
    font-size: 0.95rem;
}

.aotheu-contact-page .info-text a:hover {
    color: var(--brand-dark);
    opacity: 1;
    text-decoration: underline;
}

.aotheu-contact-page .social-area {
    position: relative;
    z-index: 1;
    margin-top: 50px;
}

.aotheu-contact-page .social-area h4 {
    margin: 0 0 15px;
    font-size: 1rem;
    color: var(--brand-color);
}

.aotheu-contact-page .social-icons {
    display: flex;
    gap: 15px;
}

.aotheu-contact-page .social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(24, 48, 89, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-color);
    transition: all 0.3s ease;
}

.aotheu-contact-page .social-icons a:hover {
    background: var(--brand-color);
    color: #fff;
    transform: translateY(-3px);
}

/* Right Side - Form */
.aotheu-contact-page .contact-form-area {
    width: 60%;
    padding: 50px;
    background: #fff;
}

.aotheu-contact-page .form-header h2 {
    font-size: 2rem;
    color: var(--brand-color);
    margin: 0 0 30px;
}

/* CF7 Overrides */
.aotheu-contact-page .cf7-layout form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.aotheu-contact-page .form-row {
    display: flex;
    gap: 20px;
}

.aotheu-contact-page .form-col {
    flex: 1;
}

.aotheu-contact-page .cf7-layout label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-color);
    margin-bottom: 8px;
}

.aotheu-contact-page .cf7-layout input[type="text"],
.aotheu-contact-page .cf7-layout input[type="email"],
.aotheu-contact-page .cf7-layout input[type="tel"],
.aotheu-contact-page .cf7-layout textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    background: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    color: var(--text-main);
}

.aotheu-contact-page .cf7-layout input:focus,
.aotheu-contact-page .cf7-layout textarea:focus {
    border-color: var(--brand-color);
    outline: none;
    box-shadow: 0 0 0 4px rgba(24, 48, 89, 0.1);
}

.aotheu-contact-page .cf7-layout textarea {
    min-height: 120px;
    resize: vertical;
}

.aotheu-contact-page .cf7-layout input[type="submit"] {
    background: var(--brand-color);
    color: #fff;
    border: none;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    min-width: 200px;
    font-family: inherit;
}

.aotheu-contact-page .cf7-layout input[type="submit"]:hover {
    background: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(24, 48, 89, 0.2);
}

.aotheu-contact-page .cf7-layout span.wpcf7-not-valid-tip {
    font-size: 0.85rem;
    color: #e74c3c;
    margin-top: 5px;
    display: block;
}

.aotheu-contact-page .cf7-layout div.wpcf7-response-output {
    margin: 20px 0 0;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.95rem;
}

/* Map Section */
.aotheu-contact-page .map-section {
    max-width: 1100px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

.aotheu-contact-page .map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 450px;
}

.aotheu-contact-page .map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Responsive */
@media (max-width: 991px) {
    .aotheu-contact-page .contact-card {
        flex-direction: column;
    }

    .aotheu-contact-page .contact-sidebar {
        width: 100%;
        padding: 40px;
        box-sizing: border-box;
    }

    .aotheu-contact-page .contact-form-area {
        width: 100%;
        padding: 40px;
        box-sizing: border-box;
    }
}

@media (max-width: 767px) {
    .aotheu-contact-page .contact-hero {
        padding: 80px 20px 140px;
    }

    .aotheu-contact-page .contact-hero h1 {
        font-size: 2.5rem;
    }

    .aotheu-contact-page .form-row {
        flex-direction: column;
        gap: 20px;
    }

    .aotheu-contact-page .contact-main {
        margin-top: -60px;
    }

    .aotheu-contact-page .contact-sidebar,
    .aotheu-contact-page .contact-form-area {
        padding: 30px 20px;
    }
}