:root {
    --primary: #2A7A7A;
    --primary-dark: #1D5A5A;
    --primary-light: #E5F5F5;
    --primary-transparent: rgba(42, 122, 122, 0.1);
    --secondary: #C88240;
    --secondary-dark: #A66830;
    --gold: #D4AF37;
    --gold-light: #F5EDD1;
    --dark: #2F3B3B;
    --dark-80: rgba(47, 59, 59, 0.8);
    --light: #F8F5F0;
    --gray: #E0E0E0;
    --gray-dark: #767676;
    --white: #FFFFFF;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-gold: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 30px;
    --radius-xl: 50px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Increased from 30px to account for fixed header */
    -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape */
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 300;
    width: 100%;
    min-width: 320px; /* Prevent extreme narrowing */
    max-width: 100vw; /* Prevent horizontal scrolling */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.02em;
    word-wrap: break-word;
}

img {
    max-width: 100%;
    height: auto; /* Maintain aspect ratio */
    display: block; /* Remove extra space below images */
}

.container {
    width: 100%; /* Changed from 90% to 100% for better mobile support */
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    overflow: hidden; /* Prevent horizontal scroll */
}

.btn {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    font-weight: 500;
    padding: 16px 30px;
    border-radius: var(--radius-xl);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
    margin: 5px 0;
    text-align: center;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--gradient);
    transition: all 0.4s cubic-bezier(0.42, 0, 0.58, 1);
    opacity: 0;
    z-index: -1;
}

.btn:hover {
    color: var(--white);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn:hover:before {
    opacity: 1;
    width: 100%;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:before {
    background: var(--white);
}

/* Header */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
    background: transparent;
    backdrop-filter: none;
}

header.scrolled {
    background: var(--white) !important;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
}

/* Add background-specific styling hooks */
body.dark-bg .nav-links a {
    color: var(--white);
}

body.light-bg .nav-links a {
    color: var(--dark);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 20px;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
    position: relative;
}

.logo img {
    height: 60px;
    transition: var(--transition);
    max-width: 100%;
    filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.5));
    object-fit: contain;
}

header.scrolled .logo img {
    height: 50px;
    filter: none;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--white); /* White color for visibility */
    margin: 6px 0;
    transition: var(--transition);
    box-shadow: 0px 1px 3px rgba(0,0,0,0.5); /* Add shadow for better visibility */
}

header.scrolled .nav-toggle span {
    background-color: var(--dark); /* Change color when scrolled */
    box-shadow: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
    align-items: center;
}

.nav-links li {
    position: relative;
    margin: 0 10px;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    padding: 8px 0;
    margin: 0 16px;
    position: relative;
    letter-spacing: 0.05em;
    transition: var(--transition);
    text-transform: uppercase;
    white-space: nowrap;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s cubic-bezier(0.58, 0.3, 0.005, 1);
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-links a:hover:after,
.nav-links a.active:after {
    width: 100%;
}

/* Style the Book Appointment button to be more prominent */
header .btn {
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--white);
    padding: 12px 24px;
    text-shadow: 0px 1px 2px rgba(0,0,0,0.3);
    align-self: center;
    white-space: nowrap;
    margin: 0 0 0 15px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

header.scrolled .nav-links a {
    text-shadow: none;
    color: var(--dark);
}

header.scrolled .btn {
    border-color: transparent;
}

header .btn:hover {
    color: var(--white);
    border-color: var(--white);
}

header .btn:hover:before {
    width: 100%;
    opacity: 1;
}

/* Hero Section with luxury styling */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0; /* Removed all padding */
    color: var(--white);
    overflow: hidden;
    background-color: var(--dark);
    margin-top: 0; /* Ensure no margin at top */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(135deg, rgba(42, 122, 122, 0.9), rgba(47, 59, 59, 0.95));
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border: none;
    z-index: 1;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin-top: 40px; /* Added some top margin to content */
}

.hero-tagline {
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--gold-light);
    position: relative;
    display: inline-block;
    opacity: 0.6;
}

.hero-tagline::before, .hero-tagline::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 25px;
    height: 1px;
    background: var(--gold);
    opacity: 0.7;
}

.hero-tagline::before {
    right: 100%;
    margin-right: 15px;
}

.hero-tagline::after {
    left: 100%;
    margin-left: 15px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 8vw, 4.5rem);
    font-weight: 400;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 3vw, 1.2rem);
    font-weight: 400;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-subtitle span {
    display: block;
    margin-bottom: 5px;
}

