:root {
    --primary: #0f172a;
    --secondary: #f59e0b;
    --accent: #3b82f6;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --bg-dark: #020617;
    --glass: rgba(15, 23, 42, 0.7);
    --border: rgba(245, 158, 11, 0.2);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

/* Background */
.bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at top right, rgba(245, 158, 11, 0.1), transparent),
                radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.1), transparent);
}

.bg-texture {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.2;
    background-image: url('tech_background_1777911931172.png');
    background-size: cover;
    background-position: center;
}

/* Navbar */
nav {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
}

.logo {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 4vw, 1.4rem);
    font-weight: 800;
    background: linear-gradient(to right, var(--secondary), #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.nav-links a:hover {
    color: var(--secondary);
    opacity: 1;
}

/* Hero Section */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 6rem 0 4rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: 1.5rem;
}

.hero-content .subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--secondary);
    margin-bottom: 1.5rem;
    display: block;
    font-weight: 600;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border);
    display: block;
}

.hero-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: var(--glass);
    backdrop-filter: blur(20px);
    padding: 1.2rem;
    border-radius: 1.2rem;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.hero-badge .number {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

.hero-badge .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 0.3rem;
}

/* Section Styling */
section {
    padding: clamp(4rem, 10vw, 8rem) 0;
}

.section-title {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    margin-bottom: clamp(2rem, 6vw, 4rem);
    text-align: center;
}

.section-title span {
    color: var(--secondary);
}

.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: -2rem auto 4rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Grid Components */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.vision-card {
    background: var(--glass);
    padding: 3rem 2.5rem;
    border-radius: 2rem;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.vision-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
    background: rgba(15, 23, 42, 0.9);
}

.vision-icon {
    width: 64px;
    height: 64px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
}

.vision-card h3 {
    font-size: 1.5rem;
    color: var(--text-main);
}

.vision-card p {
    color: var(--text-muted);
    font-size: 1rem;
    flex-grow: 1;
}

.text-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: opacity 0.3s;
}

.text-link:hover {
    opacity: 0.8;
}

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

.card {
    background: var(--glass);
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
    background: rgba(15, 23, 42, 0.9);
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Bio Section */
.bio-content {
    background: var(--glass);
    padding: clamp(1.5rem, 5vw, 4rem);
    border-radius: 2rem;
    border: 1px solid var(--border);
}

.bio-content p {
    margin-bottom: 1.5rem;
    font-size: clamp(1rem, 2vw, 1.1rem);
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.stat-item h4 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    color: var(--secondary);
    margin-bottom: 0.2rem;
}

.stat-item p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* Footer */
footer {
    padding: 6rem 0 4rem;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-info .logo {
    margin-bottom: 1rem;
}

.footer-info p, 
.footer-info address {
    color: var(--text-muted);
    font-style: normal;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.footer-groups {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-group h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.footer-group a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    transition: color 0.3s;
}

.footer-group a:hover {
    color: var(--secondary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.contact-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: var(--secondary);
    transform: translateX(10px);
    background: rgba(15, 23, 42, 0.9);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
}

.contact-icon.whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
}

.contact-text span {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.contact-text strong {
    font-size: 1.1rem;
    color: var(--text-main);
    font-family: var(--font-heading);
}

.contact-form-wrapper {
    background: var(--glass);
    padding: clamp(1.5rem, 4vw, 3rem);
    border-radius: 2rem;
    border: 1px solid var(--border);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-left: 0.5rem;
}

.form-group input,
.form-group textarea {
    background: rgba(2, 6, 23, 0.5);
    border: 1px solid var(--border);
    padding: 1rem 1.2rem;
    border-radius: 0.8rem;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
    background: rgba(2, 6, 23, 0.8);
}

.submit-btn {
    background: var(--secondary);
    color: var(--primary);
    border: none;
    padding: 1.2rem;
    border-radius: 0.8rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: #fbbf24;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px var(--secondary);
}

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

.hero-content > * {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-content h1 { animation-delay: 0.2s; }
.hero-content .subtitle { animation-delay: 0.1s; }
.hero-content p { animation-delay: 0.3s; }

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 2rem;
    }
}

@media (max-width: 850px) {
    nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.75rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p {
        margin: 0 auto 2.5rem;
    }

    .hero-image-wrapper {
        margin-top: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info {
        text-align: center;
    }

    .contact-item {
        justify-content: center;
        text-align: left;
    }

    .hero-badge {
        bottom: -10px;
        right: 10px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .footer-groups {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

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

    .nav-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        text-align: center;
        width: 100%;
        gap: 0.5rem;
    }

    .section-subtitle {
        margin-top: -1rem;
        font-size: 0.95rem;
    }

    .hero {
        padding-top: 3rem;
    }

    .card {
        padding: 1.5rem;
    }

    .stats-bar {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

