/* ========================================
   HOME PAGE STYLES - Mitchell Fildes Portfolio
   ======================================== */

/* ========================================
   TABLE OF CONTENTS:
   
   1. Base Styles & Reset
   2. Navigation & Mobile Menu
   3. Container & Layout
   4. Hero Section
   5. About Section
   6. Featured Work Section
   7. Services Section
   8. CTA (Get in Touch) Section
   9. Footer
   10. Responsive Design (Tablet & Mobile)
   ======================================== */

/* ========================================
   1. BASE STYLES & RESET
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Barlow", sans-serif;
    font-weight: 500;
    background-color: #ffffff;
    color: #4d4d4d;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Sora", sans-serif;
    font-weight: 400;
    font-optical-sizing: auto;
    font-style: normal;
}

/* Orange text selection color */
::selection {
    background-color: #FF4D00;
    color: #ffffff;
}

::-moz-selection {
    background-color: #FF4D00;
    color: #ffffff;
}

/* ========================================
   2. NAVIGATION & MOBILE MENU
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 24px 0;
    transition: all 0.3s ease;
}

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

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 56px;
    width: auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.nav-menu {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #FF4D00;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 10px 24px;
    border-radius: 50px;
    position: relative;
    transition: color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
    background: transparent;
}

.nav-link:hover {
    color: #ffffff;
    background: #FF4D00;
}

.nav-link.active {
    color: #ffffff;
    background: #FF4D00;
}

.nav-link::after {
    display: none;
}

.nav-socials {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-left: 16px;
}

.nav-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 77, 0, 0.1);
    border-radius: 50%;
    color: #FF4D00;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-socials a:hover {
    background: #FF4D00;
    color: #ffffff;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: #FF4D00;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: #fff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 60px;
        gap: 16px;
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 16px;
        padding: 14px 36px;
        letter-spacing: 2px;
    }
    
    .nav-socials {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* ========================================
   3. CONTAINER & LAYOUT
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 20px;
    min-height: 0;
    position: relative;
}

/* ========================================
   4. HERO SECTION
   Image-dominant showcase with inset framing
   ======================================== */
.hero {
    width: 100%;
    height: 80vh;
    padding: 104px 24px 24px;
    background: #ffffff;
    position: relative;
}

.hero-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #f0f0f0;
}

/* Slides */
.hero-slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.03);
    transition: transform 6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.hero-slide.active img {
    transform: scale(1);
}

/* Bottom gradient — replaces full dark overlay */
.hero-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.25) 40%,
        transparent 100%
    );
    z-index: 2;
    pointer-events: none;
}

/* Project Info — bottom left */
.hero-info {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 5;
    max-width: 600px;
}

.hero-index {
    display: block;
    font-family: "Sora", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.hero-title {
    font-family: "Sora", sans-serif;
    font-size: clamp(1.75rem, 4vw, 3.25rem);
    font-weight: 300;
    color: #ffffff;
    line-height: 1.5;
    letter-spacing: -0.02em;
    margin: 0;
    display: inline;
    background: #FF4D00;
    padding: 0.04em 0.18em;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Barlow", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 18px;
}

.hero-meta-divider {
    color: rgba(255, 255, 255, 0.35);
}

/* Text entrance animation */
.hero-info .hero-index,
.hero-info .hero-title,
.hero-info .hero-meta {
    opacity: 0;
    transform: translateY(15px);
}

.hero-info.animate-in .hero-index {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: 0ms;
}

.hero-info.animate-in .hero-title {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: 80ms;
}

.hero-info.animate-in .hero-meta {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: 160ms;
}

/* Controls — bottom right */
.hero-controls {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.hero-nav {
    display: flex;
    gap: 8px;
}

.hero-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.hero-nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.7);
    transform: scale(1.08);
}

.hero-nav-btn:active {
    transform: scale(0.95);
}

/* Dot indicators */
.hero-indicators {
    display: flex;
    gap: 10px;
    align-items: center;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    padding: 0;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.hero-dot-fill {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #FF4D00;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.hero-dot.active {
    border-color: #FF4D00;
}

.hero-dot.active .hero-dot-fill {
    transform: scale(1);
}

.hero-dot:hover {
    border-color: rgba(255, 255, 255, 0.9);
}

/* Progress bar */
.hero-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.15);
    z-index: 5;
}

