/* Hero 3D Slider Styles */
.hero-3d-slider {
    position: relative;
    padding: 100px 0 60px;
    background: #050c17;
    overflow: hidden;
}

.hero-3d-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(195, 0, 9, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-3d-slider .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(195, 0, 9, 0.15);
    border: 1px solid rgba(195, 0, 9, 0.3);
    color: #ff4d56;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.hero-3d-slider .section-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero-3d-slider .section-subtitle {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    max-width: 500px;
}

.hero-3d-slider .swiper {
    padding: 40px 0 60px;
    overflow: visible;
}

.hero-3d-slider .swiper-slide {
    width: 520px;
    height: 340px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: all 0.5s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.hero-3d-slider .swiper-slide img,
.hero-3d-slider .swiper-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-3d-slider .swiper-slide .slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 24px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero-3d-slider .swiper-slide .slide-overlay .slide-tag {
    display: inline-block;
    background: rgba(195, 0, 9, 0.9);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 8px;
    width: fit-content;
}

.hero-3d-slider .swiper-slide .slide-overlay h3 {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-3d-slider .swiper-slide .slide-overlay p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin-top: 4px;
}

.hero-3d-slider .swiper-slide-active {
    box-shadow: 0 30px 80px rgba(195, 0, 9, 0.2), 0 20px 60px rgba(0, 0, 0, 0.5);
}

.hero-3d-slider .swiper-slide .video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(195, 0, 9, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(195, 0, 9, 0.4);
}

.hero-3d-slider .swiper-slide .video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: #C30009;
    box-shadow: 0 0 50px rgba(195, 0, 9, 0.6);
}

.hero-3d-slider .swiper-slide .video-play-btn svg {
    width: 28px;
    height: 28px;
    fill: #fff;
    margin-left: 4px;
}

.hero-3d-slider .swiper-button-next,
.hero-3d-slider .swiper-button-prev {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.hero-3d-slider .swiper-button-next:hover,
.hero-3d-slider .swiper-button-prev:hover {
    background: rgba(195, 0, 9, 0.6);
    border-color: rgba(195, 0, 9, 0.8);
}

.hero-3d-slider .swiper-button-next::after,
.hero-3d-slider .swiper-button-prev::after {
    font-size: 18px;
    font-weight: 700;
}

.hero-3d-slider .swiper-pagination {
    position: relative;
    margin-top: 10px;
}

.hero-3d-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.25);
    opacity: 1;
    transition: all 0.4s ease;
}

.hero-3d-slider .swiper-pagination-bullet-active {
    width: 32px;
    border-radius: 6px;
    background: linear-gradient(90deg, #C30009, #ff4d56);
    box-shadow: 0 0 12px rgba(195, 0, 9, 0.5);
}

.hero-3d-slider .floating-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(195, 0, 9, 0.15);
    animation: floatParticle 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes floatParticle {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-30px) scale(1.2);
        opacity: 0.6;
    }
}

@media(max-width:767px) {
    .hero-3d-slider {
        padding: 90px 0 40px;
    }

    .hero-3d-slider .section-title {
        font-size: 1.75rem;
    }

    .hero-3d-slider .swiper-slide {
        width: 300px;
        height: 220px;
    }

    .hero-3d-slider .swiper-slide .slide-overlay h3 {
        font-size: 0.95rem;
    }

    .hero-3d-slider .swiper-button-next,
    .hero-3d-slider .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .hero-3d-slider .swiper-button-next::after,
    .hero-3d-slider .swiper-button-prev::after {
        font-size: 14px;
    }
}

@media(min-width:768px) and (max-width:1023px) {
    .hero-3d-slider .swiper-slide {
        width: 400px;
        height: 280px;
    }
}

/* Hero Media Slider Styles */
.hero-slider-section {
    position: relative;
    padding: 120px 0 40px;
    background: #050c17;
    overflow: hidden;
}

.hero-slider-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(195, 0, 9, 0.15), transparent);
    pointer-events: none;
}

.slider-container {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0 2rem;
}

.main-display {
    position: relative;
    width: 100%;
    aspect-ratio: 25/9;
    border-radius: 16px;
    overflow: hidden;
    background: #18181b;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

.main-display::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 50%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 10;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.slide img,
.slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 1;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.slide.playing .video-overlay {
    opacity: 0;
}

.slide.playing .video-overlay:hover {
    opacity: 1;
}

.play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.play-btn:hover {
    background: #C30009;
    border-color: #C30009;
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(195, 0, 9, 0.4);
}

.play-btn svg {
    width: 32px;
    height: 32px;
    fill: white;
    margin-left: 4px;
}

.slide.playing .play-btn svg {
    margin-left: 0;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid #27272a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 20;
}

.nav-arrow:hover {
    background: #C30009;
    border-color: #C30009;
    box-shadow: 0 0 20px rgba(195, 0, 9, 0.4);
}

.nav-arrow.prev {
    left: 1rem;
}

.nav-arrow.next {
    right: 1rem;
}

.nav-arrow svg {
    width: 24px;
    height: 24px;
    stroke: white;
    stroke-width: 2;
    fill: none;
}

.slide-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem 2rem 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.4s ease 0.2s;
}

.slide.active .slide-info {
    transform: translateY(0);
    opacity: 1;
}

.slide-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #ff4d56;
    margin-bottom: 0.5rem;
}

.slide-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    letter-spacing: 0.02em;
    color: white;
    font-weight: 700;
}

.slide-desc {
    color: #71717a;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.thumbnail-strip {
    display: flex;
    gap: 12px;
    margin-top: 1.5rem;
    padding: 1rem;
    background: #131316;
    border-radius: 12px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #27272a transparent;
}

