/* ===================================
   RESET & BASE STYLES
   =================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2d3748;
    background-color: #ffffff;
}

/* ===================================
   TYPOGRAPHY
   =================================== */

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #1a202c;
}

h2 {
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #2d3748;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    color: #2d3748;
}

h4 {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

p {
    margin-bottom: 1rem;
    max-width: 80ch;
}

/* ===================================
   CONTAINER & LAYOUT
   =================================== */

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===================================
   HEADER
   =================================== */

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 60px;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.2s;
}

.logo:hover {
    opacity: 0.8;
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: #4a5568;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: #6B46C1;
}

.main-nav a.active {
    color: #6B46C1;
    font-weight: 600;
}

/* ===================================
   BUTTONS
   =================================== */

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #6B46C1;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #553C9A;
}

.btn-secondary {
    background-color: #ffffff;
    color: #6B46C1;
    border: 2px solid #6B46C1;
}

.btn-secondary:hover {
    background-color: #f7f5fc;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    padding: 4rem 0;
    background-color: #f7fafc;
}

.hero-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
}

.hero-image {
    text-align: center;
}

.profile-photo {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 3px solid #6B46C1;
}

.image-note {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: #718096;
    font-style: italic;
}

.hero-text h1 {
    color: #6B46C1;
    margin-bottom: 1.5rem;
}

.credentials {
    margin-bottom: 1.5rem;
}

.credentials p {
    margin-bottom: 0.5rem;
}

.role {
    font-size: 1.125rem;
    color: #2d3748;
    font-weight: 500;
}

.certification {
    font-size: 1rem;
    color: #4a5568;
}

.focus {
    font-size: 1rem;
    color: #6B46C1;
    font-weight: 500;
    margin-top: 1rem;
}

.summary {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #ffffff;
    border-left: 4px solid #6B46C1;
    border-radius: 4px;
    text-align: center;
}

/* ===================================
   HIGHLIGHT CARDS
   =================================== */

.highlights {
    padding: 4rem 0;
}

.highlights .container {
    max-width: 1200px;
}

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

.card {
    padding: 2rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
}

.card:hover {
    border-color: #6B46C1;
    box-shadow: 0 4px 12px rgba(107, 70, 193, 0.15);
}

.card-icon {
    margin-bottom: 1.5rem;
    font-size: 3rem;
    line-height: 1;
    color: #6B46C1;
}

.card-icon i {
    display: block;
}

.card h3 {
    color: #6B46C1;
    margin-bottom: 1rem;
}

/* ===================================
   PILLAR CARDS (EXPERTISE PAGE)
   =================================== */

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pillar-grid-four {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.pillar-card {
    padding: 2.5rem;
    background: #ffffff;
    border: 2px solid #6B46C1;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
}

.pillar-card:hover {
    background-color: #f7f5fc;
    box-shadow: 0 6px 16px rgba(107, 70, 193, 0.2);
}

.pillar-icon {
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
    line-height: 1;
    color: #6B46C1;
}

.pillar-icon i {
    display: block;
}

.pillar-card h3 {
    color: #6B46C1;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.section-intro {
    text-align: center;
    font-size: 1.125rem;
    color: #4a5568;
    margin-bottom: 2rem;
    max-width: 100%;
}

/* ===================================
   GALLERY PAGE STYLES
   =================================== */

.gallery-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.gallery-intro p {
    font-size: 1.125rem;
    color: #4a5568;
    line-height: 1.8;
}

/* Gallery-specific wide container */
.gallery-container-wide {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    grid-auto-rows: 300px;
}

.gallery-item {
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(107, 70, 193, 0.2);
    z-index: 10;
}

/* Create varied tile sizes for collage effect */
.gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item:nth-child(3) {
    grid-row: span 2;
}

.gallery-item:nth-child(6) {
    grid-column: span 2;
}

.gallery-item:nth-child(9) {
    grid-row: span 2;
}

.gallery-item:nth-child(12) {
    grid-column: span 2;
}

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

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    color: #ffffff;
    font-size: 0.9375rem;
    text-align: left;
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

/* Gallery Lightbox Overlay */
.gallery-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
}

.gallery-lightbox.active {
    display: flex;
}

.gallery-lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    position: relative;
    animation: lightboxZoom 0.3s ease;
}

@keyframes lightboxZoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.gallery-lightbox img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    display: block;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

.gallery-lightbox-caption {
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    text-align: center;
    color: #ffffff;
    font-size: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 4px;
}

.gallery-lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.gallery-lightbox-close:hover {
    transform: scale(1.2);
}

