/* Cosmic Portfolio Styles */
:root {
    --primary-color: rgba(232, 224, 209, 0.92); /* warm cream */
    --secondary-color: rgba(232, 224, 209, 0.7);
    --accent-color: rgba(224, 164, 74, 0.4); /* golden-hour amber */
    --highlight-color: rgba(224, 164, 74, 0.85); /* amber accent */
    --background-overlay: rgba(30, 32, 37, 0.5);
    --heading-color: rgba(244, 238, 226, 0.97); /* near-cream headings */
    --dark-blue-grey: #23262B; /* deep warm-neutral base */
    --panel: rgba(24, 26, 30, 0.62); /* quiet dark glass for content */
    --header-font: 'Lora', Georgia, serif;
    --body-font: 'Inter', system-ui, sans-serif;
    --lavender-fill: rgba(123, 140, 222, 0.22); /* base content surfaces */
    --lavender-line: rgba(123, 140, 222, 0.5);
}

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

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--primary-color);
    background: var(--dark-blue-grey);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    font-weight: 400;
    /* Improve touch scrolling on iOS */
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 1920px) {
    body {
        background: var(--dark-blue-grey);
    }
}

@media (min-width: 2560px) {
    body {
        background: var(--dark-blue-grey);
    }
}

@media (max-width: 1024px) {
    body {
        background: var(--dark-blue-grey);
    }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    z-index: 0;
}

/* Navigation */
.cosmic-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(30, 32, 37, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(224, 164, 74, 0.4);
    padding: 0.5rem 0;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem;
}

.nav-content ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 0.5rem;
    margin: 0;
}

.nav-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(30, 32, 37, 0.7);
    border: 1px solid var(--highlight-color);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    height: 38px;
    /* Improve touch targets on mobile */
    touch-action: manipulation;
}

.nav-content a:hover {
    color: var(--dark-blue-grey);
    background: var(--highlight-color);
    transform: translateY(-1px);
    border: 1px solid var(--highlight-color);
    box-shadow: 0 2px 8px rgba(224, 164, 74, 0.4);
}

.nav-content a i {
    font-size: 1.2rem;
    margin: 0;
    padding: 0;
}

/* Sections */
section {
    position: relative;
    z-index: 1;
    padding: 4rem 0;
    scroll-margin-top: 80px;
    transition: background 0.5s ease-in-out;
}

#home {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    padding-top: calc(60px + 2rem);
    padding-bottom: 3rem;
    background: url('../images/Background/Utah.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    z-index: 1;
}

/* Additional mobile optimizations for very small screens */
@media (max-width: 480px) {
    #home,
    #about,
    #projects,
    #testimonials {
        /* Fallback solid background for devices that struggle with background images */
        background-color: var(--dark-blue-grey);
    }
    
    .cosmic-nav {
        padding: 0.25rem 0;
    }
    
    .nav-content {
        padding: 0.25rem;
    }
    
    .nav-content ul {
        flex-direction: row;
        gap: 0.5rem;
        padding: 0.25rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .nav-content a {
        flex: 1;
        max-width: 120px;
        min-width: 80px;
        padding: 0.5rem 0.75rem;
        height: 36px;
        font-size: 0.8rem;
        margin: 0;
    }
    
    .container {
        padding: 1rem;
        margin: 0 0.5rem;
    }
    
    .cosmic-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.8rem;
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
    
    .project-info a {
        width: 100%;
        max-width: 180px;
        padding: 0.8rem 1rem;
        font-size: 0.8rem;
    }
    
    h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .projects-grid {
        gap: 1rem;
    }
}

#about {
    background: url('../images/Background/Becket1.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    z-index: 1;
}

#projects {
    background: url('../images/Background/Acadia2.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    z-index: 1;
}

#testimonials {
    background: url('../images/Background/Lamoine2.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    z-index: 1;
}

/* Desktop parallax: fixed backgrounds only where reliably supported.
   Mobile browsers default to scroll, which renders correctly. */
@media (min-width: 769px) {
    #home,
    #about,
    #projects,
    #testimonials {
        background-attachment: fixed;
    }
}

#testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(20, 21, 25, 0.55) 0%, rgba(20, 21, 25, 0.32) 40%, rgba(20, 21, 25, 0.55) 100%);
    z-index: -1;
}

/* Section overlays */
#home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 32, 37, 0.1);
    z-index: -1;
}

#about::before,
#projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(20, 21, 25, 0.55) 0%, rgba(20, 21, 25, 0.32) 40%, rgba(20, 21, 25, 0.55) 100%);
    z-index: -1;
}

/* Hero Section Design */
.hero-eyebrow {
    position: relative;
    z-index: 3;
    font-family: var(--body-font);
    text-transform: uppercase;
    letter-spacing: 0.32em;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--highlight-color);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
    margin-bottom: 1rem;
    padding-left: 0.32em;
}

.hero-name {
    position: relative;
    font-size: 6.5rem;
    color: var(--heading-color) !important;
    text-shadow: 2px 3px 14px rgba(0, 0, 0, 0.7);
    font-weight: 600;
    font-family: var(--header-font);
    letter-spacing: -0.02em;
    line-height: 1;
    z-index: 3;
    text-align: center;
    margin-bottom: 1rem;
}

.hero-title {
    position: relative;
    font-size: 2.1rem;
    color: var(--heading-color) !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85);
    font-weight: 500;
    font-family: var(--header-font);
    font-style: normal;
    z-index: 3;
    text-align: center;
    margin-bottom: 1.25rem;
}

.hero-tagline {
    position: relative;
    z-index: 3;
    font-family: var(--body-font);
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--primary-color);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
    max-width: 52ch;
    text-align: center;
    margin-bottom: 2.25rem;
}

.hero-title::after {
    display: none;
}

.hero-button-cluster {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    align-items: center;
    margin-top: auto;
}

.hero-social {
    display: flex;
    gap: 1rem;
    margin: 0;
}

.hero-social .social-icon {
    width: 55px;
    height: 55px;
    font-size: 1.4rem;
    background: rgba(224, 164, 74, 0.2);
    border: 2px solid var(--highlight-color);
    border-radius: 50%;
    color: var(--primary-color);
    transition: all 0.1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    touch-action: manipulation;
}

