:root {
    --bg: #0f172a;
    --card-bg: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --primary: #6366f1;
    --glass: rgba(15, 23, 42, 0.8);
}

body,
html {
    scroll-behavior: smooth;
}

.light-theme {
    --bg: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #0f172a;
    --text-muted: #475569;
    --glass: rgba(248, 250, 252, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text-main);
    line-height: 1.6;
    transition: background 0.3s ease;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Glassmorphism */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo{
    padding: 5px 10px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    text-align: center;
}

.badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 100%;
    font-size: 0.8rem;
    margin-bottom: 2rem;
}

.badge img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 100%;
    border: 2PX solid white;
}

.pulse {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(34, 197, 94, 0.4);
    animation: pulse 2s infinite;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.text-gradient {
    color: var(--primary);
}

.hero p {
    max-width: 600px;
    margin: 0 auto 2.5rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Projects */
.projects {
    padding: 80px 0;
}

.section-title {
    margin-bottom: 3rem;
    font-size: 2rem;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
}

.project-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-image {
    width: fit-content;
    /* height: 40vh; */
}

.project-image img {
    width: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    margin-bottom: 1rem;
}

.project-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.btn-primary {
    background: var(--primary);
    color: white !important;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
}

.btn-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    margin-right: 1.5rem;
    font-size: 0.9rem;
}

/* Services Styling */
.services {
    padding: 100px 0;
    background: rgba(30, 41, 59, 0.3);
}

.center {
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--card-bg);
    padding: 3rem 2rem;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--text-main);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Skills Styling */
.skills {
    padding: 80px 0;
}

.skills-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.skill-category h4 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag {
    background: var(--card-bg);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: var(--text-main);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
    transform: translateY(-2px);
}



/* Footer Styling */
.footer {
    padding: 100px 0 40px;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.footer-content {
    text-align: center;
    margin-bottom: 80px;
}

.footer-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.footer-content p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn-whatsapp {
    background: #25d366;
    color: white !important;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.socials a {
    color: var(--text-muted);
    margin-left: 20px;
    text-decoration: none;
    transition: color 0.3s;
}

.socials a:hover {
    color: var(--primary);
}


/* Animations */
@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .socials a {
        margin: 0 10px;
    }

    .skills-wrapper {
        /* gap: 2rem; */
    }

    h1 {
        font-size: 2.5rem;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .nav-links a {
    text-decoration: none;
    color: var(--text-main);
    /* font-weight: 600; */
    font-size: 0.9rem;
}
}

@media (max-width: 420px) {
   .nav-links a {
    text-decoration: none;
    color: var(--text-main);
    /* font-weight: 600; */
    font-size: 12px;
}
}

@media (max-width: 390px) {
   .nav-links a {
    text-decoration: none;
    color: var(--text-main);
    /* font-weight: 600; */
    font-size: 12px;
}
}

@media (max-width: 370px) {
   .nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 10px;
}
}

@media (max-width: 350px) {
   .nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 10px;
}
}

@media (max-width: 345px) {
   .nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 10px;
}
}