/*-- Use For Custom Styling --*/

/* ========== KEYFRAME ANIMATIONS ========== */

/* Fade in and scale up entrance animation */
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Slide in from bottom animation */
@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide in from left animation */
@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-40px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slide in from right animation */
@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(40px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Floating animation */
@keyframes floating {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Glow pulse animation */
@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(105, 102, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(105, 102, 255, 0.7);
    }
}

/* Gradient shift animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Bounce animation */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Spin animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Icon pulse animation */
@keyframes iconPulseXL {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

/* Shimmer animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Services Section Styling - Matches attached design */
.services-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Animated floating orb for Services */
.services-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 194, 38, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: floating 10s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

/* Services Tab Navigation */
.services-tabs {
    margin-bottom: 50px;
}

.services-nav-tabs {
    border: none !important;
    text-align: center;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
}

/* ===== Services sizing & layout tweaks ===== */
#services .sec-title { margin-bottom: 26px; }
#services .sec-title h3 { font-size: 38px; letter-spacing: 0.01em; }
#services .sec-title p { margin-top: 8px; max-width: 680px; }

#services .pg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 60px auto;
    align-items: stretch;
    padding-top: 50px;
    position: relative;
    z-index: 1;
}

#services .pg-card {
    padding: 80px 30px 40px;
    min-height: 320px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: linear-gradient(135deg, #ffffff 0%, #f8f0ff 100%);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, background 0.3s ease;
    animation: slideInUp 0.6s ease-out both;
    border: 2px solid transparent;
    border-image: linear-gradient(135deg, rgba(105, 102, 255, 0.2), rgba(255, 194, 38, 0.2)) 1;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Stagger animation for cards */
#services .pg-card:nth-child(1) {
    animation-delay: 0.1s;
}
#services .pg-card:nth-child(2) {
    animation-delay: 0.2s;
}
#services .pg-card:nth-child(3) {
    animation-delay: 0.3s;
}
#services .pg-card:nth-child(4) {
    animation-delay: 0.4s;
}
#services .pg-card:nth-child(5) {
    animation-delay: 0.5s;
}
#services .pg-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* White cards hover - gradient background */
#services .pg-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(105, 102, 255, 0.3);
    background: linear-gradient(135deg, #7b68ee 0%, #6a5acd 100%);
}

#services .pg-card:active {
    transform: translateY(-3px) scale(0.98);
    transition: transform 0.1s ease;
}

#services .pg-card:hover h5,
#services .pg-card:hover p {
    color: #ffffff;
    transition: color 0.3s ease;
}

#services .pg-card:hover .pg-badge {
    background: #ffffff;
    color: #7b68ee;
    transform: translateX(-50%) scale(1.05);
}

/* Alternating purple gradient cards (3rd and 6th cards) - white initially */
#services .pg-card:nth-child(3),
#services .pg-card:nth-child(6) {
    background: #ffffff;
    color: #2d3748;
}

#services .pg-card:nth-child(3) h5,
#services .pg-card:nth-child(6) h5,
#services .pg-card:nth-child(3) p,
#services .pg-card:nth-child(6) p {
    color: #2d3748;
    transition: color 0.4s ease;
}

/* Purple cards hover - enhanced gradient + glow */
#services .pg-card:nth-child(3):hover,
#services .pg-card:nth-child(6):hover {
    background: linear-gradient(135deg, #7b68ee 0%, #6a5acd 100%);
    box-shadow: 0 15px 40px rgba(123, 104, 238, 0.3);
    transform: translateY(-5px);
}

#services .pg-card:nth-child(3):active,
#services .pg-card:nth-child(6):active {
    transform: translateY(-3px) scale(0.98);
    transition: transform 0.1s ease;
}

#services .pg-card:nth-child(3):hover h5,
#services .pg-card:nth-child(6):hover h5,
#services .pg-card:nth-child(3):hover p,
#services .pg-card:nth-child(6):hover p {
    color: #ffffff;
    transition: color 0.3s ease;
}

