/* DESIGN SYSTEM - PREMIUM SPIRITUAL EDITION */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* Global Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    font-family: 'Poppins', sans-serif; 
    background-color: #fdfde3; /* Warm off-white / light cream for wellness feel */
    color: #0d2b5b; /* Deep Navy */
    line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }

/* Core Colors & Variables */
:root {
    --color-primary: #0d2b5b; /* Deep Navy */
    --color-secondary: #3b82f6; /* Sky Blue */
    --color-accent: #0088cc; /* Soft Blue accent */
    --color-success: #10b981; /* Emerald Green */
    --color-danger: #ef4444; /* Rose Red */
    --color-bg: #fdfde3; 
}

/* Component: Cards */
.card, .glass-card {
    background-color: #ffffff;
    border-radius: 2rem; /* 32px for premium soft look */
    border: 1px solid rgba(13, 43, 91, 0.05);
    box-shadow: 0 10px 30px -5px rgba(13, 43, 91, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(13, 43, 91, 0.12);
}

/* Component: Buttons */
.btn-primary {
    background: linear-gradient(135deg, #0d2b5b 0%, #1e3a8a 100%);
    color: #ffffff;
    padding: 1.25rem 2.5rem;
    border-radius: 1.25rem; /* rounded-2xl */
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 20px -5px rgba(13, 43, 91, 0.3);
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover:not(:disabled) {
    transform: scale(1.02);
    box-shadow: 0 12px 25px -5px rgba(13, 43, 91, 0.4);
    filter: brightness(1.1);
}

.btn-primary:disabled {
    background: #cbd5e1;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-secondary {
    background-color: #f1f5f9;
    color: var(--color-primary);
    padding: 1rem 2rem;
    border-radius: 1.25rem;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover:not(:disabled) {
    background-color: #ffffff;
    border-color: var(--color-primary);
}

/* Typography Utilities */
.text-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #64748b;
}

.heading-premium {
    color: #1a3a6e;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.heading-sacred {
    color: var(--color-accent);
    font-style: italic;
    font-weight: 600;
}

/* Form Inputs */
.input-box {
    width: 100%;
    background-color: #ffffff;
    border: 2px solid #f1f5f9;
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    color: #0d2b5b;
    transition: all 0.3s ease;
    outline: none;
}

.input-box:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Badge Expert */
.badge-expert {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    color: #475569;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 14px;
    border-radius: 100px;
}

/* Practitioner Profile Specifics */
.profile-card {
    overflow: hidden;
    position: sticky;
    top: 2rem;
}

.profile-img-container {
    position: relative;
    overflow: hidden;
}

.profile-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.profile-card:hover .profile-img {
    transform: scale(1.03);
}

.profile-content {
    padding: 2.5rem;
}

.profile-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1.25rem;
    font-size: 14px;
    font-weight: 500;
}

.profile-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

/* Mobile Off-Canvas Navigation */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(13, 43, 91, 0.45);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 60;
}
.mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    border-top-right-radius: 24px;
    border-bottom-right-radius: 24px;
    box-shadow: 8px 0 30px -5px rgba(13, 43, 91, 0.15);
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 70;
    display: flex;
    flex-direction: column;
}
.mobile-menu-panel.open {
    transform: translateX(0);
}
@media (max-width: 340px) {
    .mobile-menu-panel {
        width: 100%;
        border-radius: 0;
    }
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    border-bottom: 1px solid rgba(13, 43, 91, 0.05);
}

.mobile-menu-nav {
    flex: 1;
    overflow-y: auto;
    padding: 0.75rem 1.25rem 1rem;
}

.mobile-menu-footer {
    padding: 1.25rem;
    border-top: 1px solid rgba(13, 43, 91, 0.05);
}

.mobile-menu-toggle {
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 10px;
    color: var(--color-primary);
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
}
.mobile-menu-toggle:focus-visible {
    outline: 2px solid var(--color-secondary);
    outline-offset: 2px;
}
.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #64748b;
    background: #f1f5f9;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}
.mobile-menu-close:hover {
    background: var(--color-primary);
    color: #fff;
}

.mobile-nav-group {
    border-bottom: 1px solid rgba(13, 43, 91, 0.04);
}
.mobile-nav-toggle {
    width: 100%;
    min-height: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    background: transparent;
    border: none;
    color: #334155;
    font-size: 15px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s;
}
.mobile-nav-toggle:hover,
.mobile-nav-toggle[aria-expanded="true"] {
    color: var(--color-primary);
}
.mobile-nav-toggle i {
    transition: transform 0.25s ease;
    color: #94a3b8;
}
.mobile-nav-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.mobile-submenu {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.25s ease-out;
}
.mobile-submenu.open {
    grid-template-rows: 1fr;
}
.mobile-submenu > div {
    overflow: hidden;
}
.mobile-submenu a {
    display: block;
    min-height: 44px;
    padding: 0.65rem 0 0.65rem 1rem;
    font-size: 14px;
    color: #475569;
    border-left: 2px solid #e2e8f0;
    transition: all 0.2s;
}
.mobile-submenu a:hover,
.mobile-submenu a:active {
    color: var(--color-primary);
    border-left-color: var(--color-primary);
    background: rgba(13, 43, 91, 0.02);
}

.mobile-menu-nav > a {
    display: block;
    min-height: 48px;
    padding: 0.85rem 0;
    font-size: 15px;
    font-weight: 500;
    color: #334155;
    border-bottom: 1px solid rgba(13, 43, 91, 0.04);
    transition: color 0.2s;
}
.mobile-menu-nav > a:hover,
.mobile-menu-nav > a.active {
    color: var(--color-primary);
}

body.menu-open {
    overflow: hidden;
}
