/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --bg-color: #050505;
    --card-bg: #111111;
    --text-color: #ffffff;
    --accent-purple: #7b2cbf;
    --accent-glow: #9d4edd;
    --accent-yellow: #ffd60a;
    --text-gray: #b0b0b0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(0,0,0,0.8);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
    font-style: italic;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--accent-yellow);
}

.btn-talk {
    background-color: var(--accent-yellow);
    color: #000;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-talk:hover {
    background-color: #e6c200;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: radial-gradient(circle at center, #240046 0%, var(--bg-color) 70%);
}

.profile-img-container {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 0 auto 30px;
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-purple);
    position: relative;
    z-index: 2;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: var(--accent-purple);
    filter: blur(80px);
    opacity: 0.4;
    z-index: 1;
}

/* Floating Icons Animation */
.floating-icon {
    position: absolute;
    background: #1a1a1a;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border: 1px solid #333;
    z-index: 3;
    animation: float 3s ease-in-out infinite;
}

.icon-1 { top: -10px; left: 50%; transform: translateX(-50%); color: #61dafb; animation-delay: 0s; } /* React Cyan */
.icon-2 { bottom: 0px; right: 5%; color: #f7df1e; animation-delay: 0.8s; } /* JS Yellow */
.icon-3 { top: 15px; right: -15px; color: #ff9900; animation-delay: 1.6s; } /* AWS Orange */
.icon-4 { bottom: 15px; left: -15px; color: #7952b3; animation-delay: 2.4s; } /* Bootstrap Purple */
.icon-5 { top: 50%; right: -30px; transform: translateY(-50%); color: #ff5a1f; animation-delay: 3.2s; } /* Vercel Black/Orange */
.icon-6 { bottom: -10px; left: 50%; transform: translateX(-50%); animation-delay: 4s; } /* Next.js */
.icon-7 { top: 50%; left: -30px; transform: translateY(-50%); animation-delay: 4.8s; } /* Vercel */
.icon-8 { top: 30px; left: 5%; animation-delay: 5.6s; } /* Firebase */
.icon-9 { bottom: 20px; right: 50%; transform: translateX(50%); animation-delay: 6.4s; } /* Tailwind CSS */

.custom-icon {
    width: 100%;
    height: 100%;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.highlight {
    color: transparent;
    -webkit-text-stroke: 1px #fff; /* Creates the outline effect seen in video */
    position: relative;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
}

/* Stats Section */
.stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 40px 20px;
    background-color: #0f0f0f;
    flex-wrap: wrap;
    border-bottom: 1px solid #222;
}

.stat-box {
    text-align: center;
}

.stat-box h3 {
    font-size: 2.5rem;
    color: var(--accent-purple);
}

.stat-box p {
    color: var(--text-gray);
}

/* Social Impact Section */
.social-impact {
    padding: 80px 20px;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    text-align: center;
}

.impact-description {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.impact-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid #222;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.impact-card:nth-child(1) { animation-delay: 0.2s; }
.impact-card:nth-child(2) { animation-delay: 0.4s; }
.impact-card:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.impact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-yellow));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.impact-card:hover::before {
    transform: scaleX(1);
}

.impact-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-purple);
    box-shadow: 0 20px 40px rgba(123, 44, 191, 0.3);
}

.impact-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.impact-icon i {
    background: linear-gradient(45deg, var(--accent-purple), var(--accent-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.impact-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent-yellow);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.impact-number::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-yellow);
    transition: width 0.4s ease;
}

.impact-card:hover .impact-number::after {
    width: 100%;
}

.impact-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 15px;
}

.impact-card .impact-description {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.5;
}

.social-handle {
    font-size: 0.9rem;
    color: var(--accent-purple);
    font-weight: 500;
    padding: 8px 16px;
    border: 1px solid var(--accent-purple);
    border-radius: 20px;
    display: inline-block;
    transition: all 0.3s ease;
}

.social-handle:hover {
    background: var(--accent-purple);
    color: #fff;
    transform: scale(1.05);
}

/* Number Counter Animation */
.counter-running {
    animation: countUp 2s ease-out;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Services Section */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin: 60px 0 40px;
}

.section-title .highlight {
    color: var(--accent-yellow);
    -webkit-text-stroke: 0;
}

.services-grid, .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 0 50px 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #222;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-purple);
    box-shadow: 0 5px 15px rgba(123, 44, 191, 0.2);
}

.card .icon {
    font-size: 30px;
    color: var(--accent-yellow);
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
}

