/* 3D Interactive Wheel Chart for Skills Section Only */


.skill-wheel-3d-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin: 0.5rem 0 2rem 0;
    perspective: 1200px;
    width: 100%;
    min-height: 400px;
    position: relative;
    left: -40px;
    top: -30px;
}
.skill-wheel-3d {

    .skill-wheel-3d-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 2rem 0;
        perspective: 1200px;
        width: 100%;
        min-height: 400px;
    }
    .skill-wheel-3d {
        width: 370px;
        height: 370px;
        border-radius: 50%;
        position: relative;
        margin: 0 auto;
        box-shadow: 0 8px 32px rgba(98,68,197,0.18);
        background: radial-gradient(circle at 50% 50%, #f8f8ff 70%, rgba(255,255,255,0.18) 100%);
        transition: transform 0.3s cubic-bezier(.25,.8,.25,1);
        cursor: grab;
    }
    .skill-wheel-3d:active {
        cursor: grabbing;
    }
    .skill-segment {
        position: absolute;
        left: 50%;
        top: 50%;
        width: 110px;
        height: 110px;
        background: linear-gradient(135deg, #6244C5 0%, #FFC448 100%);
        color: #fff;
        border-radius: 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font-family: 'Poppins', 'Open Sans', Arial, sans-serif;
        font-weight: 600;
        box-shadow: 0 4px 16px rgba(98,68,197,0.15);
        text-align: center;
        font-size: 1rem;
        user-select: none;
        transition: box-shadow 0.3s, transform 0.3s;
        z-index: 1;
        /* Radial layout: 6 segments, 360/6=60deg, radius=130px */
        transform:
            rotate(calc(var(--i) * 60deg))
            translateY(-130px)
            rotate(calc(var(--i) * -60deg));
    }
    .skill-segment span {
        font-size: 1.1rem;
        font-weight: 700;
        color: #FFC448;
    }
    .skill-segment:hover {
        box-shadow: 0 8px 32px rgba(98,68,197,0.25);
        transform:
            scale(1.08)
            rotate(calc(var(--i) * 60deg))
            translateY(-130px)
            rotate(calc(var(--i) * -60deg));
        z-index: 2;
    }
    /* Central Skills circle always on top and perfectly centered */
    .skill-wheel-3d-center {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 140px;
        height: 140px;
        background: rgba(255,255,255,0.98);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: 'Poppins', 'Open Sans', Arial, sans-serif;
        font-size: 1.4rem;
        font-weight: 700;
        color: #6244C5;
        box-shadow: 0 4px 16px rgba(98,68,197,0.10);
        pointer-events: auto;
        z-index: 999;
        text-align: center;
        line-height: 1.2;
    }
    @media (max-width: 600px) {
        .skill-wheel-3d {
            width: 240px;
            height: 240px;
        }
        .skill-segment {
            width: 70px;
            height: 70px;
            font-size: 0.8rem;
            /* Responsive radius for mobile */
            transform: rotate(calc(var(--i) * 60deg)) translateY(-80px) rotate(calc(var(--i) * -60deg));
        }
        .skill-wheel-3d-center {
            width: 80px;
            height: 80px;
            font-size: 0.9rem;
        }
    }
    margin-top: 1.5rem;
}
.about-list li {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-family: 'Poppins', 'Open Sans', Arial, sans-serif;
    display: flex;
    align-items: center;
}
.fancy-font {
    font-family: 'Poppins', 'Open Sans', Arial, sans-serif;
    letter-spacing: 0.5px;
}
@media (max-width: 991.98px) {
    .about-section-custom {
        padding: 1.5rem 0.5rem;
        border-radius: 1.2rem;
    }
    .about-section-custom .years {
        font-size: 2.5rem;
        padding: 1rem;
    }
}
@media (max-width: 767.98px) {
    .about-section-custom {
        padding: 1rem 0.2rem;
        border-radius: 1rem;
    }
    .about-section-custom .years {
        font-size: 2rem;
        padding: 0.7rem;
    }
    .about-list li {
        font-size: 1rem;
    }
}
/* Import Poppins font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
/* Glassmorphism & 3D Card Effect */
.glass-card-3d {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37), 0 1.5rem 2rem rgba(98, 68, 197, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s cubic-bezier(.25,.8,.25,1), box-shadow 0.3s;
    transform-style: preserve-3d;
    perspective: 1000px;
}
.glass-card-3d:hover {
    transform: scale(1.03) rotateY(6deg) rotateX(2deg);
    box-shadow: 0 16px 48px 0 rgba(31, 38, 135, 0.37), 0 2.5rem 3rem rgba(98, 68, 197, 0.25);
}
/********** Template CSS **********/
:root {
    --primary: #6244C5;
    --secondary: #FFC448;
    --light: #FAFAFB;
    --dark: #12141D;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.fixed-top {
    display: none;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    padding: 20px 15px;
    color: var(--dark);
    font-size: 18px;
    font-weight: 600;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        padding: 10px 0;
    }
}


