/* Import Color System */
@import url('color.css');

/* Import Custom Fonts */
@font-face {
    font-family: 'The Silver Editorial';
    src: url('fonts/TheSilverEditorial-Regular.eot');
    src: local('The Silver Editorial Regular'), local('TheSilverEditorial-Regular'),
        url('fonts/TheSilverEditorial-Regular.eot?#iefix') format('embedded-opentype'),
        url('fonts/TheSilverEditorial-Regular.woff2') format('woff2'),
        url('fonts/TheSilverEditorial-Regular.woff') format('woff'),
        url('fonts/TheSilverEditorial-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'The Silver Editorial';
    src: url('fonts/TheSilverEditorial-Italic.eot');
    src: local('The Silver Editorial Italic'), local('TheSilverEditorial-Italic'),
        url('fonts/TheSilverEditorial-Italic.eot?#iefix') format('embedded-opentype'),
        url('fonts/TheSilverEditorial-Italic.woff2') format('woff2'),
        url('fonts/TheSilverEditorial-Italic.woff') format('woff'),
        url('fonts/TheSilverEditorial-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    font-size: 0.9rem;
    color: var(--text-primary);
    background-color: var(--background-main);
}

/* Typography */
.accent {
    color: var(--accent-primary);
}

h1.accent {
    color: var(--base-900); /* Pure white */
}

h1.discretion {
    color: var(--text-subtle);
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(4rem, 8vw, 6.5rem);
    line-height: 1;
    margin-bottom: 0;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    margin-bottom: 0.75rem;
    color: var(--accent-primary);
}

/* Typography Additions */
.ampersand {
    font-style: italic;
    font-family: 'Playfair Display', serif;
}

/* Logo */
.logo,
.site-header .logo {
    font-family: 'The Silver Editorial', serif !important;
    font-size: 2.2rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    font-feature-settings: "liga" 1, "kern" 1;
    text-rendering: optimizeLegibility;
    text-decoration: none;
}

.logo:hover {
    color: var(--accent-primary);
}

/* Scroll logo - hidden on landing and light sections; shown only on dark sections after scroll */
.scroll-logo {
    visibility: hidden;
}

.site-header.scrolled.over-dark .scroll-logo {
    visibility: visible;
}

/* Main landing logo */
.main-logo {
    font-family: 'The Silver Editorial';
    font-style: normal;
    font-size: clamp(5rem, 12vw, 9rem);
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin: 0 0 2rem 0;
    line-height: 1;
    font-weight: 400;
    font-feature-settings: "liga" 1, "kern" 1;
    text-rendering: optimizeLegibility;
}

.landing-logo {
    margin-bottom: 1rem;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 2rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.site-header .logo,
.site-header .main-nav a,
.site-header .language-selector select {
    color: var(--base-400); /* Dark blue for light backgrounds */
    position: relative;
}

/* When over dark sections */
.site-header.over-dark .logo,
.site-header.over-dark .main-nav a,
.site-header.over-dark .language-selector select {
    color: var(--base-100);
    opacity: 0.95; /* Slight transparency for softer appearance */
}

.site-header.over-dark .logo:hover {
    color: var(--base-100);
    opacity: 1;
}

/* Hover effects */
.site-header .main-nav a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header .main-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-content {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 4rem;
    align-items: center;
}

/* Temporarily hide language selector */
.language-selector {
    display: none;
}

.language-selector select {
    background: transparent;
    border: 1px solid currentColor;
    color: inherit;
    padding: 0.25rem 0.5rem;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    border-radius: 2px;
    transition: color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.language-selector select:focus {
    outline: none;
    opacity: 1;
}

/* Ensure language selector is visible on landing section */
.site-header:not(.over-dark) .language-selector select {
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.main-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

/* Hero-specific header styles */
.hero-section .site-header .logo,
.hero-section .site-header .main-nav a {
    color: var(--base-100); /* Warm off-white */
}

.main-nav a:hover {
    opacity: 0.7;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background-color: var(--base-400);
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    gap: 6rem;
    align-items: center;
    position: relative;
}

.hero-titles {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-left: 3.5rem;
}

.hero-titles h1 {
    margin: 0;
    line-height: 1.2;
    color: var(--base-100);
}

.hero-titles h1.discretion {
    color: rgba(248, 243, 234, 0.4);
}

.hero-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 500px;
    height: 100%;
    padding-top: 2.5rem;
    color: var(--base-100);
}

.hero-text p {
    margin: 0;
    color: var(--base-100);
}

.hero-text .subtitle {
    margin-top: auto;
    padding-top: 1.5rem;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: rgba(248, 243, 234, 0.7);
}

.hero-image {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    margin-left: auto;
    padding-top: 7.5rem;
    padding-bottom: 5.5rem;
    padding-right: 3.5rem;
}

.hero-img {
    width: auto;
    max-width: 360px;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
}

.hero-image-caption {
    color: var(--base-100);
    font-size: 1rem;
    text-align: center;
    margin: 0;
    opacity: 0.9;
    width: 100%;
}

/* Section Styles */
.section-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 8rem 6rem;
}

/* About Section */
.about-section {
    background-color: var(--background-main);
}

.about-features {
    display: flex;
    gap: 8rem;
    margin-top: 6rem;
    flex-wrap: wrap;
}

.feature {
    flex: 1;
    min-width: 300px;
}

/* About Me Section */
.about-me-section {
    background-color: var(--background-main);
    color: var(--text-primary);
}

.about-me-section .about-grid {
    display: flex;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-me-section .about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-me-section .profile-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

.about-me-section .about-text {
    flex: 1;
}

.about-me-section .about-text h2 {
    color: var(--base-400);
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.about-me-section .about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-primary);
}

/* Customer Journey Section */
.customer-journey-section {
    background-color: var(--base-400);
    color: var(--base-100);
}

.customer-journey-section h2,
.customer-journey-section .accent,
.customer-journey-section p {
    color: var(--base-100);
}

.customer-journey-section .section-content {
    max-width: 70%;
    padding: 8rem 8rem;
}

.customer-journey-content {
    text-align: justify;
    width: 100%;
}

.customer-journey-content h2 {
    text-align: center;
}

.customer-journey-section h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 2.5rem;
    line-height: 1.2;
}

.customer-journey-text {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.95;
    max-width: 100%;
    -webkit-hyphens: none;
    hyphens: none;
    word-break: normal;
    overflow-wrap: break-word;
    white-space: normal;
    margin-bottom: 2.5rem;
}

.customer-journey-text::before {
    content: '';
    display: inline;
}

/* Prevent line breaks at hyphens using zero-width space trick */
.customer-journey-content {
    word-spacing: normal;
}

.customer-journey-phone {
    text-align: center;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    opacity: 0.95;
    margin-top: 2.5rem;
    margin-bottom: 0;
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    letter-spacing: -0.02em;
}

/* Services Section */
.services-section {
    background-color: var(--background-subtle);
    color: var(--text-primary);
    padding: 0 0 8rem;
    position: relative;
    z-index: 20;
}

.services-intro {
    font-size: 1.25rem;
    margin-bottom: 4rem;
    opacity: 0.9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-item {
    padding: 3rem;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
    display: block;
    color: inherit;
}

/* Service-specific colors */
.service-item[data-service="health"] {
    background-color: var(--service-health);
    color: var(--text-inverse);
}

.service-item[data-service="health"]:hover {
    background-color: var(--service-health-hover);
}

.service-item[data-service="concierge"] {
    background-color: var(--service-concierge);
    color: var(--text-inverse);
}

.service-item[data-service="concierge"]:hover {
    background-color: var(--service-concierge-hover);
}

.service-item[data-service="nextgen"] {
    background-color: var(--service-nextgen);
    color: var(--text-inverse);
}

.service-item[data-service="nextgen"]:hover {
    background-color: var(--service-nextgen-hover);
}

.service-item[data-service="events"] {
    background-color: var(--service-events);
    color: var(--text-inverse);
}

.service-item[data-service="events"]:hover {
    background-color: var(--service-events-hover);
}

.service-item[data-service="security"] {
    background-color: var(--service-security);
    color: var(--text-inverse);
}

.service-item[data-service="security"]:hover {
    background-color: var(--service-security-hover);
}

.service-item[data-service="education"] {
    background-color: var(--service-education);
    color: var(--text-inverse);
}

.service-item[data-service="education"]:hover {
    background-color: var(--service-education-hover);
}

.service-item:hover {
    transform: translateY(-4px);
}

.service-item h3,
.service-item h4 {
    color: inherit;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 400;
    letter-spacing: -0.02em;
}

.service-item h4 {
    font-size: clamp(1.1rem, 1.8vw, 1.3rem);
}

.service-summary {
    color: inherit;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.service-summary br {
    line-height: 1.6;
    margin: 0;
    padding: 0;
}


@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .main-nav ul {
        gap: 2rem;
    }
}

/* Clients Section */
.clients-section {
    background-color: var(--color-background-accent);
    color: var(--color-text-dark);
}

.clients-text {
    font-size: 2rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.4;
}

/* Contact Section */
.contact-section {
    background-color: var(--base-400); /* Deep navy background */
    color: var(--base-1100); /* Warm off-white text - F4F1EA */
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.contact-section .section-content {
    max-width: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.contact-section h2,
.contact-section .accent,
.contact-section p {
    color: var(--base-1100); /* Ensure all text is warm off-white */
}

.contact-section h2 {
    text-align: center;
}

.contact-intro {
    margin: 2rem 0;
    max-width: 600px;
    text-align: center;
    line-height: 1.6;
}

.contact-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    margin: 2.5rem 0;
    flex-wrap: wrap;
}

.contact-button {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 2px;
    border: 1px solid var(--base-1100);
}

.contact-button.primary-button {
    background-color: var(--base-1100);
    color: var(--base-400);
    border-color: var(--base-1100);
}

.contact-button.primary-button:hover {
    background-color: transparent;
    color: var(--base-1100);
}

.contact-button.secondary-button {
    background-color: transparent;
    color: var(--base-1100);
    border-color: var(--base-1100);
}

.contact-button.secondary-button:hover {
    background-color: var(--base-1100);
    color: var(--base-400);
}

.inquire-button {
    background-color: transparent;
    border: 1px solid var(--base-1100);
    color: var(--base-1100);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 2rem 0;
    border-radius: 2px;
}

.inquire-button:hover {
    background-color: var(--base-1100);
    color: var(--base-400);
    text-decoration: none;
}

/* Service contact section improvements */
.service-contact {
    background-color: var(--base-400);
    color: var(--base-1100);
    padding: 6rem 0;
}

.service-contact .contact-grid {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.service-contact .contact-text {
    flex: 1;
    max-width: 600px;
}

.service-contact .contact-image {
    flex: 1;
    height: 400px;
    background: linear-gradient(135deg, var(--base-500) 0%, var(--base-600) 100%);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.service-contact .contact-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.service-contact .section-label {
    color: var(--base-800);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: block;
}

.service-contact h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--base-1100);
    line-height: 1.2;
}

.service-contact .contact-intro {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--base-900);
    margin-bottom: 2rem;
}

.locations {
    margin-top: 4rem;
    text-align: center;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

/* Footer */
.site-footer {
    background-color: var(--color-background-secondary);
    color: #000000;
    padding: 3rem;
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: 'The Silver Editorial', serif;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.footer-info {
    text-align: right;
    font-size: 0.75rem;
    opacity: 0.8;
}

.footer-info p:first-child {
    margin-bottom: 0.5rem;
}

/* Landing Section */
.landing-section {
    min-height: 100vh;
    background-color: var(--background-secondary);
    color: var(--text-light);
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: center;
    overflow: visible;
    z-index: 20;
}

.landing-content {
    flex: 1;
    position: relative;
    z-index: 2;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.landing-title {
    margin-bottom: 3rem;
}

.landing-taglines {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        var(--color-olive) 0%,
        var(--color-background-secondary) 100%);
    opacity: 0.9;
    z-index: 1;
}

/* Scroll indicator - minimal chevron using two thin lines */
.scroll-indicator {
    position: absolute;
    bottom: 6rem;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 5; /* below header but above landing content */
}

.scroll-indicator .chevron {
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 16px solid var(--text-primary);
    opacity: 0.8;
}

/* Subtle pulse to draw attention, but keep it discreet */
@keyframes chevronPulse {
    0%, 100% { opacity: 0.5; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(4px); }
}

.scroll-indicator .chevron {
    animation: chevronPulse 2.4s ease-in-out infinite;
}

.main-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.accent-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.1;
    color: var(--color-accent-primary);
}

.primary-tagline {
    font-size: clamp(1rem, 1.8vw, 1.5rem);
    font-weight: 300;
    letter-spacing: -0.01em;
    line-height: 1.4;
}

.secondary-tagline {
    font-size: clamp(0.75rem, 1.2vw, 0.875rem);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content {
        padding: 8rem 4rem;
        flex-direction: column;
        gap: 4rem;
    }

    .service-color-strip {
        width: 80px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .large-title {
        font-size: clamp(4rem, 12vw, 8rem);
    }
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
    }

    .main-nav {
        display: none;
    }
    
    .hero-section {
        padding: 6rem 2rem;
    }

    .hero-content {
        padding: 4rem 2rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-titles {
        padding-left: 0;
        align-items: center;
    }

    .hero-image {
        margin-left: 0;
        padding: 2.5rem 0 3rem 0;
    }
    
    .section-content {
        padding: 4rem 2rem;
        max-width: 100%;
    }

    .customer-journey-section .section-content {
        padding: 4rem 2rem;
        max-width: 100%;
    }

    .main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    
    .accent-title {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
    }

    .landing-title {
        margin-bottom: 3rem;
    }

    .landing-taglines {
        gap: 1.5rem;
    }

    .contact-section h2 {
        font-size: clamp(2rem, 4vw, 3rem);
    }
    
    .contact-intro {
        font-size: clamp(1.1rem, 1.8vw, 1.5rem);
        margin-bottom: 3rem;
        padding: 0 2rem;
    }
    
    .inquire-button {
        padding: 1.1rem 3rem;
    }

    .service-contact .contact-grid {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }

    .service-contact .contact-image {
        height: 300px;
        order: -1;
    }

    .service-contact h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-color-strip {
        height: 12px;
    }
    
    .landing-content {
        padding: 2rem 2rem;
    }

    .about-me-section .about-grid {
        flex-direction: column;
        text-align: center;
    }

    .about-me-section .about-text {
        text-align: justify;
        order: 1;
    }

    .about-me-section .about-text h2 {
        text-align: center;
    }

    .about-me-section .about-image {
        margin-bottom: 2rem;
        order: 2;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        align-items: center;
    }

    .footer-info {
        text-align: center;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-content {
    animation: fadeIn 1s ease-out;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(43, 58, 103, 0.85);
    z-index: 1000;
    display: none;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
    display: none;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content {
    background: var(--background-elevated);
    padding: 4rem;
    border-radius: 2px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Service-specific modal styling */
#modal-health .modal-content {
    border-left: 6px solid var(--service-health);
}

#modal-concierge .modal-content {
    border-left: 6px solid var(--service-concierge);
}

#modal-nextgen .modal-content {
    border-left: 6px solid var(--service-nextgen);
}

#modal-events .modal-content {
    border-left: 6px solid var(--service-events);
}

#modal-security .modal-content {
    border-left: 6px solid var(--service-security);
}

#modal-education .modal-content {
    border-left: 6px solid var(--service-education);
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-primary);
    opacity: 0.5;
    transition: opacity 0.3s ease;
    padding: 0.5rem;
    line-height: 1;
}

.modal-close:hover {
    opacity: 1;
}

.modal h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.modal-intro {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--text-subtle);
    line-height: 1.6;
}

.service-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.detail-item {
    padding: 1.5rem;
    background: var(--background-subtle);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.detail-item:hover {
    transform: translateY(-4px);
}

.detail-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.detail-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-subtle);
    margin: 0;
}

