/* ═══════════════════════════════════════════════════════════
   CONTACT PAGE - Ultra Modern Futuristic Design
   ═══════════════════════════════════════════════════════════ */

/* Apply dark gradient background - SAME AS HOMEPAGE */
body.page-id-122 {
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 100%) !important;
    margin: 0 !important;
    padding: 0 !important;
    padding-top: 140px !important;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Add animated background orbs */
body.page-id-122::before {
    content: "";
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    background: radial-gradient(circle, rgba(91, 141, 239, 0.6) 0%, transparent 70%);
    top: -200px;
    left: -100px;
    pointer-events: none;
    z-index: 0;
    animation: orbPulse 8s ease-in-out infinite;
}

body.page-id-122::after {
    content: "";
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    background: radial-gradient(circle, rgba(155, 89, 208, 0.6) 0%, transparent 70%);
    bottom: -150px;
    right: -150px;
    pointer-events: none;
    z-index: 0;
    animation: orbPulse 8s ease-in-out infinite reverse;
}

@keyframes orbPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

/* Ensure content is above background */
body.page-id-122 #content,
body.page-id-122 .site-main,
body.page-id-122 main {
    position: relative;
    z-index: 1;
}

/* Hide footer and default elements */
body.page-id-122 footer.elementor-location-footer {
    display: none !important;
}

body.page-id-122 .entry-header {
    display: none !important;
}

body.page-id-122 .site-content {
    padding: 0 !important;
}

/* Style all text for dark background */
body.page-id-122 h1,
body.page-id-122 h2,
body.page-id-122 h3,
body.page-id-122 h4,
body.page-id-122 h5,
body.page-id-122 h6 {
    color: rgba(255, 255, 255, 0.95) !important;
}

body.page-id-122 p,
body.page-id-122 span,
body.page-id-122 div,
body.page-id-122 a,
body.page-id-122 label {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* ═══════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════ */

.contact-hero {
    text-align: center;
    padding: 80px 24px 60px;
    max-width: 900px;
    margin: 0 auto 80px;
    position: relative;
}

.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(91, 141, 239, 0.1);
    border: 1px solid rgba(91, 141, 239, 0.3);
    border-radius: 50px;
    color: #5B8DEF;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease-out;
}

.contact-hero h1 {
    font-size: clamp(48px, 8vw, 72px) !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    margin-bottom: 24px !important;
    background: linear-gradient(135deg, #5B8DEF 0%, #9B59D0 50%, #E74694 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.contact-hero p {
    font-size: clamp(18px, 3vw, 24px) !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.7) !important;
    max-width: 700px;
    margin: 0 auto !important;
    animation: fadeInUp 1s ease-out 0.4s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ═══════════════════════════════════════════════════════════
   MAIN GRID - FORM + INFO CARDS
   ═══════════════════════════════════════════════════════════ */

.contact-main-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px 100px;
    display: grid !important;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Fix WordPress auto-formatting - remove P tags and BR tags inside grid */
.contact-main-grid > p,
.contact-main-grid p:empty,
.contact-form-card br {
    display: none !important;
}

/* Force grid display and prevent WordPress from breaking layout */
body.page-id-122 .contact-main-grid {
    display: grid !important;
}

/* Make direct children use grid layout on desktop */
@media (min-width: 1201px) {
    .contact-main-grid > .contact-form-card {
        grid-column: 1 !important;
    }

    .contact-main-grid > .contact-info-cards {
        grid-column: 2 !important;
    }
}

/* ═══════════════════════════════════════════════════════════
   CONTACT FORM - Glassmorphism Card
   ═══════════════════════════════════════════════════════════ */

.contact-form-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 50px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(91, 141, 239, 0.3), rgba(155, 89, 208, 0.3));
    border-radius: 32px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.contact-form-card:hover::before {
    opacity: 1;
}

