/* General Styles */
:root {
    --background-color: #0a0a0a;
    --text-color: #ffffff;
    --primary-color: #3b82f6; /* Professional Blue */
    --accent-color: #6366f1; /* Lighter Blue/Purple */
    --card-background: #1a1a1a;
    --border-color: #404040;
    --muted-text-color: #a3a3a3;
    --glow-color: rgba(59, 130, 246, 0.5);
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif; /* Modern, professional font */
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
    scroll-behavior: smooth;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.8); /* Glass effect background */
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar .nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.navbar .nav-links li {
    margin-left: 30px;
}

.navbar .nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar .nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px; /* Offset for fixed navbar */
    overflow: hidden;
}

.matrix-rain-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

.profile-icon {
    width: 160px;
    height: 160px;
    margin: 0 auto 30px;
    border-radius: 50%;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
}

.profile-icon i {
    font-size: 80px;
    color: var(--text-color);
}

.hero-section h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 72px;
    font-weight: bold;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInLeft 0.8s ease-out;
}

.hero-section .subtitle {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--muted-text-color);
    animation: slideInRight 0.8s ease-out;
}

.hero-section .highlight {
    color: var(--primary-color);
    font-weight: bold;
}

.typed-text {
    font-family: 'Roboto Mono', monospace;
    font-size: 28px;
    height: 35px; /* Ensure consistent height */
    margin-bottom: 30px;
    color: var(--primary-color);
    overflow: hidden;
    border-right: 2px solid var(--primary-color);
    white-space: nowrap;
    display: inline-block;
}

.info-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    color: var(--muted-text-color);
}

.info-badges span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
}

.hero-section .description {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--muted-text-color);
    line-height: 1.8;
}

.hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    margin: 0 10px;
}

.btn.primary-btn {
    background: linear-gradient(135deg, var(--primary-color), #2563eb);
    color: var(--text-color);
    border: none;
}

.btn.primary-btn:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

.btn.outline-btn {
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
}

.btn.outline-btn:hover {
    background: var(--primary-color);
    color: var(--text-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

/* Sections */
section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* About Section */
.about-section {
    background: rgba(26, 26, 26, 0.8); /* Glass effect */
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
    justify-content: center;
}

.about-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.about-text {
    flex: 2;
    min-width: 300px;
    max-width: 700px;
}

.about-text p {
    font-size: 18px;
    color: var(--muted-text-color);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.stat-item {
    background: var(--card-background);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
    flex: 1;
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 16px;
    color: var(--muted-text-color);
}

.about-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.badge {
    background: rgba(59, 130, 246, 0.2); /* Primary color with transparency */
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.skill-card {
    background: var(--card-background);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.skill-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.3);
}

.skill-card i {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.skill-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.skill-card .progress-bar {
    background: var(--border-color);
    height: 8px;
    border-radius: 5px;
    margin-bottom: 10px;
    overflow: hidden;
}

.skill-card .progress-bar div {
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 5px;
    transition: width 1s ease-out;
}

.skill-card p {
    font-size: 16px;
    color: var(--muted-text-color);
}

/* Articles Section */
.articles-section {
    background: rgba(26, 26, 26, 0.8); /* Glass effect */
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.article-card {
    background: var(--card-background);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    gap: 30px;
    align-items: flex-start;
    max-width: 900px;
    margin: 0 auto;
}

.article-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.article-icon i {
    font-size: 50px;
    color: var(--text-color);
}

.article-content h3 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.article-content .subtitle {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.article-content .description {
    font-size: 17px;
    color: var(--muted-text-color);
    margin-bottom: 25px;
    line-height: 1.7;
}

/* Contact Section */
.contact-section {
    text-align: center;
}

.contact-description {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--muted-text-color);
    line-height: 1.8;
}

.email-btn {
    margin-bottom: 40px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.social-links a {
    color: var(--muted-text-color);
    font-size: 36px;
    transition: all 0.3s ease;
    padding: 15px;
    border-radius: 12px;
    background: var(--card-background);
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-5px) scale(1.1);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

/* Footer */
.footer {
    background: rgba(26, 26, 26, 0.8); /* Glass effect */
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    text-align: center;
    color: var(--muted-text-color);
    font-size: 15px;
}

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

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

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

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

    .hero-section h1 {
        font-size: 50px;
    }

    .hero-section .subtitle,
    .typed-text {
        font-size: 20px;
    }

    .hero-buttons .btn {
        margin: 10px 0;
        width: 80%;
    }

    .section-title {
        font-size: 36px;
    }

    .about-content {
        flex-direction: column;
    }

    .article-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .article-icon {
        margin-bottom: 20px;
    }

    .social-links {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 40px;
    }

    .hero-section .subtitle,
    .typed-text {
        font-size: 18px;
    }

    .profile-icon {
        width: 120px;
        height: 120px;
    }

    .profile-icon i {
        font-size: 60px;
    }

    .info-badges span {
        font-size: 16px;
    }

    .hero-section .description {
        font-size: 16px;
    }

    .btn.primary-btn,
    .btn.outline-btn {
        font-size: 16px;
        padding: 12px 25px;
    }

    .section-title {
        font-size: 30px;
    }

    .about-text p,
    .contact-description {
        font-size: 16px;
    }

    .stat-number {
        font-size: 28px;
    }

    .skill-card h3 {
        font-size: 20px;
    }

    .article-content h3 {
        font-size: 24px;
    }

    .article-content .subtitle {
        font-size: 16px;
    }

    .social-links a {
        font-size: 30px;
    }
}


