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

/* Prevent horizontal scroll on mobile */
html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    position: relative;
}

:root {
    --primary-color: #1e40af;
    --secondary-color: #3b82f6;
    --accent-color: #10b981;
    --accent-warm: #f59e0b;
    --dark-blue: #0f172a;
    --navy: #1e293b;
    --text-dark: #0f172a;
    --text-mid: #475569;
    --text-light: #64748b;
    --background-light: #f8fafc;
    --background-gradient: #f1f5f9;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --gradient-start: #1e40af;
    --gradient-end: #3b82f6;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--white);
}

/* Improve touch targets for mobile */
@media (hover: none) and (pointer: coarse) {
    a, button, .btn-contact, .btn-submit, .nav-links a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu-toggle {
        padding: 10px;
    }
}

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

@media (max-width: 640px) {
    .container {
        padding: 0 15px;
    }
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 24px;
    color: var(--dark-blue);
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    border-radius: 2px;
}

.section-intro {
    font-size: 1.15rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
    color: var(--text-mid);
    line-height: 1.8;
    font-weight: 400;
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
    touch-action: none;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    padding-top: max(18px, env(safe-area-inset-top));
}

.logo h1 {
    font-size: 1.35rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.logo h1 span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-mid);
    -webkit-text-fill-color: var(--text-mid);
    letter-spacing: 0.5px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-mid);
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
    letter-spacing: -0.2px;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    transition: width 0.3s ease;
}

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

.btn-contact {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--white) !important;
    padding: 10px 28px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.15);
    font-weight: 600;
}

.btn-contact::after {
    display: none;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.25);
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: 0.3s;
}

/* Mobile menu overlay (tap outside to close) */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.4);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.25s ease;
    -webkit-tap-highlight-color: transparent;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1e40af 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 160px 0 120px;
    margin-top: calc(73px + env(safe-area-inset-top, 0px));
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(30, 58, 138, 0.85) 50%, rgba(30, 64, 175, 0.9) 100%);
    z-index: 0;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.15;
    letter-spacing: -1.5px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 60px;
    opacity: 0.92;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-weight: 400;
    color: #e0e7ff;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    padding: 40px 32px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-warm));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.85;
    font-weight: 500;
    color: #cbd5e1;
    letter-spacing: 0.3px;
}

/* Leadership Section */
.leadership-section {
    background: linear-gradient(180deg, var(--background-light) 0%, var(--white) 100%);
    position: relative;
    z-index: 2;
}

.leadership-content {
    max-width: 1000px;
    margin: 0 auto;
}

.leader-profile {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(15, 23, 42, 0.1);
    border: 1px solid var(--border-color);
}

.leader-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1e40af 100%);
    color: var(--white);
    padding: 60px 50px;
    display: flex;
    align-items: center;
    gap: 48px;
    position: relative;
    overflow: hidden;
}

.leader-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.leader-photo-container {
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 50%;
    width: 200px;
    height: 200px;
    max-width: 100%;
    display: flex;
}

.leader-photo {
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
    border: 4px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    /* Scale image up so it overfills the circle; container clips to circle */
    transform: scale(1.25);
}

.leader-info {
    flex: 1;
}

.leader-info h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.leader-title {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 20px;
}

.leader-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.credential {
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 18px;
    border-radius: 24px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.credential:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.leader-bio {
    padding: 50px;
    overflow: auto; /* contain floated event photo */
}

.bio-highlight {
    font-size: 1.2rem;
    line-height: 1.85;
    color: var(--text-dark);
    margin-bottom: 48px;
    padding: 36px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    border-left: 5px solid var(--accent-color);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    position: relative;
}

.bio-highlight::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
}

.bio-highlight strong {
    color: var(--primary-color);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.achievement-item {
    display: flex;
    gap: 24px;
    padding: 32px;
    background: var(--white);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.achievement-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(30, 64, 175, 0.12);
    border-color: var(--secondary-color);
}

.achievement-icon {
    font-size: 3rem;
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.08), rgba(59, 130, 246, 0.08));
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.achievement-item:hover .achievement-icon {
    transform: scale(1.1);
}

