/* ============================================
   CONTACT SECTION - COMPLETE WITH DARK/LIGHT MODE
   ============================================ */

.myanas-info-icon i,
.myanas-input-wrap input:focus + .myanas-icon,
.myanas-textarea-wrap textarea:focus + .myanas-textarea-icon {
    color: var(--coral-bright, #ff4d4d) !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.myanas-contact-section {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* ===== HEADER - CENTER ===== */
.myanas-header-center,
.myanas-section-header {
    text-align: center;
    margin-bottom: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.myanas-global-tagline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--coral-bright, #ff4d4d);
    background: var(--tagline-bg, rgba(255, 77, 77, 0.08));
    padding: 6px 18px;
    border-radius: 50px;
    border: 1.5px solid var(--coral-bright, #ff4d4d);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: 2s ease-in-out infinite myanasGlowingBorder;
    margin: 0 auto;
}

@keyframes myanasGlowingBorder {
    0%, 100% {
        border-color: var(--coral-bright, #ff4d4d);
        box-shadow: 0 0 5px var(--glow-soft, rgba(255, 77, 77, 0.3));
    }
    50% {
        border-color: var(--cyan-bright, #00e5cc);
        box-shadow: 0 0 20px var(--glow-strong, rgba(255, 77, 77, 0.6));
    }
}

.myanas-title-center {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -.02em;
    background: linear-gradient(135deg, var(--text-primary, #fff), var(--cyan-bright, #00e5cc), var(--coral-bright, #ff4d4d));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
    margin-bottom: 12px;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.myanas-description-center {
    color: var(--text-secondary, #9ca3af);
    font-size: .85rem;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.myanas-contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.myanas-contact-info,
.myanas-form-wrapper {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
}

/* ===== CONTACT INFO ===== */
.myanas-contact-info {
    background: var(--surface-card, rgba(15, 23, 42, 0.75));
    border-radius: 10px;
    padding: 24px;
    border: 1px solid var(--border-accent, rgba(255, 77, 77, 0.12));
    display: flex;
}

.myanas-info-box {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin-bottom: 18px !important;
    width: 100% !important;
}

.myanas-info-icon {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    background: var(--icon-bg, rgba(255, 77, 77, 0.12)) !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.myanas-info-icon i {
    font-size: .9rem !important;
    margin: 0 !important;
}

.myanas-info-content {
    flex: 1 !important;
    text-align: left !important;
}

.myanas-info-content h4 {
    color: var(--text-primary, #f1f5f9) !important;
    font-size: .85rem !important;
    font-weight: 600 !important;
    margin: 0 0 3px !important;
    padding: 0 !important;
}

.myanas-info-content p {
    color: var(--text-secondary, #94a3b8) !important;
    font-size: .72rem !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ===== SERVICES ===== */
.myanas-srv-wrap {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-subtle, rgba(71, 85, 105, 0.4));
}

.myanas-srv-title {
    color: var(--coral-bright, #ff4d4d);
    font-size: .55rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-align: center;
    font-weight: 600;
}

.myanas-srv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
}

.myanas-srv-card {
    background: var(--card-bg, rgba(255, 77, 77, 0.05));
    border: 1px solid var(--border-accent, rgba(255, 77, 77, 0.12));
    border-radius: 5px;
    padding: 4px;
    transition: .2s;
    cursor: pointer;
    text-align: center;
}

.myanas-srv-card:hover {
    background: var(--card-hover, rgba(255, 77, 77, 0.1));
    border-color: var(--coral-bright, #ff4d4d);
    transform: translateY(-1px);
}

.myanas-srv-card i {
    color: var(--coral-bright, #ff4d4d);
    font-size: .65rem;
    margin-bottom: 0;
    display: inline-block;
    line-height: 1;
}

.myanas-srv-card h5 {
    color: var(--text-primary, #fff);
    font-size: .58rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.myanas-srv-card p {
    color: var(--coral-bright, #ff4d4d);
    font-size: .5rem;
    line-height: 1.1;
    margin: 0;
    font-weight: 500;
}

/* ===== SOCIAL ===== */
.myanas-social-section {
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid var(--border-subtle, rgba(71, 85, 105, 0.4));
}

.myanas-social-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.myanas-social-icon {
    width: 32px;
    height: 32px;
    background: var(--icon-bg, rgba(255, 77, 77, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coral-bright, #ff4d4d);
    font-size: .85rem;
    transition: .2s;
    text-decoration: none;
}

.myanas-social-icon:hover {
    background: var(--coral-bright, #ff4d4d);
    color: var(--bg-deep, #0f172a);
    transform: translateY(-2px);
}

/* ===== FORM ===== */
.myanas-form-wrapper {
    background: var(--surface-card, rgba(15, 23, 42, 0.75));
    border-radius: 10px;
    padding: 24px 24px 0;
    border: 1px solid var(--border-accent, rgba(255, 77, 77, 0.12));
    display: flex;
    height: 100%;
}

.myanas-form-wrapper form {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.myanas-input-wrap,
.myanas-textarea-wrap {
    position: relative;
    margin-bottom: 16px;
}

.myanas-icon,
.myanas-textarea-icon {
    position: absolute;
    left: 12px;
    color: var(--text-muted, #6b7280);
    font-size: .8rem;
    z-index: 2;
    pointer-events: none;
    transition: .2s;
}

.myanas-icon {
    top: 50%;
    transform: translateY(-50%);
}

.myanas-textarea-icon {
    top: 14px;
}

.myanas-input-wrap input,
.myanas-textarea-wrap textarea {
    width: 100%;
    padding: 16px 12px 16px 38px !important;
    background: var(--bg-elevated, #111827) !important;
    border: 1px solid var(--border-subtle, #334155) !important;
    border-radius: 8px !important;
    color: var(--text-primary, #fff) !important;
    font-size: 1.2rem !important;
    font-family: Inter, sans-serif !important;
    transition: .2s !important;
}

.myanas-input-wrap input {
    padding: 16px 12px 16px 38px !important;
    height: 56px !important;
    min-height: 56px !important;
}

.myanas-textarea-wrap textarea {
    min-height: 230px;
    resize: vertical;
    padding-top: 12px !important;
    line-height: 1.4;
}

.myanas-input-wrap input::placeholder,
.myanas-textarea-wrap textarea::placeholder {
    color: var(--text-muted, #6b7280) !important;
    opacity: .7 !important;
}

.myanas-input-wrap input:focus,
.myanas-textarea-wrap textarea:focus {
    border-color: var(--coral-bright, #ff4d4d) !important;
    outline: 0 !important;
    box-shadow: 0 0 0 2px var(--glow-soft, rgba(255, 77, 77, 0.3)) !important;
    background: var(--bg-deep, #0f1728) !important;
}

.myanas-form-wrapper button[type=submit] {
    width: 100%;
    padding: 10px 16px;
    background: var(--coral-bright, #ff4d4d);
    border: none;
    border-radius: 8px;
    color: var(--bg-deep, #0a0f1c);
    font-weight: 700;
    font-size: .8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    margin-top: auto;
    transition: .2s;
    margin-bottom: 10px;
}

.myanas-form-wrapper button[type=submit]:hover {
    background: var(--coral-mid, #e63946);
    transform: translateY(-1px);
}

#myanasFormStatus {
    text-align: center;
    font-size: .75rem;
    margin-top: 10px;
    padding: 6px;
    min-height: 30px;
}

#myanasFormStatus span {
    display: block;
    padding: 6px 12px;
    border-radius: 6px;
}

/* ============================================
   LIGHT THEME
   ============================================ */

html[data-theme="light"] .myanas-contact-info,
html[data-theme="light"] .myanas-form-wrapper {
    background: var(--surface-card, rgba(255, 255, 255, 0.95)) !important;
    border-color: var(--border-accent, rgba(239, 75, 88, 0.2)) !important;
}

html[data-theme="light"] .myanas-info-content h4 {
    color: var(--text-primary, #0b1220) !important;
}

html[data-theme="light"] .myanas-info-content p {
    color: var(--text-secondary, #2e405c) !important;
}

html[data-theme="light"] .myanas-info-icon {
    background: rgba(239, 75, 88, 0.1) !important;
}

html[data-theme="light"] .myanas-info-icon i {
    color: var(--coral-bright, #ef4b58) !important;
}

html[data-theme="light"] .myanas-srv-card {
    background: rgba(239, 75, 88, 0.04) !important;
    border-color: rgba(239, 75, 88, 0.1) !important;
}

html[data-theme="light"] .myanas-srv-card:hover {
    background: rgba(239, 75, 88, 0.08) !important;
    border-color: var(--coral-bright, #ef4b58) !important;
}

html[data-theme="light"] .myanas-srv-card h5 {
    color: var(--text-primary, #0b1220) !important;
}

html[data-theme="light"] .myanas-srv-card i,
html[data-theme="light"] .myanas-srv-card p {
    color: var(--coral-bright, #ef4b58) !important;
}

html[data-theme="light"] .myanas-social-icon {
    background: rgba(239, 75, 88, 0.08) !important;
    color: var(--coral-bright, #ef4b58) !important;
}

html[data-theme="light"] .myanas-social-icon:hover {
    background: var(--coral-bright, #ef4b58) !important;
    color: #ffffff !important;
}

html[data-theme="light"] .myanas-input-wrap input,
html[data-theme="light"] .myanas-textarea-wrap textarea {
    background: var(--bg-elevated, #f5f9ff) !important;
    border-color: var(--border-subtle, rgba(15, 23, 42, 0.16)) !important;
    color: var(--text-primary, #0b1220) !important;
}

html[data-theme="light"] .myanas-input-wrap input::placeholder,
html[data-theme="light"] .myanas-textarea-wrap textarea::placeholder {
    color: var(--text-muted, #5f7290) !important;
}

html[data-theme="light"] .myanas-input-wrap input:focus,
html[data-theme="light"] .myanas-textarea-wrap textarea:focus {
    border-color: var(--coral-bright, #ef4b58) !important;
    box-shadow: 0 0 0 2px rgba(239, 75, 88, 0.2) !important;
    background: var(--bg-deep, #ffffff) !important;
}

html[data-theme="light"] .myanas-icon,
html[data-theme="light"] .myanas-textarea-icon {
    color: var(--text-muted, #5f7290) !important;
}

html[data-theme="light"] .myanas-form-wrapper button[type=submit] {
    background: var(--coral-bright, #ef4b58) !important;
    color: #ffffff !important;
}

html[data-theme="light"] .myanas-form-wrapper button[type=submit]:hover {
    background: var(--coral-mid, #de3f4d) !important;
}

html[data-theme="light"] .myanas-srv-wrap,
html[data-theme="light"] .myanas-social-section {
    border-color: var(--border-subtle, rgba(15, 23, 42, 0.1)) !important;
}

html[data-theme="light"] .myanas-global-tagline {
    color: var(--coral-bright, #ef4b58) !important;
    background: rgba(239, 75, 88, 0.06) !important;
    border-color: var(--coral-bright, #ef4b58) !important;
}

html[data-theme="light"] .myanas-description-center {
    color: var(--text-secondary, #2e405c) !important;
}

html[data-theme="light"] .myanas-title-center {
    background: linear-gradient(135deg, var(--text-primary, #0b1220), var(--cyan-bright, #008f87), var(--coral-bright, #ef4b58)) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
}

html[data-theme="light"] .myanas-srv-title {
    color: var(--coral-bright, #ef4b58) !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 920px) {
    .myanas-contact-info,
    .myanas-form-wrapper {
        padding: 20px;
    }
    .myanas-textarea-wrap textarea {
        min-height: 220px;
    }
}

@media (max-width: 780px) {
    .myanas-contact-container {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }
    .myanas-srv-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .myanas-textarea-wrap textarea {
        min-height: 180px;
    }
}

@media (max-width: 520px) {
    .myanas-contact-info,
    .myanas-form-wrapper {
        padding: 16px;
    }
    .myanas-srv-grid {
        gap: 4px;
    }
    .myanas-srv-card {
        padding: 3px;
    }
    .myanas-srv-card i {
        font-size: .6rem;
    }
    .myanas-srv-card h5 {
        font-size: .52rem;
        white-space: normal;
    }
    .myanas-srv-card p {
        font-size: .46rem;
    }
    .myanas-textarea-wrap textarea {
        min-height: 150px;
    }
}