* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    overflow-x: hidden;
    background-color: #06111e;
    margin: 0;
    padding: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(6, 17, 30, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 183, 81, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.5rem;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 183, 81, 0.3));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-link:hover {
    color: #ffb751;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, #ffb751, #a06a02);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: linear-gradient(90deg, #ffb751, #a06a02);
    border-radius: 2px;
    transition: 0.3s;
}


.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #06111e;
    color: white;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}


.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.slider-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

            .slider-track {
                display: flex;
                animation: slideShow 40s linear infinite;
                height: 100%;
                position: absolute;
                top: 0;
                left: 0;
                will-change: transform;
            }

.slider-item {
    min-width: 350px;
    height: 100%;
    flex-shrink: 0;
    position: relative;
    margin-right: 30px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.9);
    opacity: 0.6;
}

.slider-item:hover {
    transform: scale(1.05);
    opacity: 1;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.1) saturate(1.2);
    transition: all 0.4s ease;
}

.slider-item:hover img {
    filter: brightness(1) contrast(1.2) saturate(1.3);
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(6, 17, 30, 0.3) 0%,
        rgba(255, 183, 81, 0.1) 50%,
        rgba(6, 17, 30, 0.3) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.slider-item:hover .slider-overlay {
    opacity: 1;
}

.slider-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(6, 17, 30, 0.8) 0%,
        rgba(6, 17, 30, 0.4) 20%,
        rgba(6, 17, 30, 0.1) 50%,
        rgba(6, 17, 30, 0.4) 80%,
        rgba(6, 17, 30, 0.8) 100%
    );
    pointer-events: none;
    z-index: 2;
}

@keyframes slideShow {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(6, 17, 30, 0.9) 0%,
        rgba(6, 17, 30, 0.7) 50%,
        rgba(6, 17, 30, 0.9) 100%
    );
    z-index: 2;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 3;
}

.hero-content {
    animation: fadeInLeft 1s ease-out;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(255, 183, 81, 0.2), rgba(160, 106, 2, 0.2));
    border: 1px solid rgba(255, 183, 81, 0.3);
    padding: 8px 16px;
    border-radius: 25px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-badge span {
    color: #ffb751;
    font-weight: 600;
    font-size: 0.9rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #ffb751, #a06a02);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #ffb751, #a06a02);
    color: white;
    box-shadow: 0 8px 25px rgba(255, 183, 81, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #a06a02, #ffb751);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 183, 81, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffb751;
    color: #ffb751;
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #ffb751;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #cccccc;
    font-weight: 500;
}


.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: fadeInRight 1s ease-out;
}

.hero-logo-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    width: 300px;
    height: 300px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    z-index: 2;
    position: relative;
}

.logo-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 183, 81, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 183, 81, 0.2), rgba(160, 106, 2, 0.2));
    border: 1px solid rgba(255, 183, 81, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffb751;
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.element-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(10px) rotate(240deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 1.5rem;
    z-index: 3;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, #ffb751, transparent);
    border-radius: 1px;
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% {
        height: 40px;
        opacity: 1;
    }
    50% {
        height: 60px;
        opacity: 0.7;
    }
}

.about {
    padding: 60px 0;
    background: #06111e;
    position: relative;
    margin-top: 0;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffb751" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 4rem;
    color: #ffffff;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ffb751, #a06a02);
    border-radius: 2px;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #ffffff;
    background: linear-gradient(135deg, #ffb751, #a06a02);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    margin-bottom: 2rem;
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.8;
}

.skills {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.skill {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 183, 81, 0.2);
    backdrop-filter: blur(10px);
}

.skill:hover {
    transform: translateY(-8px);
    border-color: #ffb751;
    background: rgba(255, 183, 81, 0.1);
}

.skill i {
    color: #ffb751;
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

.skill span {
    font-weight: 600;
    color: #ffffff;
}

.about-image {
    display: flex;
    justify-content: center;
    position: relative;
}

.about-logo {
    width: 250px;
    height: 250px;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.2));
    animation: logoFloat 6s ease-in-out infinite;
    position: relative;
}

.about-logo::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle, rgba(255, 183, 81, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: logoGlow 4s ease-in-out infinite;
    z-index: -1;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-15px) rotate(2deg) scale(1.02);
    }
    50% {
        transform: translateY(-8px) rotate(-1deg) scale(1.01);
    }
    75% {
        transform: translateY(-20px) rotate(1deg) scale(1.03);
    }
}

