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

body {
    background: #0a0a0a;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 0.97rem;
}

h1, .hero-content h1, .blog-title {
    font-size: 1.35rem;
    font-weight: 700;
    text-align: center;
}

h2, .section-title {
    font-size: 1.08rem;
    font-weight: 600;
    text-align: center;
}

h3 {
    font-size: 0.98rem;
    font-weight: 600;
    text-align: center;
}

.hero-content h1 {
    font-size: 1.35rem;
    text-align: center;
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 0;
    color: #fff;
    font-weight: 400;
    letter-spacing: 0.01em;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #1a1a1a 0%, #0a0a0a 100%);
    position: relative;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #4CAF50 0%, #2196F3 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: #cccccc;
    max-width: 900px;
    margin: 0 auto 2rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #4CAF50 0%, #2196F3 100%);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: #4CAF50;
    border-color: #4CAF50;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: #666;
    animation: bounce 2s infinite;
}

/* About Section */
.about {
    padding: 8rem 0;
    background: #111111;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 3rem;
    color: #ffffff;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #4CAF50 0%, #2196F3 100%);
    border-radius: 2px;
}

.about-text {
    font-size: 1.1rem;
    color: #cccccc;
    line-height: 1.8;
    margin: 2rem 0;
    text-align: left;
}

.expertise-highlight {
    color: #4CAF50;
    font-weight: 600;
}

/* Expertise Section */
.expertise {
    padding: 8rem 0;
    background: #0a0a0a;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.expertise-category {
    background: #1a1a1a;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid #2a2a2a;
    transition: all 0.4s ease;
}

.expertise-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(76, 175, 80, 0.1);
    border-color: #4CAF50;
}

.expertise-category h3 {
    font-size: 1.5rem;
    color: #4CAF50;
    margin-bottom: 1.5rem;
}

.expertise-list {
    list-style: none;
}

.expertise-list li {
    color: #cccccc;
    margin: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.expertise-list li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-size: 0.8rem;
}

/* Projects Section */
.projects {
    padding: 8rem 0;
    background: #111111;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.project-card {
    background: #1a1a1a;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid #2a2a2a;
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(33, 150, 243, 0.1);
    border-color: #2196F3;
}

