.nexgen-portfolio-wrapper-main {
    --bg-dark: #fafafa;
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.9);
    --text-primary: #18181b;
    --text-secondary: #52525b;
    --accent-blue: #f97316;
    --accent-purple: #ea580c;
    --accent-gradient: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    --border-color: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-family-body: 'Inter', sans-serif;
    --font-family-heading: 'Outfit', sans-serif;

    font-family: var(--font-family-body);
    color: var(--text-primary);
    background-color: var(--bg-dark);
    overflow-x: hidden;
    width: 100%;
}

.nexgen-portfolio-wrapper-main * {
    box-sizing: border-box;
}

.nexgen-portfolio-wrapper-main h1,
.nexgen-portfolio-wrapper-main h2,
.nexgen-portfolio-wrapper-main h3,
.nexgen-portfolio-wrapper-main h4 {
    font-family: var(--font-family-heading);
}

.nexgen-portfolio-wrapper-main a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Typography */
.nexgen-portfolio-wrapper-main .highlight {
    color: var(--accent-blue);
}

/* Utilities */
.nexgen-portfolio-wrapper-main .btn-primary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
}

.nexgen-portfolio-wrapper-main .btn-primary {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.nexgen-portfolio-wrapper-main .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ea580c, #c2410c);
    z-index: -1;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.nexgen-portfolio-wrapper-main .btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.6);
}

.nexgen-portfolio-wrapper-main .btn-primary:hover::before {
    opacity: 1;
}

.nexgen-portfolio-wrapper-main .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.nexgen-portfolio-wrapper-main .section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.nexgen-portfolio-wrapper-main .section-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section */
.nexgen-portfolio-wrapper-main .hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 60px 20px 40px;
    overflow: hidden;
}

.nexgen-portfolio-wrapper-main .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: url('file:///C:/Users/nites/.gemini/antigravity/brain/cb6fadb3-c72d-401b-880c-c8c3903a6f1d/new_banner_bg_1779012166145.png') no-repeat center center;
    background-size: cover;
    overflow: hidden;
}

.nexgen-portfolio-wrapper-main .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 10s infinite alternate ease-in-out;
}

.nexgen-portfolio-wrapper-main .blob-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-blue);
    top: -100px;
    left: -100px;
}

.nexgen-portfolio-wrapper-main .blob-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-purple);
    bottom: -150px;
    right: -150px;
    animation-delay: -5s;
}

.nexgen-portfolio-wrapper-main .grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, 50px) scale(1.1);
    }
}

.nexgen-portfolio-wrapper-main .hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 1;
}

.nexgen-portfolio-wrapper-main .subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 600;
}

