/* Futuristic CSS */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Roboto:wght@300;400;700&display=swap');

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

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0c0c0c, #1a1a2e, #16213e);
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Orbitron', monospace;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    z-index: 100;
    border-bottom: 1px solid rgba(0, 212, 255, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    animation: slideDown 1s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #00d4ff;
}

ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

li {
    transition: transform 0.3s;
}

li:hover {
    transform: scale(1.1);
}

a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #00d4ff;
}

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

.hero-content {
    z-index: 10;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #00d4ff, #ff007f);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 20px #00d4ff; }
    to { text-shadow: 0 0 30px #ff007f; }
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    background: linear-gradient(45deg, #00d4ff, #ff007f);
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.3s;
}

.cta-button:hover {
    transform: scale(1.1);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://via.placeholder.com/1920x1080/000/fff?text=Futuristic+BG') no-repeat center center;
    background-size: cover;
    opacity: 0.3;
    z-index: 1;
    animation: parallax 10s ease-in-out infinite alternate, pulse 4s ease-in-out infinite;
}

@keyframes parallax {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.5; }
}

.code-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.code-line {
    position: absolute;
    top: -50px;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: #00d4ff;
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    animation: fall 10s linear infinite;
    opacity: 0.5;
    filter: blur(0.3px);
}

@keyframes fall {
    0% {
        transform: translateY(-50px);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

@keyframes blink {
    from, to { border-color: transparent; }
    50% { border-color: #00d4ff; }
}

section {
    padding: 5rem 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #00d4ff;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 212, 255, 0.3);
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
    animation: slideInLeft 1s ease-out 0.3s forwards;
    opacity: 0;
    transform: translateX(-50px);
    transition: transform 0.3s, box-shadow 0.3s;
}

.offer-list li {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(15px);
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.6;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #00d4ff;
}

.offer-list li:nth-child(1) { animation-delay: 0.1s; }
.offer-list li:nth-child(2) { animation-delay: 0.2s; }
.offer-list li:nth-child(3) { animation-delay: 0.3s; }
.offer-list li:nth-child(4) { animation-delay: 0.4s; }
.offer-list li:nth-child(5) { animation-delay: 0.5s; }

@keyframes typing {
    to {
        width: 100%;
    }
}

.about-content:hover {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    transform: scale(1.02);
}

.offer-list strong {
    color: #00d4ff;
}

.project {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
    padding: 1rem;
    text-align: center;
}

.project:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

    .project img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 8px;
        margin-bottom: 1rem;
        transition: transform 0.3s;
        max-width: 100%;
    }.project:hover img {
    transform: scale(1.05);
}

.project h3 {
    color: #00d4ff;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.project p {
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 0;
}

form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

input, textarea {
    margin-bottom: 1rem;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

textarea {
    height: 150px;
}

button[type="submit"] {
    background: linear-gradient(45deg, #00d4ff, #ff007f);
    color: #fff;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

button[type="submit"]:hover {
    background: linear-gradient(45deg, #ff007f, #00d4ff);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s, box-shadow 0.3s, rotate 0.3s;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.skill-category:hover {
    transform: translateY(-15px) rotate(1deg);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
}

.skill-category:nth-child(1) {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(255, 255, 255, 0.1));
    border-color: #00d4ff;
}

.skill-category:nth-child(2) {
    background: linear-gradient(135deg, rgba(255, 0, 127, 0.3), rgba(255, 255, 255, 0.1));
    border-color: #ff007f;
}

.skill-category:nth-child(3) {
    background: linear-gradient(135deg, rgba(0, 255, 127, 0.3), rgba(255, 255, 255, 0.1));
    border-color: #00ff7f;
}

.skill-category h3 {
    color: #fff;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.5rem;
    text-shadow: 0 0 10px currentColor;
}

.skill-category ul {
    list-style: none;
    padding: 0;
}

.skill-category li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 2rem;
    opacity: 0;
    animation: slideIn 0.6s ease-out forwards;
    color: #ccc;
    transition: color 0.3s;
}

.skill-category li:hover {
    color: #fff;
}

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

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

.skill-category li::before {
    content: '⚡';
    color: #ff007f;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    transition: transform 0.3s, color 0.3s;
}

.skill-category li:hover::before {
    transform: scale(1.3) rotate(10deg);
    color: #00d4ff;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

section {
    animation: fadeIn 1s ease-out;
}

footer {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.8);
    border-top: 1px solid rgba(0, 212, 255, 0.3);
    animation: fadeInUp 1s ease-out;
}

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

/* Media Queries */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 1rem;
    }

    ul {
        gap: 1rem;
        margin-top: 1rem;
    }

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

    .skills-grid, .portfolio-grid {
        grid-template-columns: 1fr;
    }

    #about .about-content {
        padding: 1.5rem;
    }

    #about .about-content p {
        font-size: 1rem;
        line-height: 1.6;
    }

    #about h3 {
        animation: fadeIn 1s ease-out 0.7s forwards;
        opacity: 0;
        font-size: 2rem;
        background: linear-gradient(45deg, #00d4ff, #ff007f);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .nav-toggle-label {
        display: flex;
    }

    ul {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        padding: 1rem 0;
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.3s, opacity 0.3s;
    }

    .nav-toggle:checked ~ ul {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 1rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    ul {
        gap: 0.5rem;
    }

    li a {
        font-size: 0.9rem;
    }

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

    .hero-content p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    section {
        padding: 3rem 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    h2 {
        font-size: 2rem;
    }

    .skills-grid, .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .skill-category, .project {
        padding: 1rem;
    }

    .offer-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .offer-list li {
        padding: 1rem;
        font-size: 1rem;
    }

    .icon {
        font-size: 1.2rem;
        margin-right: 0.5rem;
    }

    #about .about-content {
        padding: 1rem;
    }

    #about .about-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .offer-list li {
        padding: 1rem;
        font-size: 1rem;
    }

    .icon {
        font-size: 1.2rem;
        margin-right: 0.5rem;
    }

    #about .about-content {
        padding: 1rem;
    }

    #about .about-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .seo-content {
        padding: 1.5rem;
    }

    .seo-list {
        text-align: center;
    }
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s;
}

