/* ================================
   Portfolio Listing Section - Base Styles
   ================================ */

   .banner {
    position: relative;
    width: 100%;
    height: 400px;
    min-height: 400px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    padding: 80px 50px;
    display: flex;
    align-items: center;
}

.banner::before{
    content:'';
    position: absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    z-index:-1;
}

.banner-image{
    background-image: url('../img/us/banner.png');
    height:100%;
    width:50%;
    background-position: center;
    background-size:cover;
    background-repeat: no-repeat;
    position: absolute;
    right:0;
    top:0;
    z-index:-2;
}

.banner-content {
    max-width: 1400px;
    width: 50%;
    display: flex;
    flex-direction: column;
}

.banner-title {
    font-family: 'Gotham', sans-serif;
    font-size: clamp(48px, 8vw, 48px);
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    line-height: 1;
}

.banner-subtitle {
    font-family: 'Gotham', sans-serif;
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 400;
    color: white;
    line-height: 1.5;
    opacity: 0.95;
}

.services-section {
    position: relative;
    z-index: 10;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    padding: 100px 0;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(63, 169, 245, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    top: -250px;
    left: -250px;
    animation: floatBlue 25s ease-in-out infinite;
    pointer-events: none;
}

.services-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(233, 218, 0, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -200px;
    right: -200px;
    animation: floatYellow 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes floatBlue {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(40px, 40px) rotate(180deg);
    }
}

@keyframes floatYellow {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-40px, -40px) rotate(180deg);
    }
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-heading {
    font-family: 'Gotham', sans-serif;
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: white;
    border-radius: 60px;
    padding: 50px 40px;
    text-align: left;
    border: 5px solid var(--primary-yellow);
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(233, 218, 0, 0.3);
}

.service-title {
    font-family: 'Gotham', sans-serif;
    font-size: clamp(24px, 3vw, 28px);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 15px;
}

.service-description {
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.7;
    color: var(--text-secondary);
    flex-grow: 1;
    margin-bottom: 60px;
    margin-bottom:0;
}

.btn-yellow {
    position: absolute;
    bottom: -30px;
    right: 40px;
    background: var(--primary-yellow);
    color: var(--text-light);
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: auto;
}

.btn-yellow:hover {
    background: #d4c400;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .service-card {
        padding: 50px 40px 40px 40px;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-card {
        padding: 40px 30px 40px 30px;
        border-radius: 40px;
    }
    
    .services-heading {
        font-size: 32px;
    }
    
    .btn-yellow {
        right: 30px;
        bottom: -25px;
        padding: 14px 28px;
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: 30px 20px 40px 20px;
    }
    
    .service-number {
        font-size: 48px;
    }
    
    .service-title {
        font-size: 22px;
    }
    
    .service-description {
        font-size: 16px;
    }
}

/* ================================
   Portfolio Production Styles (Green)
   ================================ */

.portfolio-production.banner::before {
    background: linear-gradient(90deg, #39B54A 50%, rgba(255, 255, 255, 0.3) 100%);
}

.portfolio-production .service-card {
    border-color: #39B54A;
}

.portfolio-production .btn-yellow {
    background: #39B54A;
}

.portfolio-production .btn-yellow:hover {
    background: #2d8f3a;
    filter: brightness(0.85);
}

.portfolio-production .service-card:hover {
    box-shadow: 0 20px 40px rgba(57, 181, 74, 0.3);
}

/* ================================
   Portfolio Graphic Design Styles (Yellow)
   ================================ */

.portfolio-graphic-design.banner::before {
    background: linear-gradient(90deg, #E9DA00 50%, rgba(255, 255, 255, 0.3) 100%);
}

.portfolio-graphic-design .service-card {
    border-color: #E9DA00;
}

.portfolio-graphic-design .btn-yellow {
    background: #E9DA00;
}

.portfolio-graphic-design .btn-yellow:hover {
    background: #d4c400;
    filter: brightness(0.85);
}

.portfolio-graphic-design .service-card:hover {
    box-shadow: 0 20px 40px rgba(233, 218, 0, 0.3);
}

/* ================================
   Portfolio Web Design Styles (Blue)
   ================================ */

.portfolio-web-design.banner::before {
    background: linear-gradient(90deg, #3FA9F5 50%, rgba(255, 255, 255, 0.3) 100%);
}

.portfolio-web-design .service-card {
    border-color: #3FA9F5;
}

.portfolio-web-design .btn-yellow {
    background: #3FA9F5;
}

.portfolio-web-design .btn-yellow:hover {
    background: #2b8dd4;
    filter: brightness(0.85);
}

.portfolio-web-design .service-card:hover {
    box-shadow: 0 20px 40px rgba(63, 169, 245, 0.3);
}