.hero-social .social-icon:hover {
    background: rgba(224, 164, 74, 0.7);
    border: 2px solid var(--highlight-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(224, 164, 74, 0.4);
}

.hero-resume-btn {
    background: rgba(224, 164, 74, 0.2);
    border: 2px solid var(--highlight-color);
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 500;
    height: 55px;
    padding: 0 2rem;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.1s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin: 0;
    touch-action: manipulation;
}

.hero-resume-btn:hover {
    background: var(--highlight-color);
    border: 2px solid var(--highlight-color);
    color: var(--dark-blue-grey);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(224, 164, 74, 0.4);
}



/* Responsive Design for Hero Section */
@media (max-width: 1200px) {
    .hero-name {
        font-size: 5rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-resume-btn {
        font-size: 1rem;
        padding: 0.9rem 1.8rem;
    }
}

@media (max-width: 968px) {
    .hero-name {
        font-size: 4rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
        padding: 0.8rem 1.2rem;
    }
    
    .hero-button-cluster {
        gap: 1.2rem;
    }
    
    .hero-social .social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .hero-resume-btn {
        font-size: 0.9rem;
        padding: 0.9rem 1.6rem;
    }
}

@media (max-width: 768px) {
    .hero-name {
        font-size: 3.2rem;
        width: 90%;
    }
    
    .hero-title {
        font-size: 1.5rem;
        width: 85%;
        padding: 0.8rem 1rem;
    }
    
    .hero-button-cluster {
        gap: 1rem;
    }
    
    .hero-social .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .hero-resume-btn {
        font-size: 0.9rem;
        padding: 0.8rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-name {
        font-size: 2.5rem;
        width: 95%;
    }
    
    .hero-title {
        font-size: 1.3rem;
        padding: 0.7rem 0.9rem;
        width: 90%;
    }
    
    .hero-button-cluster {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 300px;
    }
    
    .hero-social {
        gap: 1rem;
        order: 2;
        justify-content: center;
        width: 100%;
    }
    
    .hero-social .social-icon {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }
    
    .hero-resume-btn {
        font-size: 0.9rem;
        padding: 0.8rem 1.5rem;
        order: 1;
        white-space: nowrap;
        min-width: 180px;
        text-align: center;
    }
}

/* Content Sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem;
    position: relative;
    z-index: 1;
    background: var(--lavender-fill);
    border: 1px solid var(--lavender-line);
    border-radius: 14px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    font-family: var(--header-font);
    font-weight: 500; /* Medium weight for DM Sans */
}

h2 {
    font-size: 2.75rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    color: var(--heading-color) !important;
    font-family: var(--header-font);
}

h2::after {
    content: '';
    position: absolute;
    bottom: -0.9rem;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 3px;
    border-radius: 2px;
    background: var(--highlight-color);
}

/* Buttons */
.cosmic-btn {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    border: 2px solid var(--highlight-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    background: rgba(224, 164, 74, 0.2);
    font-weight: 400;
    letter-spacing: 0.05em;
    /* Improve touch targets on mobile */
    min-height: 44px;
    touch-action: manipulation;
}

.cosmic-btn:hover {
    background: var(--highlight-color);
    color: var(--dark-blue-grey);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(224, 164, 74, 0.4);
    border: 2px solid var(--highlight-color);
}

/* About Section */
.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
}

.about-images {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.cosmic-headshot {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--highlight-color);
    box-shadow: 0 4px 15px rgba(224, 164, 74, 0.4);
}

@media (max-width: 968px) {
    .about-images {
        flex-direction: column;
        align-items: center;
    }
    
    .cosmic-headshot {
        width: 150px;
        height: 150px;
    }
}



/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.project-card {
    background: rgba(30, 32, 37, 0.95);
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--highlight-color);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(30, 32, 37, 0.95);
    border-top: 1px solid var(--highlight-color);
}

.project-info h3 {
    margin-bottom: 1rem;
    width: 100%;
    color: var(--heading-color);
}

.project-info p {
    margin-bottom: 1.5rem;
    flex-grow: 1;
    width: 100%;
    color: var(--primary-color);
}

.project-info a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border: 2px solid var(--highlight-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    background: rgba(224, 164, 74, 0.2);
    font-weight: 400;
    margin-top: 1rem;
    width: fit-content;
    min-width: 120px;
}

.project-info a:hover {
    background: var(--highlight-color);
    color: var(--dark-blue-grey);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(224, 164, 74, 0.4);
    border: 2px solid var(--highlight-color);
}

.project::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/Background/Becket1.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.15;
    z-index: -1;
}



.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-links a {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(30, 32, 37, 0.8);
    border: 2px solid var(--highlight-color);
    text-decoration: none;
    position: relative; /* Added for icon positioning */
}

.social-links a i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Perfect centering */
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    color: var(--dark-blue-grey);
    background: var(--highlight-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(224, 164, 74, 0.4);
    text-decoration: none;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: rgba(30, 32, 37, 0.9);
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    section {
        padding: 4rem 0;
        padding-top: calc(60px + 2rem); /* Account for fixed nav */
    }

    #home {
        padding-top: calc(60px + 2rem); /* Consistent padding */
    }

    .content-wrapper {
        padding: 2rem;
        margin-top: 1rem;
    }

    .content-wrapper h1 {
        font-size: 3.5rem;
        margin-top: 1rem;
    }

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

    .cosmic-nav {
        padding: 0.3rem 0;
    }
    
    .nav-content {
        padding: 0.3rem;
    }
    
    .nav-content ul {
        gap: 0.75rem;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0.3rem;
    }
    
    .nav-content a {
        min-width: 100px;
        max-width: 140px;
        text-align: center;
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
        height: 40px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        padding: 1rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-info a {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
        min-width: 100px;
    }
    
    .cosmic-btn {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }
    
    .container {
        padding: 1.5rem;
        margin: 0 1rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}



/* Headings */
h2, 
.content-wrapper h2,
.project-info h3 {
    font-weight: 500;
    font-family: var(--header-font);
}

.project-info h3 {
    color: var(--heading-color) !important;
    font-weight: 500;
    margin-bottom: 1rem;
    font-family: var(--header-font);
}

.project-card h3 {
    color: var(--heading-color) !important;
    font-weight: 500;
    margin-bottom: 1rem;
    font-family: var(--header-font);
}

/* Update any potential conflicting styles */
.container h2,
.container h3 {
    color: var(--heading-color) !important;
}





/* Thin Section - now used as spacers between main sections */
.thin-section {
    padding: 1rem 0;
    background: var(--dark-blue-grey);
}

.thin-container {
    max-width: 100px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    z-index: 1;
    background: transparent;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    height: 1.5rem; /* quiet vertical breathing room between photo sections */
}

.coming-soon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(44, 62, 80, 0.4), rgba(52, 152, 219, 0.4));
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    backdrop-filter: blur(1px);
}

