@font-face {
    font-family: gobold;
    src: url(fonts/gobold.otf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: gobold, sans-serif;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0f;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background:
        radial-gradient(circle at 20% 80%, #181818),
        radial-gradient(circle at 80% 20%, rgba(0, 217, 255, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, #0a0a0f 0%, #1a0f1a 50%, #0a0a0f 100%);
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    width: 50px;
    margin: -10px;
    padding: 2px;
    cursor: pointer;
}

.hero-content img{
    width: 50vh;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #E73F5F;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #E73F5F;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: #ffffff;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #999;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.about {
    background: rgba(255, 255, 255, 0.02);
}

.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    width: 57%;
}

.about-text h3 {
    font-size: 1.8rem;
    color: #E73F5F;
    margin-bottom: 20px;
}

.about-text p {
    color: #cccccc;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, rgba(231, 63, 95, 0.1), rgba(0, 217, 255, 0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(231, 63, 95, 0.2);
    color: #666;
    font-size: 1.1rem;
    overflow: hidden;
}

.tag {
    padding: 5px 12px;
    background: rgba(231, 63, 95, 0.2);
    border-radius: 15px;
    font-size: 0.8rem;
    color: #E73F5F;
    border: 1px solid rgba(231, 63, 95, 0.3);
}

.contact {
    text-align: center;
}

.contact-content {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.contact-item {
    background: rgb(32, 32, 32);
    padding: 30px 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
    width: 70%;
}

.contact-item h4 {
    color: #E73F5F;
    margin-bottom: 10px;
}

.copyright {
    width: 100%;
    height: 30px;
    background-color: #111111;
    text-align: center;
    color: #666;
}

.carosell {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 80vh;
    width: 50%;
    justify-content: space-around;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(231, 63, 95, 0.2);
    transition: all 0.5s ease;
    width: 30%;
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(231, 63, 95, 0.2), transparent);
    transition: left 0.8s;
    z-index: 1;
}

.project-card:hover::before {
    left: 100%;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(231, 63, 95, 0.8);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(231, 63, 95, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg,
            #ff879d 0%,
            #ff4d70 50%,
            #ff1443 100%);
    z-index: 9999;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(231, 63, 95, 0.5);
}

::-webkit-scrollbar {
    display: none;
}

.caro {
    background-color: #111111;
    display: flex;
    justify-content: center;
}

.carocel-txt {
    width: 80%;
    height: 50vh;
    text-align: left;
    padding-left: 10px;
}

.carocel-txt p,
.carocel-txt h2 {
    text-align: left;
}

.carousel-container {
    width: 50%;
    height: 50vh;
    position: relative;
    background-size: 300% 300%;
    animation: gradientShift 15s ease infinite;
    overflow: hidden;
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 300;
    color: rgb(255, 255, 255);
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    background: #E73F5F;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.carousel-nav:hover {
    background: #ff1443;
    transform: translateY(-50%) scale(1.05);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.carousel-nav:active {
    transform: translateY(-50%) scale(0.95);
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-prev {
    left: 40px;
}

.carousel-next {
    right: 40px;
}

.carousel-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    padding: 12px 20px;
    border-radius: 50px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #E73F5F;
    position: relative;
}

.carousel-dot:hover {
    background: #ff1443;
    transform: scale(1.2);
}

.carousel-dot.active {
    background: #ff98ad;
    transform: scale(1.3);
    box-shadow:
        0 0 12px rgba(255, 255, 255, 0.5),
        0 0 24px rgba(255, 255, 255, 0.3);
}

@keyframes progressSlide {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .carousel-prev {
        left: 20px;
    }

    .carousel-next {
        right: 20px;
    }

    .carousel-dots {
        bottom: 30px;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

@media (orientation: portrait) {
    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-content img{
    width: 50vw;
    }

    .carosell {
        padding-top: 50px;
    flex-direction: column;
        width: 90%;
    }
    .carocel-txt p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 15px 5%;
    }

    .logo {
        font-size: 20px;
    }

    .nav-links {
        gap: 15px;
    }

    .stats {
        grid-template-columns: 1fr;
    }
}

.carousel-container.transitioning .carousel-nav,
.carousel-container.transitioning .carousel-dots {
    opacity: 0.5;
    pointer-events: none;
}