@keyframes logoGlow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.portfolio {
    padding: 120px 0;
    background: linear-gradient(135deg, #06111e 0%, #0a1a2e 100%);
    position: relative;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="%23ffb751" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.portfolio-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    margin-top: 1rem;
    font-weight: 400;
}

.portfolio-folders {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    justify-items: center;
}

.portfolio-folders .folder-section:nth-child(3) {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
}

.folder-section {
    background: rgba(6, 17, 30, 0.98);
    border-radius: 25px;
    border: 1px solid rgba(6, 17, 30, 0.98);
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 180px;
    display: flex;
    flex-direction: column;
}

.folder-section:hover {
    border-color: rgba(255, 183, 81, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.folder-header {
    display: flex;
    align-items: center;
    padding: 2.5rem 2.5rem;
    background: linear-gradient(135deg, rgba(6, 17, 30, 0.98), rgba(8, 23, 41, 0.98));
    border-bottom: 1px solid rgba(255, 183, 81, 0.1);
    gap: 2rem;
    flex: 1;
}

.folder-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffb751, #a06a02);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #06111e;
    font-size: 2rem;
    box-shadow: 0 8px 20px rgba(255, 183, 81, 0.3);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.folder-section:hover .folder-icon {
    transform: scale(1.1) rotate(5deg);
}

.folder-info {
    flex: 1;
    min-width: 0;
}

.folder-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.folder-info p {
    color: #cccccc;
    font-size: 1rem;
    margin: 0;
    line-height: 1.4;
}

.folder-count {
    background: linear-gradient(135deg, rgba(255, 183, 81, 0.2), rgba(160, 106, 2, 0.2));
    color: #ffb751;
    padding: 10px 18px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 183, 81, 0.3);
    flex-shrink: 0;
    white-space: nowrap;
}

.portfolio-content {
    position: relative;
    z-index: 2;
}

.content-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 183, 81, 0.1);
    backdrop-filter: blur(10px);
}

.back-btn {
    background: linear-gradient(135deg, #ffb751, #a06a02);
    border: none;
    color: #06111e;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(255, 183, 81, 0.3);
    white-space: nowrap;
}

.back-btn:hover {
    background: linear-gradient(135deg, #a06a02, #ffb751);
    transform: translateX(-5px);
    box-shadow: 0 8px 25px rgba(255, 183, 81, 0.4);
}

.back-btn i {
    transition: transform 0.3s ease;
}

.back-btn:hover i {
    transform: translateX(-3px);
}

.content-title {
    flex: 1;
}

.content-title h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.content-title p {
    color: #cccccc;
    font-size: 1.1rem;
    margin: 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 183, 81, 0.1);
    backdrop-filter: blur(10px);
}

.portfolio-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    border-color: #ffb751;
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    background: linear-gradient(45deg, rgba(255, 183, 81, 0.1), rgba(160, 106, 2, 0.1));
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

.portfolio-image img:not([src]), 
.portfolio-image img[src=""] {
    opacity: 0.7;
    filter: blur(2px);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(6, 17, 30, 0.9), rgba(160, 106, 2, 0.8));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    padding: 2rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.portfolio-item:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: #ffb751;
    font-weight: 600;
}

.overlay-content p {
    color: #cccccc;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.overlay-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.view-btn {
    background: linear-gradient(135deg, #ffb751, #a06a02);
    border: none;
    color: #06111e;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(255, 183, 81, 0.3);
}

.view-btn:hover {
    background: linear-gradient(135deg, #a06a02, #ffb751);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 183, 81, 0.4);
}

.portfolio-info {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 183, 81, 0.1);
}

.portfolio-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 600;
}

.portfolio-info p {
    color: #cccccc;
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.portfolio-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: linear-gradient(135deg, rgba(255, 183, 81, 0.2), rgba(160, 106, 2, 0.2));
    color: #ffb751;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(255, 183, 81, 0.3);
    transition: all 0.3s ease;
}

.tag:hover {
    background: linear-gradient(135deg, rgba(255, 183, 81, 0.3), rgba(160, 106, 2, 0.3));
    transform: translateY(-1px);
}

.new-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    z-index: 10;
    animation: pulse 2s infinite;
}

.new-item {
    border: 2px solid rgba(255, 107, 107, 0.3);
}

.new-item:hover {
    border-color: #ff6b6b;
}

.new-item .new-badge {
    animation: pulse 2s infinite;
}

