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

:root {
    --racing-green: #00594C;
    --light-green: #00826E;
    --dark-text: #1a1a1a;
    --light-bg: #ffffff;
    --grey-bg: #f5f5f5;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--light-bg);
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Sticky CTA Button */
.sticky-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    animation: slideIn 0.5s ease;
}

.sticky-cta .btn-primary {
    padding: 1rem 2rem;
    background: var(--racing-green);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 89, 76, 0.3);
    transition: all 0.3s;
    display: block;
}

.sticky-cta .btn-primary:hover {
    background: var(--light-green);
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(0, 89, 76, 0.4);
}

@keyframes slideIn {
    from { transform: translateX(200px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.5rem 5%;
    border-bottom: 1px solid #e0e0e0;
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 40px;
}

.logo img {
    height: 100%;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
}

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

/* Mobile menu - hamburger appears on small screens */
.burger-menu {
    display: none;
    width: 30px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
}

.burger-menu span {
    width: 100%;
    height: 2px;
    background: var(--dark-text);
    transition: all 0.3s;
}

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

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

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: white;
    padding: 6rem 3rem;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
}

.nav-menu.active {
    right: 0;
}

.nav-menu ul {
    list-style: none;
}

.nav-menu ul li {
    margin-bottom: 2rem;
}

.nav-menu ul li a {
    color: var(--dark-text);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-menu ul li a:hover {
    color: var(--racing-green);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url('hero/hero.jpg') center/cover;
    color: white;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    padding: 2rem;
    animation: fadeIn 1.5s ease;
}

.hero-label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    opacity: 0.95;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

/* Section Base */
.section {
    padding: 4rem 5%;
}

.section-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--racing-green);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--dark-text);
}

.section-description {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #666;
    max-width: 700px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    border: 2px solid;
    text-align: center;
}

.btn-primary {
    background: white;
    color: var(--dark-text);
    border-color: white;
}

.btn-primary:hover {
    background: transparent;
    color: white;
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--dark-text);
}

.btn-green {
    background: var(--racing-green);
    color: white;
    border-color: var(--racing-green);
}

.btn-green:hover {
    background: transparent;
    color: var(--racing-green);
}

