* {
    font-family: 'Roboto', sans-serif;
}
h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Oswald', sans-serif;
}
.diagonal-slice {
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}
.diagonal-slice-reverse {
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
}
.service-card:hover .service-icon {
    transform: rotateY(180deg);
}
.service-icon {
    transition: transform 0.6s;
    transform-style: preserve-3d;
}
.project-card:hover .project-overlay {
    opacity: 1;
}
.project-card:hover img {
    transform: scale(1.1);
}
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #f59e0b;
    transition: width 0.3s;
}
.nav-link:hover::after {
    width: 100%;
}

.moving-truck{
        position: absolute;

        /* MOVE DOWN */
        bottom: -45px;

        /* Start outside screen */
        right: -500px;

        width: 220px;

        z-index: 20;

        pointer-events: none;

        animation: moveTruck 10s linear infinite;
    }

    /* Tablet */
    @media (min-width: 768px){
        .moving-truck{
            width: 80px;
            bottom: -60px;
        }
    }

    /* Desktop */
    @media (min-width: 1024px){
        .moving-truck{
            width: 220px;
            bottom: -28px;
        }
    }

    /* Truck Animation */
    @keyframes moveTruck{

        0%{
            right: -500px;
        }

        100%{
            right: 110%;
        }

    }


    
/* ========================= */
/* Custom Slider Styles */
/* ========================= */

.custom-slider-container * {
    box-sizing: border-box;
}

.custom-slider-container {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
    background: #000;
}

.custom-slider {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform .5s ease;
    display: flex;
}

.custom-slide {
    position: relative;
    min-width: 100%;
    width: 100%;
    height: 100%;
    top: 0;
    overflow: hidden;
    flex-shrink: 0;
}

.custom-slide__bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.custom-slide-0 .custom-slide__bg {
    background-image: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?q=80&w=1920&auto=format&fit=crop');
}

.custom-slide-1 .custom-slide__bg {
    background-image: url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?q=80&w=1920&auto=format&fit=crop');
}

.custom-slide__content {
    position: relative;
    width: 100%;
    height: 100%;
}

.custom-slide__overlay {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 100%;
    opacity: .8;
}

.custom-slide-0 .custom-slide__overlay-path {
    fill: #ff8a00;
}

.custom-slide-1 .custom-slide__overlay-path {
    fill: #ffb347;
}

.custom-slide__text {
    position: absolute;
    left: 10%;
    bottom: 15%;
    width: 30%;
    color: #fff;
    z-index: 5;
}

.custom-slide__text-heading {
    font-size: 60px;
    margin-bottom: 20px;
    font-weight: bold;
}

.custom-slide__text-desc {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.custom-slide__text-link {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid #fff;
    cursor: pointer;
    transition: .3s;
}

.custom-slide__text-link:hover {
    background: #fff;
    color: #000;
}

.custom-slider-control {
    position: absolute;
    top: 0;
    width: 10%;
    height: 100%;
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.custom-slider-control:hover {
    background: rgba(0, 0, 0, 0.3);
}

.custom-slider-control svg {
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.custom-slider-control:hover svg {
    opacity: 1;
    transform: scale(1.2);
}

.custom-left {
    left: 0;
}

.custom-right {
    right: 0;
}

.custom-slider-pagi {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
    list-style: none;
    margin: 0;
    padding: 0;
}

.custom-slider-pagi li {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
}

.custom-slider-pagi li:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.custom-slider-pagi li.active {
    background: #fff;
}

@media (max-width: 768px) {
    .custom-slide__text {
        width: 80%;
        left: 10%;
    }
    
    .custom-slide__text-heading {
        font-size: 38px;
    }
}
/* ========================= */
/* Enhanced Design Features */
/* ========================= */

/* Animated Background Patterns */
.animated-bg {
    position: relative;
    overflow: hidden;
}

.animated-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* 3D Card Effects */
.card-3d {
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.card-3d:hover {
    transform: rotateY(5deg) rotateX(5deg) translateZ(20px);
}

/* Glowing Elements */
.glow-effect {
    position: relative;
}

.glow-effect::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(45deg, #f59e0b, #f97316, #f59e0b);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}

.glow-effect:hover::after {
    opacity: 1;
}

/* Morphing Shapes */
.morph-shape {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    25% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    50% { border-radius: 50% 60% 30% 60% / 30% 60% 70% 40%; }
    75% { border-radius: 60% 40% 60% 30% / 60% 30% 60% 40%; }
}

/* Parallax Elements */
.parallax-element {
    transform: translateZ(0);
    transition: transform 0.1s ease-out;
}

/* Interactive Buttons */
.btn-interactive {
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, #f59e0b, #f97316);
    border: none;
    color: #0f172a;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-interactive::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-interactive:hover::before {
    left: 100%;
}

.btn-interactive:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
}

/* Floating Animation Variants */
.float-slow {
    animation: floatSlow 8s ease-in-out infinite;
}

.float-fast {
    animation: floatFast 4s ease-in-out infinite;
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

@keyframes floatFast {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(-3deg); }
}

/* Text Gradient Effects */
.text-gradient {
    background: linear-gradient(45deg, #f59e0b, #f97316, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Progress Bars */
.progress-bar {
    width: 100%;
    height: 8px;
    background: #334155;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #f97316);
    border-radius: 4px;
    transition: width 2s ease-in-out;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: progressShine 2s infinite;
}

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

/* Staggered Animations */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* Interactive Timeline */
.timeline-item {
    position: relative;
    padding-left: 40px;
    margin-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background: #f59e0b;
    border-radius: 50%;
    border: 4px solid #0f172a;
    transition: all 0.3s ease;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 9px;
    top: 20px;
    width: 2px;
    height: calc(100% + 10px);
    background: #334155;
}

.timeline-item:hover::before {
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.6);
}

/* Skill Bars */
.skill-item {
    margin-bottom: 20px;
}

.skill-name {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: bold;
}

/* Image Overlay Effects */
.image-overlay-effect {
    position: relative;
    overflow: hidden;
}

.image-overlay-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(245, 158, 11, 0.8), rgba(249, 115, 22, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.image-overlay-effect:hover::before {
    opacity: 1;
}

.image-overlay-effect .overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-overlay-effect:hover .overlay-content {
    opacity: 1;
}

/* Accordion Styles */
.accordion-item {
    border: 1px solid #334155;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-header {
    background: #1e293b;
    padding: 20px;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header:hover {
    background: #334155;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #0f172a;
}

.accordion-content.active {
    max-height: 200px;
}

.accordion-body {
    padding: 20px;
}

/* Loading Animations */
.loading-dots {
    display: inline-block;
}

.loading-dots::after {
    content: '';
    animation: loadingDots 1.5s infinite;
}

@keyframes loadingDots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .card-3d:hover {
        transform: translateY(-10px);
    }
    
    .morph-shape {
        animation-duration: 6s;
    }
    
    .timeline-item {
        padding-left: 30px;
    }
    
    .custom-slider-control {
        width: 15%;
    }
    
    .custom-slider-control svg {
        width: 32px;
        height: 32px;
    }
}