.hero .btn {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.hero .btn:hover {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

/* About Section */
.about {
    padding: 100px 0 120px;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* Section transitions and animations */
.section-transition {
    transition: opacity 0.8s ease, transform 0.8s ease;
    opacity: 0;
    transform: translateY(30px);
}

.section-transition.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation for content elements */
.hero-tagline, .hero-title, .hero-subtitle, .hero .btn {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.hero-title {
    animation-delay: 0.2s;
}

.hero-subtitle {
    animation-delay: 0.4s;
}

.hero .btn {
    animation-delay: 0.6s;
}

/* Smooth section color transitions */
section {
    position: relative;
    overflow: hidden;
    transition: background-color 1.2s ease;
    width: 100%;
    max-width: 100%; /* Ensure no section overflows */
    padding-left: 0;
    padding-right: 0;
}

.section-header {
    margin-bottom: 40px;
    position: relative;
    text-align: center;
    margin-top: 5px;
    width: 100%;
    padding: 0 15px;
    overflow: visible;
}

.section-tagline {
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
    padding: 0 40px;
    font-family: 'Montserrat', sans-serif;
}

.section-tagline:before, .section-tagline:after {
    content: "";
    position: absolute;
    top: 50%;
    width: 20px;
    height: 1px;
    background: var(--gold);
    opacity: 0.8;
}

.section-tagline:before {
    left: 10px;
}

.section-tagline:after {
    right: 10px;
}

.section-title {
    font-size: 2.5rem;
    line-height: 1.25;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1.2em;
    position: relative;
    font-family: 'Playfair Display', serif;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}

/* Removed decorative line for cleaner, premium look */

.section-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    color: #8a8a8a;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

/* About Hero Section */
.about-hero {
    text-align: center;
    margin-bottom: 80px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about-tagline {
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
    padding: 0 40px;
    font-family: 'Montserrat', sans-serif;
}

.about-tagline:before, .about-tagline:after {
    content: "";
    position: absolute;
    top: 50%;
    width: 20px;
    height: 1px;
    background: var(--gold);
    opacity: 0.8;
}

.about-tagline:before {
    left: 10px;
}

.about-tagline:after {
    right: 10px;
}

.about-main-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 8vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    color: #333;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
}

.about-intro {
    max-width: 750px;
    margin: 0 auto;
}

.about-intro-text {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 3vw, 1.2rem);
    font-weight: 400;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

/* About Expertise Section */
.about-expertise {
    margin-bottom: 80px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.expertise-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 400;
    color: #333;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: -0.01em;
}

.expertise-content {
    max-width: 800px;
    margin: 0 auto;
}

.expertise-text {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 3vw, 1.1rem);
    font-weight: 400;
    line-height: 1.7;
    color: #666;
    text-align: center;
    margin-bottom: 40px;
}

/* Commitment Box - Highlighted Section */
.commitment-box {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 40px 50px;
    margin: 40px auto;
    max-width: 700px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    transition: all 0.3s ease;
    cursor: default;
}

.commitment-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #d4af37, #e6c158);
    border-radius: 2px;
}

.commitment-box p {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 3vw, 1.1rem);
    font-weight: 400;
    line-height: 1.7;
    color: #555;
    text-align: center;
    margin: 0;
}

/* About Quote Section */
.about-quote {
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
    padding-top: 40px;
}

.quote-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.1rem, 4vw, 1.4rem);
    font-weight: 400;
    line-height: 1.6;
    color: #555;
    margin: 0;
    position: relative;
    font-style: italic;
}

.credentials-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.credentials {
    background-color: var(--light);
    border-radius: var(--radius-md);
    padding: 35px 30px; /* Adjusted padding */
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    width: 100%;
}

.credentials:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.credentials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
}

.credentials h4 {
    font-size: clamp(1.4rem, 3.5vw, 1.8rem); /* Responsive font size */
    margin-bottom: 25px; /* Reduced margin */
    color: var(--dark);
    position: relative;
    display: inline-block;
}

.credentials h4:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    width: 100%;
    margin-top: 8px; /* Add space from title */
}

.credential-card {
    display: flex;
    align-items: center;
    padding: 16px 18px; /* More generous padding */
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    min-height: 56px; /* Consistent card height */
}

.credential-card:hover {
    transform: translateX(5px);
    border-left: 3px solid var(--primary);
    background-color: rgba(255, 255, 255, 0.9);
}

.credential-icon {
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-gold);
    color: white;
    font-size: 14px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.credential-card:hover .credential-icon {
    transform: scale(1.1);
}

.credential-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-dark);
    line-height: 1.4;
}

/* Services Section - Premium Modern Layout */
.services {
    padding: 100px 0 120px 0;
    background: linear-gradient(135deg, #fafbfc 0%, #ffffff 50%, #fafbfc 100%);
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Services Section with Premium Cards Layout */
.services-expandable-container {
    display: flex;
    flex-direction: row;
    max-width: 1500px;
    margin: 0 auto;
    gap: 20px;
    align-items: stretch;
    padding: 0 20px;
}

.expandable-card {
    flex: 1;
    border-radius: 0;
    background-color: var(--white);
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(42, 122, 122, 0.06), 0 2px 16px rgba(42, 122, 122, 0.04);
    border: 1px solid rgba(42, 122, 122, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    user-select: none;
    transform: translateY(0);
    min-height: 650px;
    max-height: 650px; /* Ensure both cards have same height */
    margin: 0;
}





.card-header {
    padding: 80px 60px;
    background-color: transparent;
    position: relative;
    z-index: 2;
    border: none;
    cursor: pointer;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}



.card-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 4vw, 3.2rem);
    margin: 0 0 32px 0;
    color: var(--primary);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-transform: uppercase;
    position: relative;
}



/* Premium card subtitle design */
.card-subtitle-grid {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.85rem, 1.4vw, 1rem);
    font-weight: 400;
    color: #6B7280;
    line-height: 1.7;
    letter-spacing: 0.3px;
    margin: 0;
    max-width: 550px;
    text-align: center;
    position: relative;
}

.concern-tag, .service-tag {
    display: inline;
    font-weight: 400;
    color: #6B7280;
    position: relative;
    transition: color 0.3s ease;
}

.concern-tag:hover, .service-tag:hover {
    color: var(--primary);
}

.concern-tag:not(:last-child):after, 
.service-tag:not(:last-child):after {
    content: ' · ';
    color: var(--primary);
    font-weight: 300;
    margin: 0 12px;
    opacity: 0.4;
    font-size: 1.2em;
}

/* Legacy subtitle support for any remaining instances */
.card-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    font-weight: 400;
    color: #666;
    line-height: 1.6;
    margin: 0;
    max-width: 800px;
}

.card-content {
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 0;
    opacity: 0;
}

/* Enhanced Fullscreen Modal Styles for Cards */
.expandable-card.expanded {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important; /* Fallback for browsers not supporting dvh */
    height: 100dvh !important; /* Dynamic viewport height */
    max-width: none !important;
    max-height: none !important;
    border-radius: 0 !important;
    z-index: 99999 !important;
    background: #ffffff !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    animation: modalSlideIn 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: none !important;
    border: none !important;
    overflow: hidden !important; /* Modal itself should not scroll */
}

.expandable-card.expanded::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh; /* Fallback */
    height: 100dvh; /* Cover dynamic viewport height */
    background: rgba(0, 0, 0, 0.95) !important; /* Darker backdrop for better isolation */
    z-index: -1 !important; /* Ensure backdrop is behind modal content */
    animation: backdropFadeIn 0.4s ease-out;
}

