:root {
    --primary-color-dark: #0D3D56; 
    --primary-color: #107078;   
    --secondary-color: #60B4B4;
    --accent-color: #F2A48D;  
    --light-bg-color: #F8F9FA;    
    --white-color: #FFFFFF;
    --dark-text-color: #212529;
    --muted-text-color: #6C757D;  
    --border-color: #DEE2E6;
    --gradient-primary: linear-gradient(45deg, var(--primary-color-dark), var(--primary-color));

    --font-primary: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --font-secondary: 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --font-size-base: 1rem;
    --line-height-base: 1.8;

    --container-width: 1280px;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition-fast: all 0.2s ease-in-out;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 100%;
}

body {
    font-family: var(--font-primary);
    background-color: var(--light-bg-color);
    color: var(--dark-text-color);
    line-height: var(--line-height-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-color-dark);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.75rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--muted-text-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-color-dark);
    text-decoration: underline;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}


.container {
    max-width: var(--container-width);
    padding: 0 2rem;
}

.text-center { text-align: center; }
.section-title { margin-bottom: 3rem; }
main > section { padding: 6rem 0; }
main > section:nth-child(odd) { background-color: var(--white-color); }


.btn {
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius-md);
    font-weight: 700;
    transition: var(--transition-smooth);
    display: inline-block;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.15);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: -1;
}

.btn:hover::after {
    transform: scaleX(1);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}
.btn-primary:hover {
    background-color: var(--primary-color-dark);
    color: var(--white-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--primary-color-dark);
    color: var(--white-color);
}
.btn-secondary:hover {
    background-color: #000;
    color: var(--white-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--white-color);
    border-color: var(--white-color);
}
.btn-outline:hover {
    background-color: var(--white-color);
    color: var(--primary-color-dark);
}

.header {
    background-color: var(--white-color);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    transition: var(--transition-smooth);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.header .btn-nav {
    flex-shrink: 0; 
    white-space: nowrap;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color-dark);
}
.logo:hover { text-decoration: none; }

.main-nav .menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.main-nav .menu li {
    position: relative;
}

.main-nav .menu > li > a {
    padding: 1rem 1rem;
    display: block;
    color: var(--dark-text-color);
    font-weight: 500;
    position: relative;
    text-decoration: none;
}

.main-nav .menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 1rem;
    right: 1rem;
    height: 3px;
    background-color: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: center;
    transition: var(--transition-fast);
}

.main-nav .menu > li:hover > a::after {
    transform: scaleX(1);
}

.sub-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white-color);
    border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 240px;
    padding: 0.5rem 0;
    list-style: none;
    z-index: 1001;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--dark-text-color);
    font-size: 0.95rem;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition-fast);
}

.sub-menu a:hover {
    background-color: var(--light-bg-color);
    color: var(--primary-color);
}

.menu-item-has-children > a {
    position: relative;
    padding-right: 2.2rem !important;
}

.menu-item-has-children > a::before {
    content: '▼';
    font-size: 0.6em;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted-text-color);
    transition: var(--transition-fast);
}

.menu-item-has-children:hover > a::before {
    transform: translateY(-50%) rotate(180deg);
}

.sub-menu .menu-item-has-children {
    position: relative;
}

.sub-menu .sub-menu {
    left: 100%;
    top: -0.5rem;
    border-radius: var(--border-radius-md);
}

.sub-menu .menu-item-has-children > a::before {
    content: '▶'; 
    transform: translateY(-50%) rotate(0deg);
}

.sub-menu .menu-item-has-children:hover > a::before {
    transform: translateY(-50%) rotate(0deg);
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color-dark);
}

#sidebar {
    height: 100%;
    width: 300px;
    position: fixed;
    z-index: 99999;
    top: 0;
    left: -320px;
    background-color: var(--primary-color-dark);
    color: var(--white-color);
    transition: left 0.3s ease-in-out;
    padding-top: 4rem; 
    padding-bottom: 2rem;
    overflow-y: auto;
    box-shadow: 5px 0 20px rgba(0,0,0,0.3);
}

#sidebar.open {
    left: 0;
}

#sidebar .close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--white-color);
    cursor: pointer;
    line-height: 1;
}

#sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#sidebar a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--white-color); 
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.05rem;
    position: relative; 
}

#sidebar a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--secondary-color);
}

#sidebar .sub-menu {

    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    
    display: none;
    background-color: rgba(0, 0, 0, 0.2);
    width: 100%;
    min-width: unset;
    border-radius: 0;
    padding-left: 0;
}

#sidebar .menu-item-has-children.open > .sub-menu {
    display: block;
    animation: fadeIn 0.3s ease;
}

#sidebar .sub-menu a {
    padding-left: 2.5rem;
    font-size: 0.95rem;
}

#sidebar .sub-menu .sub-menu a {
    padding-left: 3.5rem; 
}


#sidebar .menu-item-has-children > a::before {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

#sidebar .menu-item-has-children.open > a::before {
    transform: translateY(-50%) rotate(180deg);
    color: var(--secondary-color);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


