/* ===================================
   Global Styles & Variables
   =================================== */
:root {
    --primary: #000000;
    --secondary: #FFFFFF;
    --white: #FFFFFF;
    --accent: #D4AF37;
    --accent-light: #E8C547;
    --accent-dark: #B8941F;
    --gold: #D4AF37;
    --text-dark: #000000;
    --text-light: #FFFFFF;
    --gray-light: #F5F5F5;
    --gray: #666666;
    --gray-dark: #333333;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-strong: rgba(0, 0, 0, 0.2);
    --gradient-primary: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 50%, var(--accent-dark) 100%);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px var(--shadow);
}

.navbar.scrolled {
    padding: 12px 0;
    background: var(--primary);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    height: 50px;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-btn {
    background: var(--accent);
    color: var(--secondary);
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--secondary);
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background: 
        linear-gradient(rgba(26, 26, 46, 0.7), rgba(26, 26, 46, 0.85)),
        url('https://sspark.genspark.ai/cfimages?u1=ykl6NT0gMNWU2inSQWoAgT%2Fxc3TlWvA%2ByEQtz%2FXrvkZQiCpfoNcQljB14F99571BDk3tn9PHICFcTkIoqN4lkTeXCccwvzIQckJ8RsF9zbGW%2FEGEku%2FmoWi1UnrQu4qWvpFD1zZfYkzw8uuMrNI7WlDzjMxN6%2BkUbDaJ0z1lXLmOiKDfHGQnKhr2%2Btq%2BvT5hzRy%2Bl5fcYEaXxAOtxQAtvhzh5x8KC4ks3259DM15OWf5U98EDejwHAOpdTyYnCC%2BdzU0iEFGIkvO%2BesCpMQ1O8d0wXpv%2F28hYV0GGtom8OMcGQH5OKJgUNCDUfgfuenbpqAnIhNEZjo9%2FB37iJEdxLpN4UpSuJZwbq3eXVUjPQ42yPJTL5dJxH3efOB%2Bnhxr5RmRQvXyQ87fGb%2FfkQ%3D%3D&u2=IpalesTfL3hLg1s1&width=2560') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(26, 26, 46, 0.8) 100%);
    z-index: 1;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out;
    box-shadow: 0 0 10px var(--gold), 0 0 20px var(--gold);
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) translateX(50px); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--secondary);
    padding: 10px 30px;
    border-radius: 25px;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.5);
}

.hero-title {
    font-size: 72px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px var(--shadow-strong);
}

.hero-title .highlight {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 24px;
    color: var(--accent);
    margin-bottom: 20px;
    font-weight: 400;
}

.hero-description {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--accent);
    color: var(--secondary);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--accent);
}

.btn-secondary:hover {
    background: var(--accent);
    color: var(--secondary);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--accent);
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-indicator i {
    font-size: 24px;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* ===================================
   Tagline Section
   =================================== */
.tagline {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.tagline h2 {
    font-size: 42px;
    line-height: 1.4;
}

/* ===================================
   Section Headers
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 48px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--gray);
    font-weight: 300;
}

/* ===================================
   Highlights Section
   =================================== */
.highlights {
    padding: 100px 0;
    background: var(--gray-light);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.highlight-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 30px var(--shadow);
    transition: all 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px var(--shadow-strong);
}

.highlight-icon {
    font-size: 72px;
    margin-bottom: 20px;
}

.highlight-card h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.highlight-card p {
    color: var(--gray);
    line-height: 1.8;
}

.wellness-list {
    list-style: none;
    text-align: left;
    margin-top: 20px;
}

.wellness-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.wellness-list i {
    color: var(--accent);
    font-size: 14px;
}

/* Event Stats Badges */
.event-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.stat-badge {
    background: var(--white);
    padding: 25px 40px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 5px 30px var(--shadow);
    transition: all 0.3s ease;
}

.stat-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 40px var(--shadow-strong);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 28px;
}

.stat-num {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent);
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.stat-text {
    font-size: 14px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================================
   Photo Gallery Section
   =================================== */
.gallery {
    padding: 100px 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    aspect-ratio: 4/3;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px var(--shadow-strong);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 26, 46, 0.9) 0%, transparent 100%);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay p {
    color: var(--white);
    font-weight: 600;
    margin: 0;
    text-align: center;
}

/* ===================================
   Team Section
   =================================== */
.team {
    padding: 100px 0;
    background: var(--white);
}

.team-featured {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
    background: var(--gradient-primary);
    padding: 60px;
    border-radius: 30px;
    color: var(--white);
    box-shadow: 0 10px 50px var(--shadow-strong);
}

.team-featured-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow-strong);
    object-fit: cover;
    aspect-ratio: 1;
}