.gallery-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 3rem;
    cursor: pointer;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transition: all 0.2s ease;
    user-select: none;
}

.gallery-lightbox-nav:hover {
    background: rgba(107, 70, 193, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.gallery-lightbox-prev {
    left: 20px;
}

.gallery-lightbox-next {
    right: 20px;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

.fun-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.fact-card {
    padding: 2.5rem;
    background: linear-gradient(135deg, #f7f5fc 0%, #ffffff 100%);
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.fact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #6B46C1, #9333ea);
}

.fact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(107, 70, 193, 0.2);
    border-color: #6B46C1;
}

.fact-icon {
    font-size: 3rem;
    color: #6B46C1;
    margin-bottom: 1.5rem;
}

.fact-card h4 {
    color: #6B46C1;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.fact-card p {
    color: #718096;
    font-size: 0.9375rem;
    margin: 0;
    line-height: 1.6;
}

/* ===================================
   CTA STRIP
   =================================== */

.cta-strip {
    padding: 3rem 0;
    background: linear-gradient(135deg, #6B46C1 0%, #553C9A 100%);
    text-align: center;
}

.cta-strip .container {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-strip .btn-secondary {
    background-color: #ffffff;
    color: #6B46C1;
    border: none;
}

.cta-strip .btn-secondary:hover {
    background-color: #f7fafc;
}

/* ===================================
   PAGE HEADER
   =================================== */

.page-header {
    padding: 3rem 0 2rem;
    background-color: #f7fafc;
    border-bottom: 1px solid #e2e8f0;
}

.page-header h1 {
    color: #6B46C1;
    margin-bottom: 0.5rem;
}

.subtext {
    font-size: 1.125rem;
    color: #718096;
    margin: 0;
}

/* ===================================
   CONTENT SECTIONS
   =================================== */

.content-section {
    padding: 3rem 0;
}

.content-section.bg-light {
    background-color: #f7fafc;
}

/* ===================================
   PROFILE PAGE STYLES
   =================================== */

.profile-intro {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2.5rem;
    align-items: start;
    margin-bottom: 2rem;
}

.profile-intro-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 3px solid #6B46C1;
}

.role-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.role-item {
    padding: 1.5rem;
    background: #ffffff;
    border-left: 4px solid #6B46C1;
    border-radius: 4px;
}

.role-item h4 {
    color: #6B46C1;
    margin-bottom: 0.5rem;
}

.role-item p {
    color: #718096;
    margin: 0;
}

/* ===================================
   TIMELINE
   =================================== */

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #6B46C1;
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #6B46C1;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 2px #6B46C1;
}

.timeline-year {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6B46C1;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: #2d3748;
    margin-bottom: 0.25rem;
}

.timeline-content p {
    color: #718096;
    font-size: 0.9375rem;
    margin: 0;
}

.timeline-location {
    color: #a0aec0 !important;
    font-size: 0.875rem !important;
    margin-top: 0.25rem !important;
}

/* ===================================
   TEACHING CARDS
   =================================== */

.content-section .teaching-grid {
    max-width: 800px;
    margin: 0 auto;
}

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

.teaching-card {
    padding: 2rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
}

.teaching-card:hover {
    border-color: #6B46C1;
    box-shadow: 0 4px 12px rgba(107, 70, 193, 0.15);
}

.teaching-icon {
    margin-bottom: 1.5rem;
    font-size: 3rem;
    line-height: 1;
    color: #6B46C1;
}

.teaching-icon i {
    display: block;
}

.teaching-card h4 {
    color: #6B46C1;
    margin-bottom: 1rem;
}

/* ===================================
   LISTS
   =================================== */

.simple-list {
    list-style: none;
    padding: 0;
}

.simple-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
    padding-left: 1.5rem;
    position: relative;
}

.simple-list li:last-child {
    border-bottom: none;
}

.simple-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #6B46C1;
    font-weight: 600;
}

/* ===================================
   EXPERTISE PAGE STYLES
   =================================== */

.procedure-groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.procedure-group {
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.procedure-group h4 {
    color: #6B46C1;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #6B46C1;
}

.procedure-group ul {
    list-style: none;
    padding: 0;
}

.procedure-group li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9375rem;
}

.procedure-group li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #6B46C1;
    font-weight: 600;
    font-size: 1.25rem;
}

.two-column-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.column h4 {
    color: #6B46C1;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #6B46C1;
}

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

.column li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9375rem;
}

.column li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #6B46C1;
    font-weight: 600;
}