.hero-progress-bar {
    height: 100%;
    background: #FF4D00;
    width: 0%;
}

.hero-progress-bar.running {
    animation: heroProgressFill 5s linear forwards;
}

@keyframes heroProgressFill {
    from { width: 0%; }
    to { width: 100%; }
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #FF4D00 0%, #ff6b33 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 77, 0, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff6b33 0%, #FF4D00 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 77, 0, 0.4);
}

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

.btn-secondary:hover {
    background: #ffffff;
    color: #FF4D00;
    transform: translateY(-3px);
}

/* Section Labels - Used across multiple sections */
.section-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #FF4D00;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.section-header {
    text-align: center;
    margin-bottom: 32px;
}

.section-title-alt {
    font-size: 2.5rem;
    font-weight: 400;
    color: #333333;
    margin-bottom: 0;
}

/* ========================================
   5. ABOUT SECTION
   Two-column layout with text and image
   Includes stats grid
   Background: White
   ======================================== */
.about {
    padding: 56px 0 60px;
    background: #ffffff;
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    max-width: 600px;
}

.about-title {
    font-size: 2.75rem;
    font-weight: 400;
    color: #333333;
    margin-bottom: 28px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.about-description {
    font-size: 17px;
    color: #666666;
    line-height: 1.85;
    margin-bottom: 24px;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.about-photo {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    object-fit: cover;
    display: block;
}

/* ========================================
   6. FEATURED WORK SECTION - MODERNIZED CAROUSEL
   Professional-grade carousel with accessibility and modern UX
   Background: Light Grey (#f8f9fa)
   ======================================== */
.featured-work {
    padding: 56px 0 64px;
    background: #f8f9fa;
    position: relative;
    overflow: visible;
}

.featured-work::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 77, 0, 0.3), transparent);
}


/* Project Cards - Compact Card-Like Design */
.project-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 450px;
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.05);
    will-change: transform;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(255, 77, 0, 0.25);
    border-color: rgba(255, 77, 0, 0.2);
}

/* Card Image - Better Aspect Ratio for Visibility */
.card-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.project-card:hover .card-image img {
    transform: scale(1.08);
}

.card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .card-image::after {
    opacity: 1;
}

/* Coming Soon Placeholder */
.coming-soon-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 2px dashed rgba(255, 77, 0, 0.2);
    border-radius: 12px;
}

.coming-soon-icon {
    font-size: 3rem;
    color: #FF4D00;
    opacity: 0.7;
    animation: pulse 2s ease-in-out infinite;
    animation-play-state: paused;
}