@media (max-width: 1250px) {
    
    .main-nav, 
    .header .btn-nav { 
        display: none; 
    }
    
    .menu-toggle {
        display: block;
        font-size: 2rem;
        background: none;
        border: none;
        cursor: pointer;
        color: var(--primary-color-dark);
        padding: 0.5rem;
    }

    .header .container {
        justify-content: space-between;
        align-items: center;
    }
    
    .logo img {
        max-height: 50px; 
        width: auto;
    }
}


@media (min-width: 1251px) {
    .menu-toggle {
        display: none;
    }
}


.hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    color: var(--white-color);
    padding: 4rem 1.5rem;
    background: url('Afbeelding van WhatsApp op 2025-12-14 om 13.34.36_6f6ccebe.jpg') no-repeat center center/cover;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.85;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: left;
}
.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white-color);
}
.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.9);
}
.hero-buttons {
    display: flex;
    gap: 1rem;
}


.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.info-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}
.info-text p {
    margin-bottom: 2rem;
}


.services-section {
    background-color: var(--white-color);
}
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.card {
    background: var(--white-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1;
}
.card-body h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.card-body p {
    font-size: 0.95rem;
}

.location-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 3rem;
    align-items: stretch;
}
.hours-card, .map-card {
    background: var(--white-color);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}
.card-title {
    font-size: 1.8rem;
    color: var(--primary-color-dark);
    margin-bottom: 1.5rem;
}
.hours-list {
    margin-bottom: 2rem;
}
.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border-color);
}
.hours-list li:last-child {
    border-bottom: none;
}
.hours-list span {
    font-weight: 500;
}
.sub-title {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}
.map-card {
    padding: 1rem;
}
.map-card iframe {
    border-radius: var(--border-radius-md);
    width: 100%;
    height: 100%;
    min-height: 350px;
}

.footer {
    background-color: var(--primary-color-dark);
    color: var(--light-bg-color);
    padding: 5rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}
.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--white-color);
    position: relative;
    padding-bottom: 0.5rem;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: var(--secondary-color);
}

.footer-col p, .footer-col ul li, .footer-col a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}
.footer-col a:hover {
    color: var(--white-color);
    text-decoration: none;
}
.footer-col ul li {
    margin-bottom: 0.75rem;
}
.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}
.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
}


.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.hero-content > * {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}
.hero-content h1 { animation-delay: 0.2s; }
.hero-content p { animation-delay: 0.4s; }
.hero-content .hero-buttons { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


main.hentry {
    background-color: var(--white-color);
    padding: 5rem 0;
}

.content-title {
    font-size: 3rem;
    color: var(--primary-color-dark);
    text-align: center;
    margin-bottom: 3rem;
}

.contentDiv {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--light-bg-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.contentDiv p {
    color: var(--muted-text-color);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.contentDiv h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.contentDiv a {
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: var(--secondary-color);
    transition: var(--transition-fast);
}

.contentDiv a:hover {
    color: var(--primary-color-dark);
    background-color: rgba(96, 180, 180, 0.1);
}

.contentDiv strong {
    color: var(--primary-color-dark);
    font-weight: 700;
}

.contentDiv p:last-child {
    margin-bottom: 0;
}
.page-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem; 
}

.employee-wrap {
    display: grid;
    
    grid-template-columns: repeat(2, 1fr); 
    gap: 3rem; 
    width: 100%;
    margin-top: 2rem;
}


.employee {
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    
    display: flex;
    flex-direction: column; 
    height: 100%; 
    overflow: hidden; 
    position: relative;
    
    
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), 
                box-shadow 0.3s ease;
    transform: translateZ(0); 
    backface-visibility: hidden; 
}

.employee:hover {
    transform: translateY(-6px); 
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.employee__image {
    width: 100%;
    aspect-ratio: 3 / 4; 
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.employee__thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center top; 
    transition: transform 0.5s ease;
}

.employee:hover .employee__thumbnail {
    transform: scale(1.05); 
}

.employee__heading {
    padding: 1.5rem 2rem 0.5rem;
}

.employee__heading h2 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--primary-color-dark);
}

.employee__heading h2 a {
    text-decoration: none;
    color: inherit;
}

.employee__heading p {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    letter-spacing: 0.5px;
}

.employee__body {
    padding: 0.5rem 2rem 1.5rem;
    flex-grow: 1; 
    color: var(--muted-text-color);
}