/* Enhanced Modal Header Design */
.expandable-card.expanded .card-header {
    display: flex !important;
    align-items: center !important;
    padding: 20px 25px !important; /* More generous padding */
    border-bottom: 1px solid #e5e5e5 !important;
    position: relative !important;
    flex-shrink: 0 !important;
    background: #ffffff !important;
    min-height: 80px; /* Taller header for better proportion */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important; /* Subtle shadow for depth */
}

/* Back Arrow Button */
.expandable-card.expanded .card-close {
    position: absolute !important;
    top: 50% !important;
    left: 20px !important; /* Positioned on the left as a back button */
    transform: translateY(-50%) !important;
    width: 44px !important; /* Larger touch target */
    height: 44px !important;
    background: transparent !important; /* Remove background */
    border: 2px solid var(--primary) !important; /* Add border */
    border-radius: 50% !important;
    cursor: pointer !important;
    z-index: 1000 !important;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.expandable-card.expanded .card-close:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    transform: translateY(-50%) scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(42, 122, 122, 0.3) !important;
}

/* Back Arrow Icon */
.expandable-card.expanded .card-close:before,
.expandable-card.expanded .card-close:after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    background-color: var(--primary) !important;
    transition: all 0.3s ease !important;
}

.expandable-card.expanded .card-close:before {
    width: 3px !important;
    height: 14px !important;
    transform: translate(-50%, -50%) rotate(45deg) !important;
    margin-left: 2px !important; /* Slight offset for arrow shape */
}

.expandable-card.expanded .card-close:after {
    width: 3px !important;
    height: 14px !important;
    transform: translate(-50%, -50%) rotate(-45deg) !important;
    margin-left: 2px !important; /* Slight offset for arrow shape */
}

.expandable-card.expanded .card-close:hover:before,
.expandable-card.expanded .card-close:hover:after {
    background-color: #ffffff !important; /* White arrow on hover */
}

/* Enhanced Modal Title */
.expandable-card.expanded .card-title {
    flex-grow: 1 !important;
    font-size: 1.5rem !important; /* Larger title */
    color: var(--primary) !important;
    margin: 0 !important;
    padding-left: 80px !important; /* Space for back button */
    padding-right: 20px !important; /* Space from right edge */
    text-align: center !important; /* Center the title */
    font-weight: 600 !important;
    font-family: 'Playfair Display', serif !important;
    line-height: 1.3 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
}

/* Hide subtitle in modal for cleaner look */
.expandable-card.expanded .card-subtitle-grid {
    display: none !important;
}

/* Enhanced Modal Content */
.expandable-card.expanded .card-content {
    flex: 1 !important;
    overflow-y: auto !important; /* Allow content scrolling */
    padding: 30px 25px !important; /* Generous padding */
    background: #ffffff !important;
    margin: 0 !important;
    opacity: 1 !important;
    height: auto !important;
    /* Enhanced scrollbar styling */
    scrollbar-width: thin !important;
    scrollbar-color: var(--primary) transparent !important;
}

/* Webkit scrollbar styling for modal content */
.expandable-card.expanded .card-content::-webkit-scrollbar {
    width: 6px !important;
}

.expandable-card.expanded .card-content::-webkit-scrollbar-track {
    background: transparent !important;
}

.expandable-card.expanded .card-content::-webkit-scrollbar-thumb {
    background-color: var(--primary) !important;
    border-radius: 3px !important;
}

.expandable-card.expanded .card-content::-webkit-scrollbar-thumb:hover {
    background-color: #1a5a5a !important;
}

/* Enhanced Content Groups */
.expandable-card.expanded .concern-group,
.expandable-card.expanded .service-group {
    margin-bottom: 40px !important; /* More space between groups */
    padding: 25px !important; /* Add padding */
    background: #fafafa !important; /* Light background */
    border-radius: 12px !important; /* Rounded corners */
    border: 1px solid #e5e5e5 !important; /* Subtle border */
    transition: all 0.3s ease !important;
}

.expandable-card.expanded .concern-group:hover,
.expandable-card.expanded .service-group:hover {
    background: #f0f8f8 !important; /* Slightly tinted on hover */
    border-color: var(--primary) !important;
    transform: translateY(-2px) !important; /* Subtle lift effect */
    box-shadow: 0 4px 12px rgba(42, 122, 122, 0.1) !important;
}

.expandable-card.expanded .concern-group::before,
.expandable-card.expanded .service-group::before {
    display: none !important; /* Remove any existing pseudo-elements */
}

/* Enhanced Group Titles */
.expandable-card.expanded .concern-title,
.expandable-card.expanded .service-title {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.3rem !important;
    font-weight: 600 !important;
    color: var(--primary) !important;
    margin-bottom: 20px !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid var(--primary) !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
}