.team-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.team-featured-content h3 {
    font-size: 42px;
    margin-bottom: 10px;
    color: var(--white) !important;
}

.team-title {
    font-size: 20px;
    color: var(--white);
    margin-bottom: 20px;
    font-style: italic;
}

.team-bio {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--white);
    opacity: 1;
}

.team-affiliations {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.team-affiliations span {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--white);
}

.team-affiliations i {
    color: var(--accent);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.team-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 30px var(--shadow);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px var(--shadow-strong);
}

.team-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-info {
    padding: 30px;
}

.team-info h4 {
    font-size: 26px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.team-role {
    color: var(--accent);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.team-description {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.team-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.team-specialties span {
    background: var(--accent);
    color: var(--text-dark);
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 600;
}

/* ===================================
   About Section
   =================================== */
.about {
    padding: 100px 0;
    background: var(--gradient-primary);
    color: var(--white);
}

.about .section-title {
    color: var(--white) !important;
}

.about .section-subtitle {
    color: rgba(255, 255, 255, 0.8) !important;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--white);
    opacity: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--gold);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--white) !important;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
    opacity: 1;
}

.institutions h3 {
    font-size: 28px;
    color: var(--accent);
    text-align: center;
    margin-bottom: 30px;
}

.institution-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.institution-badges span {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
}

.institution-badges i {
    color: var(--accent);
}

/* Locations Section */
.locations-section {
    margin-top: 60px;
}

.locations-section h3 {
    font-size: 28px;
    color: var(--accent);
    text-align: center;
    margin-bottom: 40px;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.location-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.location-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.15);
}

.location-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--text-dark);
    padding: 6px 16px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.location-card h4 {
    font-size: 24px;
    color: var(--accent);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.location-address {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
    color: var(--white);
}

.location-details {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.location-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid var(--gold);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.location-link:hover {
    background: var(--accent);
    color: var(--text-dark);
    transform: translateY(-2px);
}

/* ===================================
   Lower East Side Health Stats Section
   =================================== */
.les-health-stats {
    padding: 100px 0;
    background: var(--white);
}

.health-intro {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.health-intro p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
}

.health-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.health-stat-card {
    background: var(--gradient-primary);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 30px var(--shadow);
    transition: all 0.3s ease;
    color: var(--white);
}

.health-stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px var(--shadow-strong);
}

.health-stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
}

.health-stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
}

.health-stat-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.health-stat-desc {
    font-size: 14px;
    color: var(--white);
    opacity: 0.9;
    line-height: 1.6;
}

.health-commitment {
    background: var(--accent);
    padding: 50px;
    border-radius: 30px;
    color: var(--white);
}

.health-commitment h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--white);
}

.health-commitment p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--white);
}

.health-commitment ul {
    list-style: none;
    padding: 0;
}

.health-commitment li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--white);
}

.health-commitment i {
    color: var(--white);
    font-size: 20px;
}

/* ===================================
   Lower East Side Health Stats Section
   =================================== */
.les-health-stats {
    padding: 100px 0;
    background: var(--white);
}

.health-intro {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.health-intro p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
}

.health-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.health-stat-card {
    background: var(--gradient-primary);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 30px var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid var(--accent);
}

.health-stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px var(--shadow-strong);
    border-color: var(--accent-light);
}

.health-stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
}

.health-stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
}

.health-stat-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.health-stat-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.health-commitment {
    max-width: 900px;
    margin: 0 auto;
    background: var(--gradient-primary);
    padding: 50px;
    border-radius: 30px;
    color: var(--white);
}

.health-commitment h3 {
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 20px;
    text-align: center;
}

.health-commitment p {
    font-size: 18px;
    margin-bottom: 30px;
    text-align: center;
    color: var(--white);
}