.employee__presentDays {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.presentDays__item {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    background: var(--light-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-right: 4px;
    color: var(--primary-color-dark);
}

.employee__link {
    background-color: var(--light-bg-color);
    padding: 1rem 2rem;
    border-top: 1px solid var(--border-color);
    margin-top: auto; 
    transition: background-color 0.2s;
}

.employee__link a {
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.employee:hover .employee__link {
    background-color: rgba(96, 180, 180, 0.1); 
}

@media (max-width: 768px) {
    .employee-wrap {
        grid-template-columns: 1fr; 
        gap: 2rem;
    }
    
    .employee__image {
        aspect-ratio: 3 / 4; 
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.single-team-member {
    max-width: 1100px;
    margin: 4rem auto;
    padding: 2rem;
}

.single-team-member--details {
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 4rem;
    align-items: flex-start;
}

.single-team-member--thumbnail {
    position: sticky;
    top: 120px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.single-team-member--thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.single-team-member--text {
    padding-top: 1rem;
}

.single-team-member--title {
    text-align: left;
    margin-bottom: 0.5rem;
    font-size: 3.5rem;
    line-height: 1.1;
}

.single-team-member--function {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--white-color);
    background: var(--gradient-primary);
    padding: 0.4rem 1.2rem;
    border-radius: var(--border-radius-md);
    margin-bottom: 2.5rem;
}

.presentDayContainer {
    background-color: var(--light-bg-color);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    border-left: 5px solid var(--secondary-color);
}

.presentDaysHeading {
    display: block;
    font-weight: 700;
    color: var(--primary-color-dark);
    margin-bottom: 1rem;
}

.presentDaysList {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.presentDaysListItem span[aria-hidden="true"] {
    display: block;
    background-color: var(--white-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.presentDaysListItem:hover span[aria-hidden="true"] {
    background-color: var(--secondary-color);
    color: var(--white-color);
    transform: translateY(-2px);
    cursor: default;
}

.theContentContainer {
    margin-top: 2rem;
    line-height: 1.9;
    font-size: 1.1rem;
    color: var(--muted-text-color);
}

.theContentContainer p {
    margin-bottom: 1.5rem;
}

.back-to-overview {
    display: inline-flex;
    align-items: center;
    margin-top: 2rem;
    color: var(--muted-text-color);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-fast);
}

.back-to-overview i {
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
}

.back-to-overview:hover {
    color: var(--primary-color-dark);
}

.back-to-overview:hover i {
    transform: translateX(-4px);
}


.defaultForm {
    position: relative;
    perspective: 2000px;
}

.contentDiv {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 32px 0 rgba(13, 61, 86, 0.15), var(--shadow-lg);
    
    padding: clamp(1.5rem, 5vw, 3rem);
    overflow: hidden;
}


.defaultForm::before {
    content: '';
    position: absolute;
    top: 120px; 
    left: 5%;
    right: 5%;
    height: 4px;
    background: rgba(13, 61, 86, 0.1);
    border-radius: 2px;
    z-index: 1;
}

#wijzigen::after {
    content: '';
    position: absolute;
    top: 120px;
    left: 5%;
    width: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    z-index: 2;
    transition: width 1s cubic-bezier(0.65, 0, 0.35, 1);
    
    filter: drop-shadow(0 0 8px var(--secondary-color));
}

#fb_step_1.active ~ #wijzigen::after { width: 0%; }
#fb_step_2.active ~ #wijzigen::after { width: 18%; }
#fb_step_3.active ~ #wijzigen::after { width: 36%; }
#fb_step_4.active ~ #wijzigen::after { width: 54%; }
#fb_step_5.active ~ #wijzigen::after { width: 72%; }
#fb_step_6.active ~ #wijzigen::after { width: 90%; }


.formBlock {
    display: none;
    opacity: 0;
    transform: rotateX(-10deg) translateY(30px);
    transform-origin: top center;
}

.formBlock.active {
    display: block;
    animation: fadeInRotate 0.9s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes fadeInRotate {
    to {
        opacity: 1;
        transform: rotateX(0deg) translateY(0);
    }
}


.paginationForm__heading {
    color: var(--primary-color-dark);
    margin-bottom: 3.5rem;
    padding-top: 1rem;
    font-size: clamp(2rem, 6vw, 2.75rem);
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.paginationForm__heading:focus-visible {
    outline: none;
    color: var(--primary-color);
}

.paginationForm__step {
    display: inline-block;
    font-size: 1rem;
    font-weight: 700;
    background: var(--gradient-primary);
    color: var(--white-color);
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(16, 112, 120, 0.2);
    letter-spacing: 0.8px;
    text-transform: uppercase;
}


.elementWrapper {
    margin-bottom: 2rem;
}

.elementWrapper label {
    display: block;
    font-weight: 600;
    color: var(--primary-color-dark);
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 0.9rem 1.2rem;
    font-size: 1rem;
    font-family: var(--font-primary);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-md);
    background-color: #F8F9FA;
    color: var(--dark-text-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

:is(input, textarea, select):focus {
    outline: none;
    background-color: var(--white-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(96, 180, 180, 0.15);
}
.dateWrapper {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.dateWrapper .subElementWrapper {
    flex: 1;
    margin-bottom: 0;
}

.elementWrapper:has(select) {
    position: relative;
}

.elementWrapper:has(select)::after {
    content: '▼';
    position: absolute;
    right: 1.2rem;
    top: calc(50% + 0.6rem);
    transform: translateY(-50%);
    font-size: 1rem;
    color: var(--primary-color);
    pointer-events: none;
    transition: transform 0.3s ease;
}

.elementWrapper:has(select:focus)::after {
    transform: translateY(-50%) rotate(180deg);
}

.elementWrapper select {
    cursor: pointer;
}

.radioWrapper {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 0.5rem;
}

.radioWrapper .subElementWrapper {
    position: relative;
}

.radioWrapper input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radioWrapper label {
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 1.5rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: var(--muted-text-color);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    transition: all 0.2s ease-in-out;
    background: var(--white-color);
}

.radioWrapper label::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    background: var(--white-color);
    transition: all 0.2s ease-in-out;
}

.radioWrapper input[type="radio"]:checked + label {
    background-color: var(--light-bg-color);
    border-color: var(--primary-color);
    color: var(--primary-color-dark);
    font-weight: 600;
}

.radioWrapper input[type="radio"]:checked + label::before {
    border-color: var(--primary-color);
    background-image: radial-gradient(circle, var(--primary-color) 45%, transparent 50%);
}

.radioWrapper input[type="radio"]:focus-visible + label {
    box-shadow: 0 0 0 4px rgba(96, 180, 180, 0.15);
}
@keyframes popIn {
    to { transform: translateY(-50%) scale(1); }
}


.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.formBlock > .ph-btn { margin-top: 1.5rem; }

.ph-btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.ph-btn-primary {
    background: var(--gradient-primary);
    background-size: 250% auto;
    color: var(--white-color);
    box-shadow: var(--shadow-md);
}

.ph-btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-lg);
    background-position: right center;
}

.ph-btn-primary:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: var(--shadow-sm);
}

.ph-btn-next::after {
    content: '→';
    transition: transform 0.3s ease;
}
.ph-btn-primary:hover.ph-btn-next::after {
    transform: translateX(6px);
}
.ph-btn-previous::before {
    content: '←';
    transition: transform 0.3s ease;
}
.ph-btn-link:hover.ph-btn-previous::before {
    transform: translateX(-6px);
}

.ph-btn-link {
    background-color: transparent;
    color: var(--muted-text-color);
}
.ph-btn-link:hover {
    color: var(--primary-color-dark);
}


.summary {
    background: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}
.summary:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-color);
}

.summary__heading {
    font-family: var(--font-secondary);
    color: var(--primary-color-dark);
    font-size: 1.6rem;
    margin: 0 0 2rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.ph-btn-summary {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}
.ph-btn-summary:hover {
    background-color: rgba(96, 180, 180, 0.1);
    border-color: rgba(96, 180, 180, 0.3);
    transform: translateY(-2px);
}

.summary dl {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) 2fr;
    gap: 1.25rem 2rem;
}
.summary dt {
    font-weight: 600;
    color: var(--dark-text-color);
}
.summary dd {
    margin: 0;
    color: var(--muted-text-color);
    font-weight: 500;
    word-break: break-word;
}
.summary dd span:empty::after {
    content: "—";
    color: #e0e0e0;
}


.is-invalid {
    border-image: linear-gradient(45deg, #e53935, #d32f2f) 1 !important;
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}
.is-invalid:focus {
    box-shadow: 0 0 0 4px rgba(229, 57, 53, 0.1) !important;
}
.is-invalid + label {
    color: #d32f2f !important;
}

.error-message {
    color: #d32f2f;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 0.5rem;
    padding-left: 0.25rem;
    animation: fadeIn 0.4s ease forwards;
    opacity: 0;
}
@keyframes fadeIn { to { opacity: 1; } }

@keyframes shake {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
  40%, 60% { transform: translate3d(4px, 0, 0); }
}


@media (max-width: 768px) {
        .location-grid {
    display: grid;
    grid-template-columns: auto;
    gap: 3rem;
    align-items: column;
}
.info-grid {
    display: grid;
    grid-template-columns: auto;
    gap: 4rem;
    align-items: center;
}
    .contentDiv {
        padding: 1.5rem;
        backdrop-filter: blur(8px);
    }
    .dateWrapper, .flex-row {
        flex-direction: column;
        gap: 0;
    }
    .dateWrapper > .subElementWrapper,
    .flex-row > [class^="flex-col-"] {
        margin-bottom: 2.5rem;
    }
    .summary dl {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .summary dt {
        margin-top: 1.5rem;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 0.25rem;
    }
    .ph-btn-summary {
        position: static;
        display: inline-block;
        margin: 1.5rem 0 0;
    }
    .form-navigation,
    .formBlock > .ph-btn {
        flex-direction: column-reverse;
        gap: 1rem;
    }
    .ph-btn {
        width: 100%;
        justify-content: center;
    }
}

:root {
    --cookie-transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --cookie-bg: rgba(248, 249, 250, 0.75);
    --cookie-border: rgba(255, 255, 255, 0.5);
    --cookie-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 25px 60px rgba(13, 61, 86, 0.2);
}

.cookie-consent {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center; 
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0s 0.4s;
}

.cookie-consent.is-visible {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0s 0s;
}

.cookie-consent__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(13, 61, 86, 0.4);
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
}

.cookie-consent__dialog {
    position: relative;
    max-width: 550px;
    width: 100%;
    background: var(--cookie-bg);
    border: 1px solid var(--cookie-border);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--cookie-shadow);
    padding: 2rem 2.5rem;
    color: var(--dark-text-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 90vh; 
    transform: scale(0.95);
    transition: var(--cookie-transition);
}

.cookie-consent__scrollable-content {
    overflow-y: auto;
    padding-right: 1rem;
    margin-right: -1rem;
}

.cookie-consent.is-visible .cookie-consent__dialog {
    transform: scale(1);
}

.cookie-consent__main, .cookie-consent__settings {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-consent__settings {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 2rem 2.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateX(30px);
    background: var(--cookie-bg);
}

.cookie-consent.settings-active .cookie-consent__main {
    opacity: 0;
    transform: translateX(-30px);
    pointer-events: none;
}

.cookie-consent.settings-active .cookie-consent__settings {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    transition-delay: 0.15s;
}

.cookie-consent__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.cookie-consent__title {
    font-size: 1.6rem;
    color: var(--primary-color-dark);
    margin: 0;
}

.cookie-consent__body p {
    color: var(--muted-text-color);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}
.cookie-consent__body p:not(:last-child){
    margin-bottom: 1rem;
}

.cookie-consent__actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.cookie-consent__btn {
    flex-grow: 1;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-md);
    font-weight: 700;
    transition: var(--transition-smooth);
    border: 2px solid var(--border-color);
    background-color: var(--white-color);
    color: var(--dark-text-color);
    cursor: pointer;
}

.cookie-consent__btn.btn--primary {
    background: var(--gradient-primary);
    color: var(--white-color);
    border-color: transparent;
    box-shadow: var(--shadow-sm);
}

.cookie-consent__btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.cookie-consent__btn.btn--primary:hover {
    filter: brightness(1.1);
}

.cookie-consent__close-btn {
    background: transparent;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: var(--muted-text-color);
    cursor: pointer;
    transition: var(--transition-fast);
}
.cookie-consent__close-btn:hover {
    color: var(--primary-color-dark);
    transform: rotate(90deg);
}


.cookie-consent__options {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cookie-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.6);
    padding: 1rem 1.25rem;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
}

.cookie-option__text h3 {
    font-size: 1.1rem;
    color: var(--primary-color-dark);
    margin: 0 0 0.25rem 0;
}
.cookie-option__text p {
    font-size: 0.85rem;
    margin: 0;
    max-width: 300px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}
.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 28px;
    background-color: var(--border-color);
}
.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
input:checked + .slider {
    background: var(--gradient-primary);
}
input:checked + .slider:before {
    transform: translateX(22px);
}
.switch.is-disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.switch.is-disabled .slider {
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .cookie-consent {
        padding: 1rem;
    }
    .cookie-consent__dialog {
        padding: 2rem 1.5rem;
        border-radius: var(--border-radius-lg); 
        max-height: 85vh;
    }
    .cookie-consent__actions {
        flex-direction: column;
    }
    .cookie-option {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

:root {
    --alert-success-bg: linear-gradient(45deg, #107869, var(--secondary-color));
    --alert-error-bg: linear-gradient(45deg, #d32f2f, #e53935);
    --alert-warning-bg: linear-gradient(45deg, #f57c00, #ff9800);
    --alert-info-bg: var(--gradient-primary);

    --alert-shadow-strong: 0 12px 28px rgba(0,0,0,0.12), 0 15px 40px rgba(13, 61, 86, 0.15);
    --alert-transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

#alert-container {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
    pointer-events: none;
}


.ph-alert {
    width: 100%;
    max-width: 420px;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    position: relative;
    overflow: hidden;
    pointer-events: auto;
    
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 1.25rem;
    
    opacity: 0;
    animation: alert-slide-in 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    transition: var(--alert-transition);
}

.ph-alert.is-exiting {
    animation: alert-slide-out 0.7s cubic-bezier(0.6, 0, 0.73, 0.04) forwards;
}

.ph-alert:hover {
    box-shadow: var(--alert-shadow-strong);
    transform: scale(1.03);
}

.ph-alert__icon {
    flex-shrink: 0;
    font-size: 1.5rem;
    margin-top: 0.15rem;
    position: relative;
    color: var(--primary-color-dark);
}

.ph-alert__icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: currentColor;
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
}

.ph-alert__content {
    flex-grow: 1;
}

.ph-alert__title {
    margin: 0 0 0.4rem 0;
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color-dark);
}

.ph-alert__message {
    margin: 0;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--muted-text-color);
    line-height: 1.6;
}

.ph-alert__close {
    flex-shrink: 0;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    margin-left: 1rem;
    align-self: flex-start;
    color: var(--muted-text-color);
    transition: all 0.3s ease;
}

.ph-alert__close:hover {
    color: var(--primary-color-dark);
    transform: rotate(90deg) scale(1.2);
}

.ph-alert__close svg {
    width: 16px;
    height: 16px;
    display: block;
}

.ph-alert__progress-bar {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    width: 100%;
    background-color: rgba(13, 61, 86, 0.1);
    transform-origin: left;
    animation-name: progress-bar-countdown;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}

.ph-alert.is-paused .ph-alert__progress-bar {
    animation-play-state: paused;
}

.ph-alert__progress-bar-inner {
    height: 100%;
    width: 100%;
    border-radius: 0 0 0 var(--border-radius-lg);
    background: var(--alert-info-bg);
    filter: drop-shadow(0 0 5px var(--primary-color));
}

.ph-alert--success .ph-alert__icon { color: var(--primary-color); }
.ph-alert--success .ph-alert__progress-bar-inner {
    background: var(--alert-success-bg);
    filter: drop-shadow(0 0 6px var(--secondary-color));
}

.ph-alert--error .ph-alert__icon { color: #d32f2f; }
.ph-alert--error .ph-alert__progress-bar-inner {
    background: var(--alert-error-bg);
    filter: drop-shadow(0 0 6px #e53935);
}

.ph-alert--warning .ph-alert__icon { color: #f57c00; }
.ph-alert--warning .ph-alert__progress-bar-inner {
    background: var(--alert-warning-bg);
    filter: drop-shadow(0 0 6px #ff9800);
}

@keyframes alert-slide-in {
    from {
        opacity: 0;
        transform: translateX(calc(100% + 1.5rem));
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes alert-slide-out {
    from {
        opacity: 1;
        transform: translateX(0);
        max-height: 200px;
    }
    to {
        opacity: 0;
        transform: translateX(50px);
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
        margin-bottom: 0;
        border-width: 0;
    }
}

@keyframes progress-bar-countdown {
    from {
        transform: scaleX(1);
    }
    to {
        transform: scaleX(0);
    }
}

@media (max-width: 576px) {
    #alert-container {
        top: 1rem;
        left: 1rem;
        right: 1rem;
        align-items: center;
    }
    .ph-alert {
        max-width: 100%;
    }
}


.appointment-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.nav-card {
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 1.5rem 1rem;
    text-align: center;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.nav-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
    background-color: var(--light-bg-color);
    text-decoration: none;
}

.nav-icon {
    font-size: 2rem;
    line-height: 1;
}

.nav-title {
    font-weight: 700;
    color: var(--primary-color-dark);
    font-family: var(--font-secondary);
}


.content-section {
    padding: 2rem 0;
    scroll-margin-top: 100px; 
}

.divider {
    border: 0;
    height: 1px;
    background: var(--border-color);
    margin: 1rem 0;
}

.highlight-bg {
    background-color: rgba(96, 180, 180, 0.1); 
    padding: 2rem;
    border-radius: var(--border-radius-md);
    border-left: 4px solid var(--secondary-color);
}

.content-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    list-style-type: disc;
    color: var(--muted-text-color);
}

.content-section ul li {
    margin-bottom: 0.5rem;
}


.thuisarts-widget-placeholder {
    background-color: #f0f0f0;
    border: 2px dashed #ccc;
    padding: 2rem;
    text-align: center;
    border-radius: var(--border-radius-md);
    margin-top: 1.5rem;
}

.primary-text {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}


.pmdd-logo-placeholder {
    background: linear-gradient(135deg, #eee 0%, #fff 100%);
    height: 200px;
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    font-weight: 700;
    color: var(--muted-text-color);
}


.call-action-box {
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin-top: 1.5rem;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.call-btn {
    font-size: 1.2rem;
    padding: 1rem 2rem;
    margin-top: 1rem;
    display: inline-block;
}

.small-note {
    font-size: 0.85rem;
    font-style: italic;
    opacity: 0.8;
}


.alert-box {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-md);
    margin-top: 1rem;
    display: inline-block;
}

@media (max-width: 576px) {
    .appointment-nav-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.ph-popup-container {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s 0.5s;
}

.ph-popup-container.is-visible {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s 0s;
}

.ph-popup__overlay {
    position: absolute;
    inset: 0;
    background-color: var(--primary-color-dark);
    opacity: 0.6;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    animation: fadeInOverlay 1s ease forwards;
}

@keyframes fadeInOverlay {
    from { opacity: 0; backdrop-filter: blur(0) saturate(100%); }
    to { opacity: 0.6; backdrop-filter: blur(16px) saturate(180%); }
}

.ph-popup__dialog {
    position: relative;
    max-width: 520px;
    width: 100%;
    padding: 3rem;
    
    background: rgba(248, 249, 250, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 
                0 15px 40px rgba(13, 61, 86, 0.2);
    
    color: var(--dark-text-color);
    text-align: center;
    overflow: hidden;
    
    transform: scale(0.9) rotateX(-15deg);
    opacity: 0;
    animation: enterPopup 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.ph-popup__dialog:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.3), 
                0 20px 50px rgba(13, 61, 86, 0.25);
}

.ph-popup__dialog.is-exiting {
    animation: exitPopup 0.6s cubic-bezier(0.6, 0.04, 0.98, 0.34) forwards;
}

@keyframes enterPopup {
    to {
        transform: scale(1) rotateX(0deg);
        opacity: 1;
    }
}

@keyframes exitPopup {
    from {
        transform: scale(1);
        opacity: 1;
    }
    to {
        transform: scale(0.85);
        opacity: 0;
    }
}

.ph-popup__icon-wrapper {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white-color);
    box-shadow: 0 10px 20px -5px rgba(16, 112, 120, 0.4);
    position: relative;
    z-index: 2;
    transform: scale(0);
    animation: popInIcon 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.6s forwards;
}

.ph-popup__icon-wrapper svg {
    width: 44px;
    height: 44px;
}

@keyframes popInIcon {
    to {
        transform: scale(1);
    }
}

.ph-popup__title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color-dark);
    margin: 0 0 1rem;
    line-height: 1.2;
}

.ph-popup__message {
    font-size: 1.05rem;
    color: var(--muted-text-color);
    line-height: 1.8;
    margin: 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.ph-popup__message a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--secondary-color);
    text-underline-offset: 3px;
}

.ph-popup__message strong {
    color: var(--primary-color-dark);
}

.ph-popup__close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--muted-text-color);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ph-popup__close-btn:hover {
    background: var(--accent-color);
    color: var(--white-color);
    transform: rotate(180deg) scale(1.2);
    box-shadow: 0 5px 15px rgba(242, 164, 141, 0.4);
}

.ph-popup__close-btn svg {
    width: 20px;
    height: 20px;
}


.ph-popup__particle-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.ph-popup__particle {
    position: absolute;
    top: var(--y);
    left: var(--x);
    width: var(--size);
    height: var(--size);
    background: var(--secondary-color);
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle var(--duration) var(--delay) infinite linear;
}

@keyframes floatParticle {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    25% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.5;
    }
    75% {
        opacity: 0.3;
    }
    100% {
        transform: translate(calc(var(--x) * -0.5), -200px);
        opacity: 0;
    }
}

.ph-popup__content {
    position: relative;
    z-index: 1;
}

.ph-popup__gloss-effect {
    position: absolute;
    top: var(--mouse-y, 50%);
    left: var(--mouse-x, 50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 60%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: top 0.2s ease-out, left 0.2s ease-out;
    opacity: 0.6;
    z-index: 0;
}

@media (max-width: 576px) {
    .ph-popup__dialog {
        padding: 2.5rem 1.5rem;
        margin: 1rem;
    }
    
    .ph-popup__title {
        font-size: 1.8rem;
    }

    .ph-popup__message {
        font-size: 0.95rem;
    }

    .ph-popup__icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .ph-popup__icon-wrapper svg {
        width: 32px;
        height: 32px;
    }
}


#seasonal-effects-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.falling-item {
    position: absolute;
    top: -10%;
    color: white;
    user-select: none;
    animation-name: fall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes fall {
    to {
        transform: translateY(110vh) rotate(360deg);
    }
}


body.event-christmas .snowflake {
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #00f;
}

body.event-easter .easter-egg {
    animation-timing-function: cubic-bezier(.62,.04,1,1.11);
}

body.event-halloween .leaf {
    color: #e66c2c;
    animation-name: fall-sway;
}

@keyframes fall-sway {
    0% {
        transform: translateY(-10vh) translateX(0) rotate(0deg);
    }
    100% {
        transform: translateY(110vh) translateX(calc(100px * (sin(var(--i, 1) * 1.5rad)))) rotate(720deg);
    }
}


body.event-kingsday {
    --primary-color-dark: #C04000;
    --primary-color: #E66C2C;  
    --secondary-color: #FFA500; 
    --accent-color: #D2691E;  
    --gradient-primary: linear-gradient(45deg, var(--primary-color-dark), var(--primary-color));
}

body.event-kingsday .btn-primary {
    box-shadow: 0 5px 20px rgba(230, 108, 44, 0.4);
}

:root {
    --faq-bg-color: #F8F9FA;
    --faq-card-bg: var(--white-color);
    --faq-accent-gradient: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    --faq-shadow-light: 0 4px 12px rgba(0, 0, 0, 0.05);
    --faq-shadow-medium: 0 8px 25px rgba(13, 61, 86, 0.08);
    --faq-border-color: var(--border-color);
    --faq-animation-curve: cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-page {
    background-color: var(--faq-bg-color);
}

.faq-hero {
    position: relative;
    padding: 8rem 0;
    text-align: center;
    color: var(--white-color);
    background: url('https://images.pexels.com/photos/7108112/pexels-photo-7108112.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2') no-repeat center center/cover;
    overflow: hidden;
}

.faq-hero__overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0.9;
    z-index: 1;
}

.faq-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    animation: pulse 8s infinite ease-in-out;
    z-index: 2;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.5); opacity: 0.15; }
    100% { transform: scale(1); opacity: 0.1; }
}

.faq-hero__content {
    position: relative;
    z-index: 3;
}

.faq-hero__title {
    color: var(--white-color);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s var(--faq-animation-curve) 0.2s backwards;
}

.faq-hero__subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 650px;
    margin: 0 auto;
    animation: fadeInUp 0.8s var(--faq-animation-curve) 0.4s backwards;
}

.faq-main-content {
    padding: 6rem 0;
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.faq-controls {
    margin-bottom: 4rem;
    display: grid;
    gap: 2rem;
    align-items: center;
    grid-template-columns: 1fr auto;
}

.faq-search-wrapper {
    position: relative;
}

#faq-search {
    width: 100%;
    height: 60px;
    padding: 0 2rem 0 3.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    border: 1px solid var(--faq-border-color);
    border-radius: var(--border-radius-lg);
    background-color: var(--faq-card-bg);
    box-shadow: var(--faq-shadow-light);
    transition: all 0.3s var(--faq-animation-curve);
}

#faq-search:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(96, 180, 180, 0.15), var(--faq-shadow-medium);
    transform: translateY(-2px);
}

.faq-search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    color: var(--muted-text-color);
    transition: color 0.3s ease;
    pointer-events: none;
}

#faq-search:focus + .faq-search-icon {
    color: var(--primary-color);
}

