:root {
    --panel-bg: rgba(35, 37, 41, 0.70);
    --text-primary: #f0f0f0;
    --text-secondary: #a0a0a0;
    --border-color: rgba(255, 255, 255, 0.15);
    --accent-color: #ffffff;
    --solid-dark-bg: #232529;
    --whatsapp-green: #1FAF38; 
    --whatsapp-green-hover: #18912d;
    --schedule-blue: #039BE5;
    --schedule-blue-hover: #0277B5;
}

html, body {
    margin: 0; padding: 0; height: 100%;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-primary);
}

.background-container {
    width: 100%; min-height: 100vh; display: flex; align-items: center; justify-content: center;
    padding: 2rem; box-sizing: border-box;
    position: relative; overflow: hidden;
}
.bg-slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    transition: opacity 1.5s ease-in-out; z-index: 1;
}

.content-panel {
    width: 100%; max-width: 1100px; background: var(--panel-bg); border-radius: 24px; padding: 40px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37); backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.1); box-sizing: border-box;
    position: relative; z-index: 2;
}

.grid-container { display: grid; grid-template-columns: 300px 1fr; gap: 50px; }

.profile-column { text-align: center; display: flex; flex-direction: column; }
.profile-pic {
    width: 160px; height: 160px; border-radius: 50%; object-fit: cover;
    border: 4px solid var(--border-color); margin-bottom: 20px; align-self: center;
}
.profile-column h1 { font-size: 2.5rem; margin: 0 0 10px 0; font-weight: 600; color: var(--accent-color); }
.profile-column p { font-size: 1rem; line-height: 1.7; color: var(--text-secondary); font-weight: 300; flex-grow: 1; text-align: left;}

.details-column { display: flex; flex-direction: column; gap: 40px; }

.section-header {
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid var(--border-color); padding-bottom: 15px; margin-bottom: 20px;
}
.section-header h2 {
    margin: 0; padding: 0; border: 0;
    font-size: 1.8rem; font-weight: 400; color: var(--accent-color);
}
.desktop-popup-button { display: block; }

.calendar-section { display: flex; flex-direction: column; flex-grow: 1; min-height: 0; }

.pricing-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
    background-color: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-color); border-radius: 12px;
    padding: 25px 20px; text-align: center; transition: background-color 0.3s, transform 0.3s;
    display: flex; flex-direction: column;
}
.card:hover { background-color: rgba(255, 255, 255, 0.1); transform: translateY(-5px); }
.card h3 { margin: 0 0 10px 0; font-size: 1.4rem; font-weight: 600; }
.card .price { font-size: 2.2rem; font-weight: 600; color: var(--accent-color); margin: 15px 0; }
.card .price .price-unit { font-size: 1.2rem; font-weight: 400; color: var(--text-secondary); }
.card .price-description { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 25px; flex-grow: 1; }

