/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00d9ff;
    --primary-dark: #0099cc;
    --primary-light: #66ebff;
    --secondary-color: #1a1a2e;
    --accent-color: #ff00ff;
    --dark-bg: #0a0a16;
    --dark-card: #121226;
    --text-light: #f0f0f0;
    --text-gray: #a0a0c0;
    --gradient: linear-gradient(135deg, #00d9ff, #0066ff, #9d00ff);
    --gradient-dark: linear-gradient(135deg, #003344, #001133, #220044);
    --shadow: 0 0 20px rgba(0, 217, 255, 0.3);
    --shadow-heavy: 0 0 40px rgba(0, 217, 255, 0.5);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

.highlight {
    color: var(--primary-color);
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 60px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.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.7s;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    box-shadow: var(--shadow-heavy);
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: rgba(0, 217, 255, 0.1);
    transform: translateY(-3px);
}

/* Background Elements */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 217, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 217, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
}

.bg-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.1) 0%, rgba(0, 217, 255, 0.03) 40%, transparent 70%);
    z-index: -1;
}

.floating-elements {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 217, 255, 0.1);
    filter: blur(20px);
}

.el-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 10%;
    animation: float 20s infinite ease-in-out;
}

.el-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 5%;
    animation: float 15s infinite ease-in-out reverse;
}

.el-3 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 20%;
    animation: float 25s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -50px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background-color: rgba(10, 10, 22, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 217, 255, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: white;
    text-decoration: none;
    letter-spacing: 2px;
}

.logo-dot {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
    margin-left: 40px;
    font-size: 1rem;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease;
    background-color: var(--primary-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 80px;
    position: relative;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-gray);
    margin-bottom: 10px;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 10px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.1;
}

.hero-tagline {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 30px;
    min-height: 60px;
}

.cursor {
    display: inline-block;
    animation: blink 1s infinite;
    color: var(--primary-color);
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-visual-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.code-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
}

.code-circle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 217, 255, 0.1), transparent);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.tech-element {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 10px var(--primary-color); }
    50% { box-shadow: 0 0 25px var(--primary-color); }
}

.te-1 {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.te-2 {
    top: 20%;
    right: 15%;
    animation-delay: 0.5s;
}

.te-3 {
    bottom: 15%;
    left: 30%;
    animation-delay: 1s;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-gray);
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    position: relative;
    margin-bottom: 10px;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { top: 10px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-top: 60px;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.profile-image {
    position: relative;
    width: 350px;
    height: 350px;
    border-radius: 50%;
}

.profile-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    z-index: 2;
    position: relative;
}

.profile-border {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: var(--gradient);
    z-index: 1;
    animation: rotate 10s linear infinite;
}

.profile-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border-radius: 50%;
    background: var(--gradient);
    filter: blur(20px);
    opacity: 0.3;
    z-index: 0;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-gray);
}