.coming-soon-icon.animating {
    animation-play-state: running;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* Coming Soon card specific styling */
.project-card.coming-soon {
    border: 1px solid rgba(255, 77, 0, 0.15);
}

.project-card.coming-soon .card-content {
    opacity: 0.8;
}

/* Card Content - More Spacing */
.card-content {
    padding: 1.75rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #ffffff;
}

.card-header {
    flex: 1;
    min-height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.card-title {
    font-family: "Sora", sans-serif;
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
    font-weight: 400;
    color: #333333;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    transition: color 0.4s ease;
}

.project-card:hover .card-title {
    color: #FF4D00;
}

.card-category {
    font-size: 0.85rem;
    color: #FF4D00;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    display: inline-block;
}

/* Card Actions */
.card-actions {
    margin-top: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: transparent;
    border: 2px solid #FF4D00;
    border-radius: 50px;
    color: #FF4D00;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FF4D00 0%, #ff6b33 100%);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.cta-button:hover::before {
    left: 0;
}

.cta-button:hover {
    color: #ffffff;
    border-color: #FF4D00;
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(255, 77, 0, 0.35);
}

.cta-button:active {
    transform: translateX(2px);
}

.cta-button:hover svg {
    transform: translateX(3px) rotate(5deg);
}

.cta-button svg {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.cta-button.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    border-color: #ccc;
    color: #ccc;
    pointer-events: none;
}

.cta-button.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Navigation buttons removed - using scroll-based navigation */

/* ========================================
   SWIPER CAROUSEL - MODERN & RELIABLE
   ======================================== */
.features-carousel {
    background: #f8f9fa;
    padding: 20px 0 60px 0;
    margin-top: 0;
    position: relative;
}

.swiper {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 40px 60px 70px;
    position: relative;
}

/* Swiper navigation buttons - clean, simple and WORKING */
.swiper-button-prev,
.swiper-button-next {
    width: 52px;
    height: 52px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    z-index: 10;
}

.swiper-button-prev {
    left: 5px;
}

.swiper-button-next {
    right: 5px;
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 20px;
    color: #FF4D00;
    font-weight: 900;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: #FF4D00;
    transform: scale(1.15);
    box-shadow: 0 8px 30px rgba(255, 77, 0, 0.35);
}

.swiper-button-prev:hover:after,
.swiper-button-next:hover:after {
    color: #ffffff;
}

.swiper-button-prev:active,
.swiper-button-next:active {
    transform: scale(1.05);
}

.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Pagination dots - simple and clean */
.swiper-pagination {
    bottom: 15px !important;
    position: relative;
}

.swiper-pagination-bullet {
    background: rgba(255, 77, 0, 0.25);
    width: 10px;
    height: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    margin: 0 6px !important;
}

.swiper-pagination-bullet:hover {
    background: rgba(255, 77, 0, 0.5);
    transform: scale(1.2);
}

.swiper-pagination-bullet-active {
    background: #FF4D00;
    transform: scale(1.4);
    width: 24px;
    border-radius: 5px;
}

/* Duplicate project-card styles removed - using main definition above */

/* Duplicate card-image styles removed - using main definition above */

/* Card content styling */
.card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.card-header {
    flex: 1;
}

.card-title {
    font-family: "Sora", sans-serif;
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 400;
    color: #333333;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.project-card:hover .card-title {
    color: #FF4D00;
}

.card-category {
    font-size: 0.9rem;
    color: #FF4D00;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0;
}

/* Card actions */
.card-actions {
    margin-top: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid #FF4D00;
    border-radius: 50px;
    color: #FF4D00;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #FF4D00;
    transition: left 0.3s ease;
    z-index: -1;
}

.cta-button:hover::before {
    left: 0;
}

.cta-button:hover {
    color: #ffffff;
    transform: translateX(4px);
    box-shadow: 0 8px 20px rgba(255, 77, 0, 0.3);
}

.cta-button:hover svg {
    transform: translateX(2px);
}

.cta-button svg {
    transition: transform 0.3s ease;
}


/* Responsive sizing for Swiper */
@media (max-width: 1024px) {
    .swiper {
        padding: 30px 50px;
    }
    
    .swiper-button-prev,
    .swiper-button-next {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 768px) {
    .features-carousel {
        padding: 40px 1rem 60px 1rem;
    }
    
    .swiper {
        padding: 20px 40px;
    }
    
    .swiper-button-prev,
    .swiper-button-next {
        width: 40px;
        height: 40px;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .features-carousel {
        padding: 30px 0.5rem 50px 0.5rem;
    }
    
    .swiper {
        padding: 20px 30px;
    }
    
    .swiper-button-prev,
    .swiper-button-next {
        width: 40px;
        height: 40px;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
}

/* ========================================
   7. SERVICES SECTION - ENHANCED
   Modern service cards with advanced interactions
   Inspired by ReactBits design patterns
   Background: Light Grey (#f8f9fa)
   ======================================== */
.services {
    padding: 80px 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 77, 0, 0.3), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 77, 0, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FF4D00, #ff6b33);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(255, 77, 0, 0.15);
    border-color: rgba(255, 77, 0, 0.2);
}

.service-card-inner {
    padding: 40px 30px;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-icon {
    position: relative;
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-background {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 77, 0, 0.1), rgba(255, 107, 51, 0.1));
    border-radius: 16px;
    transition: all 0.3s ease;
}

.service-card:hover .icon-background {
    background: linear-gradient(135deg, rgba(255, 77, 0, 0.15), rgba(255, 107, 51, 0.15));
    transform: scale(1.1);
}

.service-icon svg {
    position: relative;
    z-index: 1;
    color: #FF4D00;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon svg {
    color: #FF4D00;
    transform: scale(1.1);
}

.service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-title {
    font-family: "Sora", sans-serif;
    font-size: 1.375rem;
    font-weight: 400;
    color: #333333;
    margin-bottom: 12px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.service-card:hover .service-title {
    color: #FF4D00;
}

.service-description {
    color: #666666;
    line-height: 1.7;
    font-size: 15px;
    margin-bottom: 20px;
    flex: 1;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.feature-tag {
    background: rgba(255, 77, 0, 0.1);
    color: #FF4D00;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.service-card:hover .feature-tag {
    background: rgba(255, 77, 0, 0.2);
    transform: translateY(-1px);
}

.service-arrow {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: rgba(255, 77, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    color: #FF4D00;
}

.service-card:hover .service-arrow {
    opacity: 1;
    transform: translateX(0);
    background: rgba(255, 77, 0, 0.15);
}

.service-card:hover .service-arrow svg {
    transform: rotate(45deg);
}

/* Service card specific hover effects */
.service-card[data-service="brand"]:hover {
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 77, 0, 0.02) 100%);
}

.service-card[data-service="web"]:hover {
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 77, 0, 0.02) 100%);
}

.service-card[data-service="graphic"]:hover {
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 77, 0, 0.02) 100%);
}

.service-card[data-service="creative"]:hover {
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 77, 0, 0.02) 100%);
}

