.portfolio-hero {
            background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-accent) 100%);
            padding: 140px 2rem 4rem;
            text-align: center;
            color: white;
            position: relative;
            overflow: hidden;
        }

        .portfolio-hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
            animation: pulse 8s ease-in-out infinite;
        }

        .hero-content {
            max-width: 800px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
        }

        .hero-content h1 {
            font-size: clamp(2rem, 4vw, 3rem);
            margin-bottom: 1rem;
            line-height: 1.2;
            animation: slideInLeft 0.8s ease;
            color: white;
        }

        .hero-content p {
            font-size: 1.125rem;
            opacity: 0.9;
            margin-bottom: 2rem;
            animation: slideInLeft 0.8s ease 0.2s both;
            color: rgba(255, 255, 255, 0.9);
        }

        /* Override content.html's paragraph color for hero section */
        #ai_post #custom-container-portfolio .portfolio-hero p {
            color: rgba(255, 255, 255, 0.9);
        }

        /* Override content.html's paragraph color for CTA section */
        #ai_post #custom-container-portfolio .cta-section p {
            color: rgba(255, 255, 255, 0.8);
        }
        #ai_post #custom-container-portfolio .cta-section h2 {
            color: white;
        }
        /* Fix secondary button colors on dark background */
        #ai_post #custom-container-portfolio .cta-section .btn-secondary {
            color: white;
            border-color: white;
        }
        #ai_post #custom-container-portfolio .cta-section .btn-secondary:hover {
            background: white;
            color: var(--brand-dark);
        }
        /* Remove underlines from buttons */
        #ai_post #custom-container-portfolio .cta-section .btn {
            text-decoration: none;
        }

        /* Fix all button underlines */
        #ai_post #custom-container-portfolio .btn {
            text-decoration: none !important;
        }

        .hero-stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            max-width: 600px;
            margin: 0 auto;
            animation: fadeIn 0.8s ease 0.4s both;
        }

        .stat-item {
            text-align: center;
        }

        .stat-number {
            font-size: 2rem;
            font-weight: 700;
            color: white;
            margin-bottom: 0.25rem;
            display: block;
        }

        .stat-label {
            opacity: 0.8;
            font-weight: 600;
            color: white;
            font-size: 0.875rem;
        }

        .portfolio-filters {
            padding: 2rem 0;
            background: white;
            border-bottom: 1px solid var(--brand-light);
        }

        .filter-buttons {
            display: flex;
            justify-content: center;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .filter-btn {
            padding: 0.625rem 1.25rem;
            border: 2px solid var(--brand-neutral);
            background: white;
            color: var(--brand-neutral);
            border-radius: 2rem;
            font-weight: 600;
            font-size: 0.875rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .filter-btn:hover,
        .filter-btn.active {
            background: var(--brand-primary);
            border-color: var(--brand-primary);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
        }

        .portfolio-grid-section {
            padding: 4rem 0;
            background: var(--brand-light);
        }

        .portfolio-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            justify-content: center;
        }

        .portfolio-item {
            flex: 0 1 calc(50% - 1rem);
            min-width: 400px;
            max-width: 600px;
            transition: all 0.3s ease;
        }

        .portfolio-item.hidden {
            opacity: 0;
            transform: scale(0.8);
            pointer-events: none;
        }

        .portfolio-card {
            background: white;
            border-radius: 1rem;
            overflow: hidden;
            box-shadow: var(--shadow-md);
            transition: all 0.3s ease;
        }

        .portfolio-card:hover {
            transform: translateY(-10px);
            box-shadow: var(--shadow-xl);
        }

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

        .image-placeholder {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4rem;
            color: white;
            position: relative;
        }

        .portfolio-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            display: block;
        }

        .retail-bg { background: linear-gradient(135deg, #e74c3c, #c0392b); }
        .food-bg { background: linear-gradient(135deg, #f39c12, #d68910); }
        .entertainment-bg { background: linear-gradient(135deg, #9b59b6, #8e44ad); }
        .realestate-bg { background: linear-gradient(135deg, #2ecc71, #27ae60); }
        .events-bg { background: linear-gradient(135deg, #3498db, #2980b9); }

        .card-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.8);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: all 0.3s ease;
        }

        .portfolio-card:hover .card-overlay {
            opacity: 1;
        }

        .overlay-content {
            text-align: center;
            color: white;
            padding: 2rem;
        }

        .overlay-content h3 {
            margin-bottom: 0.5rem;
            color: white;
        }

        .overlay-content p {
            margin-bottom: 1rem;
            opacity: 0.8;
        }

        .view-case-study {
            background: var(--brand-primary);
            color: white;
            border: 2px solid var(--brand-primary);
            padding: 0.625rem 1.25rem;
            border-radius: 0.5rem;
            font-weight: 600;
            font-size: 0.875rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .view-case-study:hover {
            background: #ff5520;
            transform: translateY(-2px);
        }

        .card-content {
            padding: 2rem;
        }

        .project-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }

        .project-category {
            background: var(--brand-primary);
            color: white;
            padding: 0.25rem 0.75rem;
            border-radius: 1rem;
            font-size: 0.875rem;
            font-weight: 600;
        }

        .project-duration {
            color: var(--brand-neutral);
            font-weight: 600;
            font-size: 0.875rem;
        }

        .card-content h3 {
            color: var(--brand-dark);
            margin-bottom: 0.75rem;
            font-size: 1.25rem;
        }

        .card-content p {
            color: var(--brand-neutral);
            line-height: 1.6;
            margin-bottom: 1.25rem;
            font-size: 0.95rem;
        }

        .project-results {
            display: flex;
            gap: 2rem;
        }

        .result-item {
            text-align: center;
            color: var(--brand-neutral);
            font-size: 0.875rem;
        }

        .result-item strong {
            display: block;
            font-size: 1.125rem;
            color: var(--brand-primary);
            font-weight: 700;
        }

        .testimonials-section {
            padding: 4rem 0;
            background: white;
        }

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

        .testimonials-carousel {
            position: relative;
            max-width: 800px;
            margin: 3rem auto 0;
            overflow: hidden;
        }

        .testimonial-slide {
            display: none;
            background: white;
            padding: 3rem;
            border-radius: 1rem;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
            position: relative;
            text-align: center;
            animation: fadeInSlide 0.5s ease;
        }

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

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

        .testimonial-slide::before {
            content: '"';
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            font-size: 5rem;
            color: var(--brand-primary);
            font-family: serif;
            opacity: 0.2;
        }

        .testimonial-content {
            margin-bottom: 2rem;
        }

        .testimonial-content p {
            font-style: italic;
            line-height: 1.8;
            color: var(--brand-neutral);
            font-size: 1.125rem;
            max-width: 600px;
            margin: 0 auto 2rem;
        }

        .testimonial-author {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
        }

        .author-avatar {
            width: 50px;
            height: 50px;
            background: var(--brand-primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
        }

        .author-name {
            font-weight: 700;
            color: var(--brand-dark);
        }

        .author-title {
            color: var(--brand-neutral);
            font-size: 0.875rem;
        }

        /* Carousel Indicators */
        .carousel-indicators {
            display: flex;
            justify-content: center;
            gap: 0.5rem;
            margin-top: 2rem;
        }

        .indicator {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: var(--brand-neutral);
            opacity: 0.3;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .indicator.active {
            background: var(--brand-primary);
            opacity: 1;
            transform: scale(1.2);
        }

        .indicator:hover {
            opacity: 0.6;
        }

        .cta-section {
            padding: 4rem 0;
            background: linear-gradient(135deg, var(--brand-dark) 0%, #2a3f5f 100%);
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .cta-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.03" d="M0,96L48,112C96,128,192,160,288,165.3C384,171,480,149,576,128C672,107,768,85,864,106.7C960,128,1056,192,1152,208C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
            background-size: cover;
            pointer-events: none;
        }

        .cta-content h2 {
            color: white;
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        .cta-content p {
            color: rgba(255, 255, 255, 0.9);
            font-size: 1.125rem;
            margin-bottom: 2rem;
        }

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

        .btn-large {
            padding: 1rem 2.5rem;
            font-size: 1.125rem;
            font-weight: 600;
        }

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

        .btn-secondary:hover {
            background: white;
            color: var(--brand-primary);
        }

        /* Modal Styles */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.8);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .modal-content {
            background: white;
            border-radius: 1rem;
            max-width: 800px;
            width: 90%;
            max-height: 80vh;
            overflow-y: auto;
            position: relative;
            transform: scale(0.8);
            transition: transform 0.3s ease;
        }

        .modal-overlay.active .modal-content {
            transform: scale(1);
        }

        .modal-close {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: none;
            border: none;
            font-size: 2rem;
            color: var(--brand-neutral);
            cursor: pointer;
            z-index: 1001;
        }

        .modal-body {
            padding: 3rem;
        }

        /* Mobile Styles */
        @media (max-width: 768px) {
            .hero-stats {
                grid-template-columns: 1fr;
                gap: 1rem;
            }

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

            .filter-buttons {
                justify-content: flex-start;
                overflow-x: auto;
                padding-bottom: 1rem;
            }

            .filter-btn {
                white-space: nowrap;
            }

            .project-results {
                flex-direction: column;
                gap: 1rem;
            }

            .cta-buttons {
                flex-direction: column;
                align-items: stretch;
            }
        }