.health-commitment ul {
    list-style: none;
    padding: 0;
}

.health-commitment li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--white);
}

.health-commitment li i {
    color: var(--accent);
    font-size: 20px;
}

/* ===================================
   Services Section
   =================================== */
.services {
    padding: 100px 0;
    background: var(--gray-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 30px var(--shadow);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px var(--shadow-strong);
    border: 2px solid var(--gold);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--text-dark);
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--gray);
    line-height: 1.8;
}

.primary-care-intro {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.primary-care-intro p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--white);
    background: var(--primary);
    padding: 30px;
    border-radius: 15px;
}

.services-cta {
    margin-top: 60px;
    text-align: center;
    background: var(--gradient-primary);
    padding: 50px;
    border-radius: 30px;
    color: var(--white);
}

.services-cta h3 {
    font-size: 36px;
    color: var(--white);
    margin-bottom: 15px;
}

.services-cta p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--white);
    opacity: 0.9;
}

.services-cta .btn {
    display: inline-flex;
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials {
    padding: 100px 0;
    background: var(--white);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-track {
    display: flex;
    overflow: hidden;
}

.testimonial-card {
    min-width: 100%;
    background: var(--gray-light);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.testimonial-card:first-child {
    opacity: 1;
    transform: scale(1);
}

.testimonial-card.active {
    opacity: 1;
    transform: scale(1);
}

.testimonial-stars {
    color: var(--accent);
    font-size: 24px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 700;
    color: var(--accent);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.testimonial-prev,
.testimonial-next {
    background: var(--accent);
    color: var(--text-dark);
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: var(--gold-dark);
    transform: scale(1.1);
}

/* ===================================
   Audience Section
   =================================== */
.audience {
    padding: 100px 0;
    background: var(--gray-light);
}

.audience-list {
    max-width: 700px;
    margin: 0 auto;
}

.audience-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--white);
    padding: 25px 30px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 3px 15px var(--shadow);
    transition: all 0.3s ease;
}

.audience-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 25px var(--shadow-strong);
}

.audience-item i {
    color: var(--accent);
    font-size: 28px;
}

.audience-item span {
    font-size: 18px;
    color: var(--text-dark);
    font-weight: 500;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info h2 {
    font-size: 42px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.contact-subtitle {
    font-size: 20px;
    color: var(--accent);
    margin-bottom: 40px;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item i {
    color: var(--accent);
    font-size: 28px;
    width: 40px;
}

.contact-item h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--gray);
    line-height: 1.6;
}

.contact-item a {
    color: var(--accent);
    text-decoration: underline;
}

.contact-item a:hover {
    color: var(--gold-dark);
}

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

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--gold-dark);
    transform: translateY(-5px);
}

.cta-box {
    background: var(--gradient-primary);
    padding: 50px;
    border-radius: 30px;
    text-align: center;
    color: var(--white);
    box-shadow: 0 10px 50px var(--shadow-strong);
}

.cta-icon {
    font-size: 72px;
    margin-bottom: 20px;
}

.cta-box h3 {
    font-size: 36px;
    color: var(--accent);
    margin-bottom: 15px;
}

.cta-box p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

.cta-note {
    font-size: 14px;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer-skyline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent 0%, var(--navy) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 100"><rect x="0" y="40" width="40" height="60" fill="%23D4AF37" opacity="0.3"/><rect x="50" y="20" width="30" height="80" fill="%23D4AF37" opacity="0.4"/><rect x="90" y="50" width="45" height="50" fill="%23D4AF37" opacity="0.3"/><rect x="145" y="30" width="35" height="70" fill="%23D4AF37" opacity="0.4"/><rect x="190" y="45" width="40" height="55" fill="%23D4AF37" opacity="0.3"/><rect x="240" y="10" width="30" height="90" fill="%23D4AF37" opacity="0.5"/><rect x="280" y="35" width="50" height="65" fill="%23D4AF37" opacity="0.3"/><rect x="340" y="25" width="35" height="75" fill="%23D4AF37" opacity="0.4"/><rect x="385" y="40" width="45" height="60" fill="%23D4AF37" opacity="0.3"/><rect x="440" y="15" width="40" height="85" fill="%23D4AF37" opacity="0.4"/><rect x="490" y="30" width="35" height="70" fill="%23D4AF37" opacity="0.3"/><rect x="535" y="5" width="30" height="95" fill="%23D4AF37" opacity="0.5"/></svg>') repeat-x bottom;
    opacity: 0.5;
}