/* ===================================
   PUBLICATIONS PAGE STYLES
   =================================== */

.tab-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e2e8f0;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 1rem;
    font-weight: 500;
    color: #718096;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: -2px;
}

.tab-btn:hover {
    color: #6B46C1;
}

.tab-btn.active {
    color: #6B46C1;
    border-bottom-color: #6B46C1;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.toggle-container {
    text-align: right;
    margin-bottom: 1.5rem;
}

.toggle-btn {
    padding: 0.5rem 1rem;
    background-color: #ffffff;
    color: #6B46C1;
    border: 1px solid #6B46C1;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.toggle-btn:hover {
    background-color: #f7f5fc;
}

.publication-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.publication-item {
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.publication-item.additional {
    display: none;
}

.publication-item.show {
    display: block;
}

.publication-item h4 {
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-size: 1.0625rem;
}

.authors {
    color: #4a5568;
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.journal {
    color: #718096;
    font-size: 0.9375rem;
    margin: 0;
}

/* ===================================
   CONTACT PAGE STYLES
   =================================== */

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-intro {
    margin-bottom: 2rem;
    text-align: center;
}

.contact-intro p {
    font-size: 1.125rem;
    color: #4a5568;
    margin: 0 auto;
}

.professional-links {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2.5rem;
}

.professional-links h3 {
    color: #6B46C1;
    text-align: center;
    margin-bottom: 1.5rem;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.profile-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
}

.profile-link:hover {
    border-color: #6B46C1;
    box-shadow: 0 4px 12px rgba(107, 70, 193, 0.15);
    transform: translateY(-2px);
}

.link-icon {
    font-size: 2rem;
    flex-shrink: 0;
    color: #6B46C1;
    width: 3rem;
    text-align: center;
}

.link-content h4 {
    color: #2d3748;
    font-size: 1rem;
    margin: 0 0 0.25rem 0;
}

.link-content p {
    color: #718096;
    font-size: 0.875rem;
    margin: 0;
}

.contact-form {
    background: #ffffff;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6B46C1;
}

.form-group textarea {
    resize: vertical;
}

.form-note {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 4px;
}

.form-note small {
    color: #718096;
    font-size: 0.875rem;
}

.success-message {
    background: #ffffff;
    padding: 2rem;
    border: 2px solid #6B46C1;
    border-radius: 8px;
    text-align: center;
}

.success-message h3 {
    color: #6B46C1;
    margin-bottom: 1rem;
}

.success-message p {
    margin: 0 auto 1.5rem;
    color: #4a5568;
}

/* ===================================
   FOOTER
   =================================== */

.site-footer {
    background-color: #2d3748;
    color: #cbd5e0;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.875rem;
}

.site-footer p {
    margin: 0;
}

.site-footer a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: #ffffff;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Tablet - 3 columns for gallery */
@media (max-width: 1200px) {
    .photo-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.6rem;
    }
    
    .gallery-container-wide {
        padding: 0 1.25rem;
    }
    
    /* Teaching section on tablets */
    .content-section .teaching-grid {
        padding: 0 2rem;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        height: auto;
        padding: 1rem 2rem;
        gap: 1rem;
    }
    
    .logo img {
        height: 35px;
    }
    
    .main-nav {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-image {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .profile-intro {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .profile-intro-image {
        max-width: 250px;
        margin: 0 auto;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .card-grid,
    .pillar-grid,
    .pillar-grid-four,
    .teaching-grid {
        grid-template-columns: 1fr;
    }
    
    .procedure-groups,
    .two-column-list {
        grid-template-columns: 1fr;
    }
    
    .tab-nav {
        gap: 0.5rem;
    }
    
    .tab-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    /* Gallery responsive - 2 columns on mobile */
    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        grid-auto-rows: 250px;
    }
    
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(6),
    .gallery-item:nth-child(9),
    .gallery-item:nth-child(12) {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .gallery-container-wide {
        padding: 0 1rem;
    }
    
    /* Lightbox mobile adjustments */
    .gallery-lightbox-content {
        max-width: 95%;
    }
    
    .gallery-lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
    
    .gallery-lightbox-prev {
        left: 10px;
    }
    
    .gallery-lightbox-next {
        right: 10px;
    }
    
    .gallery-lightbox-close {
        font-size: 2rem;
        top: -40px;
    }
    
    .gallery-lightbox-caption {
        font-size: 0.875rem;
        padding: 0.75rem;
        bottom: -80px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .cta-strip .container {
        flex-direction: column;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}