.project-header {
    background: linear-gradient(135deg, #4CAF50 0%, #2196F3 100%);
    padding: 2rem;
    color: white;
}

.project-role {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.project-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.project-content {
    padding: 2rem;
}

.project-challenge {
    background: #2a2a2a;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #4CAF50;
}

.project-challenge h4 {
    color: #4CAF50;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.project-contributions {
    margin: 1.5rem 0;
}

.project-contributions h4 {
    color: #2196F3;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.project-contributions ul {
    list-style: none;
    padding-left: 0;
}

.project-contributions li {
    color: #cccccc;
    margin: 0.5rem 0;
    padding-left: 1.2rem;
    position: relative;
    font-size: 0.9rem;
}

.project-contributions li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

.project-results {
    background: #0d4f3c;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1.5rem;
}

.project-results h4 {
    color: #4CAF50;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

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

.result-metric {
    text-align: center;
}

.result-value {
    font-size: 1.2rem;
    font-weight: bold;
    color: #4CAF50;
    display: block;
}

.result-label {
    font-size: 0.8rem;
    color: #cccccc;
}

/* Education Section */
.education {
    padding: 8rem 0;
    background: #0a0a0a;
}

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

.education-item {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #2a2a2a;
    border-left: 4px solid #4CAF50;
    transition: all 0.3s ease;
}

.education-item:hover {
    transform: translateX(10px);
    border-left-color: #2196F3;
}

.education-degree {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.education-institution {
    font-size: 1rem;
    color: #4CAF50;
    margin-bottom: 1rem;
}

.education-description {
    color: #cccccc;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    background: #111111;
    text-align: center;
}

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

.contact-text {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 3rem;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: #1a1a1a;
    border-radius: 50px;
    border: 1px solid #2a2a2a;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #cccccc;
}

.contact-method:hover {
    background: #2a2a2a;
    color: #4CAF50;
    transform: translateY(-3px);
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .projects-grid, .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-methods {
        flex-direction: column;
        align-items: center;
    }
    
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

html {
    scroll-behavior: smooth;
}

.hero {
    z-index: 1;
}

.about, .expertise, .projects, .education, .contact {
    position: relative;
    z-index: 2;
} 

/* Header Styles */
.site-header {
    width: 100%;
    background: rgba(10, 10, 10, 0.85);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #222;
}
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 0;
}
.site-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: #4CAF50;
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.2s;
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
}
.site-title:hover {
    color: #2196F3;
    background: rgba(76,175,80,0.08);
}
.site-nav {
    display: flex;
    gap: 2.2rem;
    align-items: center;
}
.site-nav a {
    color: #cccccc;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.08rem;
    transition: color 0.2s, background 0.2s;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    position: relative;
    letter-spacing: 0.5px;
    outline: none;
}
.site-nav a:hover, .site-nav a:focus {
    color: #fff;
    background: linear-gradient(90deg, #4CAF50 0%, #2196F3 100%);
    text-shadow: 0 2px 8px rgba(33,150,243,0.08);
}

/* Remove default link underline for all header/footer links */
.site-header a, .site-footer a {
    text-decoration: none;
}

/* Footer Styles */
.site-footer {
    width: 100%;
    background: #111111;
    color: #cccccc;
    padding: 2rem 0 1rem 0;
    text-align: center;
    border-top: 1px solid #222;
    margin-top: 4rem;
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.footer-links a {
    color: #4CAF50;
    text-decoration: none;
    margin: 0 0.3rem;
    font-size: 1rem;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: #2196F3;
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 200;
    background: rgba(34,34,34,0.85);
    border: none;
    outline: none;
    border-radius: 8px;
    margin-left: 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.hamburger span {
    height: 3px;
    width: 22px;
    background: #4CAF50;
    margin: 3px 0;
    border-radius: 2px;
    transition: 0.3s;
    display: block;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        gap: 0;
        justify-content: space-between;
        padding: 0.7rem 0;
    }
    .site-title {
        font-size: 1.3rem;
        padding: 0.2rem 0.3rem;
    }
    .site-nav {
        position: fixed;
        top: 56px;
        left: 0;
        right: unset;
        background: rgba(10,10,10,0.98);
        flex-direction: column;
        align-items: flex-start;
        width: 220px;
        height: calc(100vh - 56px);
        padding: 2rem 1.5rem;
        gap: 1.5rem;
        box-shadow: -2px 0 16px rgba(0,0,0,0.12);
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(.4,2,.6,1);
        z-index: 150;
    }
    .site-nav.open {
        transform: translateX(0);
    }
    .site-nav a {
        font-size: 1.15rem;
        padding: 0.7rem 0.5rem;
        width: 100%;
        border-radius: 8px;
    }
    .hamburger {
        display: flex;
    }
} 

/* Blog Section Styles */
.blog {
    padding: 8rem 0;
    background: #0a0a0a;
}
.blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}
.blog-post {
    background: #1a1a1a;
    border-radius: 18px;
    padding: 2rem;
    border: 1px solid #222;
    box-shadow: 0 4px 24px rgba(33,150,243,0.04);
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.blog-post:hover {
    box-shadow: 0 8px 32px rgba(33,150,243,0.10);
    border-color: #2196F3;
    transform: translateY(-6px) scale(1.01);
}
.blog-title {
    font-size: 1.3rem;
    color: #4CAF50;
    margin-bottom: 0.2rem;
    font-weight: 600;
}
.blog-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.blog-title a:hover {
    color: #2196F3;
}
.blog-meta {
    font-size: 0.95rem;
    color: #cccccc;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}
.blog-summary {
    color: #cccccc;
    font-size: 1.05rem;
    flex: 1 1 auto;
}
@media (max-width: 768px) {
    .blog-list {
        grid-template-columns: 1fr;
    }
} 

/* Expertise Logos Scroll Styles */
.expertise-logos-scroll {
    width: 100%;
    max-width: 700px;
    margin: 2.5rem auto 3.5rem auto;
    position: relative;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.expertise-logos-scroll::before,
.expertise-logos-scroll::after {
    content: '';
    position: absolute;
    top: 0;
    width: 60px;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}
.expertise-logos-scroll::before {
    left: 0;
    background: linear-gradient(to right, #0a0a0a 90%, transparent 100%);
}
.expertise-logos-scroll::after {
    right: 0;
    background: linear-gradient(to left, #0a0a0a 90%, transparent 100%);
}
.expertise-logos-track {
    display: flex;
    align-items: center;
    gap: 3.5rem;
    animation: logos-scroll 22s linear infinite;
    min-width: 100%;
}
.expertise-logos-track img {
    height: 48px;
    width: auto;
    filter: grayscale(1) brightness(0.8);
    opacity: 0.8;
    transition: filter 0.2s, opacity 0.2s, transform 0.2s;
    will-change: filter, opacity, transform;
}
.expertise-logos-track img:hover {
    filter: grayscale(0) brightness(1.1) drop-shadow(0 2px 8px #2196F3);
    opacity: 1;
    transform: scale(1.08);
    z-index: 2;
}
.expertise-logos-track span svg {
    filter: grayscale(1) brightness(2);
    fill: #eaeaea;
    transition: filter 0.2s, fill 0.2s, transform 0.2s;
}
.expertise-logos-track span:hover svg {
    filter: grayscale(0) brightness(2.5) drop-shadow(0 2px 8px #2196F3);
    fill: #fff;
    transform: scale(1.08);
    z-index: 2;
}
@keyframes logos-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@media (max-width: 768px) {
    .expertise-logos-scroll {
        height: 54px;
        margin: 1.5rem 0 2rem 0;
    }
    .expertise-logos-track img {
        height: 32px;
    }
    .expertise-logos-track {
        gap: 2rem;
    }
} 

@media (max-width: 768px) {
    body {
        font-size: 0.85rem;
    }
    h1, .hero-content h1, .blog-title {
        font-size: 1.1rem;
        text-align: center;
    }
    h2, .section-title {
        font-size: 1.7rem;
        text-align: center;
    }
    h3 {
        font-size: 1.05rem;
        text-align: center;
    }
} 

/* Experience Section Styles */
.experience {
    padding: 8rem 0 6rem 0;
    background: #0a0a0a;
}
.experience-list {
    margin-top: 3.5rem;
}
.experience-row {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    align-items: center;
    padding: 2.2rem 0 2.2rem 0;
    gap: 1.5rem;
}
.exp-role {
    font-size: 1.25rem;
    color: #eaeaea;
    font-weight: 400;
    letter-spacing: 0.01em;
}
.experience-details {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
    text-align: right;
}
.exp-company {
    font-size: 1.1rem;
    color: #bdbdbd;
    font-weight: 400;
}
.exp-type, .exp-dates, .exp-duration, .exp-location, .exp-mode {
    font-size: 0.98rem;
    color: #888;
    font-weight: 300;
    margin-top: 0.1rem;
}
.exp-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin: 0;
}
.experience .section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 0;
    color: #fff;
    font-weight: 400;
    letter-spacing: 0.01em;
}
@media (max-width: 900px) {
    .experience-row {
        grid-template-columns: 1fr 1fr;
        padding: 1.5rem 0;
    }
    .experience .section-title {
        font-size: 1.7rem;
        text-align: center;
    }
}
@media (max-width: 600px) {
    .experience-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 1.2rem 0;
    }
    .experience-details {
        align-items: flex-start;
        text-align: left;
    }
    .experience .section-title {
        font-size: 1.7rem;
        text-align: center;
    }
} 

@media (max-width: 600px) {
  .hero {
    min-height: 80vh;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
  .hero-content h1 {
    font-size: 2.2rem !important;
    margin-top: 0;
    margin-bottom: 1.2rem;
    animation: heroFadeInUp 1.1s cubic-bezier(.4,2,.6,1) both;
  }
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
  }
  .hero-cta {
    margin-top: 1.2rem;
  }
  .about, .expertise, .projects, .education, .contact, .blog, .experience {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }
  .section-title {
    font-size: 1.3rem !important;
    margin-bottom: 1.5rem !important;
  }
}

@keyframes heroFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
} 

/* Testimonial Carousel Styles */
.testimonials {
    padding: 4rem 0 2.5rem 0;
    background: #0a0a0a;
    text-align: center;
}
.testimonial-carousel {
    max-width: 480px;
    min-height: 160px;
    margin: 0 auto;
}
.testimonial-slide {
    display: none;
    background: #1a1a1a;
    border-radius: 14px;
    padding: 1.2rem 1rem 1rem 1rem;
    box-shadow: 0 4px 24px rgba(33,150,243,0.04);
    border: 1px solid #222;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
    margin: 0 auto;
    max-width: 420px;
    min-height: 120px;
    position: relative;
    animation: fadeInUp 0.8s;
}
.testimonial-slide:first-child {
    display: block;
}
.testimonial-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.testimonial-quote {
    font-size: 1.01rem;
    color: #cccccc;
    font-style: italic;
    margin-bottom: 0.7rem;
    line-height: 1.5;
    position: relative;
}
.testimonial-quote::before, .testimonial-quote::after {
    font-size: 1.5rem;
}
.testimonial-quote::after {
    content: '”';
    vertical-align: bottom;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: 0.5rem;
}
.testimonial-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid #4CAF50;
    box-shadow: 0 2px 8px rgba(76,175,80,0.08);
}
.testimonial-name {
    font-weight: 600;
    color: #4CAF50;
    font-size: 0.98rem;
    display: block;
}
.testimonial-role {
    color: #cccccc;
    font-size: 0.85rem;
    opacity: 0.8;
    display: block;
}
@media (max-width: 768px) {
    .testimonial-slide {
        padding: 1.5rem 0.7rem 1.2rem 0.7rem;
        min-height: 180px;
    }
    .testimonial-carousel {
        min-height: 180px;
    }
} 

/* --- Testimonial Carousel Compact Tweaks --- */
.testimonials {
    padding: 4rem 0 2.5rem 0;
}
.testimonial-carousel {
    max-width: 480px;
    min-height: 160px;
    margin: 0 auto;
}
.testimonial-slide {
    display: none;
    background: #1a1a1a;
    border-radius: 14px;
    padding: 1.2rem 1rem 1rem 1rem;
    box-shadow: 0 4px 24px rgba(33,150,243,0.04);
    border: 1px solid #222;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
    margin: 0 auto;
    max-width: 420px;
    min-height: 120px;
    position: relative;
    animation: fadeInUp 0.8s;
}
.testimonial-slide:first-child {
    display: block;
}
.testimonial-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.testimonial-quote {
    font-size: 1.01rem;
    color: #cccccc;
    font-style: italic;
    margin-bottom: 0.7rem;
    line-height: 1.5;
    position: relative;
}
.testimonial-quote::before, .testimonial-quote::after {
    font-size: 1.5rem;
}
.testimonial-quote::after {
    content: '”';
    vertical-align: bottom;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: 0.5rem;
}
.testimonial-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid #4CAF50;
    box-shadow: 0 2px 8px rgba(76,175,80,0.08);
}
.testimonial-name {
    font-weight: 600;
    color: #4CAF50;
    font-size: 0.98rem;
    display: block;
}
.testimonial-role {
    color: #cccccc;
    font-size: 0.85rem;
    opacity: 0.8;
    display: block;
}
@media (max-width: 600px) {
    .testimonials {
        padding: 2rem 0 1.2rem 0;
    }
    .testimonial-carousel {
        max-width: 98vw;
        min-height: 100px;
    }
    .testimonial-slide {
        padding: 0.7rem 0.3rem 0.7rem 0.3rem;
        max-width: 98vw;
        min-height: 80px;
    }
    .testimonial-quote {
        font-size: 0.93rem;
    }
    .testimonial-avatar {
        width: 30px;
        height: 30px;
    }
    .testimonial-name {
        font-size: 0.91rem;
    }
    .testimonial-role {
        font-size: 0.78rem;
    }
} 

/* --- Testimonial Carousel Landscape Tweaks --- */
.testimonial-carousel {
    max-width: 800px;
    min-height: 100px;
}
.testimonial-slide {
    max-width: 700px;
    min-height: 100px;
    max-height: 260px;
    padding: 1.2rem 2.5rem 1.2rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
}
.testimonial-content {
    max-width: 650px;
    margin: 0 auto;
}
.testimonial-quote {
    font-size: 1.08rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    line-height: 1.5;
}
@media (max-width: 900px) {
    .testimonial-carousel {
        max-width: 98vw;
    }
    .testimonial-slide {
        max-width: 98vw;
        padding: 1rem 0.5rem;
    }
    .testimonial-content {
        max-width: 95vw;
    }
    .testimonial-quote {
        max-width: 90vw;
    }
} 

/* Remove scrollbar for testimonial-slide unless expanded */
.testimonial-slide {
    overflow-y: hidden;
}

/* Only apply max-height and overflow-y when not expanded */
.testimonial-slide:not(.expanded) {
    max-height: 260px;
    overflow-y: hidden;
}

.testimonial-slide.expanded {
    max-height: none !important;
    overflow-y: visible !important;
    transition: max-height 0.3s;
} 

/* Style the Read More/Show Less link */
.testimonial-toggle {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 500;
    margin-left: 0.5rem;
    cursor: pointer;
    border: none;
    background: none;
    font-size: 0.98rem;
    transition: color 0.2s;
}
.testimonial-toggle:hover, .testimonial-toggle:focus {
    color: #2196F3;
    text-decoration: underline;
} 

.section-title:not(.experience .section-title) {
    font-size: 1.7rem;
}
@media (max-width: 600px) {
    .section-title:not(.experience .section-title) {
        font-size: 1.3rem;
    }
} 