.contact-form-card:hover {
    transform: translateY(-4px);
    border-color: rgba(91, 141, 239, 0.3);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 0 80px rgba(91, 141, 239, 0.2);
}

.contact-form-card h2 {
    font-size: 32px !important;
    font-weight: 700 !important;
    margin-bottom: 32px !important;
    background: linear-gradient(135deg, #5B8DEF, #9B59D0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Form Fields */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9) !important;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(91, 141, 239, 0.5) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 0 20px rgba(91, 141, 239, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

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

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 18px 40px;
    background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.5);
}

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

/* ═══════════════════════════════════════════════════════════
   INFO CARDS - RIGHT SIDEBAR
   ═══════════════════════════════════════════════════════════ */

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 32px;
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #5B8DEF, #9B59D0);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.info-card:hover::before {
    opacity: 1;
}

.info-card:hover {
    transform: translateX(8px);
    border-color: rgba(91, 141, 239, 0.3);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.info-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(91, 141, 239, 0.2), rgba(91, 141, 239, 0.05));
    border: 1px solid rgba(91, 141, 239, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #5B8DEF !important;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.info-card:hover .info-card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(91, 141, 239, 0.3);
}

.info-card h3 {
    font-size: 20px !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
    color: rgba(255, 255, 255, 0.95) !important;
}

.info-card p {
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.7) !important;
    margin: 0 !important;
}

.info-card a {
    color: #5B8DEF !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.info-card a:hover {
    color: #9B59D0 !important;
    text-shadow: 0 0 20px rgba(91, 141, 239, 0.5);
}

/* Hours List */
.hours-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0 0 !important;
}

.hours-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.8) !important;
}

.hours-list li:last-child {
    border-bottom: none;
}

.hours-list .day {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9) !important;
}

.hours-list .time {
    color: #5B8DEF !important;
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════ */

.contact-cta {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px 100px;
}

.cta-card {
    background: linear-gradient(135deg, rgba(91, 141, 239, 0.15), rgba(155, 89, 208, 0.15));
    border: 2px solid rgba(91, 141, 239, 0.3);
    border-radius: 32px;
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(91, 141, 239, 0.1) 0%, transparent 70%);
    animation: rotateSlow 20s linear infinite;
}

@keyframes rotateSlow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.cta-card h2 {
    font-size: clamp(32px, 5vw, 48px) !important;
    font-weight: 800 !important;
    margin-bottom: 20px !important;
    position: relative;
    z-index: 1;
}

.cta-card p {
    font-size: clamp(16px, 2.5vw, 20px) !important;
    margin-bottom: 40px !important;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-btn-primary {
    background: linear-gradient(135deg, #5B8DEF, #9B59D0);
    color: #ffffff !important;
    border: 2px solid transparent;
    box-shadow: 0 10px 30px rgba(91, 141, 239, 0.4);
}

.cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(91, 141, 239, 0.6);
}

.cta-btn-secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.9) !important;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.cta-btn-secondary:hover {
    border-color: rgba(91, 141, 239, 0.5);
    background: rgba(91, 141, 239, 0.1);
    transform: translateY(-3px);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 1200px) {
    .contact-main-grid {
        grid-template-columns: 1fr !important;
        gap: 32px;
    }

    .contact-main-grid > .contact-form-card {
        grid-column: auto !important;
    }

    .contact-main-grid > .contact-info-cards {
        grid-column: auto !important;
    }

    .contact-form-card,
    .info-card {
        padding: 40px;
    }
}

@media (min-width: 1201px) {
    .contact-main-grid {
        display: grid !important;
        grid-template-columns: 1.2fr 0.8fr !important;
    }
}

@media (max-width: 768px) {
    body.page-id-122 {
        padding-top: 160px !important;
    }

    .contact-hero {
        padding: 60px 20px 40px;
    }

    .contact-form-card,
    .info-card {
        padding: 32px 24px;
    }

    .cta-card {
        padding: 60px 32px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 16px;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
    }
}