.thumbnail-strip::-webkit-scrollbar {
    height: 6px;
}

.thumbnail-strip::-webkit-scrollbar-track {
    background: transparent;
}

.thumbnail-strip::-webkit-scrollbar-thumb {
    background: #27272a;
    border-radius: 3px;
}

.thumbnail {
    flex-shrink: 0;
    width: 120px;
    height: 43px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    transition: background 0.3s ease;
    z-index: 1;
}

.thumbnail:hover::before {
    background: rgba(0, 0, 0, 0.1);
}

.thumbnail.active {
    border-color: #C30009;
    box-shadow: 0 0 20px rgba(195, 0, 9, 0.4);
}

.thumbnail.active::before {
    background: transparent;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-type {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.thumbnail-type svg {
    width: 12px;
    height: 12px;
    fill: white;
}

.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: #C30009;
    width: 0;
    z-index: 15;
    transition: width 0.1s linear;
}

.slide-counter {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    z-index: 15;
}

.slide-counter span {
    color: white;
    font-weight: 600;
}

@media (max-width: 640px) {
    .hero-slider-section {
        padding: 100px 0 60px;
    }

    .slider-container {
        padding: 0 1rem;
    }

    .thumbnail-strip {
        padding: 1rem;
    }

    .nav-arrow {
        width: 40px;
        height: 40px;
    }

    .nav-arrow.prev {
        left: 0.5rem;
    }

    .nav-arrow.next {
        right: 0.5rem;
    }

    .thumbnail {
        width: 80px;
        height: 29px;
    }

    .slide-info {
        padding: 2rem 1rem 1rem;
    }

    .play-btn {
        width: 60px;
        height: 60px;
    }

    .play-btn svg {
        width: 24px;
        height: 24px;
    }
}

/* Header border on scroll */
nav.stickyadd {
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    transition: border-bottom 0.3s ease;
}

/* About Me Section Styles */
.about-section {
    padding: 4rem 0;
    border-top: 2px solid rgba(156, 163, 175, 0.12);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

/* Image Container */
.about-image-container {
    order: 1;
}

.about-image-box {
    max-width: 380px;
    margin: 0 auto;
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    display: block;
}

/* Content */
.about-content {
    order: 2;
    text-align: center;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #c30009;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.about-badge svg {
    width: 16px;
    height: 16px;
}

.about-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.about-description {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #6b7280;
    margin-bottom: 2.5rem;
}

/* Info Grid */
.about-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: left;
}

.about-info-item {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(156, 163, 175, 0.2);
}

.about-info-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.about-info-value {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
}

.about-link {
    color: #c30009;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.about-link:hover {
    color: #a00007;
    transform: translateX(4px);
}

/* Responsive Design */
@media (min-width: 768px) {
    .about-section {
        padding: 6rem 0;
    }

    .about-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .about-wrapper {
        grid-template-columns: 380px 1fr;
        gap: 4rem;
    }

    .about-image-container {
        order: 1;
    }

    .about-content {
        order: 2;
        text-align: left;
    }

    .about-image-box {
        margin: 0;
    }

    .about-title {
        font-size: 2.5rem;
    }

    .about-info-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .about-info-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Professional Journey Timeline Images */
.journey-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.journey-image:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Timeline Structure */
.timeline-item {
    position: relative;
}

.timeline-line {
    display: block;
    width: 2px;
    background: url('../images/dot-line.svg') center/cover;
    position: absolute;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 0;
}

.timeline-dot {
    background: radial-gradient(circle, #C30009, #430108);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    position: absolute;
    left: -5px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    animation: heartPulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(195, 0, 9, 0.7);
}

@keyframes heartPulse {
    0% {
        transform: translateY(-50%) scale(1);
        box-shadow: 0 0 0 0 rgba(195, 0, 9, 0.7);
    }

    25% {
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 0 0 5px rgba(195, 0, 9, 0);
    }

    50% {
        transform: translateY(-50%) scale(1);
        box-shadow: 0 0 0 0 rgba(195, 0, 9, 0);
    }

    75% {
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 0 0 5px rgba(195, 0, 9, 0);
    }

    100% {
        transform: translateY(-50%) scale(1);
        box-shadow: 0 0 0 0 rgba(195, 0, 9, 0);
    }
}

.timeline-content {
    position: relative;
    z-index: 10;
    padding-left: 28px;
}

.timeline-text {
    margin-bottom: 20px;
}

.timeline-img {
    margin-top: 20px;
    margin-bottom: 30px;
}

/* Desktop Layout - Alternating */
@media (min-width: 768px) {
    .timeline-line {
        left: 50%;
        transform: translateX(-50%);
    }

    .timeline-dot {
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .timeline-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: start;
        padding-left: 0;
    }

    /* ODD: Content Left, Image Right */
    .timeline-odd .timeline-text {
        grid-column: 1;
        text-align: right;
        padding-right: 30px;
    }

    .timeline-odd .timeline-img {
        grid-column: 2;
        padding-left: 30px;
        margin-top: 0;
    }

    /* EVEN: Image Left, Content Right */
    .timeline-even .timeline-text {
        grid-column: 2;
        text-align: left;
        padding-left: 30px;
    }

    .timeline-even .timeline-img {
        grid-column: 1;
        grid-row: 1;
        padding-right: 30px;
        margin-top: 0;
        display: flex;
        justify-content: flex-end;
    }

    .timeline-even .timeline-text {
        grid-row: 1;
    }
}

@media (min-width: 768px) {
    .journey-image {
        height: 300px;
    }
}