.services {
    padding: 120px 0;
    background: linear-gradient(135deg, #0a1a2e 0%, #06111e 100%);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 183, 81, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 183, 81, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-15px);
    border-color: #ffb751;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #ffb751, #a06a02);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 2.2rem;
    box-shadow: 0 10px 30px rgba(255, 183, 81, 0.3);
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-weight: 600;
}

.service-card p {
    color: #cccccc;
    line-height: 1.7;
    font-size: 1rem;
}


.contact {
    padding: 120px 0;
    background: #06111e;
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    margin-top: 4rem;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    background: linear-gradient(135deg, #ffb751, #a06a02);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info p {
    color: #cccccc;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.contact-details {
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 1.5rem;
    color: #cccccc;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 183, 81, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 183, 81, 0.1);
    border-color: #ffb751;
    transform: translateX(10px);
}

.contact-item i {
    color: #ffb751;
    font-size: 1.3rem;
    width: 25px;
}

.discord-link, .email-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.discord-link:hover, .email-link:hover {
    color: #ffb751;
    transform: translateX(5px);
}


.footer {
    background: linear-gradient(135deg, #06111e 0%, #0a1a2e 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 183, 81, 0.3);
    position: relative;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-logo-img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 183, 81, 0.3));
}


.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-content {
    position: relative;
    margin: 3% auto;
    padding: 30px;
    width: 90%;
    max-width: 900px;
    background: linear-gradient(135deg, #06111e, #0a1a2e);
    border-radius: 20px;
    border: 1px solid rgba(255, 183, 81, 0.3);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    transform: scale(0.8) translateY(50px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffb751;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 183, 81, 0.1);
    transform: rotate(0deg);
}

.close:hover {
    color: #ffffff;
    background: rgba(255, 183, 81, 0.2);
    transform: rotate(90deg) scale(1.1);
}

#modalImage {
    width: 100%;
    height: auto;
    border-radius: 15px;
    margin-bottom: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.modal-info {
    text-align: center;
    color: #ffffff;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.modal-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #ffb751;
    font-weight: 600;
}

.modal-info p {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.6;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal.show .modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal.show #modalImage {
    transform: scale(1);
    opacity: 1;
}

.modal.show .modal-info {
    transform: translateY(0);
    opacity: 1;
}

.show-more-btn {
    display: block;
    margin: 3rem auto 0;
    background: linear-gradient(135deg, #ffb751, #a06a02);
    border: none;
    color: #06111e;
    padding: 15px 30px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 8px 25px rgba(255, 183, 81, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 180px;
    justify-content: center;
}

.show-more-btn::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.6s ease;
}

.show-more-btn:hover::before {
    left: 100%;
}

.show-more-btn:hover {
    background: linear-gradient(135deg, #a06a02, #ffb751);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 183, 81, 0.4);
}

.show-more-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.show-more-btn span {
    font-weight: 600;
    transition: transform 0.3s ease;
}

.show-more-btn i {
    transition: transform 0.3s ease;
}

.show-more-btn:hover span {
    transform: translateX(2px);
}

.show-more-btn:hover i {
    transform: translateY(2px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (max-width: 768px) {
    .slider-item {
        min-width: 280px;
        margin-right: 20px;
    }
    
    .slider-track {
        animation-duration: 30s;
    }
    
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(6, 17, 30, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 2rem 0;
        border-top: 1px solid rgba(255, 183, 81, 0.2);
        backdrop-filter: blur(20px);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-logo {
        width: 250px;
        height: 250px;
    }

    .hero-stats {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .skills {
        grid-template-columns: 1fr;
    }

    .portfolio-folders {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .portfolio-folders .folder-section:nth-child(3) {
        grid-column: 1;
        max-width: none;
    }

    .folder-section {
        min-height: 160px;
    }

    .folder-header {
        padding: 2rem 2rem;
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .folder-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .folder-info h3 {
        font-size: 1.6rem;
    }

    .content-header {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .back-btn {
        align-self: flex-start;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .portfolio-image {
        height: 220px;
    }
    
    .new-badge {
        top: 15px;
        right: 15px;
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .overlay-content {
        padding: 1.5rem;
    }
    
    .overlay-content h3 {
        font-size: 1.2rem;
    }
    
    .portfolio-info {
        padding: 1.2rem;
    }
    
    .portfolio-info h3 {
        font-size: 1.2rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .modal-content {
        width: 95%;
        margin: 5% auto;
        padding: 20px;
    }
    
    .close {
        top: 15px;
        right: 20px;
        font-size: 35px;
        width: 45px;
        height: 45px;
    }
    
    .modal-info h3 {
        font-size: 1.5rem;
    }
    
    .modal-info p {
        font-size: 1rem;
    }
    
    .show-more-btn {
        padding: 12px 25px;
        font-size: 0.95rem;
        min-width: 160px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .floating-elements {
        display: none;
    }

    .hero-logo {
        width: 200px;
        height: 200px;
    }
} 