.achievement-content h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.achievement-content p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.leadership-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.detail-section {
    padding: 25px;
    background: var(--background-light);
    border-radius: 10px;
}

.detail-section h4 {
    color: var(--dark-blue);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.detail-section p {
    color: var(--text-light);
    line-height: 1.8;
}

.detail-section strong {
    color: var(--primary-color);
    font-weight: 600;
}

.leadership-event-photo {
    margin-top: 50px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.12);
    border: 1px solid var(--border-color);
}

.leadership-event-photo img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
}

/* Inline event photo: medium size, floated so text wraps */
.leadership-event-photo--inline {
    float: right;
    width: min(380px, 42%);
    max-width: 380px;
    margin: 0 0 24px 28px;
    margin-top: 0;
}

.leadership-event-photo--inline figcaption {
    padding: 10px 14px;
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
    background: var(--background-light);
}

@media (max-width: 640px) {
    .leadership-event-photo {
        margin-top: 40px;
    }
    .leadership-event-photo--inline {
        float: none;
        width: 100%;
        max-width: none;
        margin: 24px 0;
    }
}

/* Overview Section */
.overview-section {
    background: var(--white);
    position: relative;
    z-index: 2;
}

/* Single photo block staggered across sections */
.section-photo {
    margin: 48px auto 56px;
    max-width: 720px;
}

.section-photo--wide {
    max-width: 900px;
}

.section-photo .overview-photo-card img {
    height: 280px;
}

.section-photo--wide .overview-photo-card img {
    height: 340px;
}

.section-photo .overview-outpatient-caption {
    margin: 12px 0 0;
}

.overview-outpatient-caption {
    text-align: center;
    color: var(--text-muted, #64748b);
    font-size: 0.95rem;
    margin: 0 0 32px;
}

.overview-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.overview-photo-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
}

.overview-photo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(30, 64, 175, 0.15);
}

.overview-photo-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.overview-photo-caption {
    display: block;
    padding: 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    background: var(--white);
    text-align: center;
}

@media (max-width: 768px) {
    .overview-outpatient-grid {
        grid-template-columns: 1fr;
    }

    .overview-photos {
        grid-template-columns: 1fr;
        margin-bottom: 40px;
    }

    .overview-photo-card img {
        height: 200px;
    }

    .section-photo {
        margin: 36px auto 44px;
    }

    .section-photo .overview-photo-card img {
        height: 220px;
    }

    .section-photo--wide .overview-photo-card img {
        height: 260px;
    }
}

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

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--gradient-start), var(--gradient-end));
    transition: height 0.4s ease;
}

.feature-card:hover::before {
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(30, 64, 175, 0.12);
    border-color: var(--secondary-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: grayscale(0.3);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    filter: grayscale(0);
    transform: scale(1.1);
}

.feature-icon-img {
    width: 48px;
    height: auto;
    display: block;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 16px;
    color: var(--dark-blue);
    font-weight: 700;
    letter-spacing: -0.3px;
}

.feature-card p {
    color: var(--text-mid);
    line-height: 1.7;
    font-size: 0.98rem;
}

/* Strategy Section */
.strategy-section {
    background: var(--white);
}

.criteria-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.criteria-column h3 {
    font-size: 1.8rem;
    color: var(--dark-blue);
    margin-bottom: 25px;
}

.criteria-list {
    background: var(--background-light);
    padding: 30px;
    border-radius: 10px;
}

.criteria-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.criteria-item:last-child {
    border-bottom: none;
}

.criteria-label {
    font-weight: 600;
    color: var(--text-dark);
}

.criteria-value {
    color: var(--primary-color);
    font-weight: 600;
}

.focus-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.focus-item {
    background: var(--background-light);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.focus-item h4 {
    color: var(--dark-blue);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.focus-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Newsletters Section (Temporary) */
.newsletters-section {
    background: var(--background-light);
}

.newsletters-section .section-title {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.temp-badge {
    font-size: 0.5em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-mid);
    background: var(--border-color);
    padding: 4px 10px;
    border-radius: 6px;
    vertical-align: middle;
}

.newsletters-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

/* Newsletter category (expandable section) */
.newsletter-category {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.newsletter-category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 18px 20px;
    text-align: left;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark-blue);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.newsletter-category-header:hover {
    background: rgba(0, 82, 165, 0.06);
}

.newsletter-category-header:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.newsletter-category-title {
    flex: 1;
}

.newsletter-category-count {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-mid);
}

.newsletter-category-status {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-mid);
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 8px;
    background: var(--background-light);
}

.newsletter-category-status--empty {
    display: none;
}

.newsletter-category-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    transform: rotate(45deg);
    margin-bottom: 6px;
    transition: transform 0.2s ease;
}

