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

:root {
    --primary-color: #4A9B9B;
    --secondary-color: #8B9D83;
    --accent-color: #A8C5BA;
    --text-color: #3D3D3D;
    --bg-color: #FAF8F5;
    --white: #ffffff;
    --cream: #F5F1EB;
    --border-color: #E5DDD5;
    --shadow: 0 4px 12px rgba(74, 155, 155, 0.08);
    --shadow-hover: 0 8px 24px rgba(74, 155, 155, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.8;
    color: var(--text-color);
    background: var(--bg-color);
    letter-spacing: 0.3px;
}

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

/* Navigation Bar */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand a {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    color: var(--primary-color);
    text-decoration: none;
    line-height: 1.1;
}

.nav-brand-title {
    font-size: 1.45rem;
    font-weight: 700;
}

.nav-brand-subtitle {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: var(--accent-color);
    color: var(--text-color);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        max-height: 400px;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu a {
        display: block;
        padding: 1rem 20px;
        border-radius: 0;
    }

    .nav-brand-subtitle {
        font-size: 0.72rem;
        letter-spacing: 0.05em;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(74, 155, 155, 0.6), rgba(139, 157, 131, 0.6)), url('../header.jpg');
    background-size: cover;
    background-position: center 75%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--white);
    padding: 10rem 0 8rem;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    background: var(--cream);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

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

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

.btn-submit {
    background: var(--primary-color);
    color: var(--white);
    width: 100%;
    padding: 1rem 2rem;
}

.btn-submit:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Section Base Styles */
.section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto 3rem;
}

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

.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.text-content .lead {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.text-content p {
    margin-bottom: 1rem;
    color: var(--text-color);
    opacity: 0.9;
}

.about-cta {
    margin-top: 1.25rem;
    text-align: center;
}

.about-image-placeholder {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    height: 400px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 500;
    box-shadow: var(--shadow-hover);
}

.about-photo {
    display: block;
    width: 100%;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow-hover);
}

.portrait-photo {
    object-position: center top;
}

.seated-photo {
    object-position: center 22%;
}

.about-photo-large {
    height: 400px;
}

.about-photo-medium {
    height: 320px;
}

.about-natural-photo {
    height: auto;
    object-fit: contain;
}

.about-natural-photo-seated {
    max-width: 100%;
    height: 100%;
    width: auto;
    object-fit: cover;
    margin-left: 0;
    margin-right: auto;
}

/* Services Section */
.services-section {
    background: var(--bg-color);
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.overview-section {
    background: linear-gradient(180deg, var(--cream) 0%, var(--bg-color) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.overview-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.overview-card h3 {
    color: var(--primary-color);
}

.overview-card .btn {
    margin-top: auto;
    align-self: center;
}

.details-link {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px dashed var(--primary-color);
}

.details-link:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

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

.service-card {
    background: var(--white);
    padding: 1.6rem;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
}

.service-card p {
    color: var(--text-color);
    opacity: 0.85;
    font-size: 0.95rem;
}

.service-toggle {
    display: block;
    margin-top: 0.8rem;
    margin-left: auto;
    margin-right: auto;
    background: var(--primary-color);
    color: var(--white);
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0.45rem 0.95rem;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.service-toggle:hover {
    background: var(--primary-color);
    transform: translateY(-1px);
}

.service-toggle:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.service-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    text-align: left;
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    transition: max-height 0.35s ease, opacity 0.3s ease, margin-top 0.3s ease;
}

.service-card.expanded {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-hover);
}

.service-card.expanded .service-details {
    max-height: 230px;
    opacity: 1;
    margin-top: 0.85rem;
}

.service-details p {
    margin-bottom: 0.9rem;
}

.service-book {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 999px;
    padding: 0.45rem 0.95rem;
    font-size: 0.84rem;
    font-weight: 600;
    align-self: center;
    transition: all 0.25s ease;
}

.service-book:hover {
    background: var(--primary-color);
    transform: translateY(-1px);
}

.find-more-pill {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: none;
}

.find-more-pill:hover {
    background: var(--primary-color);
    color: var(--white);
}

.find-more-pill:visited,
.find-more-pill:active,
.find-more-pill:focus-visible,
.service-book:visited,
.service-book:active,
.service-book:focus-visible {
    background: var(--primary-color);
    color: var(--white);
}

/* How It Works Section */
.how-it-works-section {
    background: var(--white);
    padding-top: 6.5rem;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    z-index: 0;
}

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

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: var(--white);
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-hover);
}

.step h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.step p {
    color: var(--text-color);
    opacity: 0.85;
    font-size: 0.95rem;
}

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

.page-header {
    background: var(--white);
    padding: 8rem 0 3rem;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    color: var(--primary-color);
    font-size: 2.6rem;
    text-align: center;
}

.content-section {
    padding: 3rem 0 6rem;
    background: var(--bg-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-details {
    margin-top: 1.5rem;
}

.about-secondary-grid {
    margin-top: 2rem;
    align-items: stretch;
}

.about-intro-grid {
    align-items: start;
}

.about-image-column {
    display: flex;
}

.about-image-column-top {
    align-items: flex-start;
}

.about-image-column-seated {
    align-items: flex-start;
    height: 100%;
}

.about-right-column {
    display: grid;
    gap: 2rem;
    align-content: start;
}

.funding-section {
    margin-top: 3rem;
    display: grid;
    gap: 1.25rem;
}

.funding-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.funding-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.funding-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.6rem;
}

.funding-card h4 {
    color: var(--text-color);
    margin: 1rem 0 0.5rem;
}

.funding-card ul {
    padding-left: 1.2rem;
    margin-top: 0.7rem;
}

.funding-card li {
    margin-bottom: 0.35rem;
}

.content-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: start;
}