.process-step:hover {
    transform: translateY(-10px);
}

.step-icon {
    font-size: 2rem;
    color: #00d4ff;
    margin-bottom: 1rem;
    background: rgba(0, 212, 255, 0.2);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    text-align: center;
    transition: transform 0.3s;
}

.testimonial:hover {
    transform: translateY(-10px);
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial cite {
    color: #00d4ff;
    font-weight: bold;
}

.cta-small {
    display: inline-block;
    margin-top: 1rem;
    background: linear-gradient(45deg, #00d4ff, #ff007f);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    transition: transform 0.3s;
}

.cta-small:hover {
    transform: scale(1.05);
}

footer {
    background: rgba(0, 0, 0, 0.9);
    padding: 2rem 0;
    border-top: 1px solid rgba(0, 212, 255, 0.3);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-section h3 {
    color: #00d4ff;
    margin-bottom: 1rem;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #00d4ff;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle-label span {
    width: 25px;
    height: 3px;
    background: #00d4ff;
    transition: 0.3s;
}

section.animate {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(50px);
}

.seo-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 212, 255, 0.3);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    animation: slideInLeft 1s ease-out 0.3s forwards;
    opacity: 0;
    transform: translateX(-50px);
    transition: transform 0.3s, box-shadow 0.3s;
}

.seo-content:hover {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    transform: scale(1.02);
}

.seo-list {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 1.5rem 0;
}

.seo-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: #e0e0e0;
}

.seo-list li::before {
    content: '🔍';
    position: absolute;
    left: 0;
    color: #00d4ff;
}

/* Breadcrumb */
.breadcrumb {
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.5);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #00d4ff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #fff;
}