.faq-filter-tabs {
    display: flex;
    gap: 0.75rem;
    background-color: var(--light-bg-color);
    border-radius: var(--border-radius-md);
    padding: 0.5rem;
    border: 1px solid var(--faq-border-color);
}

.faq-filter-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    border: none;
    background-color: transparent;
    color: var(--muted-text-color);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all 0.3s var(--faq-animation-curve);
    position: relative;
}

.faq-filter-btn:hover {
    color: var(--primary-color-dark);
}

.faq-filter-btn.is-active {
    background: var(--faq-accent-gradient);
    color: var(--white-color);
    box-shadow: 0 5px 15px rgba(16, 112, 120, 0.2);
    transform: scale(1.05);
}

.faq-grid {
    display: grid;
    gap: 1.5rem;
}

.faq-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s var(--faq-animation-curve) forwards;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.15s; }
.faq-item:nth-child(3) { animation-delay: 0.2s; }
.faq-item:nth-child(4) { animation-delay: 0.25s; }
.faq-item:nth-child(5) { animation-delay: 0.3s; }
.faq-item:nth-child(6) { animation-delay: 0.35s; }


.faq-item details {
    background-color: var(--faq-card-bg);
    border: 1px solid var(--faq-border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--faq-shadow-light);
    transition: all 0.3s var(--faq-animation-curve);
    position: relative;
    overflow: hidden;
}