#services .pg-card h5 {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 700;
    color: #2d3748;
}

#services .pg-card p {
    font-size: 15px;
    line-height: 1.7;
    font-weight: 400;
    max-width: 100%;
    margin: 0;
    color: #4a5568;
}

#services .pg-badge {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    transform-origin: center center;
    width: 90px;
    height: 90px;
    font-size: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(102, 102, 255, 0.3);
    margin-bottom: 0;
    z-index: 2;
    background: linear-gradient(135deg, #7b68ee 0%, #6a5acd 100%);
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, background;
    backface-visibility: hidden;
}

/* White badge for purple cards */
#services .pg-card:nth-child(3) .pg-badge,
#services .pg-card:nth-child(6) .pg-badge {
    background: linear-gradient(135deg, #7b68ee 0%, #6a5acd 100%);
    color: #ffffff;
}

/* White badge on hover for purple cards */
#services .pg-card:nth-child(3):hover .pg-badge,
#services .pg-card:nth-child(6):hover .pg-badge {
    background: #ffffff;
    color: #7b68ee;
}

/* Responsive tweaks to keep alignment tidy */
@media (max-width: 991px) {
    #services .pg-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    #services .pg-card { padding: 70px 24px 35px; }
}

@media (max-width: 575px) {
    #services .pg-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    #services .pg-card {
        padding: 65px 22px 34px;
        min-height: 280px;
    }
    #services .pg-badge {
        top: -35px;
        width: 80px;
        height: 80px;
        font-size: 28px;
    }
}

.services-nav-tabs li {
    float: none;
    display: inline-block;
    margin: 0 5px;
}


.services-nav-tabs li a {
    background: transparent !important;
    border: 2px solid #FFC226 !important;
    color: #0f1115 !important;
    font-weight: 500;
    padding: 12px 25px;
    margin: 5px;
    border-radius: 30px !important;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: slideInUp 0.5s ease-out;
    position: relative;
    overflow: hidden;
}

.services-nav-tabs li a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #6966FF;
    transition: left 0.3s ease;
    z-index: -1;
}

.services-nav-tabs li a:hover::before,
.services-nav-tabs li.active a::before {
    left: 0;
}

.services-nav-tabs li a:hover,
.services-nav-tabs li.active a,
.services-nav-tabs li a.active {
    background: #6966FF !important;
    border-color: #6966FF !important;
    color: #ffffff !important;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(105, 102, 255, 0.3);
}

.services-nav-tabs li a:focus {
    outline: none;
    box-shadow: none;
}

/* Services Tab Content */
.services-tab-content {
    margin-top: 40px;
    position: relative;
    padding: 0 50px;
}

.services-tab-content .tab-pane {
    display: none;
}

.services-tab-content .tab-pane.active {
    display: block;
}