.content-text h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.content-text p {
    margin-bottom: 1rem;
}

.content-image .image-placeholder {
    min-height: 260px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
}

.mission-values {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.mission,
.values {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 1.25rem;
}

.mission h3,
.values h3 {
    color: var(--primary-color);
    margin-bottom: 0.6rem;
}

.values ul {
    padding-left: 1.2rem;
}

.surgeon-explainer {
    margin-top: 2rem;
}

.surgeon-explainer h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0.9rem;
}

.surgeon-explainer-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 1.5rem;
}

.surgeon-explainer-card p {
    margin-bottom: 1rem;
}

.surgeon-explainer-card p:last-child {
    margin-bottom: 0;
}

.resource-grid {
    margin-top: 1.25rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.resource-card {
    display: block;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 1rem 1.1rem;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.resource-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.resource-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    font-size: 1.05rem;
}

.resource-logo {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.2px;
    background: var(--cream);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    margin-bottom: 0.45rem;
}

.resource-logo-image {
    display: block;
    width: auto;
    max-width: 100%;
    height: 52px;
    object-fit: contain;
    margin: 0 0 0.6rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.32));
}

.conditions-section,
.regulatory-section,
.publications-section {
    margin-top: 2.25rem;
}

.conditions-section h2,
.regulatory-section h2,
.publications-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0.9rem;
}

.publications-section h3 {
    color: var(--primary-color);
    margin: 1rem 0 0.75rem;
}

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

.condition-card,
.registration-card,
.publication-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 1.15rem;
}

.condition-card h3,
.registration-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.registration-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.publication-card ul {
    padding-left: 1.2rem;
}

.publication-card li {
    margin-bottom: 0.6rem;
}

.publication-card li:last-child {
    margin-bottom: 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    padding: 2rem 0;
}

.contact-info .contact-item {
    margin-bottom: 2rem;
}

.contact-info .contact-item h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-info .contact-item p {
    color: var(--text-color);
    line-height: 1.8;
}

.contact-info .contact-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info .contact-item a:hover {
    color: var(--primary-color);
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.form-messages {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.form-message {
    border-radius: 14px;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
    border: 1px solid transparent;
}

.form-message-success {
    background: #eef8f0;
    border-color: #a7d7b0;
    color: #1f5c2f;
}

.form-message-error {
    background: #fff2f0;
    border-color: #efb2aa;
    color: #8b2e24;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1.5px solid var(--border-color);
    border-radius: 16px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--bg-color);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 155, 155, 0.1);
    background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-color);
    opacity: 0.5;
}

/* Credentials Section */
.credentials-section {
    background: var(--white);
}

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

.credential-card {
    background: var(--bg-color);
    padding: 2.5rem;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
}

.credential-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.credential-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.credential-logo-image {
    display: block;
    width: auto;
    max-width: 100%;
    height: 52px;
    object-fit: contain;
    margin: 0 auto 0.8rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.32));
}

.credential-card p {
    color: var(--text-color);
    opacity: 0.85;
    font-size: 0.95rem;
}

/* Scroll Animation Styles */
.animate-fade-up,
.animate-slide-left,
.animate-slide-right,
.animate-slide-up {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-fade-up {
    transform: translateY(40px);
}

.animate-slide-left {
    transform: translateX(-60px);
}

.animate-slide-right {
    transform: translateX(60px);
}

.animate-slide-up {
    transform: translateY(60px);
}

/* Animated state */
.animate-fade-up.animated,
.animate-slide-left.animated,
.animate-slide-right.animated,
.animate-slide-up.animated {
    opacity: 1;
    transform: translate(0, 0);
}

/* Animation delays */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* Hero animations play immediately */
.hero .animate-fade-up {
    opacity: 1;
    transform: translateY(0);
    animation: fadeUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero .animate-fade-up.delay-1 {
    animation-delay: 0.2s;
    opacity: 0;
}

.hero .animate-fade-up.delay-2 {
    animation-delay: 0.4s;
    opacity: 0;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
footer {
    background: var(--text-color);
    color: var(--white);
    padding: 2rem 0;
    margin-top: 0;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid,
    .credentials-grid,
    .overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .steps-container::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 8rem 0 6rem;
        min-height: auto;
        background-attachment: scroll;
    }

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

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

    .section {
        padding: 4rem 0;
    }

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

    .section-content,
    .contact-wrapper,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .content-grid,
    .mission-values {
        grid-template-columns: 1fr;
    }

    .resource-grid,
    .conditions-grid,
    .registration-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 2rem;
    }

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

    .steps-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .text-content h2 {
        font-size: 2rem;
    }

    .about-image-placeholder {
        height: 300px;
    }

    .about-photo-large,
    .about-photo-medium {
        height: 300px;
    }

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

    /* Reduce animation distance on mobile */
    .animate-slide-left,
    .animate-slide-right {
        transform: translateY(40px);
    }
}