/* ========================================
   7b. CLIENTS / LOGO REEL (Who I've worked with)
   ======================================== */
/* Logo reel: reduce bottom padding to close gap above Get in Touch */
.clients {
    background: #f8f9fa;
    overflow: hidden;
    position: relative;
    padding: 32px 0 28px 0;
}

.clients .container {
    min-height: 0;
}

.clients .section-header {
    margin-bottom: 24px;
}

.clients::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 77, 0, 0.3), transparent);
}

.logo-loop-container {
    margin-top: 0;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.logo-loop-track {
    display: flex;
    gap: 60px;
    animation: logoLoop 50s linear infinite;
    will-change: transform;
}

.logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 32px;
    background: none;
    border: none;
    box-shadow: none;
    transition: all 0.3s ease;
}

.logo-item:hover {
    transform: translateY(-2px);
}

.logo-content {
    font-size: 18px;
    font-weight: 600;
    color: #333333;
    text-align: center;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Per-logo height tuning to equalise visual weight across different aspect ratios.
   Wide/text-heavy logos need more height to appear balanced.
   Square/portrait logos need less height so they don't dominate. */
.logo-img[data-logo="absolute-radio"]  { height: 38px; }  /* wide wordmark (2:1) */
.logo-img[data-logo="bauer-media"]     { height: 40px; }  /* wide icon+text (2:1) */
.logo-img[data-logo="greatest-hits"]   { height: 40px; }  /* wide (2:1) */
.logo-img[data-logo="hits-radio"]      { height: 36px; }  /* nearly square (1:1) — reduce */
.logo-img[data-logo="kerrang"]         { height: 32px; }  /* very wide + bold heavy text — reduce */
.logo-img[data-logo="kiss"]            { height: 36px; }  /* wide + bold (2:1) — slightly smaller */
.logo-img[data-logo="magic-radio"]     { height: 38px; }  /* medium squarish with fill (1.5:1) */
.logo-img[data-logo="planet-rock"]     { height: 36px; }  /* medium square with fill (1.3:1) — reduce */
.logo-img[data-logo="rayo"]            { height: 24px; }  /* extremely wide (3.6:1) */
.logo-img[data-logo="brewdog"]         { height: 44px; }  /* tall portrait (0.7:1) — bump up */
.logo-img[data-logo="cfk"]             { height: 40px; }  /* wide (2:1) */
.logo-img[data-logo="social-co"]       { height: 16px; filter: brightness(0); }  /* extremely wide wordmark (10:1) */
.logo-img[data-logo="hard-rock"]       { height: 42px; filter: brightness(0); }  /* wide (1.8:1) */
.logo-img[data-logo="nme"]            { height: 28px; filter: brightness(0); }  /* wide wordmark (2.8:1) */

.logo-item:hover .logo-content {
    color: #FF4D00;
}

@keyframes logoLoop {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.logo-loop-container:hover .logo-loop-track {
    animation-play-state: paused;
}


/* ========================================
   8. CTA (GET IN TOUCH) SECTION
   Bold call-to-action with large button
   Reduce top padding to close gap below logo reel (see .clients above)
   ======================================== */
.cta-section {
    padding: 64px 0 64px 0;
    background: #FF4D00;
    position: relative;
    overflow: hidden;
}

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

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

/* Remove any default margins that might cause spacing issues */
.cta-title,
.cta-description,
.cta-actions {
    margin: 0;
}

.cta-title {
    font-family: "Sora", sans-serif;
    font-size: 3rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.2;
}

.cta-description {
    font-family: "Barlow", sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 32px;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.btn-primary-large {
    display: inline-flex;
    align-items: center;
    padding: 20px 48px;
    border-radius: 50px;
    background: #ffffff;
    color: #FF4D00;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: #f8f9fa;
}

.cta-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.cta-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.cta-email {
    font-size: 18px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.cta-email:hover {
    border-bottom-color: #ffffff;
}

/* ========================================
   9. FOOTER
   4-column layout with links and social media
   Background: Light Grey (#e4e4e4)
   ======================================== */
/* Footer styles are below after responsive design */

/* ========================================
   10. RESPONSIVE DESIGN
   Tablet and Mobile Breakpoints
   ======================================== */

/* TABLET (1024px and below) */
@media (max-width: 1024px) {
    .hero {
        padding: 96px 20px 20px;
    }

    .hero-title {
        font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    }

    .hero-info {
        bottom: 32px;
        left: 32px;
        max-width: 500px;
    }

    .hero-controls {
        bottom: 32px;
        right: 32px;
    }

    .about-content {
        gap: 50px;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .image-placeholder {
        width: 350px;
        height: 350px;
    }
    
    .carousel-track {
        gap: 2rem;
    }
    
    .project-card {
        flex: 0 0 350px;
    }
    
    .card-image {
        height: 240px;
    }
    
    .card-content {
        padding: 1.75rem;
        gap: 1rem;
    }
    
    .card-title {
        font-size: 1.3rem;
    }
    
    .cta-button {
        padding: 0.875rem 1.75rem;
        font-size: 0.95rem;
    }
    
    /* Navigation buttons removed */
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .service-card-inner {
        padding: 30px 25px;
    }
    
    .service-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 20px;
    }
    
    .service-title {
        font-size: 1.25rem;
    }
    
    .service-arrow {
        width: 36px;
        height: 36px;
        top: 25px;
        right: 25px;
    }
    
    .cta-title {
        font-size: 2.5rem;
    }
}

/* MOBILE (768px and below) */
@media (max-width: 768px) {
    .hero {
        height: 70vh;
        padding: 88px 16px 16px;
    }

    .hero-frame {
        border-radius: 10px;
    }

    .hero-title {
        font-size: clamp(1.25rem, 5vw, 1.75rem);
    }

    .hero-info {
        bottom: 24px;
        left: 24px;
        right: 80px;
        max-width: none;
    }

    .hero-controls {
        bottom: 24px;
        right: 24px;
        gap: 14px;
    }

    .hero-nav-btn {
        width: 38px;
        height: 38px;
    }

    .hero-index {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .hero-meta {
        font-size: 12px;
        gap: 8px;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .about {
        padding: 60px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: -1;
    }
    
    .image-placeholder {
        width: 300px;
        height: 300px;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .featured-work {
        padding: 60px 0;
    }
    
    .clients {
        padding: 48px 0 20px 0;
    }
    
    .logo-loop-track {
        gap: 40px;
        animation-duration: 32s;
    }

    .logo-item {
        padding: 15px 30px;
    }

    .logo-content {
        font-size: 16px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title-alt {
        font-size: 2rem;
    }
    
    .carousel-track {
        gap: 1.5rem;
        overflow-x: auto;
        scroll-behavior: smooth;
    }
    
    .project-card {
        flex: 0 0 300px;
    }
    
    .card-image {
        height: 200px;
    }
    
    .card-content {
        padding: 1.5rem;
        gap: 0.75rem;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
    
    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Navigation buttons removed */
    
    .services {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card-inner {
        padding: 25px 20px;
    }
    
    .service-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 16px;
    }
    
    .service-title {
        font-size: 1.125rem;
    }
    
    .service-description {
        font-size: 14px;
    }
    
    .feature-tag {
        padding: 4px 10px;
        font-size: 11px;
    }
    
    .service-arrow {
        width: 32px;
        height: 32px;
        top: 20px;
        right: 20px;
    }
    
    .service-card {
        padding: 30px 25px;
    }
    
    .cta-section {
        padding: 48px 0 48px 0;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
}

/* SMALL MOBILE (480px and below) */
@media (max-width: 480px) {
    .hero {
        height: 60vh;
        padding: 80px 12px 12px;
    }

    .hero-frame {
        border-radius: 8px;
    }

    .hero-info {
        bottom: 20px;
        left: 20px;
        right: 70px;
    }

    .hero-title {
        font-size: 1.25rem;
        margin-bottom: 10px;
    }

    .hero-controls {
        bottom: 20px;
        right: 16px;
        gap: 12px;
    }

    .hero-nav-btn {
        width: 34px;
        height: 34px;
    }

    .hero-nav-btn svg {
        width: 16px;
        height: 16px;
    }

    .hero-dot {
        width: 8px;
        height: 8px;
    }

    .hero-indicators {
        gap: 8px;
    }

    .about-title {
        font-size: 1.75rem;
    }
    
    .about-description {
        font-size: 15px;
    }
    
    .image-placeholder {
        width: 250px;
        height: 250px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .section-title-alt {
        font-size: 1.75rem;
    }
    
    .clients {
        padding: 40px 0 20px 0;
    }
    
    .logo-loop-track {
        gap: 30px;
        animation-duration: 26s;
    }

    .logo-item {
        padding: 12px 25px;
    }

    .logo-content {
        font-size: 14px;
    }
    
    .carousel-prev {
        left: -17px;
    }
    
    .carousel-next {
        right: -17px;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
    }
    
    .service-card p {
        font-size: 14px;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .cta-description {
        font-size: 0.95rem;
    }
    
    .btn-primary-large {
        padding: 16px 36px;
        font-size: 16px;
    }
    
    .cta-email {
        font-size: 16px;
    }
}

/* ========================================
   9. FOOTER STYLES
   4-column grid layout on desktop
   Stacks to 1 column on mobile
   ======================================== */
.footer {
    background: #f8f9fa;
    color: #333333;
    padding: 60px 0 20px;
    margin-top: 0;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 56px;
    width: auto;
    margin-bottom: 16px;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 400;
    color: #FF4D00;
    margin-bottom: 16px;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 400;
    color: #333333;
    margin-bottom: 16px;
}

.footer-section p {
    color: #666666;
    line-height: 1.6;
    margin-bottom: 12px;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #666666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #FF4D00;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 77, 0, 0.1);
    border-radius: 50%;
    color: #FF4D00;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #FF4D00;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 77, 0, 0.3);
}

.footer-bottom {
    border-top: 1px solid #333333;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #999999;
    font-size: 14px;
    margin: 4px 0;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-logo {
        margin: 0 auto 16px;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Ripple effect (moved from home-script.js) */
.btn {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes serviceCardClick {
    0% { transform: translateY(-8px) scale(1.02); }
    50% { transform: translateY(-8px) scale(1.05); }
    100% { transform: translateY(-8px) scale(1.02); }
}

.service-card {
    will-change: transform, box-shadow;
}

.service-card:hover .feature-tag {
    animation: featureTagFloat 2s ease-in-out infinite;
}

@keyframes featureTagFloat {
    0%, 100% { transform: translateY(-1px); }
    50% { transform: translateY(-3px); }
}

.service-card:hover .service-title {
    background: linear-gradient(135deg, #FF4D00, #ff6b33);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