body.modal-open {
    overflow: hidden;
}

/* Service-specific accent colors for modal titles */
#modal-health .accent {
    color: var(--service-health);
}

#modal-concierge .accent {
    color: var(--service-concierge);
}

#modal-nextgen .accent {
    color: var(--service-nextgen);
}

#modal-events .accent {
    color: var(--service-events);
}

@media (max-width: 768px) {
    .modal-content {
        padding: 3rem 2rem;
    }
    
    .service-details {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .modal h2 {
        font-size: 2rem;
    }
    
    .modal-intro {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
}

.services-section h2 {
    color: var(--base-400);
}

.service-section.concierge {
    background-color: var(--service-concierge);
}

.service-section.concierge,
.service-section.concierge h2,
.service-section.concierge p {
    color: var(--base-900); /* Light text for all elements */
}

.service-section.concierge:hover {
    background-color: var(--service-concierge-hover);
}

/* Color Strip */
.service-color-strip {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 24px;
    display: flex;
    flex-direction: column;
    margin-top: auto;
}

.color-box {
    flex: 1;
    height: 100%;
}

.color-box.health {
    background-color: var(--service-health);
}

.color-box.concierge {
    background-color: var(--service-concierge);
}

.color-box.nextgen {
    background-color: var(--service-nextgen);
}

.color-box.red-band {
    background-color: #A43655;
}

.color-box.charcoal-band {
    background-color: #264653;
}

.color-box.events {
    background-color: var(--service-events);
}

.color-box.security {
    background-color: var(--service-security);
}

.color-box.education {
    background-color: var(--service-education);
}