.coming-soon h3 {
    font-size: 1.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: pulse 3s infinite;
    z-index: 1;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15);
    font-weight: 400;
}

.coming-soon::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.03);
    transform: rotate(45deg);
    animation: shine 4s infinite;
}

.cosmic-btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

@keyframes shine {
    0% { transform: rotate(45deg) translateX(-100%); }
    100% { transform: rotate(45deg) translateX(100%); }
}

/* Testimonials Carousel */
.testimonials-carousel {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--lavender-fill);
    border: 1px solid var(--lavender-line);
    border-radius: 14px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.testimonial-card {
    padding: 2rem;
    text-align: left;
}

.testimonial-content {
    position: relative;
    padding: 2rem;
    background: rgba(30, 32, 37, 0.8);
    border-radius: 15px;
    border: 1px solid var(--highlight-color);
    box-shadow: 0 4px 15px rgba(224, 164, 74, 0.3);
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.testimonial-author {
    text-align: right;
    border-top: 1px solid var(--highlight-color);
    padding-top: 1rem;
    margin-top: 1rem;
}

.author-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.author-title {
    font-size: 1rem;
    color: var(--primary-color);
    opacity: 0.9;
}

/* Testimonials Navigation */
.testimonials-carousel .swiper-button-next,
.testimonials-carousel .swiper-button-prev {
    color: var(--primary-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.testimonials-carousel .swiper-button-next:hover,
.testimonials-carousel .swiper-button-prev:hover {
    color: var(--highlight-color);
}

.testimonials-carousel .swiper-pagination {
    position: static;
    margin-top: 0.75rem;
}

.testimonials-carousel .swiper-pagination-bullet {
    background: var(--primary-color);
    opacity: 0.7;
}

.testimonials-carousel .swiper-pagination-bullet-active {
    background: var(--highlight-color);
    opacity: 1;
}

@media (max-width: 768px) {
    #testimonials {
        padding-top: calc(60px + 1rem);
        padding-bottom: 2rem;
    }

    #testimonials h2 {
        margin-bottom: 1.5rem;
    }

    .testimonials-carousel {
        padding: 0.75rem;
    }

    .testimonial-card {
        padding: 0.25rem;
    }

    .testimonial-content {
        padding: 1rem 1.1rem;
    }

    .testimonial-text {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 0.85rem;
    }

    /* The first testimonial is much longer, so scale it to fill one screen */
    .testimonial-text--long {
        font-size: clamp(0.8rem, 3.7vw, 1rem);
        line-height: 1.5;
        margin-bottom: 0.85rem;
    }

    .testimonial-author {
        padding-top: 0.75rem;
        margin-top: 0.75rem;
    }

    .author-name {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    .author-title {
        font-size: 0.85rem;
    }

    .testimonials-carousel .swiper-button-next,
    .testimonials-carousel .swiper-button-prev {
        display: none;
    }

    .testimonials-carousel .swiper-pagination {
        margin-top: 0.4rem;
    }
} 