/* Enhanced Service Lists */
.expandable-card.expanded .concern-services,
.expandable-card.expanded .service-items {
    columns: 1 !important; /* Single column for better readability */
    column-gap: 0 !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.expandable-card.expanded .concern-services li,
.expandable-card.expanded .service-items li {
    display: flex !important;
    align-items: flex-start !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid #e5e5e5 !important;
    transition: all 0.3s ease !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    color: #333 !important;
    position: relative !important;
    padding-left: 25px !important; /* Space for bullet */
}

.expandable-card.expanded .concern-services li:before,
.expandable-card.expanded .service-items li:before {
    content: '•' !important;
    position: absolute !important;
    left: 0 !important;
    top: 12px !important;
    color: var(--primary) !important;
    font-weight: bold !important;
    font-size: 1.2em !important;
}

.expandable-card.expanded .concern-services li:last-child,
.expandable-card.expanded .service-items li:last-child {
    border-bottom: none !important;
}

.expandable-card.expanded .concern-services li:hover,
.expandable-card.expanded .service-items li:hover {
    color: var(--primary) !important;
    background: rgba(42, 122, 122, 0.05) !important;
    padding-left: 30px !important; /* Slight indent on hover */
    border-radius: 6px !important;
}

@media (min-width: 500px) {
    .expandable-card.expanded .concern-services,
    .expandable-card.expanded .service-items {
        column-count: 2; /* 2 columns for wider small screens */
    }
}

@media (min-width: 769px) { /* Tablet and up */
    .expandable-card.expanded .card-header {
        padding: 20px 25px !important;
        min-height: 70px;
    }
    .expandable-card.expanded .card-title {
        font-size: 1.5rem !important; /* Larger for web */
        padding-right: 55px !important; /* More space for larger close button */
    }
    .expandable-card.expanded .card-subtitle-grid {
        font-size: 1rem !important;
        padding-right: 55px !important;
    }
    .expandable-card.expanded .card-close {
        right: 20px !important;
        width: 40px !important;
        height: 40px !important;
    }
    .expandable-card.expanded .card-close:before,
    .expandable-card.expanded .card-close:after {
        height: 20px !important;
    }
    .expandable-card.expanded .card-content {
        padding: 25px !important;
    }
    .expandable-card.expanded .concern-services,
    .expandable-card.expanded .service-items {
        column-count: 2; /* Maintain 2 columns or increase */
    }
}

@media (min-width: 1024px) { /* Desktop */
    .expandable-card.expanded .concern-services,
    .expandable-card.expanded .service-items {
        column-count: 3; /* 3 columns for desktop */
    }
}


.expandable-card.expanded .concern-services li,
.expandable-card.expanded .service-items li {
    font-size: 0.9rem; /* Adjusted size */
    line-height: 1.5;
    padding: 6px 0;
    margin-bottom: 5px;
    color: var(--dark);
    font-weight: 400;
    break-inside: avoid-column;
    transition: all 0.2s ease;
    border-radius: 4px;
    padding-left: 0;
    position: relative;
}

.expandable-card.expanded .concern-services li:hover,
.expandable-card.expanded .service-items li:hover {
    color: var(--primary);
    transform: translateX(6px); /* Adjusted hover effect */
    background: rgba(42, 122, 122, 0.04);
    padding-left: 10px;
}

.expandable-card.expanded .card-content::after {
    content: '';
    display: block;
    height: 30px; /* Reduced extra space at the bottom */
    width: 100%;
}

.concerns-list, .services-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0;
    width: 100%;
}

.concern-group, .service-group {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    width: 100%;
}

.concern-group:last-child, .service-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.concern-title, .service-title {
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
    margin-bottom: 12px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.concern-services, .service-items {
    list-style: none;
    padding: 0;
    margin: 0;
    column-count: 3;
    column-gap: 40px;
    column-width: 240px;
    width: 100%;
}

.concern-services li, .service-items li {
    font-size: 0.88rem;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    padding: 4px 0;
    margin-bottom: 3px;
    transition: all 0.2s ease;
    break-inside: avoid-column;
    position: relative;
}

.concern-services li:hover, .service-items li:hover {
    color: var(--primary);
    transform: translateX(4px);
}

/* Service details styling */
.service-detail {
    display: block;
    font-size: 0.8rem;
    font-weight: 300;
    color: var(--gray-dark);
    margin-top: 2px;
    opacity: 0.9;
    padding-left: 2px;
}

/* Sub-items styling for nested lists */
.sub-item {
    padding-left: 20px !important;
    position: relative;
}

.sub-item:before {
    content: '';
    position: absolute;
    left: 6px;
    top: 16px;
    width: 8px;
    height: 1px;
    background-color: var(--gray-dark);
    opacity: 0.6;
}

/* Card Status Indicator - make it smaller */
.card-status-indicator {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 10px;
    vertical-align: middle;
}

/* Main Modal Close Button - Fix positioning for all devices */
.card-close {
    position: absolute !important;
    right: 25px !important;
    top: 25px !important;
    transform: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 999999 !important;
    background: var(--primary) !important;
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

.close-text {
    display: none;
}

.card-close:before, .card-close:after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    height: 22px;
    width: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.card-close:before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.card-close:after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.card-close:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a4a4a 100%);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(42, 122, 122, 0.4), 0 4px 12px rgba(42, 122, 122, 0.3);
}

.card-close:hover:before, .card-close:hover:after {
    background-color: white;
    height: 24px;
    width: 3px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .card-header {
        padding: 40px 30px;
    }
    
    .card-title {
        margin-bottom: 15px;
    }
    
    /* Improved desktop modal header spacing */
    .expandable-card.expanded .card-header {
        padding: 40px 80px 30px 40px !important;
    }
    
    .card-close {
        right: 20px !important;
        top: 20px !important;
        width: 42px !important;
        height: 42px !important;
    }
}

/* Additional breakpoint for tablets in portrait mode */
@media (max-width: 992px) and (min-width: 769px) {
    .expandable-card.expanded .card-header {
        padding: 60px 75px 35px 35px !important;
    }
    
    .expandable-card.expanded .card-title {
        font-size: 1.7rem !important;
        line-height: 1.3 !important;
    }
    
    .expandable-card.expanded .card-content {
        padding: 35px !important;
    }
}