/* Service Content Grid */
.service-content-grid {
    padding: 50px;
    margin: 0 20%;
    background: linear-gradient(135deg, #f8f0ff 0%, #fff0f5 100%);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(105, 102, 255, 0.1);
}

.service-image-wrapper {
    padding-right: 40px;
    margin-bottom: 40px;
}

.service-main-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 3px solid transparent;
    border-image: linear-gradient(135deg, #6966FF, #FFC226) 1;
}

.service-main-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-details-wrapper {
    padding-left: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.service-title {
    font-size: 3.2rem;
    color: #6966FF;
    margin-bottom: 25px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.service-description {
    font-size: 1.4rem;
    color: #6966FF;
    margin-bottom: 35px;
    line-height: 1.7;
    font-weight: 400;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    padding: 12px 0;
    font-size: 1.3rem;
    color: #333;
    position: relative;
    padding-left: 30px;
    line-height: 1.6;
    font-weight: 500;
    transition: color 0.3s ease;
}

.service-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 12px;
    color: #FFC226;
    font-weight: bold;
    font-size: 1.4rem;
}

.service-list li:hover {
    color: #6966FF;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .service-content-grid {
        margin: 0 15%;
    }
    .service-title {
        font-size: 2.8rem;
    }
    .service-description {
        font-size: 1.3rem;
    }
    .service-list li {
        font-size: 1.2rem;
    }
}

@media (max-width: 991px) {
    .service-content-grid {
        margin: 0 10%;
        padding: 40px 0;
    }
    .service-image-wrapper {
        padding-right: 0;
        margin-bottom: 50px;
        text-align: center;
    }
    .service-details-wrapper {
        padding-left: 0;
        text-align: center;
    }
    .service-title {
        font-size: 2.5rem;
    }
    .service-description {
        font-size: 1.2rem;
    }
    .service-list {
        text-align: center;
        display: inline-block;
    }
    .service-list li {
        font-size: 1.1rem;
    }
    .service-main-image {
        height: 350px;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .service-content-grid {
        margin: 0 5%;
        padding: 30px 0;
    }
    .services-nav-tabs {
        flex-direction: column;
        align-items: center;
    }
    .services-nav-tabs li {
        margin: 5px 0;
    }
    .services-nav-tabs li a {
        padding: 12px 25px;
        font-size: 14px;
    }
    .service-title {
        font-size: 2.2rem;
    }
    .service-description {
        font-size: 1.1rem;
    }
    .service-list li {
        font-size: 1rem;
        padding: 10px 0;
    }
    .service-main-image {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .service-content-grid {
        margin: 0 2%;
    }
    .service-title {
        font-size: 1.8rem;
    }
    .service-description {
        font-size: 1rem;
    }
    .service-list li {
        font-size: 0.95rem;
    }
    .service-main-image {
        height: 220px;
    }
    .services-nav-tabs li a {
        padding: 10px 20px;
        font-size: 12px;
    }
}

/* Ensure proper Bootstrap tab functionality */
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover {
    background: #6966FF !important;
    border-color: #6966FF !important;
    color: #FFC226 !important;
}

/* Portfolio Filter Styling */
.filtering {
    margin-bottom: 50px;
    padding: 30px;
    background: linear-gradient(135deg, #f5f0ff 0%, #ffe6f0 100%);
    border-radius: 15px;
}

.filtering span {
    display: inline-block;
    margin: 0 10px 10px 0;
    padding: 12px 25px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f0ff 100%);
    border: 2px solid #FFC226;
    color: #6966FF;
    font-weight: 500;
    border-radius: 30px;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(105, 102, 255, 0.1);
}

.filtering span:hover,
.filtering span.active {
    background: linear-gradient(135deg, #6966FF 0%, #7b68ee 100%);
    border-color: #6966FF;
    color: #FFC226;
    box-shadow: 0 8px 25px rgba(105, 102, 255, 0.3);
}

/* Portfolio Gallery Styling */
.gallery {
    margin: 0 -15px;
    background: linear-gradient(135deg, #fff9e6 0%, #f0e6ff 50%, #ffe6f0 100%);
    padding: 40px 15px;
    border-radius: 20px;
}

.gallery .items {
    padding: 15px;
    margin-bottom: 30px;
}

.gallery .item-img {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f0e6ff 0%, #f8f0ff 100%);
    animation: slideInUp 0.6s ease-out;
    border: 2px solid rgba(105, 102, 255, 0.1);
}

.gallery .item-img:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 50px rgba(105, 102, 255, 0.25);
    animation: glowPulse 1.5s ease-in-out infinite;
}

.gallery .item-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.gallery .item-img:hover img {
    transform: scale(1.05);
}

.gallery .item-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(105, 102, 255, 0.85) 0%, rgba(255, 194, 38, 0.9) 100%);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    animation: fadeInScale 0.4s ease-out;
}

.gallery .item-img:hover .item-img-overlay {
    opacity: 1;
    animation: fadeInScale 0.3s ease-out;
}

.gallery .overlay-info {
    color: #FFC226;
    padding: 20px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    animation: slideInUp 0.4s ease-out;
}

.gallery .item-img:hover .overlay-info {
    transform: translateY(0);
    animation: slideInUp 0.3s ease-out;
}

.gallery .overlay-info h6 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #FFC226;
}

.gallery .overlay-info p {
    font-size: 14px;
    color: rgba(255, 194, 38, 0.9);
    line-height: 1.4;
    margin: 0 0 15px 0;
}

.portfolio-icon {
    font-size: 24px;
    color: #FFC226;
    background: rgba(255, 194, 38, 0.2);
    padding: 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.portfolio-icon:hover {
    background: rgba(255, 194, 38, 0.3);
    transform: scale(1.1);
}

/* Responsive Portfolio */
@media (max-width: 768px) {
    .filtering span {
        padding: 10px 20px;
        font-size: 12px;
        margin: 5px;
    }
    .gallery .item-img img {
        height: 200px;
    }
    .gallery .items {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .filtering span {
        padding: 8px 15px;
        font-size: 11px;
        margin: 3px;
    }
    .gallery .item-img img {
        height: 180px;
    }
}

/* Legacy Portfolio Styles (keeping for other sections if needed) */
.portfolio-tabs {
    margin-bottom: 40px;
}

.portfolio-nav-tabs {
    border: none !important;
    text-align: center;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
}

.portfolio-nav-tabs li {
    float: none;
    display: inline-block;
    margin: 0 5px;
}

.portfolio-nav-tabs li a {
    background: transparent !important;
    border: 2px solid #FFC226 !important;
    color: #0f1115 !important;
    font-weight: 500;
    padding: 12px 25px;
    margin: 5px;
    border-radius: 30px !important;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.portfolio-nav-tabs li a:hover,
.portfolio-nav-tabs li.active a,
.portfolio-nav-tabs li a.active {
    background: #6966FF !important;
    border-color: #6966FF !important;
    color: #ffffff !important;
    text-decoration: none;
}

.portfolio-nav-tabs li a:focus {
    outline: none;
    box-shadow: none;
}

/* Portfolio Tab Content */
.portfolio-tab-content {
    margin-top: 40px;
    position: relative;
    min-height: 400px;
}

.portfolio-tab-content .tab-pane {
    display: none;
}

.portfolio-tab-content .tab-pane.active {
    display: block;
}

/* Portfolio Carousel Styling */
.portfolio-carousel {
    margin: 0 auto;
    max-width: 100%;
    position: relative;
}

.portfolio-item {
    padding: 0 15px;
    margin-bottom: 30px;
}

.portfolio-item .item-img {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f0e6ff 0%, #f8f0ff 100%);
    cursor: pointer;
    border: 2px solid rgba(105, 102, 255, 0.1);
}

.portfolio-item .item-img:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.portfolio-item .item-img img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.portfolio-item .item-img:hover img {
    transform: scale(1.05);
}

.portfolio-item .item-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(105, 102, 255, 0.85) 0%, rgba(255, 194, 38, 0.9) 100%);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.portfolio-item .item-img:hover .item-img-overlay {
    opacity: 1;
}

.portfolio-item .overlay-info {
    color: #FFC226;
    padding: 20px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.portfolio-item .item-img:hover .overlay-info {
    transform: translateY(0);
}

.portfolio-item .overlay-info h6 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #FFC226;
}

.portfolio-item .overlay-info p {
    font-size: 14px;
    color: rgba(255, 194, 38, 0.9);
    line-height: 1.4;
    margin: 0;
}

/* Ensure carousel stage is visible */
.portfolio-carousel .owl-stage-outer {
    overflow: visible;
}

.portfolio-carousel .owl-stage {
    display: flex;
}

.portfolio-carousel .owl-item {
    display: block;
}

/* Portfolio Carousel Navigation */
.portfolio-carousel {
    position: relative;
    padding: 0 100px;
    margin: 40px 0;
}

.portfolio-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: calc(100% + 200px);
    left: -100px;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 15;
    height: 0;
}

.portfolio-carousel .owl-nav .owl-prev,
.portfolio-carousel .owl-nav .owl-next {
    position: absolute;
    top: 0;
    width: 60px;
    height: 60px;
    background: #6966FF;
    color: #FFC226;
    font-size: 22px;
    font-weight: bold;
    border-radius: 50%;
    border: 3px solid #6966FF;
    line-height: 54px;
    text-align: center;
    transition: all 0.3s ease;
    z-index: 20;
    margin: 0;
    pointer-events: all;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(105, 102, 255, 0.3);
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.portfolio-carousel .owl-nav .owl-prev {
    left: 0;
}

.portfolio-carousel .owl-nav .owl-next {
    right: 0;
}

.portfolio-carousel .owl-nav .owl-prev:hover,
.portfolio-carousel .owl-nav .owl-next:hover {
    background: #FFC226;
    color: #6966FF;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 194, 38, 0.5);
}

.portfolio-carousel .owl-nav .owl-prev:active,
.portfolio-carousel .owl-nav .owl-next:active {
    transform: scale(1.05);
}

/* Force show arrows */
.portfolio-carousel .owl-nav {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.portfolio-carousel .owl-nav .owl-prev,
.portfolio-carousel .owl-nav .owl-next {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Portfolio Carousel Dots */
.portfolio-carousel .owl-dots {
    text-align: center;
    margin-top: 30px;
    position: static;
}

.portfolio-carousel .owl-dots .owl-dot {
    display: inline-block;
    margin: 0 5px;
}

.portfolio-carousel .owl-dots .owl-dot span {
    width: 12px;
    height: 12px;
    background: #FFC226;
    border-radius: 50%;
    display: block;
    transition: all 0.3s ease;
}

.portfolio-carousel .owl-dots .owl-dot.active span,
.portfolio-carousel .owl-dots .owl-dot:hover span {
    background: #6966FF;
    transform: scale(1.2);
}

/* Default show 3 items, arrows outside */
.portfolio-carousel .owl-stage-outer {
    padding: 0 10px;
    margin: 0 -10px;
    overflow: visible;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .portfolio-carousel {
        padding: 0 90px;
    }
    .portfolio-carousel .owl-nav {
        width: calc(100% + 180px);
        left: -90px;
    }
    .portfolio-carousel .owl-nav .owl-prev,
    .portfolio-carousel .owl-nav .owl-next {
        width: 55px;
        height: 55px;
        line-height: 49px;
        font-size: 20px;
    }
}

@media (max-width: 992px) {
    .portfolio-carousel {
        padding: 0 80px;
    }
    .portfolio-carousel .owl-nav {
        width: calc(100% + 160px);
        left: -80px;
    }
    .portfolio-carousel .owl-nav .owl-prev,
    .portfolio-carousel .owl-nav .owl-next {
        width: 50px;
        height: 50px;
        line-height: 44px;
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .portfolio-nav-tabs {
        flex-direction: column;
        align-items: center;
    }
    .portfolio-nav-tabs li {
        margin: 5px 0;
    }
    .portfolio-nav-tabs li a {
        padding: 10px 20px;
        font-size: 12px;
    }
    .portfolio-carousel {
        padding: 0 20px;
    }
    .portfolio-carousel .owl-nav .owl-prev,
    .portfolio-carousel .owl-nav .owl-next {
        display: none;
    }
    .portfolio-carousel .owl-stage-outer {
        padding: 0 15px;
        margin: 0 -15px;
    }
    .portfolio-item .item-img img {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .portfolio-item .item-img img {
        height: 200px;
    }
    .portfolio-nav-tabs li a {
        padding: 8px 15px;
        font-size: 11px;
    }
    .portfolio-carousel {
        padding: 0 10px;
    }
    .portfolio-carousel .owl-stage-outer {
        padding: 0 10px;
        margin: 0 -10px;
    }
}

/* Portfolio section spacing */
#work .container {
    max-width: 1200px;
}

/* Force visibility for debugging */
.portfolio-carousel {
    visibility: visible !important;
    opacity: 1 !important;
}

.portfolio-carousel .owl-stage-outer {
    overflow: visible !important;
}

/* Ensure proper Bootstrap tab functionality */
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover {
    background: #6966FF !important;
    border-color: #6966FF !important;
    color: #FFC226 !important;
}

/* About Section: Alternate icon colors for each box */
.how-one-container .how-box-one:nth-child(1) .icon-box,
.how-one-container .how-box-one:nth-child(3) .icon-box {
    background: #6966FF !important;
}
.how-one-container .how-box-one:nth-child(2) .icon-box {
    background: #FFC226 !important;
    color: #6966FF !important;
}
.how-one-container .how-box-one .icon-box i {
    color: #FFC226 !important;
}
.how-one-container .how-box-one:nth-child(2) .icon-box i {
    color: #6966FF !important;
}
/* Headings alternate colors */
.how-one-container .how-box-one:nth-child(1) .text-large,
.how-one-container .how-box-one:nth-child(3) .text-large {
    color: #6966FF !important;
    font-weight: bold;
}
.how-one-container .how-box-one:nth-child(2) .text-large {
    color: #FFC226 !important;
    font-weight: bold;
}

/* Gradient effect for Get Started button on slider */
.tp-caption .btn.btn-blue,
.btn.btn-blue.slider-btn-gradient {
    background: linear-gradient(90deg, #6966FF 0%, #FFC226 100%) !important;
    border: none !important;
    color: #fff !important;
    transition: all 0.3s ease !important;
    animation: fadeInScale 0.8s ease-out;
    position: relative;
    overflow: hidden;
}

.tp-caption .btn.btn-blue::before,
.btn.btn-blue.slider-btn-gradient::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 3s infinite;
}

/* Get Started button hover - white background */
.btn.btn-blue:hover,
.btn.btn-blue:focus,
.btn.btn-blue.slider-btn-gradient:hover,
.btn.btn-blue.slider-btn-gradient:focus {
    background: #ffffff !important;
    color: #6966FF !important;
    box-shadow: 0 12px 35px rgba(105, 102, 255, 0.5);
    transform: translateY(-3px) scale(1.05);
    animation: glowPulse 1.5s ease-in-out infinite;
}

/* On click (active) add a glow effect */
.tp-caption .btn.btn-blue:active,
.btn.btn-blue.slider-btn-gradient:active {
    box-shadow: 0 0 20px #6966FF, 0 0 40px #FFC226;
    transform: scale(0.98);
}

/* Contact Page Combined Blue & Yellow Gradient */
.contact-page-form {
    background: linear-gradient(135deg, #6966FF 0%, #5a50ff 50%, #FFC226 100%);
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 15px 50px rgba(105, 102, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Contact Form Inputs with white background and blue/yellow border */
.contact-form .form_inputs,
.contact-form .form_inputs_two {
    background: linear-gradient(135deg, #ffffff 0%, #f8f0ff 100%);
    border: 2px solid #6966FF;
    border-right: 2px solid #FFC226;
    color: #6966FF;
    transition: all 0.3s ease;
    animation: slideInUp 0.6s ease-out;
    box-shadow: 0 4px 12px rgba(105, 102, 255, 0.08);
}

.contact-form .form_inputs:hover,
.contact-form .form_inputs_two:hover {
    box-shadow: 0 5px 20px rgba(105, 102, 255, 0.15);
    transform: translateY(-2px);
}

.contact-form .form_inputs:focus,
.contact-form .form_inputs_two:focus {
    border-color: #FFC226;
    outline: none;
    box-shadow: 0 0 0 4px rgba(105, 102, 255, 0.1);
    animation: glowPulse 1.5s ease-in-out infinite;
}

/* Contact Button: Blue/Yellow gradient by default, yellow on click/hover */
.contact-form .btn,
.contact-page-form .btn {
    background: linear-gradient(90deg, #6966FF 0%, #FFC226 100%);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    animation: slideInUp 0.7s ease-out;
    position: relative;
    overflow: hidden;
}

.contact-form .btn::before,
.contact-page-form .btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 3s infinite;
}

/* On hover or active, button turns yellow */
.contact-form .btn:hover,
.contact-page-form .btn:hover,
.contact-form .btn:active,
.contact-page-form .btn:active {
    background: #f0efee !important;
    color: #6966FF !important;
    box-shadow: 0 8px 30px rgba(105, 102, 255, 0.4);
    transform: translateY(-2px) scale(1.03);
    animation: glowPulse 1.5s ease-in-out infinite;
}

/* Accent for icons */
.contact-icon {
    color: #ffffff;
    background: #6966FF;
    justify-content: center;
    display: flex;
    border-radius: 50%;
    padding: 8px 20px;
    transition: all 0.3s ease;
    animation: slideInLeft 0.6s ease-out;
}

.contact-icon:hover {
    transform: scale(1.1) rotate(10deg);
    animation: iconPulseXL 1s ease-in-out infinite;
    box-shadow: 0 8px 25px rgba(105, 102, 255, 0.4);
}

.navbar {
    height: 100px !important;
}

/* Increase Pixel Genie logo size in navbar */
.navbar-brand img,
.header .navbar-brand img {
    object-fit: contain;
    display: inline-block;
}

/* Sidebar logo size */



.pushmenu .push-logo {
    position: absolute;
    top: 6px;      /* Adjust as needed for vertical alignment */
    left: 30px;     /* Adjust as needed for horizontal alignment */
    z-index: 10;
     display: flex;
    align-items: center;
    height: 60px;
}
.pushmenu .push-logo img {
    width: 160px !important;   /* Increase width as needed */
    height: 60px !important;   /* Increase height as needed */
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 !important; /* Adds spacing above/below logo */
}


.portfolio-card {
    margin-bottom: 2px; /* Minimal space below each card */
    position: relative;
    overflow: hidden;
    padding: 0; /* Remove extra padding */
}


.portfolio-card img,
.portfolio-card video {
    width: 100% !important;
    height: 180px !important;
    object-fit: contain !important;
    border-radius: 8px;
    margin-bottom: 0;
    background: transparent !important; /* Remove white background */
    box-shadow: none !important;
}

/* Ensure videos maintain consistent styling */
.portfolio-card video {
    display: block;
    background: #000;
}


/* Hero typography – use Poppins like the reference */
#home .hero-typo .hero-line{
  font-family: 'Poppins', sans-serif !important;
  font-size: clamp(12px, 6vw, 52px);
  line-height: 1.05;
  color: #0a0a0a;
}
#home .hero-typo .hero-thin{ font-weight: 100 !important; }
#home .hero-typo .hero-bold{ font-weight: 600 !important; }

#home .hero-typo .hero-sub{
  font-family: 'Poppins', sans-serif !important;
  font-weight: 200;
  font-size: clamp(16px, 2.2vw, 22px);
  line-height: 1.5;
  color: #2a2a2a;
}

/* Contact popup animation (slide-in from bottom-right) */
.contact-popup {
    position: fixed;
    bottom: -200px;
    right: 30px;
    width: 280px;
    background: linear-gradient(135deg, #6966FF 0%, #6966FF 100%);
    color: #fff;
    border-radius: 20px;
    padding: 24px 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.25);
    z-index: 9999;
    transition: bottom 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
}

.contact-popup.show {
    bottom: 30px;
    animation: popupBounce 0.6s ease-out;
}

@keyframes popupBounce {
    0% { transform: translateY(100px) scale(0.8); opacity: 0; }
    50% { transform: translateY(-10px) scale(1.05); }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

.contact-popup-content {
    position: relative;
    text-align: center;
}

.contact-popup-icon {
    background: rgba(255,255,255,0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 24px;
    animation: iconPulse 2s infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.contact-popup-text {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.contact-popup-text span {
    font-size: 14px;
    font-weight: 400;
    opacity: 0.95;
}

.contact-popup-close {
    position: absolute;
    top: -12px;
    right: -12px;
    background: rgba(255,255,255,0.95);
    border: none;
    color: #6966FF;
    font-size: 20px;
    cursor: pointer;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    font-weight: 700;
    line-height: 1;
}

.contact-popup-close:hover {
    background: #fff;
    transform: rotate(90deg);
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

/* Mobile responsiveness */
@media (max-width: 575px) {
    .contact-popup {
        width: 260px;
        bottom: -200px;
        right: 15px;
        padding: 20px 16px;
    }
    .contact-popup.show {
        bottom: 15px;
    }
    .contact-popup-text {
        font-size: 16px;
    }
    .contact-popup-text span {
        font-size: 13px;
    }
}

/* Remove yellow hover from contact form inputs */
#contact .form_inputs {
    background: #ffffff !important;
    border: 2px solid #ddd !important;
    color: #333 !important;
    transition: all 0.3s ease;
}

#contact .form_inputs:focus {
    background: #ffffff !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(109, 99, 255, 0.1) !important;
    outline: none !important;
}

#contact .form_inputs::placeholder {
    color: #999;
}

#contact .form-group input:hover,
#contact .form-group textarea:hover {
    border-color: var(--primary) !important;
    background: #ffffff !important;
}

/* Menu links white initially, dark on scroll */
.navbar-nav > li > a,
.push_nav > li > a {
  color: #fff !important;
  transition: color 0.3s;
}
.navbar-nav > li > a:hover,
.navbar-nav > li > a.active,
.navbar-nav > li.active > a {
  color: #6966FF !important;
}
.header-light.scrolled .navbar-nav > li > a,
.header-light.scrolled .push_nav > li > a,
body.scrolled .navbar-nav > li > a,
body.scrolled .push_nav > li > a {
  color: #222 !important;
}
.header-light.scrolled .navbar-nav > li > a:hover,
.header-light.scrolled .navbar-nav > li > a.active,
.header-light.scrolled .navbar-nav > li.active > a,
body.scrolled .navbar-nav > li > a:hover,
body.scrolled .navbar-nav > li > a.active,
body.scrolled .navbar-nav > li.active > a {
  color: #6966FF !important;
}

/* Creative Sidebar Menu Styles */
.sidebar_menu {
  border-radius: 22px 0 0 22px;
  padding: 36px 0 36px 0;
  min-width: 220px;
  max-width: 270px;
  position: fixed;
  top: 40px;
  left: 0;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition: box-shadow .2s, background .3s;
}
.push_nav.centered {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  padding: 0 0 0 18px;
}
.push_nav.centered li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.push_nav.centered li a {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 18px;
  font-weight: 600;
    color: #000000;
  background: rgba(255,255,255,0.08);
  border-radius: 12px 0 0 12px;
  padding: 12px 22px 12px 18px;
  text-decoration: none;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(60,60,120,0.04);
  transition: background .2s, color .2s, box-shadow .2s, transform .18s;
  position: relative;
}
.push_nav.centered li a:hover, .push_nav.centered li.active a, .push_nav.centered li a.active {
  background: #101010;
  color: #000000;
  transform: translateX(6px) scale(1.04);
  box-shadow: 0 4px 18px rgba(102,102,255,0.13);
}
.push_nav.centered li a::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #000000;
  margin-right: 10px;
  opacity: 0.18;
  transition: background .2s, opacity .2s;
}
.push_nav.centered li a:hover::before, .push_nav.centered li.active a::before, .push_nav.centered li a.active::before {
  background: #FFC226;
  opacity: 1;
}


/* BG Animation */
