:root {
    --bg-color: #050505;
    --card-bg: rgba(22, 27, 34, 0.6);
    --card-border: rgba(255, 255, 255, 0.1);
    --text-color: #e6edf3;
    --text-muted: #8b949e;
    --secondary-text: #adbac7;
    --accent-color: #00f3ff;
    --accent-secondary: #7000ff;
    --accent-glow: 0 0 20px rgba(0, 243, 255, 0.3);
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --header-height: 80px;
    --glass-blur: blur(12px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    background-image:
        radial-gradient(circle at 15% 50%, rgba(112, 0, 255, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(0, 243, 255, 0.08) 0%, transparent 25%);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: #fff;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    0% {
        box-shadow: 0 0 5px var(--accent-color);
    }

    50% {
        box-shadow: 0 0 20px var(--accent-color), 0 0 10px var(--accent-secondary);
    }

    100% {
        box-shadow: 0 0 5px var(--accent-color);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease backwards;
}

/* Header */
header {
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    height: var(--header-height);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--card-border);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #fff 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
}

/* Nav Links */
.nav-links a:hover,
.nav-links a.active {
    color: #fff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--accent-color);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
    border-radius: 12px;
    border: 1px solid var(--card-border);
}

.lang-switcher a {
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 8px;
    color: var(--text-muted);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-switcher a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
}

.lang-switcher a.active {
    background: var(--accent-color);
    color: #050505;
    box-shadow: 0 4px 15px rgba(0, 243, 255, 0.3);
}

/* Main Layout */
main {
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height) - 100px);
    /* 100px footer approx */
}

section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 3rem;
    background: linear-gradient(to right, #fff, var(--text-muted));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 0.8s ease;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(45deg, var(--accent-secondary), var(--accent-color));
    border: none;
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 243, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 243, 255, 0.5);
    color: #fff;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    box-shadow: none;
}

.btn-outline:hover {
    background: rgba(0, 243, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

/* Cards (Glassmorphism) */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 30px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 243, 255, 0.3);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

/* Home - Hero */
.hero-section {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 50px 20px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #a5a5a5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content .subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 480px;
}

.terminal-wrapper {
    flex: 1;
    max-width: 600px;
    perspective: 1000px;
}

.terminal-window {
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid #333;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.terminal-window:hover {
    transform: rotateY(0) rotateX(0);
}

.terminal-header {
    background: #252525;
    padding: 12px 15px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #333;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.terminal-body {
    padding: 25px;
    font-family: 'Fira Code', monospace;
    font-size: 1rem;
}

.command {
    color: var(--accent-color);
    margin-bottom: 10px;
}

.command::before {
    content: '➜ ~ ';
    color: #27c93f;
}

.response {
    color: #fff;
}

.typewrite>.wrap {
    border-right: 2px solid var(--accent-color);
    padding-right: 5px;
}

/* Grids */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
}

/* Footer */
footer {
    background: rgba(5, 5, 5, 0.8);
    border-top: 1px solid var(--card-border);
    padding: 50px 20px;
    text-align: center;
    color: var(--text-muted);
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-socials a {
    font-size: 1.5rem;
    color: var(--text-color);
    opacity: 0.7;
}

.footer-socials a:hover {
    opacity: 1;
    color: var(--accent-color);
    transform: translateY(-3px);
}

/* Form */
input,
textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--card-border);
    padding: 15px;
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

input:focus,
textarea:focus {
    border-color: var(--accent-color);
    background: rgba(0, 0, 0, 0.5);
}

/* Project Card specifics */
.project-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-image {
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
}

.project-image img {
    /* If actual img tag usage */
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Or background div */
.project-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.project-image:hover .project-bg {
    transform: scale(1.1);
}

.project-tags span {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
    margin-right: 5px;
}

/* Responsive */
/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    margin-left: 20px;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Alerts */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 4px solid;
    animation: fadeInUp 0.5s ease;
}

.alert-success {
    background: rgba(39, 201, 63, 0.1);
    border-color: #27c93f;
    color: #27c93f;
}

.alert-error {
    background: rgba(255, 95, 86, 0.1);
    border-color: #ff5f56;
    color: #ff5f56;
}

/* Responsive */
@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        left: -100%;
        top: var(--header-height);
        flex-direction: column;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: var(--glass-blur);
        width: 100%;
        height: calc(100vh - var(--header-height));
        padding: 40px;
        gap: 20px;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 1px solid var(--card-border);
    }

    .nav-links.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .lang-switcher {
        margin-left: auto;
    }

    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: 30px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
}


/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

.whatsapp-float i {
    margin-top: 2px;
    /* Slight adjustment */
}

/* Process Section */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.step-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--accent-secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 20px auto;
    box-shadow: 0 0 10px rgba(112, 0, 255, 0.5);
}

/* Tech Slider */
.tech-slider {
    overflow: hidden;
    padding: 60px 0;
    position: relative;
    background: rgba(22, 27, 34, 0.4);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

.tech-track {
    display: flex;
    width: calc(150px * 14);
    /* 7 icons * 2 sets * Width */
    animation: scroll 20s linear infinite;
}

.tech-item {
    width: 150px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.tech-item:hover {
    color: var(--accent-color);
}

.tech-item i {
    font-size: 3rem;
}

.tech-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-150px * 7));
    }
}

/* FAQ Accordion */
.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #fff;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    color: var(--text-muted);
    transition: max-height 0.3s ease, padding 0.3s ease;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px 20px;
    max-height: 200px;
    /* Adjust based on content */
}