@media (max-width: 768px) {
    /* Stacked premium layout on mobile */
    .services {
        padding: 60px 0 80px 0;
        min-height: auto;
    }
    
    .services-expandable-container {
        flex-direction: column;
        height: auto;
        gap: 16px;
        padding: 0 16px;
    }
    
    .expandable-card {
        width: 100%;
        min-height: 420px; /* Consistent height for both cards */
        max-height: 420px; /* Ensure equal heights */
        border-radius: 0;
        border: 1px solid rgba(42, 122, 122, 0.08);
    }
    
    .card-header {
        padding: 40px 30px; /* Reduced padding for balanced look */
        height: 100%; /* Fill available space evenly */
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .card-title {
        font-size: clamp(2rem, 5vw, 2.8rem); /* Consistent title sizing */
        margin-bottom: 20px; /* Consistent spacing */
    }
    
    .card-subtitle-grid {
        font-size: 0.9rem;
        line-height: 1.6;
        max-width: 400px;
    }
    
    .concern-tag, .service-tag {
        font-size: 0.9rem; /* Consistent tag sizing */
    }
    
    .concern-tag:not(:last-child):after, 
    .service-tag:not(:last-child):after {
        margin: 0 8px;
    }
    
    .expandable-card:hover {
        transform: translateY(-8px) scale(1.01);
        box-shadow: 0 20px 60px rgba(42, 122, 122, 0.15), 0 8px 30px rgba(42, 122, 122, 0.1);
    }
}

@media (max-width: 576px) {
    .services {
        padding: 40px 0 60px 0;
    }
    
    .services-expandable-container {
        padding: 0 12px;
        gap: 12px;
    }
    
    .expandable-card {
        min-height: 400px;
        border-radius: 0;
    }
    
    .card-header {
        padding: 40px 24px;
    }
    
    .card-title {
        font-size: clamp(2rem, 6vw, 2.4rem);
        margin-bottom: 24px;
    }
    
    .card-subtitle-grid {
        font-size: 0.9rem;
        line-height: 1.6;
        max-width: 320px;
    }
    
    .concern-tag:not(:last-child):after, 
    .service-tag:not(:last-child):after {
        margin: 0 6px;
    }
    
    .expandable-card:hover {
        transform: translateY(-6px) scale(1.01);
        box-shadow: 0 15px 50px rgba(42, 122, 122, 0.12), 0 6px 25px rgba(42, 122, 122, 0.08);
    }
}

/* Schedule Section */
.schedule {
    padding: 60px 0 80px; /* Reduced padding */
    background-color: var(--white);
    position: relative;
    width: 100%;
}

.schedule::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 500px;
    height: 500px;
    background: var(--primary-transparent);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.7;
}

.schedule-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px; /* Reduced margin */
    position: relative;
    z-index: 1;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    gap: 10px; /* Add gap for wrapped items */
}

.schedule-tab {
    padding: 12px 20px; /* Reduced padding */
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.8rem, 2vw, 0.9rem); /* Responsive font size */
    font-weight: 600;
    color: var(--gray-dark);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    white-space: nowrap; /* Prevent text wrapping */
}

.schedule-tab.active {
    color: var(--primary);
}

.schedule-tab:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.schedule-tab.active:after {
    width: 40px;
}

.schedule-content {
    display: none;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0 20px;
}

.schedule-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.schedule-day {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px; /* Reduced padding */
    border-bottom: 1px solid var(--gray);
    transition: var(--transition);
    border-radius: var(--radius-sm);
    width: 100%;
}

.schedule-day:hover {
    background-color: var(--primary-light);
    transform: translateX(10px);
    box-shadow: var(--shadow-sm);
}

.schedule-day:last-child {
    border-bottom: none;
}

.day {
    font-size: clamp(1rem, 2.5vw, 1.2rem); /* Responsive font size */
    font-weight: 600;
    color: var(--dark);
}

.time {
    font-size: clamp(1rem, 2.5vw, 1.2rem); /* Responsive font size */
    color: var(--primary);
    font-weight: 500;
}

/* Testimonials with premium styling */
.testimonials {
    padding: 120px 0;
    background-color: var(--light);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(135deg, rgba(248, 245, 240, 0.9), rgba(248, 245, 240, 0.95));
    z-index: 0;
}

.testimonial-slider {
    position: relative;
    max-width: 900px;
    margin: 60px auto 0;
    z-index: 1;
}

.testimonial-slide {
    opacity: 0;
    position: absolute;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out;
    padding: 60px 40px;
    text-align: center;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.testimonial-slide.active {
    opacity: 1;
    position: relative;
    visibility: visible;
}

.testimonial-quote {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 30px;
    font-weight: 300;
    color: var(--dark);
    position: relative;
    padding: 0 40px;
}

.testimonial-quote::before,
.testimonial-quote::after {
    font-family: 'Playfair Display', serif;
    position: absolute;
    font-size: 4rem;
    line-height: 1;
    color: var(--gold);
    opacity: 0.3;
}

.testimonial-quote::before {
    content: '"';
    left: -10px;
    top: -20px;
}

.testimonial-quote::after {
    content: '"';
    right: -10px;
    bottom: -50px;
}

.testimonial-author {
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary);
    letter-spacing: 1px;
}

.testimonial-role {
    font-size: 0.9rem;
    color: var(--gray-dark);
    font-weight: 300;
    margin-bottom: 20px;
}

.testimonial-navigation {
    display: flex;
    justify-content: center;
    margin-top: 30px; /* Reduced margin */
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    margin: 0 8px;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot.active {
    background-color: var(--primary);
    transform: scale(1.3);
}

/* Contact Section */
.contact {
    padding: 120px 0;
    position: relative;
    background-color: var(--dark);
    color: var(--white);
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(135deg, rgba(47, 59, 59, 0.97), rgba(42, 122, 122, 0.9));
    z-index: 0;
}

.contact .section-header {
    position: relative;
    z-index: 1;
}

.contact .section-tagline {
    color: var(--gold-light);
}

.contact .section-title {
    color: var(--white);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    position: relative;
    z-index: 1;
    margin-top: 60px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--white);
    position: relative;
    padding-bottom: 15px;
}

.contact-info h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--gold);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--gold);
    margin-right: 20px;
    background: rgba(212, 175, 55, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-details h4 {
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--gold-light);
}

.contact-details p {
    color: var(--light);
    font-weight: 300;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--white);
    position: relative;
    padding-bottom: 15px;
}

.contact-form h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--gold);
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.submit-btn {
    background: var(--gold);
    color: var(--dark);
    border: none;
    padding: 16px 32px;
    border-radius: var(--radius-xl);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    width: 100%;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.submit-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient);
    transition: width 0.4s cubic-bezier(0.42, 0, 0.58, 1);
    opacity: 0;
    z-index: -1;
}

.submit-btn:hover {
    color: var(--white);
    transform: translateY(-3px);
}

.submit-btn:hover:before {
    width: 100%;
    opacity: 1;
}

/* Footer with luxury styling */
footer {
    background-color: var(--dark);
    padding: 80px 0 40px;
    color: var(--white);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(47, 59, 59, 0.98), rgba(29, 37, 37, 0.98));
    z-index: 0;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-top > div {
    flex: 1;
    min-width: 240px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 35px;
    margin-bottom: 20px;
    object-fit: contain;
}

