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

/* Modern Color System - Navy Theme */
:root {
    --color-navy-dark: #0f1729;
    --color-navy-medium: #1a2744;
    --color-navy-light: #1e293b;
    --color-primary: #6366f1;
    --color-primary-hover: #4f46e5;
    --color-accent: #3b82f6;
    --color-bg: #fafafa;
    --color-bg-alt: #ffffff;
    --color-text-main: #1f2937;
    --color-text-soft: #6b7280;
    --color-border: #e5e7eb;
    --color-success: #10b981;
    --color-error: #ef4444;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Base Typography */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.7;
    background-color: var(--color-bg);
    color: var(--color-text-main);
    font-size: 16px;
    overflow-x: hidden;
}

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

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Section Background Alternation */
section:nth-of-type(odd) {
    background-color: var(--color-bg);
}

section:nth-of-type(even) {
    background-color: var(--color-bg-alt);
}

/* Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 1);
    box-shadow: var(--shadow-md);
}

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

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 5px;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--color-text-main);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-menu a {
    text-decoration: none;
    color: var(--color-text-main);
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-primary);
}

/* Hero Section - Dark Navy Gradient */
.hero {
    background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy-medium) 100%);
    color: #ffffff;
    padding: 6rem 0 4rem;
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.3) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 0.05; }
    50% { opacity: 0.1; }
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-xl);
    animation: fadeInUp 0.8s ease-out;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.education-badge {
    position: absolute;
    bottom: -10px;
    right: -10px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-text-main);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-text {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-headline {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #ffffff;
}

.hero-tagline {
    font-size: 1rem;
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-name h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #ffffff;
}

.hero-title {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.industry-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.industry-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.industry-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hero-location {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

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

.btn {
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    border: none;
    min-height: 44px;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Ripple Effect */
.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: scrollDown 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes scrollDown {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

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

/* Stats Bar */
.stats-bar {
    background: var(--color-bg-alt);
    padding: 3rem 0;
    border-bottom: 1px solid var(--color-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stat-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 0.5rem;
}

.stat-content p {
    font-size: 0.9rem;
    color: var(--color-text-soft);
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--color-text-main);
    font-weight: 700;
    line-height: 1.2;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-soft);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--color-primary);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text-wrapper {
    max-width: none;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--color-text-main);
}

.about-text.highlight {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-top: 1.5rem;
}

.specializations {
    margin-top: 2rem;
}

.specializations h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text-main);
    font-weight: 600;
}

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

.tag {
    background-color: var(--color-primary);
    color: #ffffff;
    padding: 0.625rem 1.25rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tag:hover {
    background-color: var(--color-primary-hover);
    transform: scale(1.05);
    animation: pulse 1s ease infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1.05); }
    50% { transform: scale(1.1); }
}

.about-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-placeholder {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    border-radius: 20px;
    padding: 4rem 2rem;
    text-align: center;
    color: white;
    box-shadow: var(--shadow-lg);
}

.visual-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Tech Stack Section */
.tech-stack {
    background: var(--color-bg-alt);
}

.tech-intro {
    text-align: center;
    color: var(--color-text-soft);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.tech-content {
    max-width: 1000px;
    margin: 0 auto;
}

.tech-group {
    margin-bottom: 3rem;
}

.tech-group-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-text-main);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tech-group-subtitle {
    font-size: 0.9rem;
    color: var(--color-text-soft);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.tech-section {
    margin-bottom: 3rem;
}

.tech-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-main);
    font-weight: 600;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.5rem;
}

.tech-card {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.tech-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.tech-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 0;
}

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

.methodology-item {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    text-align: center;
    font-weight: 500;
    color: var(--color-text-main);
    transition: all 0.3s ease;
}

.methodology-item:hover {
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* Projects Section */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.625rem 1.5rem;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-main);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

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

.project-card {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.project-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
}

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--color-bg);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-content {
    padding: 2rem;
}

.project-categories {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.category-tag {
    background: var(--color-bg);
    color: var(--color-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.project-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 1rem;
}

.project-description {
    color: var(--color-text-soft);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background: var(--color-bg);
    color: var(--color-primary);
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--color-border);
}

.project-metrics {
    margin-bottom: 1.5rem;
}

.metric-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-main);
    font-size: 0.9rem;
}

.project-stack {
    background: var(--color-bg);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--color-text-soft);
}

.project-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-cta:hover {
    gap: 1rem;
    color: var(--color-primary-hover);
}

.projects-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Experience Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 4rem;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-date {
    flex: 0 0 200px;
    font-weight: 600;
    color: var(--color-primary);
    padding: 1rem;
    text-align: right;
    font-size: 0.95rem;
}

.timeline-item:nth-child(even) .timeline-date {
    text-align: left;
}

.timeline-content {
    flex: 1;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow);
    border-radius: 12px;
    padding: 2rem;
    margin: 0 2rem;
    position: relative;
}

.timeline-logo {
    width: 50px;
    height: 50px;
    background: var(--color-bg);
    border: 2px solid var(--color-border);
    border-radius: 50%;
    position: absolute;
    top: 2rem;
    right: -27px;
}

