:root {
    --primary-color: #FF3C00;
    --accent-yellow: #FFC107;
    --dark-bg: #1A1A1A;
    --text-light: #FFFFFF;
    --text-gray: #B0B0B0;
    --content-bg: #494B50;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding-top: 2rem;
    background: linear-gradient(119deg,rgba(52, 53, 58, 1) 62%, rgba(26, 26, 26, 1) 57%);
    position: relative;
    overflow: hidden;
}

.bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.bg-shapes .shape {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.bg-shapes .shape-1 {
    top: 20%;
    left: 10%;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    transform: rotate(45deg);
    animation: rotate 15s linear infinite;
}

.bg-shapes .shape-2 {
    top: 60%;
    right: 15%;
    width: 70px;
    height: 70px;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: scale 8s ease-in-out infinite;
}

.bg-shapes .shape-3 {
    bottom: 20%;
    left: 30%;
    width: 40px;
    height: 40px;
    background: var(--accent-yellow);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: float 7s ease-in-out infinite;
}

.bg-shapes .shape-4 {
    top: 30%;
    right: 30%;
    width: 35px;
    height: 35px;
    border: 3px solid var(--accent-yellow);
    transform: rotate(30deg);
    animation: rotate 20s linear infinite reverse;
}

.bg-shapes .shape-5 {
    bottom: 40%;
    left: 15%;
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: scale 6s ease-in-out infinite;
}

.bg-shapes .shape-6 {
    top: 40%;
    right: 10%;
    width: 45px;
    height: 45px;
    border: 3px solid var(--accent-yellow);
    border-radius: 50%;
    animation: float 9s ease-in-out infinite;
}

.bg-shapes .shape-7 {
    top: 15%;
    left: 40%;
    width: 25px;
    height: 25px;
    background: var(--accent-yellow);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: rotate 12s linear infinite;
}

.bg-shapes .shape-8 {
    bottom: 30%;
    right: 40%;
    width: 60px;
    height: 60px;
    border: 3px solid var(--primary-color);
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    animation: float 8s ease-in-out infinite;
}

.bg-shapes .shape-9 {
    top: 50%;
    left: 25%;
    width: 40px;
    height: 40px;
    background: var(--accent-yellow);
    border-radius: 5px;
    animation: rotate 18s linear infinite reverse;
}

.bg-shapes .shape-10 {
    bottom: 15%;
    right: 25%;
    width: 35px;
    height: 35px;
    border: 3px dashed var(--primary-color);
    border-radius: 50%;
    animation: scale 7s ease-in-out infinite;
}

.bg-shapes .shape-11 {
    position: absolute;
    top: 10%;
    left: 55%;
    width: 60px;
    height: 60px;
    background: #00e6ff; /* Bright Cyan */
    border-radius: 50%;
    opacity: 0.18;
    box-shadow: 0 0 30px 10px #00e6ff99;
    animation: float 9s ease-in-out infinite;
}

.bg-shapes .shape-12 {
    position: absolute;
    bottom: 15%;
    right: 20%;
    width: 45px;
    height: 45px;
    background: #ffeb3b; /* Bright Yellow */
    border-radius: 30% 70% 70% 30%/30% 30% 70% 70%;
    opacity: 0.22;
    box-shadow: 0 0 24px 8px #ffeb3b88;
    animation: scale 7s ease-in-out infinite;
}

.bg-shapes .shape-13 {
    position: absolute;
    top: 60%;
    left: 70%;
    width: 50px;
    height: 50px;
    background: #00ff84; /* Bright Green */
    border-radius: 20%;
    opacity: 0.15;
    box-shadow: 0 0 20px 8px #00ff8499;
    animation: rotate 13s linear infinite;
}

.bg-shapes .shape-14 {
    position: absolute;
    bottom: 5%;
    left: 10%;
    width: 70px;
    height: 35px;
    background: #ff3c00; /* Bright Orange */
    border-radius: 50% 50% 50% 50%/60% 40% 60% 40%;
    opacity: 0.2;
    box-shadow: 0 0 30px 10px #ff3c0099;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

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

@keyframes scale {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

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

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
}

.logo-img {
    height: 35px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.social-link {
    color: var(--text-light);
    font-size: 1.1rem;
    transition: color 0.3s;
}

.social-link:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.download-cv {
    background-color: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s;
}

.download-cv:hover {
    background-color: #ff4d1a;
    color: var(--text-light);
}

.hero-content {
    padding-top: 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-text {
    padding-right: 3rem;
    animation: fadeInUp 1s ease-out;
}

.pre-title {
    color: var(--primary-color);
    font-size: 3rem;
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out 0.2s backwards;
    text-align: left;
}

.hero-text h1 {
    font-size: 7.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 2rem;
    color: var(--text-light);
    animation: fadeInUp 1s ease-out 0.4s backwards;
    text-align: left;
}

.play-video {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.3rem;
    cursor: pointer;
    padding-top: 20px;
    animation: fadeInUp 1s ease-out 0.8s backwards;
    font-weight: 700;
}

.play-icon {
    width: 50px;
    height: 50px;
    background-color: var(--accent-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    animation: scale 2s ease-in-out infinite;
}

.play-video:hover .play-icon {
    background-color: #ff4d1a;
}

.hero-image {
    position: relative;
    padding: 2rem;
    max-width: 440px;
    margin-left: auto;
    animation: fadeInUp 1s ease-out 1s backwards;
}

.profile-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    position: relative;
    z-index: 3;
}

.shape-1, .shape-2 {
    position: absolute;
    width: 85%;
    height: 85%;
    border-radius: 20px;
}

.shape-1 {
    background-color: var(--primary-color);
    top: 40px;
    right: 0;
    transform: rotate(-8deg);
    z-index: 1;
}

.shape-2 {
    background-color: var(--accent-yellow);
    top: 0;
    right: 40px;
    transform: rotate(8deg);
    z-index: 2;
}

.social-links {
    animation: fadeInUp 1s ease-out 1.2s backwards;
}

.social-links .fa-facebook {
    color: #1877f2;
}

.social-links .fa-twitter {
    color: #1da1f2;
}

.social-links .fa-youtube {
    color: #ff0000;
}

.social-links .fa-instagram {
    color: #e4405f;
}

/* Portfolio Section */
/* .portfolio-section {
    padding: 2rem;
} */

/* Hide tab content container when no tab is active */
.tab-content:not(:has(.tab-pane.active)) {
    display: none;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 69, 0, 0.1);
    border: 1px solid rgba(255, 69, 0, 0.2);
    color: var(--text-light);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.portfolio-card {
    background: #2A2A2A;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-10px);
}

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

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

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 69, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.overlay-content a {
    color: #fff;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.overlay-content a:hover {
    transform: scale(1.1);
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h4 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.portfolio-content p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0;
}

.resume-section > * {
    position: relative;
    z-index: 2;
}

.resume-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.section-subtitle {
    font-size: 3.5rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.2;
    font-weight: 600;
}

/* Testimonial Slider Navigation */
.testimonial-slider {
    position: relative;
    padding: 0 40px;
}

.testimonial-slider .swiper-button-next,
.testimonial-slider .swiper-button-prev {
    color: var(--primary-color);
    width: 40px;
    height: 40px;
}

.testimonial-slider .swiper-button-next:after,
.testimonial-slider .swiper-button-prev:after {
    font-size: 20px;
}

.testimonial-slider .swiper-pagination-bullet {
    background: var(--primary-color);
    opacity: 0.5;
}

.testimonial-slider .swiper-pagination-bullet-active {
    opacity: 1;
}

.resume-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.section-block {
    margin-bottom: 3rem;
    animation: fadeInUp 0.6s ease-out;
}

.section-block:last-child {
    margin-bottom: 0;
}

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

.block-title {
    color: var(--text-light);
    font-size: 2rem;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 900;
}

.block-title i {
    color: var(--primary-color);
    font-size: 1.2em;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.block-title:hover i {
    transform: scale(1.1) rotate(5deg);
}

.education-item,
.experience-item {
    position: relative;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: flex-start;
}

.education-item:last-child,
.experience-item:last-child {
    margin-bottom: 0;
}

.year-badge {
    display: inline-block;
    color: #fff;
    font-size: 1.1rem;
    padding: 0.4rem 1.5rem;
    background: rgba(0, 0, 0, 0);
    border-radius: 25px;
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
    white-space: nowrap;
    margin-top: 0.5rem;
}

.content-wrap {
    margin-bottom: 0;
}

.education-item h5,
.experience-item h5 {
    color: var(--text-light);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    font-weight: 600;
}

.education-item:hover h5,
.experience-item:hover h5 {
    color: var(--primary-color);
    transform: translateX(10px);
}

.institution,
.company {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.description {
    color: var(--text-gray);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    margin-bottom: 2rem;
}

.hero-description {
    color: rgb(128, 128, 128);
    font-size: 1.5rem;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-header {
    display: grid;
    grid-template-columns: 200px 1fr auto;
    align-items: center;
    gap: 1rem;
}

.skill-name {
    color: var(--text-light);
    font-size: 1.1rem;
}

.skill-bar {
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--primary-color);
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(255, 69, 0, 0.3);
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    filter: blur(2px);
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.skill-percentage {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 500;
}

.software-skills .row {
    margin: 0 -1.5rem;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .resume-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .resume-subtitle {
        font-size: 2.5rem;
    }

    .block-title {
        font-size: 1.75rem;
    }

    .skill-header {
        grid-template-columns: 150px 1fr auto;
    }
}

@media (max-width: 767.98px) {
    .social-links{
        display: none;
    }

    .hero-text h1{
        font-size: 2.5rem;
    }

    .pre-title{
        font-size: 2.5rem;
    }

    .hero-text{
        padding: 0;
    }

    .text-box{
        order: 2;
    }

    .img-box{
        order: 1;
    }

    .hero-image{
        margin: 0;
        max-width: 100% !important;
    }

    .resume-subtitle {
        font-size: 2rem;
    }

    .block-title {
        font-size: 1.5rem;
    }

    .education-item h5,
    .experience-item h5 {
        font-size: 1.2rem;
    }

    .skill-header {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .progress-ring {
        width: 120px;
        height: 120px;
    }

    .progress-value {
        font-size: 1.2rem;
    }
}

.tab-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: var(--content-bg);
    border: none;
    color: var(--text-gray);
    padding: 2rem;
    border-radius: 10px;
    font-size: 1rem;
    min-width: 80px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-btn i {
    font-size: 2.5rem;
    margin: 0 auto;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    color: var(--primary-color);
}

.tab-btn .tab-text {
    position: absolute;
    left: 6.5rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-10px);
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-btn:hover {
    background-color: var(--content-bg);
    color: var(--text-light);
    min-width: 225px;
}

.tab-btn:hover i {
    margin: 0;
}

.tab-btn:hover .tab-text {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
    font-size: 20px;
    font-weight: 600;
}

.tab-btn.active {
    background-color: var(--primary-color);
    color: var(--text-light);
    min-width: 225px;
}

.tab-btn.active i {
    color: var(--text-light);
}

.tab-btn.active i {
    margin: 0;
}

.tab-btn.active .tab-text {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
    font-size: 20px;
    font-weight: 600;
}

.tab-content {
    padding: 4rem 4rem;
    background-color: var(--content-bg);
    border-radius: 15px;
}

.tab-pane {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tab-pane.active {
    display: block;
    opacity: 1;
}

.service-card {
    background: #5c5d64;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.service-card:hover::before {
    transform: translateX(100%);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 69, 0, 0.3);
    box-shadow: 0 10px 30px rgba(255, 69, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 69, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--accent-yellow);
    font-size: 2rem;
    transition: all 0.5s ease;
    position: relative;
}

.service-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid rgb(163 133 34);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: #fff;
    transform: rotateY(360deg);
}

.service-card:hover .service-icon::after {
    transform: scale(1.2);
    opacity: 0;
}

.service-card h4 {
    color: var(--text-light);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-card:hover h4 {
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-gray);
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
    overflow: hidden;
}

.testimonials-slider {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 50px;
    position: relative;
}

.testimonial-pair {
    display: flex;
    gap: 2rem;
    margin: 0 auto;
    max-width: 1200px;
    padding: 1.5rem;
}

.testimonial-card {
    background: #5b5c64;
    border-radius: 20px;
    padding: 2.5rem;
    flex: 1;
    position: relative;
    transition: all 0.3s ease;
}

/* Swiper Custom Styles */
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    background: #5c5d64;
    border-radius: 50%;
    border: 1px solid rgba(255, 69, 0, 0.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #2A2A2A;
    border: 1px solid var(--primary-color);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .testimonial-pair {
        flex-direction: column;
    }
    
    .testimonial-card {
        margin-bottom: 2rem;
    }
    
    .testimonial-card:last-child {
        margin-bottom: 0;
    }

    .testimonials-slider {
        padding: 2rem 20px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}

/* Slider Controls */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.slider-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-yellow);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: var(--accent-yellow);
    color: #fff;
}

.slider-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2A2A2A;
    border: 1px solid var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Project Cards */
.project-card {
    background: #2A2A2A;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
}

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

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

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 69, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

.project-content {
    padding: 1.5rem;
}

.project-content h4 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.project-content p {
    color: #999;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    min-height: 2.7rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tags .tag {
    background: rgba(255, 69, 0, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.contact-info .info-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 20px;
}

.contact-info .icon-circle {
    width: 80px;
    height: 80px;
    background: var(--accent-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info .icon-circle i {
    font-size: 28px;
    color: #fff;
}

.contact-info .info h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-info .info p {
    color: #999;
    margin: 0;
    font-size: 16px;
}

/* Contact Form */
.contact-form {
    padding: 20px;
}

.contact-form .form-control {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.39);
    padding: 15px 20px;
    border-radius: 10px;
    color: #fff;
    margin-bottom: 20px;
}

.contact-form .form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
    border-color: var(--accent-yellow);
}

.contact-form .form-control::placeholder {
    color: #999;
}

.contact-form textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.contact-form .btn-submit {
    background: var(--primary-color);
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    width: 100%;
}

.contact-form .btn-submit:hover {
    background: #ff5722;
    transform: translateY(-2px);
}

/* Form Messages */
#formMessage {
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    display: none;
}

#formMessage.success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

#formMessage.error {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

/* Hero Info Items (Profile Card) */
.hero-info-item {
    display: flex;
    flex-direction: column;
    border-block-end: 1px dashed rgba(255, 255, 255, 0.54);
}

.hero-info-item label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-info-item p {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .contact-info .icon-circle {
        width: 60px;
        height: 60px;
    }
    
    .contact-info .icon-circle i {
        font-size: 24px;
    }
}

/* Profile Card Styles */
.profile-wrapper {
    position: relative;
}

.profile-image {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
}

.profile-image img {
    width: 80%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.profile-card {
    position: absolute;
    top: 60%;
    right: -170px;
    transform: translateY(-50%);
    background: var(--primary-color);
    padding: 2rem;
    border-radius: 20px;
    width: 300px;
    z-index: 2;
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* About Content Styles */
.about-content {
    padding: 0 1rem;
}

.section-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.main-title {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 1399px) {
    .profile-card{
        width: 250px;

    }
}

@media (max-width: 1199px) {
    .profile-card{
        width: 200px;
    }
    .profile-image img{
        width: 95%;
    }
}
@media (max-width: 991.98px) {
    .name {
        font-size: 4rem;
    }

    .profile-card{
        position: absolute;
        top: 60%;
        right: -13px;
        width: 54%;
    }
    
    .hero-image {
        margin-top: 3rem;
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .tab-buttons {
        justify-content: center;
    }
    
    .tab-btn {
        padding: 0.8rem 1.5rem;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .about-content {
        padding: 0;
    }
}

@media (max-width: 767.98px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .name {
        font-size: 3rem;
    }
    
    .intro-text {
        font-size: 2rem;
    }
    
    .hero-content {
        padding: 3rem 0;
        text-align: center;
    }
    
    .btn-play {
        margin: 0 auto;
    }
    
    .tab-btn {
        width: calc(50% - 0.5rem);
        justify-content: center;
    }
}

/* Software Skills */
.software-skills {
    padding: 1rem 0;
}

.skill-circle {
    text-align: center;
}

.skill-circle .progress {
    width: 200px;
    height: 200px;
    margin: 0 auto 1rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #2A2A2A;
}

.skill-circle .progress::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: conic-gradient(transparent var(--progress), rgba(255, 255, 255, 0.1) 0deg);
    -webkit-mask: radial-gradient(farthest-side, transparent 65%, black 66%);
    mask: radial-gradient(farthest-side, transparent 65%, black 66%);
}

.skill-circle .progress::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: conic-gradient(var(--primary-color) var(--progress), transparent 0deg);
    -webkit-mask: radial-gradient(farthest-side, transparent 65%, black 66%);
    mask: radial-gradient(farthest-side, transparent 65%, black 66%);
    transition: background 0.3s ease;
}

.skill-circle .value {
    color: var(--text-light);
    font-size: 1.75rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.skill-circle .title {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

@media (max-width: 991.98px) {
    .skill-circle .progress {
        width: 120px;
        height: 120px;
    }
    
    .skill-circle .value {
        font-size: 1.5rem;
    }
}

/* Logo Styling */
.logo {
    padding: 1rem 0;
}

.text-logo {
    font-size: 2rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-light);
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.text-logo:hover {
    color: var(--text-light);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.text-logo .text-accent {
    color: var(--primary-color);
}

/* Footer Styles */
.footer {
    background-color: var(--dark-bg);
    padding: 1.5rem 0;
    /* border-top: 1px solid rgba(255, 255, 255, 0.1); */
    margin-top: 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left p {
    color: var(--text-gray);
    margin: 0;
    font-size: 0.9rem;
}

.footer-right .footer-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-light);
}

@media (max-width: 767.98px) {
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-right .footer-links {
        justify-content: center;
        gap: 1rem;
    }
}

/* Video Modal Styles */
.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    margin: 5% auto;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.close-modal {
    position: absolute;
    right: -40px;
    top: -40px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover {
    color: #ccc;
}

/* Testimonial Styles */
.testimonial-quote {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 40px;
    height: 40px;
    background: var(--accent-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
}

.testimonial-text {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-yellow);
}

.author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.author-info p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.rating {
    color: var(--accent-yellow);
    font-size: 0.9rem;
}

.rating i {
    margin-right: 2px;
}

/* Slider Controls */
.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.slider-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-yellow);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: var(--accent-yellow);
    color: #fff;
}

/* Download CV Button */
.btn-download-cv {
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-download-cv i {
    font-size: 1.2rem;
}

.btn-download-cv:hover {
    background-color: #ff3518;
    color: #fff;
    transform: translateY(-2px);
}

/* Desktop Tabs */
.desktop-tabs {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

@media (max-width: 767.98px) {
    .desktop-tabs {
        display: none;
    }
    .profile-image{
        display: none;
    }
    .profile-card{
        position: static;
        transform: none;
        width: 100%;
    }

    .tab-content{
        padding: 1rem 1rem;
    }

    .detail-box{
     order: 2;   
     margin-top: 25px;
    }

    .content-box{
        order: 1;
    }

    .section-subtitle{
        font-size: 2rem;
        margin-bottom: 1.5rem;

    }
}

/* Mobile Tabs */
.mobile-tabs {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    /* padding: 1.5rem; */
    /* background: #1a1a1a; */
    /* border-radius: 20px; */
    width: 100%;
    /* max-width: 300px; */
    /* margin: 2rem auto; */
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); */
}

.mobile-tab-item {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding: 1rem 1.2rem;
    color: var(--content-bg);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: var(--content-bg);
}

.mobile-tab-item i {
    font-size: 2rem;
    width: 24px;
    text-align: center;
    color: #ff4500;
}

.mobile-tab-item span {
    font-size: 1.4rem;
    font-weight: 800;
    white-space: nowrap;
    color: #fff;
}

.mobile-tab-item:hover,
.mobile-tab-item.active {
    background: var(--primary-color);
}

.mobile-tab-item:hover i,
.mobile-tab-item.active i {
    color: #ffffff;
}

/* Mobile Menu Header */
.mobile-menu-header {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #808080;
    font-size: 0.9rem;
    line-height: 1.4;
}

.mobile-menu-header .play-video {
    margin: 1rem auto;
    background: #2a2a2a;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff4500;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-header .play-video:hover {
    background: #333;
    transform: scale(1.1);
}

@media (max-width: 767.98px) {
    .mobile-tabs {
        display: flex;
    }
    
    .desktop-tabs {
        display: none;
    }
    
    .tab-content {
        margin-top: 2rem;
    }
}

@media (max-width: 767.98px) {
    html, body {
        max-width: 100vw;
        overflow-x: hidden !important;
    }
}

.splide__slide {
    padding: 40px 0;
    text-align: center;
    font-size: 24px;
    border-radius: 10px;
}

.splide__track {
    padding: 0 10px;
}

/* Tab Entrance Animation */
@keyframes tabFadeIn {
    0% { opacity: 0; transform: translateY(40px) scale(0.97); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
.tab-animate-in {
    animation: tabFadeIn 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