.footer-desc {
    margin-bottom: 30px;
    color: var(--light);
    font-weight: 300;
    line-height: 1.6;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--gold);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.social-link:hover {
    background: var(--gold);
    color: var(--dark);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--white);
    position: relative;
    padding-bottom: 15px;
    letter-spacing: 1px;
}

.footer-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gold);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--light);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding-left: 15px;
    display: inline-block;
}

.footer-links a:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
}

.footer-links a:hover {
    color: var(--gold);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 1;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--white);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 99;
    font-size: 1.2rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--gold);
    color: var(--dark);
    transform: translateY(-5px);
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes modalSlideInMobile {
    from {
        opacity: 0;
        transform: translateY(100vh) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes backdropFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Enhanced mobile modal isolation */
body.modal-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}

body.modal-open * {
    -webkit-overflow-scrolling: touch;
}

/* Prevent any interaction with background content on mobile */
@media (max-width: 768px) {
    body.modal-open > *:not(.expandable-card.expanded) {
        pointer-events: none !important;
        user-select: none !important;
    }
    
    body.modal-open .expandable-card.expanded {
        pointer-events: auto !important;
        user-select: auto !important;
    }
}

/* Web-only improvements (desktop/tablet) */
@media (min-width: 769px) {
    /* Make hero subtitle text lighter and thinner on web */
    .hero-subtitle {
        font-weight: 300; /* Lighter/thinner font */
        color: rgba(255, 255, 255, 0.85); /* 1 shade lighter than pure white */
    }
    
    /* Reduce about main title size on web */
    .about-main-title {
        font-size: clamp(2.2rem, 6vw, 3.8rem); /* Reduced from 4.5rem max to 3.8rem */
    }
}

/* Media Queries - Enhanced for better responsiveness */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 4rem; /* Reduced font size */
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .container {
        padding: 0 15px; /* Reduced padding */
    }
}

@media (max-width: 992px) {
    .header-container {
        height: 60px;
    }
    
    .logo img {
        height: 45px;
    }
    
    header.scrolled .logo img {
        height: 40px;
    }
    
    .nav-links li {
        margin: 0 5px;
    }
    
    .nav-links a {
        margin: 0 10px;
        font-size: 0.85rem;
    }
    
    .hero-title {
        font-size: 3.5rem; /* Reduced font size */
    }
    
    .hero-subtitle {
        font-size: 1.1rem; /* Reduced font size */
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px; /* Reduced gap */
    }
    
    .credentials-list li:before {
        margin-right: 10px; /* Reduced margin */
    }
    
    /* Adjust services grid to one column on tablet */
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 600px; /* Limit max width */
        margin: 0 auto;
    }
    
    .service-content {
        padding: 25px; /* Reduced padding */
    }
    
    .section-title {
        font-size: 2.3rem; /* Reduced font size */
    }
    
    /* Center contact form headings */
    .contact-info h3:after,
    .contact-form h3:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-info h3,
    .contact-form h3 {
        display: block;
        text-align: center;
    }
    
    /* Adjust contact info items for tablet */
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-icon {
        margin: 0 0 15px 0; /* Adjusted margin */
    }
}

@media (max-width: 768px) {
    /* Mobile header & navigation */
    .nav-toggle {
        display: block;
        position: relative;
        z-index: 1001;
    }
    
    .nav-toggle span {
        background-color: var(--white); /* Make hamburger icon white */
    }
    
    header.scrolled .nav-toggle span {
        background-color: var(--dark); /* Change hamburger icon color when scrolled */
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        padding: 80px 30px;
        transition: all 0.4s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-links {
        flex-direction: column;
        margin-right: 0;
        margin-bottom: 25px;
        width: 100%;
        height: auto;
    }
    
    .nav-links li {
        margin: 12px 0;
        width: 100%;
        text-align: center;
        height: auto;
    }
    
    .nav-links a {
        font-size: 1rem;
        color: var(--dark) !important;
        display: block;
        padding: 8px 0;
        width: 100%;
        text-shadow: none;
        margin: 0;
    }
    
    .nav-menu .btn {
        width: 100%;
        text-align: center;
        border: none;
        margin: 10px 0 0 0;
    }
    
    /* Mobile section adjustments */
    .hero {
        min-height: 480px; /* Reduced height */
        padding: 100px 0 60px; /* Adjusted padding */
    }
    
    .hero-title {
        font-size: 2.8rem; /* Reduced font size */
    }
    
    .hero-subtitle {
        font-size: 1rem; /* Further reduced font size */
        margin-bottom: 30px; /* Reduced margin */
    }
    
    .section-title {
        font-size: 2rem; /* Reduced font size */
    }
    
    .about, .services, .schedule, .testimonials, .contact {
        padding: 50px 0 70px; /* Reduced padding */
    }
    
    /* Make schedule days stack on mobile */
    .schedule-day {
        flex-direction: column;
        text-align: center;
        padding: 15px; /* Reduced padding */
    }
    
    .day {
        margin-bottom: 8px;
    }
    
    /* Mobile testimonial adjustments */
    .testimonial-quote {
        font-size: 1.3rem; /* Reduced font size */
        padding: 0 15px; /* Reduced padding */
    }
    
    .testimonial-slide {
        padding: 30px 15px; /* Reduced padding */
    }
    
    /* Footer mobile adjustments */
    .footer-top {
        gap: 30px; /* Reduced gap */
    }
    
    /* Contact form mobile adjustments */
    .contact-form {
        padding: 25px 20px; /* Reduced padding */
    }
}

@media (max-width: 576px) {
    /* Extra small device adjustments */
    .hero-title {
        font-size: 2.2rem; /* Further reduced font size */
        margin-bottom: 20px; /* Reduced margin */
    }
    
    .hero-subtitle {
        font-size: 1.2rem; /* Reduced font size */
        margin-bottom: 30px; /* Reduced margin */
    }
    
    .hero-tagline {
        font-size: 0.8rem; /* Reduced font size */
        letter-spacing: 5px; /* Reduced letter spacing */
    }
    
    .section-title {
        font-size: 1.8rem; /* Further reduced font size */
    }
    
    .section-tagline {
        font-size: 0.8rem; /* Reduced font size */
    }
    
    .section-subtitle {
        font-size: 0.9rem; /* Reduced font size */
    }
    
    .btn {
        padding: 14px 25px; /* Further reduced padding */
        font-size: 0.85rem; /* Reduced font size */
    }
    
    /* Further adjust credentials and service cards */
    .credentials, 
    .service-content {
        padding: 25px 20px; /* Further reduced padding */
    }
    
    /* Collapse service list to single column on very small screens */
    .service-list {
        columns: 1;
    }
    
    /* Further adjust testimonials */
    .testimonial-quote {
        font-size: 1.2rem; /* Further reduced font size */
    }
    
    .testimonial-quote::before,
    .testimonial-quote::after {
        font-size: 3.5rem; /* Reduced quote marks size */
    }
    
    /* Fixed positioning for back to top button */
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
    
    /* Schedule tabs on mobile */
    .schedule-tab {
        padding: 10px 15px;
        font-size: 0.8rem;
    }
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
    .hero {
        height: -webkit-fill-available;
    }
}

/* Promos Section */
.promos {
    padding: 100px 0;
    position: relative;
    background-color: var(--light);
}

.promos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: -1;
}

