/* Modern Portfolio CSS */

/* Reset ve Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px !important;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    line-height: 1.6 !important;
    color: #333 !important;
    background-color: #fff !important;
    overflow-x: hidden !important;
}

p {
    font-size: 1.125rem;
    color: #6c757d;
    line-height: 1.8;
    max-width: 1320px;
    margin: 0 auto 2rem auto;
    text-align: justify;
    animation: fadeInUp 0.8s ease 0.2s both;
    font-weight: inherit;
}

/* Header */
.modern-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.modern-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

#backtotop.active {
    opacity: 0;
    visibility: hidden;
}

/* Detail Page Header */
.detail-header {
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 2rem 0;
    transition: all 0.3s ease;
}

.menu-toggle {
    display: inline-block;
    cursor: pointer;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.menu-toggle:hover {
    background: #FFCF18;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 207, 24, 0.3);
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.logo img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

/* Navigation Links */
.nav-link:hover,
.nav-link.active {
    color: #FFCF18;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #FFCF18;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg,rgba(255, 207, 24, 0.9) 0%, rgba(255, 233, 120, 0.9) 100%);
    color: #333;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.25rem !important;
    opacity: 0.9 !important;
    max-width: 600px;
    margin: 0 auto !important;
    animation: fadeInUp 0.8s ease 0.2s both !important;
    color: #333;
}

/* Client References Slider */
.client-references {
    padding: 4rem 0;
    background: #f8f9fa;
}

.client-slider-container {
    width: 100%;
    height: 120px;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.slider-nav {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #e9ecef;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    color: #6c757d;
    font-size: 1.1rem;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.prev-nav {
    left: 15px;
}

.next-nav {
    right: 15px;
}

.slider-nav:hover {
    background: #FFCF18;
    border-color: #FFCF18;
    color: #333;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 207, 24, 0.3);
}

.slider-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.client-slider-wrapper {
    white-space: nowrap;
    height: 100%;
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 70px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.client-slider-wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

.client-slider-wrapper img {
    width: auto;
    height: 80px;
    max-width: 150px;
    object-fit: contain;
    margin: 0 15px;
    background: white;
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    filter: grayscale(70%) opacity(0.8);
    border: 1px solid #f0f0f0;
    flex-shrink: 0;
    /* Prevent shrinking */
}

.client-slider-wrapper img:hover {
    transform: scale(1.08);
    filter: grayscale(0%) opacity(1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #FFCF18;
}

.client-logo-link {
    display: inline-block;
    text-decoration: none;
    flex-shrink: 0;
}

.client-logo-link:hover {
    text-decoration: none;
}

.show-all-clients-btn {
    background: linear-gradient(135deg, #333 0%, #989898 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.show-all-clients-btn:hover {
    background: #FFCF18;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.show-all-clients-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.show-all-clients-btn:hover i {
    transform: rotate(180deg);
}

/* Expanded State */
.client-slider-container.expanded {
    height: auto;
    min-height: 200px;
    padding: 20px;
}

.client-slider-container.expanded .client-slider-wrapper {
    white-space: normal;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    padding: 0;
    justify-items: center;
    align-items: center;
}

.client-slider-container.expanded .client-slider-wrapper img {
    margin: 0;
    width: auto;
    height: 70px;
    max-width: 130px;
    transition: all 0.3s ease;
}

.client-slider-container.expanded .client-slider-wrapper img:hover {
    transform: scale(1.1);
}

.client-slider-container.expanded .slider-nav {
    display: none;
}

/* Service Links Section */
.service-links-section {
    padding: 3rem 0;
    background: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
}

.gallFilter {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 1.2rem !important;
}

.gallFilter li {
    padding: 0 !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
}

.gallFilter li a {
    background: white !important;
    border: 2px solid #e9ecef !important;
    border-radius: 50px !important;
    padding: 0.75rem 1.5rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.5rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-weight: 500 !important;
    color: #6c757d !important;
    text-decoration: none !important;
    min-height: 80px !important;
    justify-content: center !important;
    width: 180px !important;
}

/* Service Links - Marka Renkleri */
.gallFilter li a:hover {
    background: #FFCF18 !important;
    border-color: #FFCF18 !important;
    color: #333 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(255, 207, 24, 0.3) !important;
    text-decoration: none !important;
}

.gallFilter li a i {
    font-size: 1.4rem !important;
}

.gallFilter li a span {
    font-size: 0.9rem !important;
    text-align: center !important;
    white-space: nowrap !important;
}

/* Portfolio Section */
.portfolio-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.portfolio-item {
    animation: fadeInUp 0.6s ease;
    animation-fill-mode: both;
    margin-bottom: 1rem;
}

.portfolio-item:nth-child(1) {
    animation-delay: 0.1s;
}

.portfolio-item:nth-child(2) {
    animation-delay: 0.2s;
}

.portfolio-item:nth-child(3) {
    animation-delay: 0.3s;
}

.portfolio-item:nth-child(4) {
    animation-delay: 0.4s;
}

.portfolio-item:nth-child(5) {
    animation-delay: 0.5s;
}

.portfolio-item:nth-child(6) {
    animation-delay: 0.6s;
}

.portfolio-item:nth-child(7) {
    animation-delay: 0.7s;
}

.portfolio-item:nth-child(8) {
    animation-delay: 0.8s;
}

.portfolio-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: white;
    height: 100%;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 233, 120, 0.9) 0%, rgba(255, 207, 24, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

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

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
}

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

.portfolio-category {
    display: inline-block;
    background: linear-gradient(135deg, #333 0%, #989898 100%);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.portfolio-title {
    font-size: 1.5rem;
    color: #333;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.portfolio-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    color: #333;
    text-align: center;
}

.btn-view {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: #333;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-view:hover {
    background: #FFCF18;
    color: #333;
    transform: translateY(-2px);
}

/* Load More Button */
.btn-load-more {
    background: #333;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 3rem auto 0;
}

.btn-load-more:hover {
    background: #FFCF18;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 207, 24, 0.3);
}

/* Detail Page Styles */
.detail-page {
    padding-top: 0;
}

/* Back Button */
.back-button-container {
    padding: 6rem 0 2rem;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #989898;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.back-btn:hover {
    color: #333;
    background: rgba(255, 207, 24, 0.1);
    transform: translateX(-5px);
}

/* Client Info Header */
.client-info-header {
    padding: 4rem 0;
    background: #FFCF18;
    border-bottom: 1px solid #FFCF18;
    position: relative;
    margin-top: 2rem;
}

.client-name-main {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease;
}

.client-description-main {
    font-size: 1.125rem;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.8;
    font-weight: 400 !important;
    max-width: 800px;
    margin: 0 auto auto 20px;
    text-align: justify;
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* Brand Logo Corner - Client Info Header'da */
.client-info-header .brand-logo-corner {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border: 2px solid #989898;
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.client-info-header .brand-logo-corner img {
    max-height: max-content;
    width: auto;
    opacity: 1;
    transition: transform 0.3s ease;
}

.client-info-header .brand-logo-corner:hover img {
    transform: scale(1.05);
}

.work-category-modern {
    position: relative;
    background: white;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.work-category-modern:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.work-category-modern:not(:last-child) {
    border-bottom: 16px solid #FFCF18;
}

.work-category-modern:last-child {
    margin-bottom: 0;
}

/* bxSlider Integration */
.home-slider-wrapper {
    width: 100%;
    position: relative;
}

.bxslider {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bxslider li {
    list-style: none;
    margin: 0;
    padding: 0;
}


.bx-wrapper .bx-controls-direction a.bx-next {
    right: 2rem;
}

.bx-wrapper .bx-controls-direction a.bx-prev::before {
    content: '\f104';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.bx-wrapper .bx-controls-direction a.bx-next::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

/* bxSlider Pager */
.bx-wrapper .bx-pager {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

.bx-wrapper .bx-pager .bx-pager-item {
    display: inline-block;
    margin: 0 5px;
}

.bx-wrapper .bx-pager .bx-pager-link {
    display: block;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    text-indent: -9999px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.bx-wrapper .bx-pager .bx-pager-link:hover,
.bx-wrapper .bx-pager .bx-pager-link.active {
    background: #FFCF18;
    transform: scale(1.2);
}

/* Hide controls if only one slide */
.work-category-modern .bx-wrapper .bx-controls-direction,
.work-category-modern .bx-wrapper .bx-pager {
    display: block;
}

.work-category-modern.single-slide .bx-wrapper .bx-controls-direction,
.work-category-modern.single-slide .bx-wrapper .bx-pager {
    display: none;
}

.category-header-modern {
    padding: 3rem 0 1.5rem;
    background: white;
    position: relative;
    text-align: center;
}

.category-title-modern {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
    color: #333;
    margin-bottom: 1rem;
    text-transform: uppercase;
    position: relative;
    letter-spacing: 1px;
    text-align: center;
}

.category-title-modern::after {
    content: '';
    width: 60px;
    height: 3px;
    background: #FFCF18;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.work-title-modern {
    font-size: 1.5rem;
    font-weight: 600;
    color: #989898;
    margin-bottom: 1.5rem;
    font-style: normal;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.work-description-modern {
    font-size: 1.125rem;
    color: #6c757d;
    line-height: 1.8;
    max-width: 1320px;
    margin: 0 auto 2rem auto;
    text-align: justify;
    animation: fadeInUp 0.8s ease 0.2s both;
}
.work-description-modern + div{
    font-size: 1.125rem;
    margin:0 !important;
}
.work-description-modern + p{
    margin: 0 !important;
}

.visit-btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #333;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.visit-btn-modern:hover {
    color: #333;
    background: #FFCF18;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 207, 24, 0.3);
}

/* Image styling for bxSlider */
.bxslider img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Video Container Modern */
.video-container-modern {
    position: relative;
    cursor: pointer;
}

.play-button-modern {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #333;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border: 2px solid #FFCF18;
}

.play-button-modern:hover {
    background: #FFCF18;
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 207, 24, 0.3);
    color: #333;
}

/* Special Category Styling */
.web-category .category-header-modern {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
}

.video-category .category-header-modern {
    background: linear-gradient(135deg, rgba(246, 213, 92, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
}

.other-category .category-header-modern {
    background: linear-gradient(135deg, rgba(67, 233, 123, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
}

/* Project Navigation Modern */
.project-navigation-modern {
    padding: 4rem 0;
    background: #f8f9fa;
}

.nav-project-modern {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.nav-project-modern:hover {
    color: #333;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.nav-project-modern.next {
    justify-content: flex-end;
    text-align: right;
}

.nav-content {
    display: flex;
    flex-direction: column;
}

.nav-label {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.nav-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #333;
}

.nav-project-modern i {
    font-size: 1.5rem;
    color: #FFCF18;
}

/* Footer */
.modern-footer {
    background: #333;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

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

/* Social Links */
.social-link:hover {
    background: #FFCF18;
    color: #333;
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Filter Animation */
.portfolio-item.hide {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.portfolio-item.show {
    opacity: 1;
    transform: scale(1);
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .client-name-main {
        font-size: 2.5rem;
    }

    .client-description-main {
        font-size: 1rem;
        text-align: left;
    }

    .client-info-header {
        padding: 3rem 0;
    }

    .client-info-header .brand-logo-corner {
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 0.75rem;
    }

    .client-info-header .brand-logo-corner img {
        max-height: 35px;
    }


    .category-header-modern {
        padding: 2.5rem 0;
    }

    .category-title-modern {
        font-size: 1.8rem;
        letter-spacing: 0.5px;
    }

    .work-title-modern {
        font-size: 1.3rem;
    }

    .work-description-modern {
        font-size: 1rem;
        text-align: left;
        max-width: 800px;
        padding: 0 1.5rem;
    }

    /* bxSlider Controls - Tablet */
    .bx-wrapper .bx-controls-direction a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .bx-wrapper .bx-controls-direction a.bx-prev {
        left: 1rem;
    }

    .bx-wrapper .bx-controls-direction a.bx-next {
        right: 1rem;
    }

    .bx-wrapper .bx-pager {
        bottom: 1.5rem;
    }

    .gallFilter {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }

    .gallFilter li {
        flex: 0 0 auto;
    }

    .gallFilter li a {
        padding: 0.65rem 1.2rem;
        font-size: 0.875rem;
        min-height: 70px;
        width: 160px;
    }

    .gallFilter li a span {
        font-size: 0.85rem;
    }

    .gallFilter li a i {
        font-size: 1.2rem;
    }

    .main-nav {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.875rem;
    }

    .nav-project-modern {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .prev-nav {
        left: 10px;
    }

    .next-nav {
        right: 10px;
    }

    .client-slider-wrapper {
        padding: 0 55px;
    }

    .client-slider-wrapper img {
        height: 70px;
        max-width: 120px;
        margin: 0 12px;
    }

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

    .play-button-modern {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 6rem 0 3rem;
    }

    .service-links-section {
        padding: 2rem 0;
    }

    .portfolio-section {
        padding: 3rem 0;
    }

    .client-references {
        padding: 2rem 0;
    }

    .client-info-header {
        padding: 2rem 0;
    }

    .client-name-main {
        font-size: 2rem;
    }

    .client-description-main {
        font-size: 0.95rem;
    }

    .client-info-header .brand-logo-corner {
        bottom: 1rem;
        right: 1rem;
        padding: 0.5rem;
    }

    .client-info-header .brand-logo-corner img {
        max-height: 25px;
    }


    .category-header-modern {
        padding: 2rem 0;
    }

    .category-title-modern {
        font-size: 1.5rem;
        letter-spacing: 0.5px;
    }

    .work-title-modern {
        font-size: 1.1rem;
    }

    .work-description-modern {
        font-size: 0.95rem;
        max-width: 800px;
        padding: 0 1rem;
    }

    /* bxSlider Controls - Mobile */
    .bx-wrapper .bx-controls-direction a {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .bx-wrapper .bx-controls-direction a.bx-prev {
        left: 0.5rem;
    }

    .bx-wrapper .bx-controls-direction a.bx-next {
        right: 0.5rem;
    }

    .bx-wrapper .bx-pager {
        bottom: 1rem;
    }

    .bx-wrapper .bx-pager .bx-pager-link {
        width: 10px;
        height: 10px;
    }

    .client-slider-container {
        height: 100px;
    }

    .slider-nav {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .prev-nav {
        left: 8px;
    }

    .next-nav {
        right: 8px;
    }

    .client-slider-wrapper {
        padding: 0 50px;
    }

    .client-slider-wrapper img {
        height: 60px;
        max-width: 100px;
        margin: 0 8px;
    }

    .client-slider-container.expanded {
        min-height: 150px;
        padding: 15px;
    }

    .client-slider-container.expanded .client-slider-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 15px;
    }

    .client-slider-container.expanded .client-slider-wrapper img {
        height: 50px;
        max-width: 90px;
    }

    .gallFilter {
        flex-direction: column;
        gap: 0.75rem;
    }

    .gallFilter li {
        width: 100%;
        flex: none;
    }

    .gallFilter li a {
        flex-direction: row;
        justify-content: center;
        min-height: 50px;
        gap: 0.75rem;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .back-button-container {
        padding: 5rem 0 1rem;
    }

    .play-button-modern {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #FFCF18;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Client Slider Animation Effects */
.client-slider-wrapper img {
    animation: slideInFromRight 0.6s ease-out;
    animation-fill-mode: both;
}

.client-slider-wrapper img:nth-child(1) {
    animation-delay: 0.1s;
}

.client-slider-wrapper img:nth-child(2) {
    animation-delay: 0.2s;
}

.client-slider-wrapper img:nth-child(3) {
    animation-delay: 0.3s;
}

.client-slider-wrapper img:nth-child(4) {
    animation-delay: 0.4s;
}

.client-slider-wrapper img:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 0.8;
        transform: translateX(0);
    }
}

/* Loading state for slider */
.client-slider-container.loading {
    opacity: 0.7;
}

.client-slider-container.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #FFCF18;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 20;
}

/* Portfolio Navigation Circle Button */
.nav-project-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #FFCF18, #fdd020);
    color: #333;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 207, 24, 0.3);
    position: relative;
    overflow: hidden;
    gap: 5px;
}

.navigation-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
}

.nav-project-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #fdd020, #FFCF18);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.nav-project-circle:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 207, 24, 0.4);
}

.nav-project-circle:hover::before {
    opacity: 1;
}

.nav-project-circle i {
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
    color: #333;
}

.nav-project-circle:hover i {
    transform: translateX(-2px);
}

.nav-project-circle .nav-label {
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
    position: relative;
    z-index: 2;
    max-width: 80px;
    color: #333;
    margin-bottom: 0;
}

/* Responsive adjustments for the circle button */
@media (max-width: 768px) {
    .nav-project-circle {
        width: 100px;
        height: 100px;
    }

    .nav-project-circle i {
        font-size: 1.1rem;
    }

    .nav-project-circle .nav-label {
        font-size: 0.6rem;
        max-width: 70px;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #FFCF18 0%, #fdd020 100%);
    color: #333;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(255, 207, 24, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top:hover {
    background: linear-gradient(135deg, #fdd020 0%, #FFCF18 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 207, 24, 0.4);
}

.back-to-top i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.back-to-top:hover i {
    transform: translateY(-2px);
}

/* Responsive back-to-top button */
@media (max-width: 768px) {
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }

    .back-to-top i {
        font-size: 1rem;
    }
}

.col-xs-12 {
    width: max-content !important;
}

.bx-wrapper {
    margin: 0 !important;
    padding: 0 !important;
}
.copyText{
    font-size: 1.3em !important;
}