/*** Header ***/
#home {
    margin-bottom: 6rem;
    background: url(../img/bg-header.png) left top no-repeat;
}

.typed-cursor {
    font-size: 30px;
    color: var(--dark);
}
#home .col-lg-6 img {
    width: 500px; /* Adjust width */
    height: 500px; /* Adjust height */
    object-fit: cover; /* Ensures the image scales well */
    border-radius: 95%; /* Optional: makes it circular */
}
 the image scales well */

}
.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--primary);
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: #FFFFFF;
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid var(--primary);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** About ***/
#about .years .display-1 {
    font-size: 10rem;
    line-height: 9rem;
}

#about .years h5 {
    letter-spacing: 30px;
    margin-right: -30px;
}


/*** Skills ***/
/* Fix circle positions for perfect wheel layout */
.skill-segment {
    position: absolute;
    left: 50%;
    top: 50%;
    /* 6 segments: 360deg/6 = 60deg */
    transform:
        rotate(calc(var(--i) * 60deg))
        translateY(-155px)
        rotate(calc(var(--i) * -60deg));
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, #6244C5 0%, #FFC448 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', 'Open Sans', Arial, sans-serif;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(98,68,197,0.15);
    text-align: center;
    font-size: 1rem;
    user-select: none;
    transition: box-shadow 0.3s, transform 0.3s;
    z-index: 1;
}
.skill-segment:hover {
    box-shadow: 0 8px 32px rgba(98,68,197,0.25);
    transform:
        scale(1.08)
        rotate(calc(var(--i) * 60deg))
        translateY(-155px)
        rotate(calc(var(--i) * -60deg));
    z-index: 2;
}
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(../img/bg-icon.png) center center no-repeat;
    background-size: cover;
}


/*** Project Portfolio ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--primary);
    border-color: var(--primary);
}

.portfolio-img {
    position: relative;
}

.portfolio-btn {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(98, 68, 197, .9);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 30px;
    padding-bottom: 100px !important;
    opacity: 0;
    transition: .5s;
}

.portfolio-item:hover .portfolio-btn {
    opacity: 1;
    padding-bottom: 30px !important;
}


/*** Team ***/
.team-item img {
    transition: .5s;
}

.team-item:hover img {
    opacity: .7;
}

.team-item .team-text {
    position: absolute;
    left: 0;
    right: 60px;
    bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    right: 30px;
    opacity: 1;
}

.team-item .team-text div {
    transition: .5s;
}

.team-item:hover .team-text div {
    margin-left: 30px;
}


/*** Testimonial ***/
.testimonial-left,
.testimonial-right {
    position: relative;
}

.testimonial-left img,
.testimonial-right img {
    position: absolute;
    padding: 5px;
    border: 1px solid var(--secondary);
    border-radius: 70px;
}

.testimonial-left img:nth-child(1),
.testimonial-right img:nth-child(3) {
    width: 70px;
    height: 70px;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-left img:nth-child(2),
.testimonial-right img:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}

.testimonial-left img:nth-child(3),
.testimonial-right img:nth-child(1) {
    width: 50px;
    height: 50px;
    bottom: 10%;
    right: 10%;
}

.testimonial-carousel .owl-item img {
    width: 120px;
    height: 120px;
}

.testimonial-carousel .testimonial-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border: 1px solid var(--secondary);
    border-radius: 60px;
}

.testimonial-carousel .owl-dots {
    height: 40px;
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 30px;
    height: 30px;
    background: #FFFFFF;
    border: 2px solid var(--secondary);
    border-radius: 30px;
    transition: .5s;
}

.testimonial-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 16px;
    height: 16px;
    top: 5px;
    left: 5px;
    border-radius: 16px;
    background: var(--secondary);
    transition: .5s;
}

.testimonial-carousel .owl-dot.active::after {
    background: var(--primary);
}