.newsletter-category.expanded .newsletter-category-icon {
    transform: rotate(-135deg);
    margin-bottom: -6px;
}

.newsletter-category-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
    padding: 24px 28px 28px;
    border-top: 1px solid var(--border-color);
}

.newsletter-category:not(.expanded) .newsletter-category-content {
    display: none;
}

.newsletter-card {
    background: var(--white);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
    border: 1px solid var(--border-color);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.newsletter-card:hover {
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
    border-color: var(--primary-color);
}

.newsletter-num {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.newsletter-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 10px;
    line-height: 1.4;
}

.newsletter-card p {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.6;
    margin: 0;
}

/* Newsletter card status badge */
.newsletter-card-badge {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.newsletter-card-badge--approved {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.newsletter-card-badge--revision_requested {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}

.newsletter-card-badge--excluded {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

@media (max-width: 640px) {
    .newsletter-category-content {
        grid-template-columns: 1fr;
    }
}

/* Newsletter grid loading/error state */
.newsletters-message {
    text-align: center;
    color: var(--text-mid);
    padding: 2rem;
    margin: 0;
}

.newsletters-error {
    color: var(--accent-warm);
}

.newsletters-empty {
    color: var(--text-mid);
}
.newsletters-empty code {
    background: var(--bg-subtle);
    padding: 0.2em 0.4em;
    border-radius: 4px;
}
.newsletters-empty a {
    color: var(--accent-primary);
}

/* Newsletter card as clickable */
.newsletter-card {
    cursor: pointer;
}

.newsletter-card:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Newsletter popup modal – when open, main page cannot scroll; restored when modal closes */
html.newsletter-modal-open {
    overflow: hidden;
}
body.newsletter-modal-open {
    overflow: hidden;
    overscroll-behavior: none;
}

.newsletter-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    pointer-events: none;
    overscroll-behavior: contain;
}

.newsletter-modal.newsletter-modal-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.newsletter-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
}

.newsletter-modal-box {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 92vw;
    max-width: 860px;
    height: calc(95vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    max-height: calc(95vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    margin: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25);
    overflow: hidden;
    overscroll-behavior: contain;
}

@supports (height: 100dvh) {
    .newsletter-modal-box {
        height: calc(95dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
        max-height: calc(95dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    }
}

.newsletter-modal-header {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    background: var(--background-light);
}

.newsletter-modal-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin: 0;
    padding-right: 40px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.newsletter-modal-close {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: var(--text-mid);
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.newsletter-modal-close:hover,
.newsletter-modal-close:focus {
    background: var(--border-color);
    color: var(--dark-blue);
}

.newsletter-modal-close:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.newsletter-modal-body {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 0;
    position: relative;
}

/* Full overlay spinner shown during approve / exclude / revision-load actions */
.newsletter-action-spinner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.85);
    z-index: 10;
}

.newsletter-iframe {
    flex: 1;
    width: 100%;
    min-height: 0;
    height: 100%;
    border: none;
    display: block;
    background: var(--white);
}

.newsletter-view-pane,
.newsletter-revision-pane {
    flex: 1;
    min-height: 0;
    display: flex;
    overflow: hidden;
    overscroll-behavior: contain;
}

.newsletter-revision-pane {
    flex-direction: column;
}

.newsletter-view-pane {
    flex-direction: row;
}

.newsletter-view-content {
    flex: 1;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    position: relative;
}

.newsletter-sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 12px;
    border-left: 1px solid var(--border-color);
    background: var(--background-light);
    align-items: stretch;
    flex-shrink: 0;
}

/* Loading spinner overlay — covers the iframe while content loads */
.newsletter-spinner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    z-index: 2;
}

.newsletter-spinner-circle {
    width: 40px;
    height: 40px;
    border: 4px solid #e0e0e0;
    border-top-color: var(--primary-color, #0052A5);
    border-radius: 50%;
    animation: nl-spin 0.8s linear infinite;
}

.newsletter-spinner-text {
    margin: 12px 0 0;
    font-size: 0.9rem;
    color: #888;
    font-weight: 500;
}

@keyframes nl-spin {
    to { transform: rotate(360deg); }
}

.newsletter-revision-pane {
    overflow: hidden;
}

.newsletter-revision-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.newsletter-revision-form label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-color);
}

.newsletter-revision-subject {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

.newsletter-revision-notes {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.9rem;
    resize: vertical;
}

.newsletter-revision-help {
    margin: 0;
    padding: 10px 14px;
    background: #e8f4fd;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #1a5276;
    border-left: 4px solid #3498db;
    line-height: 1.4;
    flex-shrink: 0;
}

.newsletter-revision-editor-wrap {
    flex: 1;
    min-height: 200px;
    border: 2px solid #bbb;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.newsletter-revision-editor-wrap:focus-within {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
}

.newsletter-revision-editor {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    background: #fff;
}

.newsletter-revision-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Toolbar above iframe — minimal action bar */
.newsletter-modal-toolbar {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 12px;
    border-bottom: 1px solid var(--border-color);
    background: var(--white);
}

.newsletter-modal-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.newsletter-reviewer-input {
    padding: 4px 8px;
    border: 1px solid #d0d5dd;
    border-radius: 4px;
    font-size: 0.78rem;
    width: 100px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    background: #fff;
}

.newsletter-reviewer-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1.5px rgba(0, 82, 165, 0.15);
}

.newsletter-reviewer-input.input-error {
    border-color: #dc2626;
    box-shadow: 0 0 0 1.5px rgba(220, 38, 38, 0.15);
}

.btn-newsletter-save,
.btn-newsletter-back,
.btn-newsletter-confirm,
.btn-newsletter-revise,
.btn-newsletter-exclude,
.btn-newsletter-include,
.btn-newsletter-unapprove {
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.75rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: filter 0.15s ease, background 0.15s ease, opacity 0.15s ease;
    line-height: 1.4;
    white-space: nowrap;
}

/* Primary review actions: slightly more visible, still minimal */
.btn-newsletter-confirm,
.btn-newsletter-revise,
.btn-newsletter-exclude,
.btn-newsletter-include,
.btn-newsletter-unapprove {
    padding: 6px 14px;
    font-size: 0.8125rem;
    font-weight: 600;
    border-width: 1.5px;
}

.btn-newsletter-save,
.btn-newsletter-confirm {
    background: #f0fdf4;
    color: #15803d;
    border-color: #bbf7d0;
}

.btn-newsletter-confirm {
    color: #166534;
    border-color: #86efac;
}

.btn-newsletter-save:hover,
.btn-newsletter-confirm:hover {
    background: #dcfce7;
    border-color: #86efac;
}

.btn-newsletter-confirm:hover {
    border-color: #4ade80;
}

.btn-newsletter-back,
.btn-newsletter-revise {
    background: #f5f5f5;
    color: #555;
    border-color: #e0e0e0;
}

.btn-newsletter-revise {
    color: #404040;
    border-color: #d4d4d4;
}

.btn-newsletter-back:hover,
.btn-newsletter-revise:hover {
    background: #e8e8e8;
    border-color: #ccc;
}

.btn-newsletter-revise:hover {
    border-color: #a3a3a3;
}

.btn-newsletter-exclude {
    background: #fef2f2;
    color: #991b1b;
    border-color: #fca5a5;
}

.btn-newsletter-exclude:hover {
    background: #fee2e2;
    border-color: #f87171;
}

.btn-newsletter-include {
    background: #f0fdf4;
    color: #15803d;
    border-color: #bbf7d0;
}

.btn-newsletter-include:hover {
    background: #dcfce7;
    border-color: #86efac;
}

.btn-newsletter-unapprove {
    background: #fffbeb;
    color: #92400e;
    border-color: #fde68a;
}

.btn-newsletter-unapprove:hover {
    background: #fef3c7;
    border-color: #fcd34d;
}

.btn-newsletter-save:disabled,
.btn-newsletter-back:disabled,
.btn-newsletter-confirm:disabled,
.btn-newsletter-revise:disabled,
.btn-newsletter-exclude:disabled,
.btn-newsletter-include:disabled,
.btn-newsletter-unapprove:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.newsletter-review-status {
    font-size: 0.75rem;
    color: #888;
    white-space: nowrap;
}

.newsletter-review-status.approved {
    color: #15803d;
    font-weight: 600;
}

.newsletter-review-status.revision_requested {
    color: #b45309;
    font-weight: 600;
}

.newsletter-review-status.excluded {
    color: #b91c1c;
    font-weight: 600;
}

.newsletter-review-status.error {
    color: #dc2626;
    font-weight: 600;
}

@media (max-width: 640px) {
    .newsletter-modal-box {
        width: 100%;
        max-width: none;
        height: calc(95vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
        max-height: calc(95vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
        margin: max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
        border-radius: 10px;
    }

    .newsletter-modal-header {
        padding: 12px 16px;
    }

    .newsletter-modal-title {
        font-size: 0.9rem;
        white-space: normal;
        line-height: 1.35;
    }

    .newsletter-modal-close {
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
    }

    .newsletter-iframe {
        min-height: 0;
    }

    .newsletter-modal-toolbar {
        padding: 5px 8px;
        flex-wrap: wrap;
        gap: 4px;
    }

    .newsletter-modal-actions {
        gap: 4px;
    }

    .newsletter-reviewer-input {
        width: 72px;
        font-size: 0.72rem;
        padding: 3px 6px;
    }

    .newsletter-view-pane {
        flex-direction: column;
    }

    .newsletter-sidebar-actions {
        flex-direction: row;
        flex-wrap: wrap;
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding: 8px;
        justify-content: center;
    }

    .btn-newsletter-confirm,
    .btn-newsletter-revise,
    .btn-newsletter-exclude,
    .btn-newsletter-include,
    .btn-newsletter-unapprove {
        padding: 5px 11px;
        font-size: 0.75rem;
    }

    .newsletter-review-status {
        font-size: 0.7rem;
    }
}

@supports (height: 100dvh) {
    @media (max-width: 640px) {
        .newsletter-modal-box {
            height: calc(95dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
            max-height: calc(95dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
        }
    }
}

/* Portfolio Section */
.portfolio-section {
    background: var(--background-light);
}

.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.portfolio-gallery--row {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    transition: all 0.3s ease;
}

.portfolio-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(30, 64, 175, 0.12);
}

.portfolio-gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

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

@media (max-width: 640px) {
    .portfolio-gallery {
        grid-template-columns: 1fr;
        margin-bottom: 40px;
    }

    .portfolio-gallery-item img {
        height: 220px;
    }
}

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

.portfolio-stat {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.portfolio-stat:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 3rem;
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-desc {
    color: var(--text-light);
    font-size: 1rem;
}

.tenants-section {
    background: var(--white);
    padding: 50px 0;
    border-radius: 15px;
    overflow: hidden;
}

.tenants-section h3 {
    font-size: 1.8rem;
    color: var(--dark-blue);
    margin-bottom: 30px;
    text-align: center;
}

.tenants-marquee {
    overflow: hidden;
    width: 100%;
    padding: 14px 0;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.tenants-track {
    display: flex;
    width: max-content;
    animation: tenants-scroll-left 40s linear infinite;
}

.tenants-track:hover {
    animation-play-state: paused;
}

@keyframes tenants-scroll-left {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.tenants-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    padding: 0 15px;
    flex-shrink: 0;
}

.tenant-item {
    background: var(--white);
    padding: 18px 24px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                background 0.35s ease,
                color 0.25s ease,
                box-shadow 0.35s ease,
                border-color 0.25s ease;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
    font-size: 0.95rem;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
}

.tenant-item:hover {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--white);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.18),
                0 2px 8px rgba(30, 64, 175, 0.1);
    border-color: transparent;
}

/* Market Section */
.market-section {
    background: var(--white);
}

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

@media (max-width: 640px) {
    .market-highlights {
        grid-template-columns: 1fr;
    }
}

.market-card {
    background: var(--background-light);
    padding: 35px;
    border-radius: 10px;
    border-top: 4px solid var(--primary-color);
}

.market-card h3 {
    font-size: 1.4rem;
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.market-card ul {
    list-style: none;
}

.market-card li {
    padding: 12px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-light);
    line-height: 1.7;
}

.market-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

.competitive-advantages {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: var(--white);
    padding: 60px 50px;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.2);
    position: relative;
    overflow: hidden;
}

.competitive-advantages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.competitive-advantages h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
}

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

@media (max-width: 640px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .competitive-advantages {
        padding: 36px 20px;
        border-radius: 16px;
    }

    .competitive-advantages h3 {
        font-size: 1.5rem;
        margin-bottom: 28px;
    }

    .advantage-item {
        padding: 24px 20px;
    }

    .investment-process {
        padding: 28px 20px;
        border-radius: 12px;
    }

    .investment-process h3 {
        font-size: 1.5rem;
        margin-bottom: 32px;
    }

    .pipeline-characteristics {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .char-card {
        padding: 20px 16px;
    }

    .char-value {
        font-size: 2rem;
    }

    .char-label {
        font-size: 0.9rem;
    }
}

.advantage-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 36px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.advantage-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.advantage-item h4 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    color: var(--accent-color);
    font-weight: 700;
    letter-spacing: -0.3px;
}

.advantage-item p {
    line-height: 1.75;
    opacity: 0.92;
    color: #e0e7ff;
}

/* Pipeline Section */
.pipeline-section {
    background: var(--background-light);
}

.pipeline-highlight {
    text-align: center;
    margin-bottom: 50px;
}

.pipeline-amount {
    font-size: 4.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    letter-spacing: -2px;
}

.pipeline-label {
    font-size: 1.4rem;
    color: var(--text-mid);
    font-weight: 600;
}

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

.char-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.char-card:hover {
    transform: translateY(-5px);
}

.char-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.char-label {
    color: var(--text-light);
    font-size: 1rem;
}

.investment-process {
    background: var(--white);
    padding: 50px;
    border-radius: 15px;
}

.investment-process h3 {
    font-size: 2rem;
    color: var(--dark-blue);
    text-align: center;
    margin-bottom: 50px;
}

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

.process-step {
    position: relative;
    padding: 30px;
    background: var(--background-light);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.process-step h4 {
    color: var(--dark-blue);
    margin-bottom: 15px;
    margin-top: 10px;
    font-size: 1.2rem;
}

.process-step p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Contact Section */
.contact-section {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.contact-intro {
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.contact-details {
    background: var(--background-light);
    padding: 35px;
    border-radius: 10px;
    text-align: center;
}

.contact-photo-wrapper {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    margin-left: auto;
    margin-right: auto;
}

.contact-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 3px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: scale(1.15);
}

.contact-details h3 {
    font-size: 1.8rem;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.contact-title {
    color: var(--text-light);
    margin-bottom: 10px;
}

.contact-education {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

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

.contact-form-container {
    background: var(--background-light);
    padding: 40px;
    border-radius: 10px;
}

.newsletter-form-heading {
    margin: 0 0 8px 0;
    font-size: 1.5rem;
    color: var(--dark-blue);
}

.newsletter-form-intro {
    margin: 0 0 20px 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.newsletter-signup-form,
.contact-form-newsletter {
    grid-template-columns: 1fr;
    max-width: 400px;
}

.label-optional {
    font-weight: 400;
    color: var(--text-muted);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group-checkbox {
    margin-top: 4px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-dark);
}

.checkbox-label input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.form-status {
    grid-column: 1 / -1;
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
}

.form-status-success {
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-status-error {
    background: rgba(239, 68, 68, 0.08);
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.form-group label {
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem; /* 16px minimum to avoid iOS zoom on focus */
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-submit {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--white);
    padding: 16px 48px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(30, 64, 175, 0.2);
    letter-spacing: 0.3px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(30, 64, 175, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit,
.mobile-menu-toggle,
.newsletter-modal-close,
.newsletter-card {
    touch-action: manipulation;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
    color: var(--white);
    padding: 60px 0 24px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    margin-bottom: 30px;
}

.footer-logo h3 {
    font-size: 1.5rem;
    line-height: 1.3;
}

.footer-logo span {
    font-size: 1rem;
    opacity: 0.8;
}

.footer-disclaimer p {
    font-size: 0.85rem;
    line-height: 1.7;
    opacity: 0.8;
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-overlay.active {
        top: calc(73px + env(safe-area-inset-top, 0px)); /* below navbar */
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: calc(73px + env(safe-area-inset-top, 0px));
        bottom: auto;
        min-height: 0;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        max-height: calc(100vh - 73px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.08);
        padding: 20px 0;
        padding-bottom: max(20px, env(safe-area-inset-bottom));
        gap: 0;
        z-index: 1001;
    }

    .nav-links a {
        padding: 14px 20px;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        -webkit-tap-highlight-color: transparent;
    }

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

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

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

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

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

    .process-timeline {
        grid-template-columns: 1fr;
    }

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

    .leadership-details {
        grid-template-columns: 1fr;
    }

    .leader-header {
        padding: 30px 24px;
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .leader-photo-container {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }

    .leader-photo {
        border-width: 3px;
    }

    .leader-bio {
        padding: 24px 20px;
    }

    .leader-info h3 {
        font-size: 2rem;
    }

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

@media (max-width: 640px) {
    .leader-photo-container {
        width: 120px;
        height: 120px;
    }

    .leader-photo {
        border-width: 3px;
    }

    .leader-header {
        gap: 16px;
        padding: 24px 16px;
    }

    .leader-info h3 {
        font-size: 1.65rem;
    }

    .leader-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 10px;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.7rem;
        padding: 0 10px;
        max-width: 100%;
        overflow-wrap: break-word;
    }

    .section-intro {
        font-size: 1rem;
        padding: 0 10px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-card {
        padding: 20px;
    }

    .pipeline-amount {
        font-size: 2.5rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .feature-card,
    .performance-card,
    .market-card {
        padding: 25px;
    }

    .metric-value {
        font-size: 2.5rem;
    }

    .bio-highlight {
        font-size: 1.05rem;
        padding: 20px;
    }

    .achievement-item {
        flex-direction: column;
        text-align: center;
    }

    .achievement-icon {
        font-size: 2rem;
    }

    .contact-form-container,
    .contact-details {
        padding: 25px;
    }

    .tenant-item {
        font-size: 0.9rem;
    }

    .navbar {
        padding: 0 10px;
    }

    .logo h1 {
        font-size: 1.1rem;
    }

    .logo h1 span {
        font-size: 0.8rem;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .contact-item {
        flex-direction: column;
        gap: 5px;
    }

    .contact-item a {
        font-size: 1rem;
        word-break: break-word;
    }

    .footer-disclaimer p {
        font-size: 0.8rem;
    }

    .process-step {
        padding: 20px;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* Team Group Photo */
.team-group-photo {
    margin-top: 60px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.12);
    border: 1px solid var(--border-color);
}

.team-group-photo img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
}

.team-group-photo figcaption {
    padding: 14px 18px;
    font-size: 0.95rem;
    color: var(--text-light);
    text-align: center;
    background: var(--background-light);
    font-weight: 500;
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .team-group-photo {
        margin-top: 40px;
        border-radius: 12px;
    }

    .team-group-photo figcaption {
        padding: 10px 14px;
        font-size: 0.85rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

.feature-card,
.performance-card,
.market-card {
    animation: fadeInUp 0.6s ease-out;
}