.nexgen-portfolio-wrapper-main .title {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 30px;
    color: #ffffff;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* Services Section */
.nexgen-portfolio-wrapper-main .services {
    padding: 100px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.nexgen-portfolio-wrapper-main .services-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    align-items: stretch !important;
    gap: 30px !important;
}

.nexgen-portfolio-wrapper-main .service-card {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    padding: 40px 30px !important;
    border-radius: 16px !important;
    transition: var(--transition) !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.nexgen-portfolio-wrapper-main .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.nexgen-portfolio-wrapper-main .service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nexgen-portfolio-wrapper-main .service-card:hover::before {
    opacity: 0.05;
}

.nexgen-portfolio-wrapper-main .service-icon {
    font-size: 2.5rem;
    color: var(--accent-blue);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.nexgen-portfolio-wrapper-main .service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.nexgen-portfolio-wrapper-main .service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Portfolio Section */
.nexgen-portfolio-wrapper-main .portfolio {
    padding: 60px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.nexgen-portfolio-wrapper-main .portfolio-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) !important;
    align-items: stretch !important;
    gap: 40px !important;
}

.nexgen-portfolio-wrapper-main .portfolio-item {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    transition: var(--transition) !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
	box-shadow: 1px 1px 17px -10px #f9731638 !important;
}

.nexgen-portfolio-wrapper-main .portfolio-item:hover {
    transform: translateY(-10px);
    border-color: var(--accent-purple);
}

.nexgen-portfolio-wrapper-main .hidden-project {
    display: none !important;
}

.nexgen-portfolio-wrapper-main .fade-in-up {
    display: block;
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.nexgen-portfolio-wrapper-main .portfolio-img-container {
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
}

.nexgen-portfolio-wrapper-main .portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.nexgen-portfolio-wrapper-main .portfolio-item:hover .portfolio-img {
    transform: scale(1.05);
}

.nexgen-portfolio-wrapper-main .corner-accents {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    pointer-events: none;
    z-index: 10;
    opacity: 0;
    transition: all 0.4s ease;
    transform: scale(1.05);
    background:
        linear-gradient(to right, var(--accent-blue) 4px, transparent 4px) 0 0,
        linear-gradient(to bottom, var(--accent-blue) 4px, transparent 4px) 0 0,
        linear-gradient(to left, var(--accent-blue) 4px, transparent 4px) 100% 0,
        linear-gradient(to bottom, var(--accent-blue) 4px, transparent 4px) 100% 0,
        linear-gradient(to right, var(--accent-purple) 4px, transparent 4px) 0 100%,
        linear-gradient(to top, var(--accent-purple) 4px, transparent 4px) 0 100%,
        linear-gradient(to left, var(--accent-purple) 4px, transparent 4px) 100% 100%,
        linear-gradient(to top, var(--accent-purple) 4px, transparent 4px) 100% 100%;
    background-repeat: no-repeat;
    background-size: 30px 30px;
}

.nexgen-portfolio-wrapper-main .portfolio-item:hover .corner-accents {
    opacity: 1;
    transform: scale(1);
}

.nexgen-portfolio-wrapper-main .tech-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 9, 11, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 5;
}

.nexgen-portfolio-wrapper-main .portfolio-item:hover .tech-overlay {
    opacity: 1;
}

.nexgen-portfolio-wrapper-main .tech-overlay h4 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 15px;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Outfit', sans-serif;
}

.nexgen-portfolio-wrapper-main .tech-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 20px;
}

.nexgen-portfolio-wrapper-main .tech-tags span {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nexgen-portfolio-wrapper-main .tech-tags span:nth-child(1) {
    transition-delay: 0.05s;
}

.nexgen-portfolio-wrapper-main .tech-tags span:nth-child(2) {
    transition-delay: 0.1s;
}

.nexgen-portfolio-wrapper-main .tech-tags span:nth-child(3) {
    transition-delay: 0.15s;
}

.nexgen-portfolio-wrapper-main .tech-tags span:nth-child(4) {
    transition-delay: 0.2s;
}

.nexgen-portfolio-wrapper-main .portfolio-item:hover .tech-overlay h4,
.nexgen-portfolio-wrapper-main .portfolio-item:hover .tech-overlay span {
    transform: translateY(0);
}

.nexgen-portfolio-wrapper-main .portfolio-content {
    padding: 30px;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

.nexgen-portfolio-wrapper-main .portfolio-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-blue);
    font-weight: 600;
    margin-bottom: 10px;
    display: inline-block;
}

.nexgen-portfolio-wrapper-main .portfolio-content h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.nexgen-portfolio-wrapper-main .portfolio-content p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.6;
}

.nexgen-portfolio-wrapper-main .portfolio-link {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    color: var(--text-primary);
    font-weight: 600;
    margin-top: auto !important;
}

.nexgen-portfolio-wrapper-main .portfolio-link:hover {
    color: var(--accent-purple);
}

.nexgen-portfolio-wrapper-main .portfolio-link i {
    transition: transform 0.3s ease;
}