.promos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.promo-card {
    background: var(--white);
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.promo-header {
    background: var(--primary-transparent);
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: relative;
}

.promo-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(65, 176, 176, 0.15) 0%, rgba(243, 156, 87, 0.15) 100%);
    z-index: -1;
}

.promo-title {
    color: transparent;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0;
}

.promo-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.original-price {
    font-size: 1.2rem;
    color: var(--gray-dark);
    text-decoration: line-through;
    font-weight: 400;
}

.discounted-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
}

.promo-badge {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    background: var(--gradient);
    padding: 5px 15px;
    border-radius: var(--radius-sm);
}

.promo-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.promo-description {
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-align: center;
}

.promo-urgency {
    font-size: 0.9rem;
    color: var(--secondary-dark);
    font-weight: 500;
    margin-bottom: 25px;
    text-align: center;
    font-style: italic;
}

.promo-button {
    margin-top: auto;
    text-align: center;
}

.promo-button .btn {
    width: 100%;
    border: 1px solid var(--primary);
    background: var(--white);
    color: var(--primary);
    padding: 12px 24px;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
}

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

@media (max-width: 992px) {
    .promos-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .promos {
        padding: 20px 0 70px;
    }
    
    .promo-header, 
    .promo-content {
        padding: 20px;
    }
    
    .promo-title {
        font-size: 1.3rem;
    }
    
    .original-price {
        font-size: 1rem;
    }
    
    .discounted-price {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .promo-header, 
    .promo-content {
        padding: 15px;
    }
    
    .promo-description {
        font-size: 1rem;
    }
    
    .promo-urgency {
        font-size: 0.85rem;
    }
}

/* Make "Discover Our Services" button text white on hover */
.btn-discover {
    background: var(--primary);
    color: var(--white);
}

.btn-discover:hover {
    color: var(--white) !important;
    background: transparent;
}

.btn-discover:before {
    background: var(--gradient);
}

@media (max-width: 1200px) {
    .concern-services, .service-items {
        column-count: 3;
        column-gap: 30px;
    }
}

@media (max-width: 992px) {
    .concern-services, .service-items {
        column-count: 2;
        column-gap: 25px;
    }
}

@media (max-width: 768px) {
    .expandable-card.expanded {
        /* Force complete takeover with true isolation */
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        max-width: 100vw !important;
        max-height: 100vh !important;
        z-index: 999999 !important;
        margin: 0 !important;
        border-radius: 0 !important;
        transform: none !important;
        animation: modalSlideInMobile 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    }
    
    /* Enhanced backdrop for mobile isolation */
    .expandable-card.expanded::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        z-index: -1;
        opacity: 1;
        animation: backdropFadeIn 0.4s ease-out;
    }
    
    .expandable-card.expanded .card-header {
        padding: 15px 20px !important;
        background: #ffffff !important;
        border-bottom: 1px solid #e5e5e5 !important;
        position: relative !important;
        flex-shrink: 0 !important;
        min-height: 70px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    }
    
    /* Mobile Back Button */
    .expandable-card.expanded .card-close {
        left: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 36px !important;
        height: 36px !important;
        border: 2px solid var(--primary) !important;
        background: transparent !important;
        position: absolute !important;
        z-index: 1000 !important;
    }

    .expandable-card.expanded .card-close:before {
        width: 2.5px !important;
        height: 12px !important;
        margin-left: 1.5px !important;
    }

    .expandable-card.expanded .card-close:after {
        width: 2.5px !important;
        height: 12px !important;
        margin-left: 1.5px !important;
    }
    
    /* Mobile Title */
    .expandable-card.expanded .card-title {
        font-size: 1.2rem !important;
        margin: 0 !important;
        line-height: 1.3 !important;
        padding-left: 65px !important; /* Space for mobile back button */
        padding-right: 15px !important;
        text-align: center !important;
    }
    
    /* Mobile Content */
    .expandable-card.expanded .card-content {
        padding: 20px 15px !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        flex: 1 !important;
        background: #ffffff !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    /* Mobile Content Groups */
    .expandable-card.expanded .concern-group,
    .expandable-card.expanded .service-group {
        margin-bottom: 25px !important;
        padding: 20px 15px !important;
    }

    .expandable-card.expanded .concern-title,
    .expandable-card.expanded .service-title {
        font-size: 1.1rem !important;
        margin-bottom: 15px !important;
        padding-bottom: 8px !important;
    }

    .expandable-card.expanded .concern-services li,
    .expandable-card.expanded .service-items li {
        padding: 12px 0 !important;
        font-size: 0.95rem !important;
        padding-left: 20px !important;
        margin-bottom: 8px !important;
    }

    .expandable-card.expanded .concern-services li:before,
    .expandable-card.expanded .service-items li:before {
        top: 12px !important;
    }
}

@media (max-width: 576px) {
    .expandable-card.expanded .card-header {
        padding: 12px 15px !important;
        min-height: 60px !important;
    }
    
    .expandable-card.expanded .card-close {
        left: 12px !important;
        width: 32px !important;
        height: 32px !important;
    }
    
    .expandable-card.expanded .card-close:before,
    .expandable-card.expanded .card-close:after {
        width: 2px !important;
        height: 10px !important;
        margin-left: 1px !important;
    }
    
    .expandable-card.expanded .card-title {
        font-size: 1.1rem !important;
        line-height: 1.2 !important;
        padding-left: 55px !important;
        padding-right: 12px !important;
    }
    
    .expandable-card.expanded .card-content {
        padding: 15px 12px !important;
    }
    
    .expandable-card.expanded .concern-group,
    .expandable-card.expanded .service-group {
        margin-bottom: 20px !important;
        padding: 15px 12px !important;
    }

    .expandable-card.expanded .concern-title,
    .expandable-card.expanded .service-title {
        font-size: 1rem !important;
        margin-bottom: 12px !important;
        padding-bottom: 6px !important;
    }

    .expandable-card.expanded .concern-services li,
    .expandable-card.expanded .service-items li {
        padding: 10px 0 !important;
        font-size: 0.9rem !important;
        padding-left: 18px !important;
        margin-bottom: 6px !important;
    }

    .expandable-card.expanded .concern-services li:before,
    .expandable-card.expanded .service-items li:before {
        top: 10px !important;
        font-size: 1em !important;
    }
}

.expandable-card:hover:not(.expanded) {
    cursor: pointer;
    z-index: 3;
    box-shadow: 0 20px 60px rgba(42, 122, 122, 0.15), 0 8px 30px rgba(42, 122, 122, 0.1);
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(42, 122, 122, 0.2);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(248, 250, 252, 1) 100%);
}