.timeline-item:nth-child(even) .timeline-logo {
    left: -27px;
    right: auto;
}

.timeline-content::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--color-primary);
    border-radius: 50%;
    top: 2rem;
    right: -42px;
    border: 4px solid var(--color-bg-alt);
    box-shadow: var(--shadow);
}

.timeline-item:nth-child(even) .timeline-content::after {
    left: -42px;
    right: auto;
}

.timeline-content h3 {
    color: var(--color-text-main);
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 1.25rem;
}

.location {
    color: var(--color-text-soft);
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.timeline-description {
    color: var(--color-text-main);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.timeline-content ul {
    list-style: none;
    padding-left: 0;
}

.timeline-content ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-text-main);
    line-height: 1.7;
}

.timeline-content ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

/* Education Section */
.education-section,
.certifications-section,
.languages-section {
    margin-bottom: 4rem;
}

.subsection-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 2rem;
    text-align: center;
}

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

.education-card {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.education-logo {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.education-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 0.5rem;
}

.institution {
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.year {
    color: var(--color-text-soft);
    font-size: 0.9rem;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.cert-card {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.cert-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cert-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 0.5rem;
}

.cert-card p {
    color: var(--color-text-soft);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.cert-year {
    display: inline-block;
    background: var(--color-bg);
    color: var(--color-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.languages-list {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.language-item {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    font-size: 1rem;
    color: var(--color-text-main);
}

.language-item strong {
    color: var(--color-primary);
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.blog-card {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-placeholder {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    font-weight: 600;
}

.blog-content {
    padding: 2rem;
}

.blog-badge {
    display: inline-block;
    background: var(--color-bg);
    color: var(--color-text-soft);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.blog-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 0.75rem;
}

.blog-excerpt {
    color: var(--color-text-soft);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.blog-meta {
    color: var(--color-text-soft);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.blog-cta {
    width: 100%;
    padding: 0.75rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text-soft);
    font-weight: 500;
    cursor: not-allowed;
    opacity: 0.6;
}

.blog-message {
    text-align: center;
    color: var(--color-text-soft);
    font-style: italic;
    margin-top: 2rem;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form-wrapper {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-input {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--color-bg-alt);
    color: var(--color-text-main);
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
    top: -0.5rem;
    left: 0.75rem;
    font-size: 0.75rem;
    color: var(--color-primary);
    background: var(--color-bg-alt);
    padding: 0 0.5rem;
}

.form-label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--color-text-soft);
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-success);
    border: 1px solid var(--color-success);
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    color: var(--color-error);
    border: 1px solid var(--color-error);
}

.btn-loader {
    display: inline-block;
}

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

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
    border-color: var(--color-primary);
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-soft);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-details a,
.contact-details p {
    color: var(--color-text-main);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--color-primary);
}

/* Footer */
.footer {
    background: var(--color-navy-dark);
    color: #ffffff;
    padding: 3rem 0 1.5rem;
}

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

.footer-left p {
    line-height: 1.7;
}

.footer-center {
    display: flex;
    justify-content: center;
}

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

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #ffffff;
}

.footer-right {
    display: flex;
    justify-content: flex-end;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

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

.footer-credit {
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #25d366;
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-xl);
    z-index: 999;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.whatsapp-float.visible {
    opacity: 1;
    transform: translateY(0);
}

.whatsapp-float:hover {
    background: #20ba5a;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.whatsapp-icon {
    font-size: 1.5rem;
}

.whatsapp-text {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Responsive Design - Mobile First */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    .container {
        padding: 0 16px;
    }

    /* Navigation */
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-bg-alt);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        gap: 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid var(--color-border);
    }

    /* Hero */
    .hero {
        padding: 4rem 0 3rem;
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-image {
        margin: 0 auto;
    }

    .hero-headline {
        font-size: 1.75rem;
    }

    .hero-tagline {
        font-size: 0.875rem;
    }

    .hero-buttons {
        justify-content: center;
    }

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

    .education-badge {
        position: static;
        margin-top: 1rem;
        display: inline-block;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Sections */
    section {
        padding: 3rem 0;
    }

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

    /* About */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tags {
        justify-content: center;
    }

    /* Tech Stack */
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Projects */
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-filters {
        gap: 0.5rem;
    }

    .filter-btn {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    /* Timeline */
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: row !important;
    }

    .timeline-date {
        flex: 0 0 100px;
        text-align: left !important;
        font-size: 0.85rem;
    }

    .timeline-content {
        margin-left: 3rem;
        margin-right: 0;
    }

    .timeline-content::after {
        left: -42px !important;
        right: auto !important;
    }

    .timeline-logo {
        left: -27px !important;
        right: auto !important;
    }

    /* Education */
    .education-grid,
    .certifications-grid {
        grid-template-columns: 1fr;
    }

    .languages-list {
        flex-direction: column;
        gap: 1rem;
    }

    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-nav {
        justify-content: center;
    }

    /* WhatsApp */
    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
        padding: 0.75rem 1rem;
    }

    .whatsapp-text {
        display: none;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-content {
        gap: 3rem;
    }

    .hero-headline {
        font-size: 2.25rem;
    }

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

    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}