/* About Section */
.about {
    background: var(--light-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: center;
}

.about-video {
    width: 100%;
}

.about-video .video-thumbnail {
    aspect-ratio: 16 / 9;
    height: auto;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.about-text strong {
    font-weight: 700;
    color: var(--racing-green);
}

/* Services Section */
.services {
    background: var(--grey-bg);
}

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

.service-card {
    background: white;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-image {
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.service-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.service-content {
    padding: 2rem;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
}

.service-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 1.5rem;
}

/* Testimonial Feature */
.testimonial-feature {
    background: var(--light-bg);
    padding: 4rem 5%;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.testimonial-feature-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-feature-quote {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-feature-author {
    font-size: 1rem;
    font-weight: 700;
    color: var(--racing-green);
    letter-spacing: 1px;
}

.testimonial-feature-logo {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #888;
}

/* Work Section */
.work {
    background: var(--light-bg);
}

.work-category {
    margin-top: 4rem;
}

.category-header {
    margin-bottom: 2rem;
}

.category-title {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}

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

.work-block {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #000;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 4px;
}

.work-block:hover {
    transform: translateY(-5px);
}

.work-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.work-block:hover .work-image {
    opacity: 0.7;
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
}

.work-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    letter-spacing: -0.5px;
}

.work-description {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Play button overlay */
.work-block::after {
    content: '\25B6';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.work-block:hover::after {
    opacity: 0.9;
}

/* Case Studies Grid */
.case-studies {
    background: var(--grey-bg);
}

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

.case-study-card {
    background: white;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.case-study-card:hover {
    transform: translateY(-10px);
}

.case-study-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.case-study-content {
    padding: 2rem;
}

.case-study-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.case-study-subtitle {
    font-size: 0.9rem;
    color: var(--racing-green);
    font-weight: 600;
    margin-bottom: 1rem;
}

.case-study-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
}

/* Clients Grid */
.clients {
    background: var(--light-bg);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 3rem;
    margin-top: 3rem;
    align-items: center;
}

.client-block {
    text-align: center;
    padding: 2rem 1rem;
    transition: all 0.3s;
}

.client-block:hover {
    transform: translateY(-5px);
}

.client-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #666;
    transition: color 0.3s;
}

.client-block:hover .client-name {
    color: var(--racing-green);
}

/* Testimonials Carousel */
.testimonials {
    background: var(--grey-bg);
    overflow: hidden;
}

.testimonial-carousel {
    position: relative;
    max-width: 900px;
    margin: 3rem auto;
    text-align: center;
    min-height: 300px;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.5s ease;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-quote {
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--dark-text);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    font-size: 1rem;
    font-weight: 700;
    color: var(--racing-green);
    letter-spacing: 1px;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background: var(--racing-green);
    width: 30px;
    border-radius: 6px;
}

/* Featured Block */
.featured-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0;
    height: 500px;
}

.featured-image {
    background:
        linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url('https://images.unsplash.com/photo-1627634777217-c864268db30c?w=800&q=80') center/cover;
}

.featured-content {
    background: var(--racing-green);
    color: white;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.featured-content p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Contact */
.contact {
    background: var(--light-bg);
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-form {
    background: var(--grey-bg);
    padding: 3rem;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

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

.contact-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 0.5rem;
}

.contact-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-text);
}

.contact-value a {
    color: var(--dark-text);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-value a:hover {
    color: var(--racing-green);
}

/* Footer */
footer {
    background: var(--dark-text);
    color: white;
    padding: 3rem 5%;
    text-align: center;
}

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

footer a:hover {
    opacity: 1 !important;
}

/* ============================================
   CASE STUDY PAGE STYLES
   ============================================ */

/* Full Width Hero Image */
.case-study-hero-banner {
    width: 100%;
    height: 60vh;
    min-height: 400px;
    max-height: 600px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.case-study-hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-study-hero-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

/* Case Study Header */
.case-study-header {
    background: var(--light-bg);
    padding: 3rem 5%;
}

.case-study-header .section-inner {
    max-width: 900px;
}

.case-study-header .back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--racing-green);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    transition: gap 0.3s;
}

.case-study-header .back-link:hover {
    gap: 0.75rem;
}

.case-study-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

.case-study-header .subtitle {
    font-size: 1.3rem;
    color: var(--racing-green);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.case-study-header .intro {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #666;
}

/* Video Embed */
.video-section {
    background: var(--dark-text);
    padding: 4rem 5%;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-caption {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Legacy Case Study Hero (keeping for compatibility) */
.case-study-hero {
    padding-top: 100px;
    background: var(--grey-bg);
}

.case-study-hero .section-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.case-study-hero-content {
    padding: 3rem 0;
}

.case-study-hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--racing-green);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    transition: gap 0.3s;
}

.back-link:hover {
    gap: 0.75rem;
}

.case-study-page-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.case-study-page-subtitle {
    font-size: 1.2rem;
    color: var(--racing-green);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.case-study-intro {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #666;
}

/* Case Study Content Sections */
.case-study-section {
    padding: 4rem 5%;
    border-bottom: 1px solid #e0e0e0;
}

.case-study-section:last-of-type {
    border-bottom: none;
}

.case-study-section.alt-bg {
    background: var(--grey-bg);
}

.case-study-section h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
    color: var(--dark-text);
}

.case-study-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
    color: var(--racing-green);
}

.case-study-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

.case-study-section p:last-child {
    margin-bottom: 0;
}

/* Results/Stats Grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.result-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 4px;
}

.result-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--racing-green);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.result-label {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

/* Testimonial Block in Case Study */
.case-study-testimonial {
    background: var(--racing-green);
    color: white;
    padding: 4rem 5%;
}

.case-study-testimonial .section-inner {
    max-width: 900px;
    text-align: center;
}

.case-study-testimonial blockquote {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.case-study-testimonial cite {
    font-size: 1rem;
    font-weight: 600;
    font-style: normal;
    opacity: 0.9;
}

/* Related Case Studies */
.related-case-studies {
    background: var(--grey-bg);
}

.related-case-studies h2 {
    margin-bottom: 2rem;
}

/* CTA Section */
.cta-section {
    background: var(--racing-green);
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-section .btn {
    background: white;
    color: var(--racing-green);
    border-color: white;
}

.cta-section .btn:hover {
    background: transparent;
    color: white;
}

/* ============================================
   Z-INDEX HIERARCHY (CRITICAL FIX)
   ============================================ */

nav {
    z-index: 1000;
}

.burger-menu {
    z-index: 1001;
    min-width: 44px;
    min-height: 44px;
}

.nav-menu {
    z-index: 1002;
}

.sticky-cta {
    z-index: 999;
}

.video-lightbox {
    z-index: 10000;
}

/* ============================================
   TOUCH OPTIMIZATIONS
   ============================================ */

/* Prevent double-tap zoom on interactive elements */
button,
.btn,
.btn-primary,
.btn-secondary,
.service-card,
.case-study-card,
.burger-menu,
.carousel-dot {
    touch-action: manipulation;
}

/* Better tap highlight color */
* {
    -webkit-tap-highlight-color: rgba(0, 89, 76, 0.2);
}

/* Remove default tap highlight on links */
a {
    -webkit-tap-highlight-color: transparent;
}

a:active {
    -webkit-tap-highlight-color: rgba(0, 89, 76, 0.2);
}

/* ============================================
   IMPROVED TOUCH TARGETS
   ============================================ */

/* Burger Menu */
.burger-menu {
    padding: 12px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

/* Navigation Links */
.nav-links a {
    padding: 12px 16px;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.nav-menu a {
    padding: 16px 24px;
    min-height: 48px;
    display: block;
}

/* Carousel Dots */
.carousel-dot {
    width: 32px;
    height: 32px;
    margin: 0 8px;
    cursor: pointer;
}

/* Footer Social Links */
footer a {
    padding: 12px;
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   TABLET BREAKPOINT (768px - 1024px)
   ============================================ */

@media (max-width: 1024px) and (min-width: 769px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .about-grid,
    .featured-block,
    .contact-form-grid {
        grid-template-columns: 1fr;
    }

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

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

    /* Show burger menu on tablet */
    .burger-menu {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .case-study-hero .section-inner {
        grid-template-columns: 1fr;
    }

    .case-study-hero-image {
        order: -1;
        height: 300px;
    }

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

    .case-study-page-title {
        font-size: 2.5rem;
    }
}

/* ============================================
   MOBILE BREAKPOINT (≤768px)
   ============================================ */

@media (max-width: 768px) {
    /* Typography */
    body {
        font-size: 16px; /* Prevents iOS zoom */
    }

    .service-description {
        font-size: 1rem; /* Better readability */
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

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

    /* Hero Banner */
    .hero {
        min-height: 50vh;
    }

    .case-study-hero-banner {
        height: 40vh;
        min-height: 300px;
        max-height: 400px;
    }

    /* Layouts */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .case-studies-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

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

    /* Spacing */
    .section {
        padding: 3rem 5%;
    }

    .section-inner {
        padding: 0;
    }

    /* Buttons */
    .btn {
        width: 100%;
        padding: 16px 32px;
        font-size: 1rem;
    }

    .hero-ctas {
        flex-direction: column;
        gap: 1rem;
    }

    /* Sticky CTA */
    .sticky-cta {
        bottom: 1rem;
        right: 1rem;
    }

    .sticky-cta .btn-primary {
        padding: 14px 24px;
        font-size: 0.9rem;
    }

    /* Navigation */
    .burger-menu {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .nav-menu.active {
        display: block;
    }

    /* Footer */
    footer {
        padding: 2rem 5%;
    }

    footer a {
        font-size: 1rem;
    }

    /* Case Study Pages */
    .case-study-page-title {
        font-size: 2rem;
    }

    .case-study-testimonial blockquote {
        font-size: 1.3rem;
    }

    .case-study-content-block {
        padding: 3rem 5%;
    }

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

    .video-thumbnail::after {
        width: 60px;
        height: 60px;
    }

    .play-icon {
        border-width: 10px 0 10px 17px;
    }

    .video-lightbox {
        padding: 1rem;
    }

    .video-lightbox-close {
        top: -40px;
        font-size: 2rem;
        width: 44px;
        height: 44px;
    }
}

/* ============================================
   SMALL MOBILE BREAKPOINT (≤480px)
   ============================================ */

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

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

    .sticky-cta {
        bottom: 0.5rem;
        right: 0.5rem;
    }

    .case-study-page-title {
        font-size: 1.75rem;
    }
}

/* ============================================
   LANDSCAPE ORIENTATION (PHONES)
   ============================================ */

@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
    }

    .case-study-hero-banner {
        height: 100vh;
        max-height: none;
    }

    nav {
        padding: 1rem 5%;
    }
}

/* ============================================
   VIDEO LIGHTBOX STYLES
   ============================================ */

/* Video Lightbox Overlay */
.video-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

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

.video-lightbox-content {
    position: relative;
    width: 100%;
    max-width: 1100px;
}

.video-lightbox-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-lightbox-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s, transform 0.3s;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-lightbox-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* ============================================
   ALTERNATING CONTENT GRID STYLES
   ============================================ */

/* Alternating Content Section */
.case-study-content-block {
    padding: 5rem 5%;
    border-bottom: 1px solid #e0e0e0;
}

.case-study-content-block:last-of-type {
    border-bottom: none;
}

.case-study-content-block.alt-bg {
    background: var(--grey-bg);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.content-grid.reversed {
    direction: rtl;
}

.content-grid.reversed > * {
    direction: ltr;
}

/* Text Content Side */
.content-text {
    padding: 1rem 0;
}

.content-text h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
    color: var(--dark-text);
}

.content-text h3 {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
    color: var(--racing-green);
}

.content-text h3:first-of-type {
    margin-top: 0;
}

.content-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1rem;
}

.content-text p:last-child {
    margin-bottom: 0;
}

/* Video Thumbnail Side */
.content-video {
    position: relative;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-thumbnail:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-thumbnail:hover img {
    transform: scale(1.05);
}



.video-thumbnail::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-thumbnail:hover::after {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* Play Triangle Icon */
.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent var(--racing-green);
    z-index: 3;
    transition: border-color 0.3s ease;
}

.video-thumbnail:hover .play-icon {
    border-color: transparent transparent transparent var(--dark-text);
}

.video-caption-alt {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-top: 1rem;
    font-weight: 500;
}

/* Results Grid within Content Block */
.content-text .results-grid {
    margin-top: 2rem;
}

/* Responsive Adjustments for Alternating Grid */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .content-grid.reversed {
        direction: ltr;
    }

    .content-video {
        order: -1;
    }

    .video-thumbnail::after {
        width: 70px;
        height: 70px;
    }

    .play-icon {
        border-width: 12px 0 12px 20px;
    }
}

@media (max-width: 768px) {
    .case-study-content-block {
        padding: 3rem 5%;
    }

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

    .video-thumbnail::after {
        width: 60px;
        height: 60px;
    }

    .play-icon {
        border-width: 10px 0 10px 17px;
    }

    .video-lightbox {
        padding: 1rem;
    }

    .video-lightbox-close {
        top: -40px;
        font-size: 2rem;
    }
}
