/* 
   PandaClean Clone Style for WS Clean 
   Theme: Yellow, Dark Gray, White, Professional
*/

:root {
    --primary-yellow: #00BFFF;
    /* Light Blue (WS Clean Brand) */
    --primary-hover: #009ACD;
    --dark-gray: #1a1a1a;
    /* Secondary Dark (Cards) */
    --bg-black: #000000;
    /* Main Background */
    --light-gray: #050505;
    /* "Light" sections now very dark */
    --text-color: #e0e0e0;
    /* Light Text */
    --white: #ffffff;
    --font-main: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
    --shadow-card: 0 10px 30px rgba(76, 245, 61, 0.05);
    /* Greenish shadow */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-black);
    color: var(--text-color);
    line-height: 1.6;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.text-yellow {
    color: var(--primary-yellow);
}

.text-white {
    color: var(--white);
}

.center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 30px;
    /* Highly rounded */
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-yellow);
    color: var(--dark-gray);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 197, 0, 0.4);
}

.btn-dark {
    background-color: var(--dark-gray);
    color: var(--primary-yellow);
    font-size: 0.8rem;
    padding: 10px 25px;
}

.btn-dark:hover {
    background-color: #000;
    color: var(--white);
}

.btn-text {
    color: var(--primary-yellow);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-text:hover {
    color: var(--dark-gray);
}

/* Header */
.header {
    background-color: #ffffff;
    /* White background */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    /* Dark shadow */
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.logo-text-fallback {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--dark-gray);
    text-decoration: none;
}

.logo-highlight {
    color: var(--primary-yellow);
}

.nav-list {
    display: flex;
    gap: 25px;
    list-style: none;
    align-items: center;
}

.nav-list a {
    text-decoration: none;
    color: #000000;
    /* Black text */
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-list a:not(.btn):hover {
    color: var(--primary-yellow);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: #000000;
    /* Black icon */
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    background: transparent;
    /* Changed from image */
    display: flex;
    align-items: center;
    justify-content: center;
    /* Centered like reference */
    text-align: center;
    overflow: hidden;
    /* Added */
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px !important;
}

.hero-title {
    font-size: 4rem;
    color: var(--white);
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 400;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Wave Divider */
.custom-shape-divider-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(150% + 1.3px);
    height: 70px;
    transform: rotateY(180deg);
}

.custom-shape-divider-bottom .shape-fill {
    fill: var(--bg-black);
}

/* Sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-gray);
}

.bg-dark {
    background-color: var(--dark-gray);
    color: var(--white);
}

.divider-line {
    width: 60px;
    height: 4px;
    background-color: var(--primary-yellow);
    margin: 20px auto 50px;
    border-radius: 2px;
}

/* Services Dark Grid - Flexbox for Centering */
/* Services Dark Grid - Flex for Centering */
.services-grid-dark {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    /* Slightly increased gap */
    margin-bottom: 40px;
}

.service-card-dark {
    background-color: #080808;
    /* Black background */
    border: 2px solid var(--primary-yellow);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    box-shadow: var(--shadow-card);
    flex: 0 1 320px;
    /* Specific width per request */
    width: 320px;
    /* Enforce width */
    max-width: 100%;
    /* Responsive safety */
}

.service-highlight {
    border: 2px solid var(--primary-yellow);
    box-shadow: 0 0 15px rgba(255, 230, 0, 0.3);
    transform: scale(1.05);
    /* Slight enlargement */
    z-index: 2;
    /* Bring to front */
}

.service-card-dark:hover,
.service-highlight:hover {
    transform: translateY(-10px) scale(1.05);
    background-color: #111;
    border-color: var(--primary-yellow);
    box-shadow: 0 10px 20px rgba(255, 230, 0, 0.2);
}

.icon-circle-yellow {
    width: 80px;
    height: 80px;
    background-color: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2rem;
    color: var(--dark-gray);
}

.service-card-dark h3 {
    color: var(--primary-yellow);
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    line-height: 1.4;
}

.service-card-dark p {
    font-size: 0.9rem;
    color: #e0e0e0;
}

/* Gradient Button for Services */
/* Gradient Button for Services */
.btn-primary-gradient {
    background: linear-gradient(to bottom, #5dff4f, #4cf53d);
    color: var(--dark-gray);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid #32bc28;
}

.btn-primary-gradient:hover {
    background: linear-gradient(to bottom, #7aff6e, #5dff4f);
    transform: translateY(-2px);
}

/* About Section (MVV) */
.text-yellow-bold {
    color: var(--primary-yellow);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.section-title-dark {
    font-size: 2.2rem;
    color: var(--primary-yellow);
    margin-bottom: 15px;
}

.section-desc-dark {
    max-width: 800px;
    margin: 0 auto 50px;
    color: #666;
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mvv-card {
    background-color: #003366;
    /* Dark Blue (Brand) */
    border: 1px solid var(--primary-yellow);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    box-shadow: 0 0 10px rgba(76, 245, 61, 0.1);
    transition: var(--transition);
}

.mvv-card:hover {
    transform: translateY(-5px);
}

.mvv-icon {
    font-size: 3.5rem;
    color: #bfa35f;
    /* Gold-ish color from image */
    margin-bottom: 20px;
}

.mvv-card h3 {
    color: var(--primary-yellow);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.mvv-card p {
    font-size: 0.95rem;
    color: var(--white);
}

.mt-40 {
    margin-top: 40px;
}

.bg-light-gradient {
    background: linear-gradient(to bottom, #fff, #fefefe);
    /* Subtle gradient if needed */
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Floating Animation Keyframes */
@keyframes float-y {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Apply Floating to Icons */
.service-card-dark .icon-circle-yellow i,
.mvv-card .mvv-icon i {
    animation: float-y 3s ease-in-out infinite;
    display: inline-block;
    /* Required for transform to work on inline elements */
}

/* Add specific delays so they don't all move in perfect sync (more natural) */
.service-card-dark:nth-child(2) .icon-circle-yellow i {
    animation-delay: 0.5s;
}

.service-card-dark:nth-child(3) .icon-circle-yellow i {
    animation-delay: 1s;
}

.service-card-dark:nth-child(4) .icon-circle-yellow i {
    animation-delay: 1.5s;
}

.mvv-card:nth-child(2) .mvv-icon i {
    animation-delay: 0.5s;
}

.mvv-card:nth-child(3) .mvv-icon i {
    animation-delay: 1s;
}

.service-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.card-image-placeholder {
    height: 180px;
    background-color: var(--dark-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-yellow);
    font-size: 4rem;
}

.card-content {
    padding: 30px;
    text-align: center;
}

.card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.benefit-item {
    text-align: center;
    background: var(--white);
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.icon-circle {
    width: 80px;
    height: 80px;
    background-color: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--dark-gray);
}

/* About */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.image-box {
    width: 100%;
    height: 400px;
    background-color: #ddd;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: #999;
}

.section-title-left {
    text-align: left;
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 20px;
}

.section-title-left::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background-color: var(--primary-yellow);
}

.mt-20 {
    margin-top: 30px;
}

/* Locator / Form CTA */
.search-box {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.search-box input {
    padding: 15px 25px;
    border-radius: 30px;
    border: none;
    width: 300px;
    outline: none;
}

.cancel-radius .btn {
    border-radius: 30px;
}

/* Footer */
.footer {
    background-color: #050505;
    color: #ccc;
    padding: 70px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.logo-footer {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 900;
    text-decoration: none;
    display: block;
    margin-bottom: 20px;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--primary-yellow);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
}

.social-icons a:hover {
    background: var(--primary-yellow);
    color: var(--dark-gray);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.8rem;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Animation Utilities */
.pulse-hover {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 245, 61, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(76, 245, 61, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(76, 245, 61, 0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--bg-black);
        padding: 20px;
        box-shadow: 0 10px 10px rgba(255, 255, 255, 0.05);
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .split-layout {
        grid-template-columns: 1fr;
    }

    .image-box {
        height: 250px;
    }
}

/* Portfolio / Before & After Section */
/* Portfolio Carousel */
.portfolio-carousel {
    position: relative;
    height: 100%;
    /* Let it adapt or fixed? Fixed is safer for carousel. */
    min-height: 400px;
    width: 90%;
    margin: 40px auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background-color: #000;
    border: 3px solid var(--primary-yellow);
    /* Neon Green Border */
}

.carousel-track-container {
    background-color: #000;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-track {
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
    height: 100%;
    transition: transform 500ms ease-in-out;
    display: flex;
    /* Ensure horizontal alignment */
}

.carousel-slide {
    position: relative;
    min-width: 100%;
    /* Occupy full width */
    height: 100%;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #000;
    transition: none;
    /* Disable hover zoom for carousel to avoid glitches */
}

/* Hide hover zoom on carousel */
.portfolio-item:hover .portfolio-img {
    transform: none;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-yellow);
    color: #000;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 0 10px rgba(76, 245, 61, 0.5);
}

.carousel-button:hover {
    transform: translateY(-50%) scale(1.1);
    background: #fff;
    color: var(--primary-yellow);
}

.carousel-button.prev {
    left: 20px;
}

.carousel-button.next {
    right: 20px;
}

.split-container {
    display: flex;
    width: 100%;
    height: 100%;
}

.split-side {
    width: 50%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.split-left {
    /* Simulate "Before" / Dirty state */
    filter: sepia(0.6) brightness(0.8) contrast(1.2);
    border-right: 2px solid #fff;
}

.split-right {
    /* "After" / Clean state */
    filter: brightness(1.1);
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
    background-color: #000;
    /* Seamless letterboxing */
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.05);
    /* Zoom effect on hover */
}

.badge-before {
    position: absolute;
    top: 15px;
    left: 10px;
    background-color: var(--primary-yellow);
    color: #000;
    font-weight: 900;
    padding: 8px 15px;
    font-size: 0.8rem;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 2;
    /* Organic Blob Shape */
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: float-y 4s ease-in-out infinite;
}

.badge-after {
    position: absolute;
    bottom: 15px;
    right: 10px;
    background-color: var(--primary-yellow);
    color: #000;
    font-weight: 900;
    padding: 8px 15px;
    font-size: 0.8rem;
    z-index: 2;
    box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.3);
    /* Organic Blob Shape */
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: float-y 4s ease-in-out infinite;
    animation-delay: 1.5s;
}

.logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    color: #ccc;
    font-size: 1.5rem;
}

.split-left.no-filter {
    filter: none;
    border-right: 2px solid #fff;
}




/* Advantages Section */
.header-brand {
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.advantage-card {
    background-color: #080808;
    border: 3px solid var(--primary-yellow);
    border-radius: 20px;
    padding: 40px 25px;
    text-align: center;
    color: var(--white);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.advantage-card:hover {
    transform: translateY(-10px);
}

.adv-icon {
    font-size: 3.5rem;
    color: var(--primary-yellow);
    /* Just the icon color, no background circle */
    margin-bottom: 25px;
    /* Apply floating animation here too */
    animation: float-y 3s ease-in-out infinite;
}

/* Stagger animation for variety */
.advantage-card:nth-child(2) .adv-icon {
    animation-delay: 0.5s;
}

.advantage-card:nth-child(3) .adv-icon {
    animation-delay: 1s;
}

.advantage-card:nth-child(4) .adv-icon {
    animation-delay: 1.5s;
}

.advantage-card h3 {
    color: var(--primary-yellow);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 800;
}


/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

/* Testimonial Images / Video */
.testi-image-container {
    width: 100%;
    height: auto;
    aspect-ratio: 9/16;
    /* Enforced Vertical Format */
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 5px solid var(--primary-yellow);
    overflow: hidden;
    position: relative;
}

/* Video Wrapper Specifics */
.testi-image-container.video-container {
    aspect-ratio: 9/16;
    background-color: #000;
}

.testimonial-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Ensure full screenshot is visible */
    background-color: #f0f0f0;
}

.whatsapp-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ccc;
    font-size: 1.2rem;
}

.whatsapp-placeholder i {
    font-size: 3rem;
    color: #25d366;
    margin-bottom: 10px;
}

.testi-footer {
    background-color: #111;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary-yellow);
}

.testi-label {
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
}

.testi-logo {
    display: flex;
    align-items: center;
}

.testi-logo img {
    height: 30px;
}


/* FAQ Section */
.faq-container {
    max-width: 900px;
    margin: 40px auto 0;
    border: 1px solid var(--primary-yellow);
    /* Neon Green Border */
    border-radius: 5px;
    background: var(--bg-black);
    /* Black Background */
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid var(--primary-yellow);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    padding: 20px 25px;
    background: var(--bg-black);
    /* Black Background */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: var(--primary-yellow);
    /* Neon Green Text */
    transition: background 0.3s;
}

.faq-question:hover {
    background: #111;
    /* Slight hover effect */
}

.faq-question span {
    font-size: 1rem;
}

.faq-question i {
    color: var(--primary-yellow);
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
    /* Turn plus into x */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 25px;
    background: var(--bg-black);
    /* Black Background */
    color: var(--white);
    /* White text as requested */
    line-height: 1.6;
    border-left: 3px solid var(--primary-yellow);
    /* Keep the accent border */
}

.faq-item.active .faq-question {
    color: var(--primary-yellow);
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    /* Add bottom padding only when open */
    border-left: 3px solid var(--primary-yellow);
}

/* Desktop Carousel Adjustment */
@media (min-width: 1024px) {
    .portfolio-content-wrapper {
        display: flex;
        justify-content: center;
        gap: 30px;
        align-items: flex-start;
        max-width: 1200px;
        margin: 60px auto;
    }

    .portfolio-carousel {
        max-width: 600px;
        /* Reduced to match reference */
        height: 450px;
        margin: 0;
        /* Remove auto margin to respect flex gap */
        flex: 1;
    }

    /* Ensure video square matches carousel size */
    .portfolio-carousel.video-square {
        margin-top: 0;
    }
}

/* Services Grid Dark - Responsive Layout */
.services-grid-dark {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .services-grid-dark {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid-dark {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* User Request: All cards on the same line for large screens */
@media (min-width: 1200px) {
    .services-grid-dark {
        grid-template-columns: repeat(6, 1fr);
        gap: 15px;
        /* Reduce gap to fit */
    }

    .service-card-dark {
        padding: 20px 10px;
        /* Compress padding */
        height: 100%;
        /* Force full height */
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .service-card-dark h3 {
        font-size: 0.9rem;
        /* Slightly smaller to prevent wrapping if possible */
        min-height: 40px;
        /* Force minimum height for titles to align text below */
        display: flex;
        align-items: center;
        justify-content: center;
    }
}