/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: #ffffff;
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid #334155;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #60a5fa;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    padding: 8rem 1rem 5rem;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #60a5fa, #a78bfa, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.highlight-blue {
    color: #60a5fa;
    font-weight: 600;
}

.highlight-purple {
    color: #a78bfa;
    font-weight: 600;
}

.hero-description {
    font-size: 1.125rem;
    color: #94a3b8;
    margin-bottom: 3rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #ffffff;
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    border: 2px solid #60a5fa;
    color: #ffffff;
}

.btn-secondary:hover {
    background: rgba(96, 165, 250, 0.1);
}

/* About/Skills Section */
.about-section {
    padding: 5rem 1rem;
    background: rgba(30, 41, 59, 0.5);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: #94a3b8;
    margin-bottom: 3rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

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

.skill-card {
    background: rgba(15, 23, 42, 0.5);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #334155;
    transition: all 0.3s;
}

.skill-card:hover {
    border-color: #3b82f6;
}

.skill-icon {
    display: inline-block;
    color: #60a5fa;
    margin-bottom: 1rem;
}

.skill-icon.purple {
    color: #a78bfa;
}

.skill-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.skill-list {
    list-style: none;
    color: #cbd5e1;
}

.skill-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.skill-list li:before {
    content: "▹";
    color: #60a5fa;
    margin-right: 0.5rem;
}

.competencies {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.competencies h3 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.tag {
    padding: 0.5rem 1rem;
    background: rgba(15, 23, 42, 0.8);
    border-radius: 50px;
    font-size: 0.875rem;
    border: 1px solid #334155;
    transition: all 0.3s;
}

.tag:hover {
    border-color: #60a5fa;
}

/* Awards Section */
.awards-section {
    padding: 4rem 1rem;
}

.awards-header {
    text-align: center;
    margin-bottom: 3rem;
}

.award-icon {
    color: #fbbf24;
    margin-bottom: 1rem;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 2rem;
    max-width: 64rem;
    margin: 0 auto;
}

.award-card {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(245, 158, 11, 0.1));
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(251, 191, 36, 0.3);
    text-align: center;
}

.award-medal {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.award-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.award-level {
    color: #cbd5e1;
    margin-bottom: 0.5rem;
}

.award-desc {
    color: #94a3b8;
    font-size: 0.875rem;
}

/* Portfolio Section */
.portfolio-section {
    padding: 5rem 1rem;
    background: rgba(30, 41, 59, 0.5);
}

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

.portfolio-item {
    background: #0f172a;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #334155;
    transition: all 0.3s;
}

.portfolio-item:hover {
    border-color: #3b82f6;
    transform: scale(1.05);
}

.portfolio-image {
    height: 12rem;
    overflow: hidden;
    background: #1e293b;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.portfolio-item:hover .portfolio-image img {
    opacity: 1;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    font-size: 0.75rem;
    border-radius: 50px;
    border: 1px solid rgba(251, 191, 36, 0.3);
    margin-bottom: 0.75rem;
}

.portfolio-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.portfolio-client {
    color: #60a5fa;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.portfolio-desc {
    color: #94a3b8;
    font-size: 0.875rem;
}

/* Clients Section */
.clients-section {
    padding: 5rem 1rem;
}

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

.client-card {
    background: rgba(15, 23, 42, 0.5);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid #334155;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 120px;
}

.client-card:hover {
    border-color: #3b82f6;
}

.client-card img {
    height: 48px;
    width: auto;
    max-width: 100%;
    opacity: 0.7;
    /* filter: grayscale(100%); */
    transition: all 0.3s;
}

.client-card:hover img {
    opacity: 1;
    filter: grayscale(0%);
}

.client-name {
    font-size: 0.875rem;
    color: #94a3b8;
    display: none;
}

.client-card:hover .client-name {
    color: #ffffff;
}

/* Contact Section */
.contact-section {
    padding: 5rem 1rem;
    background: rgba(30, 41, 59, 0.5);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 64rem;
    margin: 0 auto;
}

.contact-card {
    background: rgba(15, 23, 42, 0.5);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #334155;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: block;
}

.contact-card:hover {
    border-color: #3b82f6;
}

.contact-card svg {
    color: #60a5fa;
    margin-bottom: 1rem;
    transition: transform 0.3s;
}

.contact-card:hover svg {
    transform: scale(1.1);
}

.contact-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: #94a3b8;
    font-size: 0.875rem;
    word-break: break-all;
}

/* Footer */
.footer {
    padding: 2rem 1rem;
    border-top: 1px solid #334155;
    text-align: center;
    color: #94a3b8;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

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

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

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

@media (max-width: 480px) {
    .hero-section {
        padding: 6rem 1rem 3rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}