.card p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Portfolio Section */
.portfolio {
    padding: 80px 20px;
    background: #0f0f0f;
}

.portfolio-description {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--accent-purple);
    color: var(--text-color);
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-purple);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(123, 44, 191, 0.3);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid #222;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.portfolio-item:nth-child(1) { animation-delay: 0.1s; }
.portfolio-item:nth-child(2) { animation-delay: 0.2s; }
.portfolio-item:nth-child(3) { animation-delay: 0.3s; }
.portfolio-item:nth-child(4) { animation-delay: 0.4s; }
.portfolio-item:nth-child(5) { animation-delay: 0.5s; }
.portfolio-item:nth-child(6) { animation-delay: 0.6s; }

.portfolio-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    display: none;
}

.portfolio-item.visible {
    opacity: 1;
    transform: scale(1);
    display: block;
}

.portfolio-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 20px;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-content {
    text-align: center;
    color: #fff;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-content {
    transform: translateY(0);
}

.portfolio-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--accent-yellow);
}

.portfolio-content p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
    color: var(--text-gray);
}

.portfolio-tech {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.portfolio-tech span {
    background: rgba(123, 44, 191, 0.3);
    color: var(--accent-yellow);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid var(--accent-purple);
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-purple);
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.portfolio-link:hover {
    background: var(--accent-glow);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(123, 44, 191, 0.4);
}

.portfolio-cta {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, #240046 0%, #0f0f0f 100%);
    border-radius: 20px;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid #222;
}

.portfolio-cta h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.portfolio-cta p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 30px;
}

/* Responsive adjustments for portfolio */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .portfolio-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .portfolio-content h3 {
        font-size: 1.2rem;
    }
    
    .portfolio-cta h3 {
        font-size: 1.6rem;
    }
}

/* Pricing Section */
.price-card {
    background: var(--card-bg);
    padding: 40px 20px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #222;
    position: relative;
    overflow: hidden;
}

.price-card.featured {
    border-color: var(--accent-yellow);
}

.price-icon {
    font-size: 40px;
    color: var(--accent-purple);
    margin-bottom: 20px;
}

.price-card h3 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.price-card h4 {
    font-weight: normal;
}

.btn-primary {
    background: transparent;
    border: 1px solid var(--accent-purple);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.price-card:hover .btn-primary, .btn-primary:hover {
    background: var(--accent-purple);
}

/* Consultation Section */
.consultation {
    padding: 100px 20px;
    background: linear-gradient(135deg, #240046 0%, #0f0f0f 50%, #1a1a1a 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.consultation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(123, 44, 191, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(255, 214, 10, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.consultation-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.consultation-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.consultation-subtitle {
    font-size: 1.3rem;
    color: var(--text-gray);
    margin-bottom: 50px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.consultation-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(123, 44, 191, 0.1);
    border-color: var(--accent-purple);
    transform: translateY(-3px);
}

.feature-item i {
    color: var(--accent-yellow);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-item span {
    color: var(--text-color);
    font-weight: 500;
}

.consultation-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.btn-consultation-primary {
    background: linear-gradient(45deg, var(--accent-purple), var(--accent-glow));
    color: #fff;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(123, 44, 191, 0.3);
}

.btn-consultation-primary::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-consultation-primary:hover::before {
    left: 100%;
}

.btn-consultation-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(123, 44, 191, 0.4);
}

.btn-consultation-secondary {
    background: transparent;
    color: var(--text-color);
    padding: 18px 35px;
    border: 2px solid var(--accent-purple);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s ease;
}

.btn-consultation-secondary:hover {
    background: var(--accent-purple);
    color: #fff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(123, 44, 191, 0.3);
}

/* Floating particles animation */
.consultation::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-yellow);
    border-radius: 50%;
    top: 20%;
    left: 10%;
    animation: float-particle 8s infinite linear;
    opacity: 0.6;
}

@keyframes float-particle {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translate(300px, -200px) rotate(360deg);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }
    .nav-links {
        gap: 15px;
        font-size: 0.9rem;
    }
    .stats {
        gap: 20px;
    }
    
    .consultation-title {
        font-size: 2.2rem;
    }
    
    .consultation-subtitle {
        font-size: 1.1rem;
    }
    
    .consultation-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-consultation-primary,
    .btn-consultation-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

footer {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #222;
    color: var(--text-gray);
    margin-top: 50px;
}

/* --- Mobile Menu Styling --- */
.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
    position: relative;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    outline: none;
    transition: all 0.3s ease;
}