.expandable-card:hover:not(.expanded) .card-title {
    color: var(--primary-dark);
    transform: translateY(-4px) scale(1.03);
    text-shadow: 0 2px 8px rgba(42, 122, 122, 0.15);
}

.expandable-card:hover:not(.expanded) .card-subtitle-grid {
    color: var(--primary);
    transform: translateY(-2px);
}

/* Add top margin to the first service category */
.concerns-list > div:first-child, 
.services-list > div:first-child {
    margin-top: 10px;
}

/* Media queries for responsive layout */
@media (max-width: 992px) {
    .credentials-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .credentials-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .credential-card {
        padding: 10px 12px;
    }
    
    .credential-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    

}

@media (max-width: 576px) {
    .about {
        padding: 40px 0 60px;
    }
    
    .credential-card {
        padding: 8px 10px;
    }
    
    .credential-icon {
        width: 24px;
        height: 24px;
        font-size: 11px;
        margin-right: 10px;
    }
    
    .credential-text {
        font-size: 0.85rem;
    }
}

/* RADICAL NEW MODAL SYSTEM - Simple & Clean */
.fullscreen-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.fullscreen-modal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Modal Header */
.modal-header {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e5e5e5;
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 80px;
}

/* Back Button */
.modal-back-btn {
    width: 44px;
    height: 44px;
    border: 2px solid var(--primary);
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.modal-back-btn:hover {
    background: var(--primary);
    transform: scale(1.05);
}

.modal-back-btn svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.modal-back-btn:hover svg {
    color: #ffffff;
}

/* Modal Title */
.modal-title {
    flex: 1;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
    padding: 0 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Modal Content - Simple and Clean */
.modal-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #ffffff;
}

/* Simple content styles in modal */
.modal-content .concerns-list,
.modal-content .services-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    width: 100%;
}

.modal-content .concern-group,
.modal-content .service-group {
    margin-bottom: 15px;
    padding: 0;
    background: transparent;
}

.modal-content .concern-title,
.modal-content .service-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-content .concern-services,
.modal-content .service-items {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2;
    column-gap: 30px;
}

.modal-content .concern-services li,
.modal-content .service-items li {
    padding: 4px 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #333;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    break-inside: avoid-column;
}

.modal-content .service-detail {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-top: 2px;
}

.modal-content .sub-item {
    padding-left: 15px;
    font-size: 0.85rem;
}

/* Custom scrollbar for modal */
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.modal-content::-webkit-scrollbar-thumb {
    background-color: var(--primary);
    border-radius: 3px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .modal-header {
        padding: 15px;
        min-height: 70px;
    }
    
    .modal-back-btn {
        width: 36px;
        height: 36px;
    }
    
    .modal-title {
        font-size: 1.2rem;
        padding: 0 15px;
    }
    
    .modal-content {
        padding: 15px 15px 60px 15px; /* Added extra bottom padding for mobile */
    }
    
    .modal-content .concern-group,
    .modal-content .service-group {
        margin-bottom: 12px;
    }
    
    .modal-content .concern-title,
    .modal-content .service-title {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .modal-content .concern-services,
    .modal-content .service-items {
        columns: 1;
    }
    
    .modal-content .concern-services li,
    .modal-content .service-items li {
        font-size: 0.85rem;
        padding: 3px 0;
    }
}

@media (max-width: 576px) {
    .modal-header {
        padding: 12px;
        min-height: 60px;
    }
    
    .modal-back-btn {
        width: 32px;
        height: 32px;
    }
    
    .modal-back-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .modal-title {
        font-size: 1.1rem;
        padding: 0 10px;
    }
    
    .modal-content {
        padding: 12px 12px 50px 12px; /* Added extra bottom padding for small mobile */
    }
    
    .modal-content .concern-group,
    .modal-content .service-group {
        margin-bottom: 10px;
    }
    
    .modal-content .concern-title,
    .modal-content .service-title {
        font-size: 0.95rem;
        margin-bottom: 5px;
    }
    
    .modal-content .concern-services li,
    .modal-content .service-items li {
        font-size: 0.8rem;
        padding: 2px 0;
    }
}

/* Remove all the old expandable-card.expanded styles to avoid conflicts */
.expandable-card.expanded {
    display: none !important;
}