.about-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 30px 0;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-label {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.detail-value {
    font-weight: 600;
    color: var(--text-light);
}

.detail-value.available {
    color: var(--primary-color);
}

/* Skills Section - Updated with Logo Styles */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.skill-category {
    background: rgba(18, 18, 38, 0.7);
    border-radius: 10px;
    padding: 30px;
    border: 1px solid rgba(0, 217, 255, 0.1);
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.skill-category:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.skill-category h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Updated skill item styling with logos */
.skill-item {
    margin-bottom: 25px;
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 8px;
}

.skill-logo {
    display: flex;
    gap: 10px;
    font-size: 1.5rem;
}

/* Logo colors for each technology */
.html-logo {
    color: #E34F26; /* HTML5 orange */
}

.css-logo {
    color: #1572B6; /* CSS3 blue */
}

.js-logo {
    color: #F7DF1E; /* JavaScript yellow */
}

.typescript-logo {
    color: #3178C6; /* TypeScript blue */
}

.react-logo {
    color: #61DAFB; /* React cyan */
}

.nextjs-logo {
    color: #000000; /* Next.js black */
}

.vue-logo {
    color: #4FC08D; /* Vue.js green */
}

.nuxt-logo {
    color: #00DC82; /* Nuxt.js green */
}

.figma-logo {
    color: #F24E1E; /* Figma orange */
}

.xd-logo {
    color: #FF61F6; /* Adobe XD pink */
}

.research-logo {
    color: #00D9FF; /* User research - primary color */
}

.prototype-logo {
    color: #FF6B6B; /* Prototyping red */
}

.interaction-logo {
    color: #4ECDC4; /* Interaction design teal */
}

.git-logo {
    color: #F05032; /* Git orange */
}

.github-logo {
    color: #181717; /* GitHub black */
}

.gsap-logo {
    color: #88CE02; /* GSAP green */
}

.anime-logo {
    color: #FF6B6B; /* Anime.js red */
}

.webpack-logo {
    color: #8DD6F9; /* Webpack blue */
}

.vite-logo {
    color: #646CFF; /* Vite purple */
}

.responsive-logo {
    color: #00D9FF; /* Responsive design - primary color */
}

.skill-info {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.skill-info span:first-child {
    color: var(--text-light);
}

.skill-info span:last-child {
    color: var(--primary-color);
    font-weight: 600;
}

.skill-bar {
    height: 8px;
    background: rgba(0, 217, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient);
    border-radius: 4px;
    width: 0;
    transition: width 1.5s ease;
}

/* Animation for logos on hover */
.skill-logo i {
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 5px currentColor);
}

.skill-item:hover .skill-logo i {
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px currentColor);
}

/* Make skill items more interactive */
.skill-item {
    transition: all 0.3s ease;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.skill-item:hover {
    background: rgba(0, 217, 255, 0.05);
    transform: translateY(-3px);
}

/* Enhanced progress bar */
.skill-progress {
    background: linear-gradient(90deg, 
        var(--primary-color), 
        var(--primary-light), 
        var(--accent-color));
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

/* Add glow effect to progress bar on hover */
.skill-item:hover .skill-progress {
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.8);
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.project-card {
    background: rgba(18, 18, 38, 0.7);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid rgba(0, 217, 255, 0.1);
    backdrop-filter: blur(10px);
    transform-style: preserve-3d;
}

.project-card:hover {
    box-shadow: var(--shadow-heavy);
    transform: translateY(-10px);
}

.project-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    transform: scale(0.8);
    transition: transform 0.3s;
}

.project-card:hover .project-link {
    transform: scale(1);
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.project-content p {
    color: var(--text-gray);
    margin-bottom: 20px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.project-tech span {
    background: rgba(0, 217, 255, 0.1);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-family: 'Orbitron', sans-serif;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    margin-top: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.contact-details p {
    color: var(--text-gray);
}

.contact-form {
    background: rgba(18, 18, 38, 0.7);
    border-radius: 15px;
    padding: 40px;
    border: 1px solid rgba(0, 217, 255, 0.1);
    backdrop-filter: blur(10px);
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 217, 255, 0.3);
    color: var(--text-light);
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: border-color 0.3s;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: var(--primary-color);
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s;
}

.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line {
    width: 100%;
}

.contact-form .btn {
    width: 100%;
    margin-top: 10px;
}

/* Footer */
.footer {
    background: rgba(10, 10, 22, 0.9);
    border-top: 1px solid rgba(0, 217, 255, 0.1);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo p {
    color: var(--text-gray);
    margin-top: 20px;
    max-width: 300px;
}

.footer-links h4,
.footer-social h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(0, 217, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--gradient);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 217, 255, 0.1);
    color: var(--text-gray);
    font-size: 0.9rem;
}

.footer-bottom i {
    color: var(--primary-color);
    margin: 0 5px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        margin-bottom: 60px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual-container {
        width: 300px;
        height: 300px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-tagline {
        font-size: 2rem;
    }
    
    /* Responsive adjustment for logos */
    .skill-logo {
        font-size: 1.3rem;
        gap: 8px;
    }
    
    .skill-header {
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: rgba(10, 10, 22, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
        border-top: 1px solid rgba(0, 217, 255, 0.1);
        backdrop-filter: blur(10px);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        margin: 15px 0;
        font-size: 1.2rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-tagline {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .about-details {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-tagline {
        font-size: 1.5rem;
    }
    
    .profile-image {
        width: 250px;
        height: 250px;
    }
    
    .contact-form {
        padding: 25px;
    }
}

/* ============================================
   SMOOTH SCROLL ANIMATIONS
   ============================================ */

/* Initial state for sections - HIDDEN */
#about,
#skills,
#projects,
#contact {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* When section is visible - SHOW */
.section-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Stagger animations for elements inside sections */
.about-image,
.about-text {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: 0.2s;
}

.skill-category {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.project-card {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.contact-info,
.contact-form {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.contact-form {
    transform: translateX(30px);
}

/* Remove old reveal classes if they exist */
.reveal {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Progress bar for scroll */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient);
    z-index: 1001;
    transition: width 0.1s ease;
}

/* Performance optimization */
section {
    will-change: transform, opacity;
    backface-visibility: hidden;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    #about,
    #skills,
    #projects,
    #contact {
        transform: translateY(40px);
    }
}

/* Ensure no flash of invisible content */
.no-js #about,
.no-js #skills,
.no-js #projects,
.no-js #contact {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   WHATSAPP FLOAT BUTTON
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    z-index: 1000;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.7);
    background: #128C7E;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: rgba(10, 10, 22, 0.9);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
    white-space: nowrap;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 217, 255, 0.1);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ============================================
   SKILLS SECTION UPDATES
   ============================================ */

.skill-main-logo {
    text-align: center;
    font-size: 4rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px currentColor);
}

.html-main-logo {
    color: #E34F26;
    animation: pulse-logo 3s infinite;
}

.css-main-logo {
    color: #1572B6;
    animation: pulse-logo 3s infinite 0.5s;
}

.js-main-logo {
    color: #F7DF1E;
    animation: pulse-logo 3s infinite 1s;
}

.skill-category h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 25px;
}

.skill-description {
    text-align: center;
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 217, 255, 0.1);
}

@keyframes pulse-logo {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ============================================
   PROJECT LINKS STYLING
   ============================================ */

/* Update project overlay untuk multiple links */
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
}

.project-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    transform: scale(0.8);
    transition: all 0.3s ease;
    position: relative;
}

.project-card:hover .project-link {
    transform: scale(1);
}

.demo-link {
    background: linear-gradient(135deg, #00d9ff, #0066ff);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
}

.github-link {
    background: linear-gradient(135deg, #333, #000);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.demo-link:hover {
    background: linear-gradient(135deg, #0066ff, #00d9ff);
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.8);
    transform: scale(1.1) !important;
}

.github-link:hover {
    background: linear-gradient(135deg, #000, #333);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    transform: scale(1.1) !important;
}

.link-text {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-link:hover .link-text {
    opacity: 1;
}

/* Project actions buttons */
.project-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
    flex: 1;
    min-width: 120px;
    text-align: center;
}

.btn-small i {
    margin-right: 5px;
}

/* Projects CTA section */
.projects-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: rgba(18, 18, 38, 0.7);
    border-radius: 15px;
    border: 1px solid rgba(0, 217, 255, 0.1);
    backdrop-filter: blur(10px);
}

.projects-cta p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--text-light);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 200px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .project-overlay {
        flex-direction: row;
        gap: 20px;
    }
    
    .project-link {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .project-actions {
        flex-direction: column;
    }
    
    .btn-small {
        width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .project-overlay {
        gap: 15px;
    }
    
    .project-link {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .link-text {
        font-size: 0.6rem;
        bottom: -25px;
    }
}

/* ============================================
   PRICING SECTION
   ============================================ */

.pricing {
    background: linear-gradient(180deg, var(--dark-bg) 0%, rgba(10, 10, 22, 0.8) 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.pricing-card {
    background: rgba(18, 18, 38, 0.8);
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(0, 217, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-heavy);
}

.pricing-popular {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    padding: 8px 30px;
    border-radius: 0 0 20px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
    z-index: 1;
}

.pricing-header {
    padding: 30px;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(0, 217, 255, 0.1);
}

.pricing-badge {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    font-family: 'Orbitron', sans-serif;
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.pricing-price {
    margin: 20px 0;
}

.pricing-price .currency {
    font-size: 1.5rem;
    color: var(--text-gray);
    vertical-align: top;
}

.pricing-price .amount {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    margin: 0 5px;
    font-family: 'Orbitron', sans-serif;
}

.pricing-price .period {
    font-size: 1rem;
    color: var(--text-gray);
}

.pricing-desc {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.pricing-features {
    padding: 30px;
}

.pricing-features h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features ul {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    margin-bottom: 15px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features i.fa-check {
    color: #4CAF50;
    font-size: 0.9rem;
}

.pricing-features strong {
    color: var(--primary-light);
}

.pricing-excludes {
    background: rgba(255, 0, 0, 0.05);
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid rgba(255, 0, 0, 0.1);
}

.pricing-excludes h5 {
    color: #ff6b6b;
    margin-bottom: 15px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-excludes i.fa-times {
    color: #ff6b6b;
    font-size: 0.9rem;
}

.pricing-bonus {
    background: rgba(0, 217, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid rgba(0, 217, 255, 0.1);
}

.pricing-bonus h5 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-bonus i.fa-star {
    color: #FFD700;
    font-size: 0.9rem;
}

.pricing-cta {
    padding: 0 30px 30px;
    text-align: center;
}

.pricing-cta .btn {
    width: 100%;
    margin-bottom: 15px;
}

.pricing-note {
    font-size: 0.8rem;
    color: var(--text-gray);
    font-style: italic;
}

.pricing-note-section {
    margin-top: 60px;
}

.note-box {
    background: rgba(0, 217, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid rgba(0, 217, 255, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    backdrop-filter: blur(10px);
}

.note-box i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 5px;
}

/* ============================================
   WORKFLOW SECTION
   ============================================ */

.workflow-timeline {
    max-width: 800px;
    margin: 60px auto 0;
    position: relative;
}

.workflow-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient);
}

.workflow-step {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    color: white;
    flex-shrink: 0;
    z-index: 1;
    box-shadow: var(--shadow);
}

.step-content {
    flex: 1;
    background: rgba(18, 18, 38, 0.7);
    border-radius: 10px;
    padding: 25px;
    border: 1px solid rgba(0, 217, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.step-content:hover {
    border-color: var(--primary-color);
    transform: translateX(10px);
}

.step-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-content p {
    color: var(--text-gray);
    margin-bottom: 20px;
}

.step-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.step-details span {
    background: rgba(0, 217, 255, 0.05);
    color: var(--text-light);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-details i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.workflow-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: rgba(18, 18, 38, 0.7);
    border-radius: 15px;
    border: 1px solid rgba(0, 217, 255, 0.1);
    backdrop-filter: blur(10px);
}

.workflow-cta p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--text-light);
}

/* ============================================
   CONTACT UPDATES
   ============================================ */

.contact-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 5px;
    transition: color 0.3s;
}

.contact-link:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.form-group select {
    width: 100%;
    padding: 15px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 217, 255, 0.3);
    color: var(--text-light);
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: border-color 0.3s;
    appearance: none;
    cursor: pointer;
}

.form-group select:focus {
    border-bottom-color: var(--primary-color);
}

.form-note {
    text-align: center;
    margin-top: 20px;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.form-note a {
    color: var(--primary-color);
    text-decoration: none;
}

.form-note a:hover {
    text-decoration: underline;
}

/* ============================================
   FOOTER UPDATES
   ============================================ */

.footer-payment {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 217, 255, 0.1);
}

.footer-payment h5 {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.payment-methods span {
    background: rgba(0, 217, 255, 0.05);
    color: var(--text-light);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-cta {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 217, 255, 0.1);
}

.footer-cta p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.footer-cta .btn {
    width: 100%;
}

.footer-call {
    margin-top: 10px;
    font-size: 0.9rem;
}

/* ============================================
   RESPONSIVE UPDATES
   ============================================ */

@media (max-width: 992px) {
    .pricing-popular {
        transform: none;
    }
    
    .workflow-timeline::before {
        left: 25px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
    
    .workflow-timeline::before {
        display: none;
    }
    
    .workflow-step {
        flex-direction: column;
        gap: 15px;
    }
    
    .step-number {
        align-self: center;
    }
    
    .step-content:hover {
        transform: none;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .skill-main-logo {
        font-size: 3rem;
    }
    
    .pricing-price .amount {
        font-size: 2.5rem;
    }
    
    .nav-menu {
        max-height: 70vh;
        overflow-y: auto;
    }
}