.faq-item details:hover {
    transform: translateY(-5px);
    box-shadow: var(--faq-shadow-medium);
    border-color: var(--secondary-color);
}

.faq-item details[open] {
    box-shadow: var(--faq-shadow-medium);
    border-color: var(--primary-color);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.75rem 2rem;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-color-dark);
    list-style: none;
    transition: color 0.2s ease;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-chevron {
    width: 20px;
    height: 20px;
    color: var(--secondary-color);
    transition: transform 0.4s var(--faq-animation-curve);
    flex-shrink: 0;
    margin-left: 1rem;
}

details[open] > summary .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 2rem 2rem 2rem;
    color: var(--muted-text-color);
    line-height: 1.8;
    overflow: hidden;
    animation: fadeInAnswer 0.5s ease forwards;
}

@keyframes fadeInAnswer {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.faq-answer p {
    margin: 0;
}

.faq-no-results {
    text-align: center;
    padding: 4rem 2rem;
    background-color: var(--faq-card-bg);
    border-radius: var(--border-radius-lg);
    border: 1px dashed var(--faq-border-color);
}

.faq-no-results h3 {
    color: var(--primary-color-dark);
    font-size: 1.5rem;
}

.faq-cta {
    padding: 6rem 0;
}

.faq-cta__content {
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    padding: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px -15px rgba(16, 112, 120, 0.4);
}

.faq-cta__icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    margin-bottom: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white-color);
}

