/* Contact Form Styles */
.container {
    /* max-width: 1280px; */
    margin: 0 auto;
    /* padding: 2rem 1.5rem; */
}

.header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.header .logo {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(to right, var(--purple-400), var(--pink-400));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1rem;
    color: #d1d5db;
    line-height: 1.6;
}

.language-toggle {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.lang-btn {
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.lang-btn:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--purple-400);
}

.lang-btn.active {
    background: linear-gradient(to right, var(--purple-600), var(--pink-600));
    border-color: transparent;
}

.lang-content {
    display: none;
}

.lang-content.active {
    display: block;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.card {
    background: linear-gradient(to bottom right, rgba(76, 29, 149, 0.1), rgba(131, 24, 67, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.1);
}

.card-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--purple-400);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-icon {
    font-size: 1.5rem;
}

.contact-info {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: #e5e7eb;
    margin-bottom: 0.5rem;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--purple-400);
    text-decoration: none;
    font-size: 1.125rem;
    margin-top: 0.5rem;
    transition: color 0.3s ease;
}

.contact-email:hover {
    color: var(--purple-300);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #e5e7eb;
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--purple-400);
    background: rgba(139, 92, 246, 0.05);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 0.75rem 2rem;
    background: linear-gradient(to right, var(--purple-600), var(--pink-600));
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(236, 72, 153, 0.4);
}

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

/* Contact Form 7 Styles */
.wpcf7 {
    width: 100%;
}

.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.wpcf7-form-control-wrap {
    width: 100%;
}

.wpcf7-form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.wpcf7-form-control:focus {
    outline: none;
    border-color: var(--purple-400);
    background: rgba(139, 92, 246, 0.05);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.wpcf7-textarea {
    min-height: 150px;
    resize: vertical;
}

.wpcf7-submit {
    width: 100%;
    padding: 0.75rem 2rem;
    background: linear-gradient(to right, var(--purple-600), var(--pink-600));
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpcf7-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(236, 72, 153, 0.4);
}

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

.wpcf7-spinner {
    visibility: hidden;
    display: inline-block;
    background: var(--purple-400);
    opacity: 0.75;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 50%;
    padding: 0;
    margin: 0 12px;
    position: relative;
}

.wpcf7-not-valid-tip {
    color: #f472b6;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.wpcf7-validation-errors,
.wpcf7-acceptance-missing,
.wpcf7-mail-sent-ng {
    background: rgba(236, 72, 153, 0.1);
    border: 1px solid var(--pink-400);
    color: #f472b6;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
}

.wpcf7-mail-sent-ok {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--purple-400);
    color: var(--purple-300);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .header .logo {
        font-size: 2.5rem;
    }
}

/* Fix form alignment and remove unwanted p tags */
.wpcf7 p:empty,
.cf7-form-container p:empty {
    display: none \!important;
}

.wpcf7 p {
    margin: 0;
    padding: 0;
}

/* Center the Contact Form 7 container */
div.wpcf7,
.cf7-form-container {
    max-width: 100%;
    margin: 0 auto \!important;
    display: block;
    clear: both;
}

/* Clear any floats */
.wpcf7::before,
.wpcf7::after,
.cf7-form-container::before,
.cf7-form-container::after {
    content: "";
    display: table;
    clear: both;
}

/* Reset any flex properties */
.wpcf7,
.cf7-form-container {
    display: block \!important;
    float: none \!important;
    position: relative;
}

/* Ensure form fields are properly styled */
.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* Force block display for form paragraphs */
.wpcf7-form > p {
    display: block \!important;
    float: none \!important;
    width: 100% \!important;
    clear: both \!important;
}

/* Hide all empty elements around the form */
.wpcf7 *:empty:not(input):not(textarea):not(br):not(img) {
    display: none \!important;
}

/* Fix WordPress container issues */
.entry-content > p:empty,
.page-content > p:empty,
.post-content > p:empty {
    display: none;
}

/* Ensure proper card layout */
.card {
    display: block;
    width: 100%;
}

/* Fix any parent container flex issues */
.entry-content .wpcf7,
.page-content .wpcf7,
.post-content .wpcf7 {
    flex: 0 0 100%;
    max-width: 100%;
    margin: 0 auto;
}