.hamburger:hover {
    color: var(--accent-yellow);
    transform: scale(1.1);
}

.hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--text-color);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: all 0.3s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 0px;
}

.hamburger span:nth-child(2) {
    top: 10px;
}

.hamburger span:nth-child(3) {
    top: 20px;
}

/* Animated hamburger to X */
.hamburger.toggle span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
    background: var(--accent-yellow);
}

.hamburger.toggle span:nth-child(2) {
    opacity: 0;
    left: -60px;
    background: var(--accent-yellow);
}

.hamburger.toggle span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
    background: var(--accent-yellow);
}

.hamburger:hover span {
    background: var(--accent-yellow);
}

@media (max-width: 768px) {
    .hamburger {
        display: block; /* Mobile pe show karein */
    }

    .nav-links {
        position: absolute;
        right: 0px;
        top: 70px; /* Navbar height ke neeche */
        background-color: #111;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%); /* Screen se bahar */
        transition: transform 0.5s ease-in;
        height: 100vh;
        padding-top: 50px;
        border-left: 1px solid #333;
    }

    .nav-links.nav-active {
        transform: translateX(0%); /* Button click par wapas layein */
    }

    .btn-talk {
        display: none; /* Mobile par button chupa dein agar jagah kam ho */
    }
}

/* --- Typing Effect Cursor --- */
.typewriter {
    color: var(--accent-yellow);
    font-weight: bold;
    border-right: 2px solid var(--accent-yellow); /* Blinking cursor */
    padding-right: 5px;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0% { border-color: transparent; }
    50% { border-color: var(--accent-yellow); }
    100% { border-color: transparent; }
}

/* === TECHNOLOGY STACK SECTION === */
.tech-types {
    padding: 80px 50px;
    background: linear-gradient(135deg, #050505 0%, #1a0033 100%);
    position: relative;
    overflow: hidden;
}

.tech-types::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(157, 78, 221, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.tech-types::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(123, 44, 191, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

.tech-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.tech-title {
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    animation: slideDown 0.8s ease-out;
}

.tech-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 18px;
    margin-bottom: 60px;
    animation: slideDown 0.8s ease-out 0.2s both;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.tech-category {
    background: rgba(17, 17, 17, 0.5);
    border: 1px solid rgba(157, 78, 221, 0.3);
    border-radius: 15px;
    padding: 40px 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    overflow: hidden;
}

.tech-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-purple), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tech-category:hover {
    border-color: var(--accent-purple);
    background: rgba(17, 17, 17, 0.8);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(157, 78, 221, 0.2);
}

.tech-category:hover::before {
    opacity: 1;
    animation: slideRight 0.6s ease;
}

.category-header {
    text-align: center;
    margin-bottom: 30px;
    animation: fadeIn 0.8s ease-out 0.3s both;
}

.category-header i {
    font-size: 40px;
    color: var(--accent-yellow);
    margin-bottom: 15px;
    display: block;
    animation: bounce 2s ease-in-out infinite;
}

.category-header h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.category-header p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
}

.tech-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    animation: scaleIn 0.6s ease-out;
}

.tech-item:hover {
    background: rgba(157, 78, 221, 0.1);
    transform: scale(1.05);
    border: 1px solid var(--accent-purple);
}

.tech-icon {
    font-size: 32px;
    color: var(--accent-yellow);
    margin-bottom: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(157, 78, 221, 0.1);
    border-radius: 50%;
    border: 2px solid rgba(157, 78, 221, 0.2);
}

.tech-item:hover .tech-icon {
    transform: rotateY(360deg);
    background: rgba(157, 78, 221, 0.2);
    border-color: var(--accent-purple);
    box-shadow: 0 0 20px rgba(157, 78, 221, 0.3);
}

.tech-item span {
    font-size: 13px;
    text-align: center;
    color: var(--text-gray);
    font-weight: 500;
    transition: color 0.3s ease;
}

.tech-item:hover span {
    color: var(--text-color);
}

/* === ANIMATIONS === */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes slideRight {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    .tech-types {
        padding: 60px 30px;
    }

    .tech-title {
        font-size: 36px;
        margin-bottom: 15px;
    }

    .tech-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .tech-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .tech-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-header i {
        font-size: 32px;
    }

    .category-header h3 {
        font-size: 20px;
    }

    .tech-item {
        padding: 15px;
    }

    .tech-icon {
        font-size: 24px;
        width: 50px;
        height: 50px;
    }
}