.button {
    display: inline-block; background-color: var(--accent-color); color: #111; padding: 10px 20px;
    border-radius: 8px; text-decoration: none; font-weight: 600; transition: background-color 0.3s;
    font-size: 1rem; border: none; cursor: pointer; font-family: 'Poppins', sans-serif;
}
.button:hover { background-color: #d0d0d0; }

.contact-button {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px; margin-top: 25px;
    background-color: var(--whatsapp-green); color: #ffffff; border: none; padding: 12px 24px;
    border-radius: 999px; font-weight: 600; text-decoration: none; transition: background-color 0.3s, transform 0.3s;
    margin-bottom: 23px;
}
.contact-button:hover {
    background-color: var(--whatsapp-green-hover);
    color: #ffffff;
    transform: translateY(-2px);
}
.contact-button img { width: 24px; height: 24px; }
.contact-button .mobile-text { display: none; }

.calendar-viewport {
    height: 100%; overflow-y: auto; border-radius: 12px;
    border: 1px solid var(--border-color); background-color: var(--solid-dark-bg);
}
.calendar-viewport iframe {
    width: 100%; height: 600px; margin-top: -210px;
    border: 0; filter: invert(1) hue-rotate(180deg);
}
.calendar-mobile { display: none; text-align: center; }
.mobile-schedule-button {
    display: inline-block; background-color: var(--schedule-blue); color: #ffffff;
    padding: 14px 28px; border-radius: 999px; text-decoration: none;
    font-weight: 600; transition: background-color 0.3s;
}
.mobile-schedule-button:hover { background-color: var(--schedule-blue-hover); }

@media (max-width: 992px) {
    .grid-container { grid-template-columns: 1fr; gap: 40px; }
    .profile-column { border-bottom: 1px solid var(--border-color); padding-bottom: 40px; text-align: center; }
    .profile-column p { text-align: center; }
    .calendar-viewport { display: none; }
    .calendar-mobile { display: block; }
    .desktop-popup-button { display: none; }
}

@media (max-width: 768px) {
    .background-container { padding: 1rem; }
    .pricing-cards { grid-template-columns: 1fr; }
    .profile-column h1 { font-size: 2rem; }
    .section-header h2 { font-size: 1.5rem; }
.contact-button .desktop-text { display: none; }
            .contact-button .mobile-text { display: inline; }
        }

        /* --- Modal Styles --- */
        body.modal-open {
            overflow: hidden;
        }
        .modal {
            display: flex; position: fixed; z-index: 1000; left: 0; top: 0;
            width: 100%; height: 100%; overflow: auto; 
            background-color: rgba(0,0,0,0.7);
            align-items: center; justify-content: center;
            opacity: 0; visibility: hidden; pointer-events: none;
            transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.4s;
        }
        .modal.is-visible { opacity: 1; visibility: visible; pointer-events: auto; }
        .modal-content {
            background: var(--solid-dark-bg); margin: auto; padding: 30px; border: 1px solid var(--border-color);
            width: 90%; max-width: 500px; border-radius: 16px; position: relative;
            box-shadow: 0 4px 20px rgba(0,0,0,0.5);
            transform: translateY(20px) scale(0.95);
            transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        }
        .modal.is-visible .modal-content { transform: translateY(0) scale(1); }
        .modal-close {
            color: #aaa; position: absolute; top: 15px; right: 25px;
            font-size: 28px; font-weight: bold; cursor: pointer;
        }
        .modal-close:hover, .modal-close:focus { color: white; text-decoration: none; }
        .modal-header { font-size: 1.5rem; margin-bottom: 25px; text-align: center; color: var(--text-primary); }

        /* --- Qualifications Modal --- */
        #qualificationsModal .modal-content { max-width: 800px; }
        #qualificationTitle {
            font-size: 1.1rem;
            font-weight: 300;
            color: var(--text-secondary);
            text-align: center;
            margin-top: -15px;
            margin-bottom: 20px;
            height: 1.2rem;
            transition: opacity 0.3s ease-in-out;
        }
        #qualificationTitle.fading-out {
            opacity: 0;
        }
        .carousel { position: relative; }
        .carousel-viewport { overflow: hidden; border-radius: 8px; }
        .carousel-slides { display: flex; transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1); }
        .carousel-slide {
            min-width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
            background-color: rgba(0,0,0,0.2); padding: 20px; box-sizing: border-box;
            height: 60vh;
        }
        .carousel-slide img { max-width: 100%; max-height: 100%; object-fit: contain; }
        .carousel-slide img.zoomable { cursor: zoom-in; }
        .carousel-arrow {
            cursor: pointer; position: absolute; top: 50%; transform: translateY(-50%);
            width: auto; padding: 16px; color: white; font-weight: bold; font-size: 24px;
            transition: 0.3s ease; user-select: none; background-color: rgba(0,0,0,0.5);
            z-index: 10;
        }
        .carousel-arrow.prev { left: 0; border-radius: 0 5px 5px 0; }
        .carousel-arrow.next { right: 0; border-radius: 5px 0 0 5px; }
        .carousel-arrow:hover { background-color: rgba(0,0,0,0.8); }

        #imageZoomModal { z-index: 1001; cursor: zoom-out; }
        #zoomedImage {
            max-width: 90vw; max-height: 90vh; border-radius: 8px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.5);
            transform: scale(0.95);
            transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        }
        #imageZoomModal.is-visible #zoomedImage { transform: scale(1); }

        .profile-buttons {
            display: flex;
            gap: 10px;
            justify-content: center;
            margin-bottom: 15px;
        }

        .profile-buttons .button {
            flex: 1;
            font-size: 0.9rem;
            padding: 10px 5px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .profile-buttons .button .button-icon {
            height: 18px;
            width: 18px;
        }
        .button.button-secondary {
            background-color: rgba(255, 255, 255, 0.1);
            color: var(--text-primary);
            border: 1px solid var(--border-color);
            transition: background-color 0.3s, transform 0.3s;
        }
        .button.button-secondary:hover {
            background-color: rgba(255, 255, 255, 0.2);
            transform: translateY(-2px);
        }

        .svg-icon {
            filter: invert(1);
        }

        /* --- Payment Modal --- */
        .payment-details {
            text-align: center;
            color: var(--text-secondary);
            margin: -10px 0 25px 0;
            font-size: 1rem;
        }
        .payment-options { display: flex; flex-direction: column; gap: 15px; }
        .payment-button {
            display: flex; align-items: center; justify-content: center; gap: 12px;
            color: #ffffff; border: none; padding: 12px 24px; border-radius: 999px;
            font-weight: 600; text-decoration: none; transition: background-color 0.3s, transform 0.3s;
            width: 100%; box-sizing: border-box; font-family: 'Poppins', sans-serif; font-size: 1rem; cursor: pointer;
            height: 50px;
        }
        .payment-button:hover {
            transform: translateY(-2px);
        }
        .payment-button .icon-wrapper {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 24px;
            flex-shrink: 0;
        }
        .payment-button span {
            flex-shrink: 0;
            white-space: nowrap;
        }
        .payment-button img {
            width: 32px;
            max-height: 100%;
            max-width: 100%;
            object-fit: contain;
        }
        .payment-button.paypal { background-color: #0070BA; }
        .payment-button.paypal:hover { background-color: #005ea6; }
        .payment-button.wise { background-color: #9FE870; color: #000; }
        .payment-button.wise:hover { background-color: #88d45b; }
        .payment-button.polar-checkout { background-color: #3c3f46; }
        .payment-button.polar-checkout:hover { background-color: #4f535a; }
