:root {
    /* Colors from original site */
    --color-primary: #2abfc3;
    --color-text: #333333;
    --color-background: #ffffff;
    --color-accent: #FFC7BA;
    --color-border: #e3e3e3;
    
    /* Typography */
    --font-heading: 'trend-sans-w00-four', sans-serif;
    --font-body: 'Poppins', sans-serif;
    
    /* Layout */
    --site-width: 1280px;
    --header-height: 70px;
    --wix-ads-height: 0px;
    
    /* Z-indices */
    --z-header: 100;
    --z-overlay: 1000;
}

/* Base Styles */
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
    min-height: calc(100vh - var(--wix-ads-height));
    margin: 0;
    padding: 100px 0 0;
    position: relative;
}

/* Layout */
.container {
    max-width: var(--site-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--color-background);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: var(--z-header);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: var(--site-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.logo img {
    height: 6rem;
    width: auto;
}

/* Navigation */
.nav-menu {
    display: flex;
    gap: 3rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--color-primary);
}

.nav-cta {
    color: var(--color-primary) !important;
    font-weight: 600 !important;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 1.5rem 3rem;
    background-color: var(--color-primary);
    color: var(--color-background);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover,
.cta-button:focus {
    background: var(--color-secondary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(17, 109, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding-bottom: 1rem;
    }
    
    .hero-image {
        margin-top: 2rem;
        margin-bottom: 1rem;
    }
} 

.background-group {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
}

.background-media {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
}

.background-media-container {
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: rgba(255, 255, 255, 0.4);
}

.background-media-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    position: fixed;
    top: 0;
    left: 0;
}

/* Popup Styles */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    position: relative;
    width: 90%;
    max-width: 800px;
    text-align: center;
}

.popup-content h2 {
    color: var(--color-text);
    font-size: 2.4rem;
    margin-bottom: 2rem;
}

.popup-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.popup-button {
    flex: 1;
    min-width: 200px;
    padding: 2rem;
    border: 2px solid var(--color-primary);
    border-radius: 4px;
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.3s ease;
}

.popup-button:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

.popup-button h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.popup-button p {
    font-size: 1.4rem;
    opacity: 0.8;
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2.4rem;
    cursor: pointer;
    color: var(--color-text);
    padding: 0.5rem;
}

.popup-close:hover {
    color: var(--color-primary);
}

.popup-overlay.active {
    display: flex;
}

/* Mobile styles for popup */
@media screen and (max-width: 768px) {
    .popup-content {
        padding: 2rem 1rem;
        margin: 1rem;
        max-height: 90vh;
        overflow-y: auto;
    }

    .location-card {
        padding: 1.5rem;
        margin: 1rem 0;
    }

    .location-details {
        font-size: 1.4rem;
    }

    .hours ul {
        margin: 0;
        padding: 0.5rem;
    }

    .popup-content h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .popup-buttons {
        gap: 1rem;
    }

    .popup-button {
        min-width: 100%;
        padding: 1.5rem;
    }

    .popup-button h3 {
        font-size: 1.6rem;
    }

    .popup-button p {
        font-size: 1.3rem;
    }
}

.location-card {
    background: rgba(17, 109, 255, 0.05);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.location-card h3 {
    color: var(--color-primary);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.location-details {
    font-size: 1.6rem;
    line-height: 1.6;
}

.location-details p {
    margin-bottom: 1.5rem;
    text-align: center;
}

.location-details a {
    color: var(--color-primary);
    text-decoration: none;
}

.location-details a:hover {
    text-decoration: underline;
}

.hours {
    margin: 2rem 0;
}

.hours h4 {
    color: var(--color-primary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
}

.hours ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.hours li {
    margin: 0.5rem 0;
}

.book-button {
    display: block;
    background: var(--color-primary);
    color: white !important;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-align: center;
    margin-top: 2rem;
    transition: background 0.3s ease;
}

.book-button:hover {
    background: var(--color-secondary);
    text-decoration: none !important;
}

@media screen and (max-width: 768px) {
    .popup-content {
        padding: 2rem;
    }

    .location-card {
        padding: 1.5rem;
    }
}

/* Improve link accessibility */
a:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img.loaded {
    opacity: 1;
}

.section-title {
    color: #2abfc3;
}

/* Make all icons and text consistent */
.fa-solid {
    font-size: 3.5rem;
    color: #2abfc3;
    margin-right: 8px;
    vertical-align: middle;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

.fa-suitcase-medical {
    font-size: 3.5rem;
    color: #2abfc3;
    margin-right: 8px;
    vertical-align: middle;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

/* Ensure all titles have consistent styling */
.technique-item h3 {
    color: #2abfc3;
    font-size: 24px;
    margin-bottom: 18px;
    text-align: center;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

/* Ensure icon and text alignment */
.technique-item h3 i {
    margin-right: 8px;
    margin-top: -2px; /* Fine-tune vertical alignment */
}

.icon {
    font-size: 2.5rem;
    color: #2abfc3;
    margin-right: 8px;
    vertical-align: middle;
}

/* Ensure that the header does not overlap content */
main {
    padding-top: 120px; /* Adjust based on header height */
}

/* Additional styles for mobile responsiveness */
@media screen and (max-width: 768px) {
    /* Adjustments for mobile view */
    main {
        padding-top: 100px; /* Adjust based on header height */
    }
}