.faq-cta__icon svg {
    width: 36px;
    height: 36px;
}

.faq-cta__title {
    color: var(--white-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.faq-cta__text {
    color: rgba(255, 255, 255, 0.85);
    max-width: 500px;
    margin: 0 auto 2rem;
}

.faq-cta__content .btn-primary {
    background-color: var(--white-color);
    color: var(--primary-color);
}

.faq-cta__content .btn-primary:hover {
    background-color: var(--light-bg-color);
    color: var(--primary-color-dark);
}

@media (max-width: 992px) {
    .faq-controls {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .faq-hero {
        padding: 6rem 0;
    }
    .faq-main-content {
        padding: 4rem 0;
    }
    .faq-filter-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }
    .faq-question {
        font-size: 1.05rem;
        padding: 1.5rem;
    }
    .faq-answer {
        padding: 0 1.5rem 1.5rem;
    }
    .faq-cta__content {
        padding: 3rem 1.5rem;
    }
    .faq-cta__title {
        font-size: 2rem;
    }
}


@media (max-width: 1024px) {
    .single-team-member--details {
        grid-template-columns: 1fr;
    }
    .single-team-member--thumbnail {
        position: static;
        grid-row: 1;
        margin-bottom: 3rem;
        height: auto;
    }
    .single-team-member--title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .content-title {
        font-size: 2.2rem;
    }
    .contentDiv {
        padding: 1.5rem;
    }
    html {
        font-size: 93.75%;
    }
    .hero {
        height: auto;
        min-height: 60vh;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    main > section {
        padding: 4rem 0;
    }
}

@media (max-width: 576px) {
    .employee-wrap {
        grid-template-columns: 1fr;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn {
        width: 100%;
        max-width: 300px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .appointment-nav-grid {
        grid-template-columns: 1fr 1fr;
    }
}