.footer-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.footer-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}



.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--white);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* ===================================
   Scroll to Top Button
   =================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--text-dark);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 20px var(--shadow);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

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

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--navy);
        flex-direction: column;
        padding: 40px 20px;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    /* Reduce Hero Height on Mobile */
    .hero {
        min-height: 600px;
        padding: 100px 20px 80px;
    }

    .hero-title {
        font-size: 36px !important;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 16px !important;
    }

    .hero-description {
        font-size: 14px !important;
    }

    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 14px 24px;
        font-size: 14px;
    }

    .tagline {
        padding: 50px 0 !important;
    }

    .tagline h2 {
        font-size: 24px;
        line-height: 1.4;
        padding: 0 10px;
    }

    .section-title {
        font-size: 32px !important;
    }

    .section-subtitle {
        font-size: 16px !important;
    }

    /* Reduce Section Padding on Mobile */
    section {
        padding: 50px 0 !important;
    }

    .about {
        padding: 60px 0 !important;
    }

    .timeline-section {
        padding: 60px 0 !important;
    }

    .gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

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

    .team-featured {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

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

    .health-stats-grid {
        grid-template-columns: 1fr;
    }

    .health-commitment {
        padding: 30px 20px;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 30px 20px;
    }

    .testimonial-text {
        font-size: 16px;
    }

    .cta-box {
        padding: 40px 20px;
    }

    .btn-large {
        width: 100%;
    }

    .mobile-hide {
        display: none;
    }

    /* Gallery Images */
    .gallery-item img {
        height: 250px;
        object-fit: cover;
    }

    /* Container Padding */
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 500px;
        padding: 80px 15px 60px;
    }

    .hero-title {
        font-size: 28px !important;
    }

    .section-title {
        font-size: 26px !important;
    }

    .section-subtitle {
        font-size: 14px !important;
    }

    .tagline h2 {
        font-size: 20px;
    }

    /* Further Reduce Section Padding */
    section {
        padding: 40px 0 !important;
    }

    .timeline-section {
        padding: 40px 0 !important;
    }

    .team-featured-content h3 {
        font-size: 28px;
    }

    .cta-box h3 {
        font-size: 24px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 13px;
    }

    .container {
        padding: 0 12px;
    }
}

/* ===================================
   Force White Text Overrides
   =================================== */

/* Tagline section */
.tagline h2 {
    color: var(--white) !important;
}

/* Team section - Dr. Canty */
.team-featured-content h3 {
    color: var(--white) !important;
}

.team-title {
    color: var(--white) !important;
}

.team-bio {
    color: var(--white) !important;
}

.team-affiliations span {
    color: var(--white) !important;
}

/* About section */
.about-text p {
    color: var(--white) !important;
}

.stat-label {
    color: var(--white) !important;
}

.institution-badges span {
    color: var(--white) !important;
}

/* Locations section */
.location-address {
    color: var(--white) !important;
}

.location-details {
    color: var(--white) !important;
}

/* Services intro */
.primary-care-intro p {
    color: var(--white) !important;
}

/* Services CTA */
.services-cta h3 {
    color: var(--white) !important;
}

.services-cta p {
    color: var(--white) !important;
}

/* CTA box */
.cta-box p {
    color: var(--white) !important;
}

/* Institutions section */
.institutions h3 {
    color: var(--white) !important;
}

/* Locations section */
.locations-section h3 {
    color: var(--white) !important;
}

.location-card h4 {
    color: var(--white) !important;
}

/* Force ALL text in dark background sections to white */
.team-featured,
.team-featured *,
.about,
.about *,
.institutions,
.institutions *,
.locations-section,
.locations-section *,
.services-cta,
.services-cta *,
.cta-box,
.cta-box *,
.tagline,
.tagline * {
    color: var(--white) !important;
}

/* Preserve icon colors */
.team-featured i,
.about i,
.institutions i,
.locations-section i,
.services-cta i,
.cta-box i {
    color: var(--accent) !important;
}