.nexgen-portfolio-wrapper-main .portfolio-link:hover i {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .nexgen-portfolio-wrapper-main .title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .nexgen-portfolio-wrapper-main .title {
        font-size: 2.5rem;
    }

    .nexgen-portfolio-wrapper-main .hero {
        min-height: 30vh;
        padding: 40px 20px 20px;
    }

    .nexgen-portfolio-wrapper-main .section-title {
        font-size: 2.2rem;
    }

    .nexgen-portfolio-wrapper-main .section-header {
        margin-bottom: 2rem;
    }

    /* Ensure grids stack nicely on tablets/mobiles */
    .nexgen-portfolio-wrapper-main .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .nexgen-portfolio-wrapper-main .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .nexgen-portfolio-wrapper-main .portfolio-img-container {
        height: 200px;
    }
	
	.nexgen-portfolio-wrapper-main .portfolio {
    padding: 0px 20px;
}
}

@media (max-width: 480px) {
    .nexgen-portfolio-wrapper-main .title {
        font-size: 2rem;
    }

    .nexgen-portfolio-wrapper-main .section-title {
        font-size: 1.8rem;
    }

    .nexgen-portfolio-wrapper-main .section-subtitle {
        font-size: 1rem;
    }

    .nexgen-portfolio-wrapper-main .tech-tags span {
        padding: 4px 10px;
        font-size: 0.75rem;
    }

    .nexgen-portfolio-wrapper-main .tech-overlay h4 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
}

/* Floating Admin Button */
.nexgen-portfolio-wrapper-main .admin-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 2px 2px rgba(255, 255, 255, 0.2);
    z-index: 9999;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nexgen-portfolio-wrapper-main .admin-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(249, 115, 22, 0.5);
}

.nexgen-portfolio-wrapper-main .admin-float-btn i {
    transition: transform 0.4s ease;
}

.nexgen-portfolio-wrapper-main .admin-float-btn:hover i {
    transform: rotate(90deg);
}

/* Slider Base Styles */
.nexgen-portfolio-wrapper-main .nexgen-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0 40px 0;
}

.nexgen-portfolio-wrapper-main .nexgen-slider-track {
    display: flex !important;
    align-items: stretch !important;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100% !important;
}

/* Slide Items */
.nexgen-portfolio-wrapper-main .nexgen-slider-track>* {
    flex-shrink: 0 !important;
    width: 100% !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: stretch !important;
}

.nexgen-portfolio-wrapper-main .nexgen-slider-track>*>* {
    width: 100% !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.nexgen-portfolio-wrapper-main .nexgen-slider-track.hero-slider-track>* {
    width: 100% !important;
}

/* Responsive Desktop view columns for sliders */
@media (min-width: 768px) {
    .nexgen-portfolio-wrapper-main .nexgen-slider-track.services-slider-track>* {
        width: 33.333% !important;
    }

    .nexgen-portfolio-wrapper-main .nexgen-slider-track.projects-slider-track>* {
        width: 50% !important;
    }
}

@media (min-width: 1024px) {
    .nexgen-portfolio-wrapper-main .nexgen-slider-track.services-slider-track>* {
        width: 25% !important;
    }

    .nexgen-portfolio-wrapper-main .nexgen-slider-track.projects-slider-track>* {
        width: 33.333% !important;
    }
}

/* Slider Controls */
.nexgen-portfolio-wrapper-main .nexgen-slider-prev,
.nexgen-portfolio-wrapper-main .nexgen-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nexgen-portfolio-wrapper-main .nexgen-slider-prev:hover,
.nexgen-portfolio-wrapper-main .nexgen-slider-next:hover {
    background: var(--accent-gradient);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-50%) scale(1.1);
}

.nexgen-portfolio-wrapper-main .nexgen-slider-prev {
    left: 10px;
}

.nexgen-portfolio-wrapper-main .nexgen-slider-next {
    right: 10px;
}

/* Dots Page Navigation */
.nexgen-portfolio-wrapper-main .nexgen-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.nexgen-portfolio-wrapper-main .nexgen-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.nexgen-portfolio-wrapper-main .nexgen-slider-dot.active {
    background: var(--accent-gradient);
    width: 24px;
    border-radius: 10px;
}

/* Transparent Background for Slider Cards */
.nexgen-portfolio-wrapper-main .services-slider-track .service-card,
.nexgen-portfolio-wrapper-main .projects-slider-track .portfolio-item {
    background: transparent !important;
}