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

:root {
    --primary-color: #4f46e5;
    --primary-dark: #4338ca;
    --secondary-color: #8b5cf6;
    --accent-color: #4f46e5;
    --orange-bright: #4f46e5;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-dark: #111827;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

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

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.nav-logo h2 {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background-color: rgba(99, 102, 241, 0.1);
}

.nav-link i {
    font-size: 1.1rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 8px;
    border-radius: 6px;
    transition: var(--transition);
    z-index: 1001;
}

.hamburger:hover {
    background-color: rgba(79, 70, 229, 0.1);
}

.hamburger.active {
    background-color: rgba(79, 70, 229, 0.2);
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Main Content */
.main-content {
    margin-top: 70px;
}

.page {
    display: none;
    min-height: calc(100vh - 70px);
    padding: 2rem 0;
}

.page.active-page {
    display: block;
}

/* Page Headers */
.page-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 4rem 0 2rem;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: var(--shadow-md);
}

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

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Home Page Styles */
.hero-section {
    padding: 4rem 0 6rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.typing-text {
    color: var(--primary-color);
    font-weight: 600;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.profile-photo {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 5px solid transparent;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 3px;
    box-shadow: 
        0 10px 30px rgba(138, 43, 226, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-photo::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: linear-gradient(45deg, 
        var(--primary-color), 
        var(--secondary-color), 
        var(--primary-color));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.profile-photo:hover::before {
    opacity: 0.7;
    animation: rotate 2s linear infinite;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1.05) contrast(1.1) saturate(1.1);
}

.profile-photo:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(138, 43, 226, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.profile-photo:hover .profile-img {
    transform: scale(1.03);
    filter: brightness(1.1) contrast(1.15) saturate(1.2);
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 
            0 10px 30px rgba(138, 43, 226, 0.3),
            0 0 0 1px rgba(255, 255, 255, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 
            0 15px 35px rgba(138, 43, 226, 0.4),
            0 0 20px rgba(138, 43, 226, 0.2),
            0 0 0 1px rgba(255, 255, 255, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

.profile-photo {
    animation: glow 3s ease-in-out infinite;
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

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

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

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

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Portfolio Page */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background: white;
    color: var(--text-secondary);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

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

.portfolio-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    background: white;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.portfolio-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-gallery {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-img.active {
    opacity: 1;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.portfolio-item:hover .gallery-nav {
    opacity: 1;
}

.gallery-btn {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.gallery-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.portfolio-image .image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    border-radius: 0;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-content {
    padding: 1.5rem;
    background: white;
    border-top: 1px solid #f0f0f0;
}

.portfolio-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    color: var(--text-color);
}

.portfolio-content p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.portfolio-overlay p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.4;
}

.project-features {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-top: 0.8rem;
}

.portfolio-content .project-features {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-top: 0.8rem;
}

.feature-item {
    font-size: 0.8rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

.portfolio-content .feature-item {
    font-size: 0.8rem;
    opacity: 0.9;
    color: var(--text-secondary);
}

.portfolio-links {
    display: flex;
    gap: 1rem;
}

.portfolio-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.portfolio-link:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

/* Resume Page */
.download-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: var(--border-radius);
    border: 2px dashed var(--primary-color);
}

.download-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-md);
}

.download-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-color) 100%);
}

.download-btn i {
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

.download-note {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: center;
    max-width: 500px;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.5;
}

.download-note i {
    color: var(--primary-color);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

.resume-content {
    max-width: 900px;
    margin: 0 auto;
}

.resume-section {
    margin-bottom: 4rem;
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.resume-section-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-primary);
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.resume-section-title i {
    color: var(--primary-color);
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

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

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-date {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

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

.timeline-content h4 {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.timeline-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

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

.timeline-content li {
    position: relative;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
}

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

/* Certificate Badge */
.cert-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/* Tech Stack Tags */
.tech-stack {
    margin: 10px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.portfolio-content .tech-tag {
    background: var(--primary-color);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    border: 1px solid var(--primary-color);
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text {
    line-height: 1.8;
}

.about-intro {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.about-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.about-mission {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-3px);
}

.highlight-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.highlight-item span {
    color: var(--text-primary);
    font-weight: 500;
}

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

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive Design for About Section */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .profile-photo {
        width: 250px;
        height: 250px;
    }
    
    .profile-photo:hover {
        transform: translateY(-5px) scale(1.02);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-highlights {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

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

.skill-category h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.skill-tag {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
}

.skill-tag:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Connect Page */
.connect-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    height: fit-content;
}

.contact-info h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.contact-details h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.contact-details p {
    color: var(--text-secondary);
}

.social-links {
    margin-top: 2rem;
}

.social-links h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.25rem;
    transition: var(--transition);
    border: 2px solid var(--border-color);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.contact-form h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

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

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #d1d5db;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-primary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: #9ca3af;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1), 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group input:valid,
.form-group textarea:valid {
    border-color: #10b981;
}

.form-group label {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: block;
}

/* Alternative Contact */
.alternative-contact {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.alt-contact-text {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

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

.alt-contact-buttons .btn {
    min-width: 140px;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

@media (max-width: 480px) {
    .alt-contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .alt-contact-buttons .btn {
        width: 100%;
        max-width: 200px;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1e293b 100%);
    color: white;
    margin-top: 4rem;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.footer-section p {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: #cbd5e1;
}

.footer-contact i {
    margin-right: 0.75rem;
    color: var(--primary-color);
    width: 20px;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.footer-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(99, 102, 241, 0.3), transparent);
    margin: 2rem 0 1rem;
}

.footer-bottom {
    text-align: center;
}

.footer-copyright p {
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 0.9rem;
    color: #64748b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        padding: 1rem 2rem;
        border-radius: 0;
        width: 100%;
        justify-content: center;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .image-placeholder {
        width: 200px;
        height: 200px;
        font-size: 5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .connect-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .contact-info {
        text-align: center;
        margin: 0 auto;
        max-width: 500px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-links a:hover {
        padding-left: 0;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .resume-section {
        padding: 2rem;
    }
    
    .contact-form,
    .contact-info {
        padding: 2rem;
    }
}

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

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

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

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

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

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

/* Portfolio filter animation */
.portfolio-item.hide {
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition);
}

.portfolio-item.show {
    opacity: 1;
    transform: scale(1);
    transition: var(--transition);
}

/* Portfolio Inspiration Section */
.portfolio-inspiration {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-radius: var(--border-radius);
    padding: 3rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.inspiration-content {
    z-index: 2;
}

.inspiration-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.inspiration-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.highlight-text {
    color: var(--primary-color);
    font-weight: 600;
    font-style: italic;
}

.inspiration-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-bubble {
    text-align: center;
    background: white;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.stat-bubble:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.stat-bubble .stat-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-bubble .stat-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.inspiration-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-animated {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-animated::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-animated:hover::before {
    left: 100%;
}

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

.inspiration-visual {
    position: relative;
    height: 300px;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.float-item {
    position: absolute;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    animation: float 6s ease-in-out infinite;
    box-shadow: var(--shadow-lg);
}

.float-item[data-float="1"] {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.float-item[data-float="2"] {
    top: 60%;
    left: 10%;
    animation-delay: 1s;
}

.float-item[data-float="3"] {
    top: 20%;
    right: 30%;
    animation-delay: 2s;
}

.float-item[data-float="4"] {
    bottom: 20%;
    right: 10%;
    animation-delay: 3s;
}

.float-item[data-float="5"] {
    top: 50%;
    right: 50%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(-5deg);
    }
    75% {
        transform: translateY(-15px) rotate(3deg);
    }
}

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

/* Mobile responsiveness for inspiration section */
@media (max-width: 768px) {
    .portfolio-inspiration {
        grid-template-columns: 1fr;
        padding: 2rem;
        text-align: center;
    }
    
    .inspiration-title {
        font-size: 1.5rem;
    }
    
    .inspiration-stats {
        justify-content: center;
    }
    
    .inspiration-cta {
        justify-content: center;
    }
    
    .inspiration-visual {
        height: 200px;
    }
    
    .float-item {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Interactive Enhancements */

/* Enhanced Feature Cards */
.feature-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(138, 43, 226, 0.1), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(10deg);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
}

/* Interactive Timeline */
.timeline-item {
    transition: all 0.3s ease;
    cursor: pointer;
}

.timeline-content {
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 1.5rem;
}

.timeline-item:hover .timeline-date {
    color: var(--primary-color);
    font-weight: 600;
}

/* Enhanced Skill Tags */
.skill-tag {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.skill-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
    z-index: -1;
}

.skill-tag:hover::before {
    width: 100%;
}

.skill-tag:hover {
    color: white;
}

/* Skill Level Indicators */
.skill-tag[data-level="Beginner"] {
    border-left: 4px solid #ff6b6b;
}

.skill-tag[data-level="Intermediate"] {
    border-left: 4px solid #ffd93d;
}

.skill-tag[data-level="Advanced"] {
    border-left: 4px solid #6bcf7f;
}

.skill-tag[data-level="Expert"] {
    border-left: 4px solid var(--primary-color);
    font-weight: 600;
}

.skill-tag::after {
    content: attr(data-level);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.skill-tag:hover::after {
    opacity: 1;
    top: -30px;
}

/* Interactive Portfolio Items */
.portfolio-item {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.portfolio-overlay {
    transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    background: rgba(0, 0, 0, 0.95);
}

/* Stats Animation */
.stat-number {
    transition: all 0.3s ease;
    font-weight: 700;
}

.stat-item:hover .stat-number {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Enhanced Contact Items */
.contact-item {
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 12px;
    padding: 1rem;
    position: relative;
}

.contact-item:hover {
    background: rgba(138, 43, 226, 0.05);
    transform: translateX(10px);
}

.contact-item:hover .contact-icon {
    color: var(--primary-color);
    transform: scale(1.2);
}

.copy-indicator {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.contact-item:hover .copy-indicator {
    opacity: 1;
}

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    transform: translateX(100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: linear-gradient(135deg, #6bcf7f, #4caf50);
}

.notification.error {
    background: linear-gradient(135deg, #ff6b6b, #f44336);
}

.notification.info {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* Page Transition Effects */
.page {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth Scroll Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.slide-in-up {
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.slide-in-left {
    animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.slide-in-right {
    animation: slideInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.fade-in-scale {
    animation: fadeInScale 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Enhanced Form Interactions */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.form-group input:focus,
.form-group textarea:focus {
    transform: scale(1.02);
    box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.1);
    border-color: var(--primary-color);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.form-group label {
    transition: all 0.3s ease;
}

.form-group input:focus + label,
.form-group textarea:focus + label {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.error-message {
    color: #ff6b6b;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.error-message::before {
    content: '⚠️';
    font-size: 0.7rem;
}

/* Button Hover Effects */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(138, 43, 226, 0.3);
}

/* Social Links Animation */
.social-link {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.3);
}

/* Enhanced Navigation */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

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

/* Responsive Interactive Elements */
@media (max-width: 768px) {
    .custom-cursor {
        display: none;
    }
    
    .feature-card:hover {
        transform: none;
    }
    
    .portfolio-item:hover {
        transform: none;
    }
    
    .timeline-item:hover {
        transform: none;
    }
}

/* ================================
   ENHANCED MOBILE OPTIMIZATIONS
   ================================ */

/* Mobile First - Base Mobile Styles */
@media (max-width: 480px) {
    /* Container and Spacing */
    .container {
        padding: 0 1rem;
    }
    
    /* Navigation Improvements */
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-logo h2 {
        font-size: 1.2rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 2rem 0;
        transition: left 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        width: 80%;
        padding: 1rem;
        margin: 0.5rem 0;
        text-align: center;
        border-radius: 12px;
        background: rgba(79, 70, 229, 0.1);
        transition: all 0.3s ease;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: rgba(79, 70, 229, 0.2);
        transform: translateY(-2px);
    }
    
    /* Page Headers */
    .page-header {
        padding: 2rem 0 1rem;
        margin-bottom: 2rem;
    }
    
    .page-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 0.5rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    /* Hero Section Mobile */
    .hero-section {
        padding: 2rem 0;
        min-height: auto;
    }
    
    .hero-content {
        flex-direction: column-reverse;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }
    
    .profile-photo {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }
    
    /* Features Section */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
        text-align: center;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 1rem;
    }
    
    .feature-icon i {
        font-size: 1.8rem;
    }
    
    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-highlights {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .highlight-item {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    /* Portfolio Section */
    .portfolio-inspiration {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2rem 1rem;
    }
    
    .inspiration-title {
        font-size: 1.5rem;
    }
    
    .inspiration-text {
        font-size: 0.95rem;
    }
    
    .portfolio-filters {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        min-width: auto;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .portfolio-overlay h3 {
        font-size: 1.2rem;
    }
    
    .portfolio-overlay p {
        font-size: 0.9rem;
    }
    
    .tech-stack {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .tech-tag {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
    }
    
    .project-features {
        gap: 0.5rem;
    }
    
    .feature-item {
        font-size: 0.8rem;
    }
    
    /* Resume Section */
    .resume-content {
        gap: 2rem;
    }
    
    .timeline-item {
        padding-left: 2rem;
    }
    
    .timeline-date {
        position: static;
        background: rgba(79, 70, 229, 0.1);
        color: #4f46e5;
        padding: 0.5rem 1rem;
        border-radius: 20px;
        display: inline-block;
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .timeline-content h3 {
        font-size: 1.2rem;
    }
    
    .timeline-content h4 {
        font-size: 1rem;
    }
    
    .timeline-content p {
        font-size: 0.9rem;
    }
    
    .timeline-content ul li {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .cert-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    /* Skills Section */
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .skill-category h3 {
        font-size: 1.1rem;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .skills-list {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .skill-tag {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    /* Connect Section */
    .connect-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .contact-info {
        text-align: center;
        margin: 0 auto;
        max-width: 500px;
    }
    
    .contact-info h2 {
        text-align: center;
    }
    
    .contact-item {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        margin: 0 auto;
        max-width: 400px;
    }
    
    .contact-icon {
        margin: 0 auto;
    }
    
    .social-links {
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .contact-details h3 {
        font-size: 1.1rem;
    }
    
    .contact-details p {
        font-size: 0.95rem;
        word-break: break-all;
    }
    
    .social-icons {
        justify-content: center;
        gap: 1rem;
    }
    
    .social-link {
        width: 50px;
        height: 50px;
    }
    
    .social-link i {
        font-size: 1.3rem;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 2rem 1rem;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 1rem;
        font-size: 1rem;
        border-radius: 8px;
    }
    
    .form-group textarea {
        min-height: 120px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section h3,
    .footer-section h4 {
        margin-bottom: 1rem;
    }
    
    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .footer-contact p {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .footer-social {
        justify-content: center;
        gap: 1rem;
    }
    
    .footer-copyright {
        text-align: center;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-copyright p {
        font-size: 0.85rem;
    }
    
    .footer-tagline {
        font-size: 0.8rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 360px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .profile-photo {
        width: 180px;
        height: 180px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .contact-details p {
        font-size: 0.85rem;
    }
}

/* Tablet Specific Optimizations */
@media (min-width: 481px) and (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-content {
        gap: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .connect-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .contact-info {
        text-align: center;
        margin: 0 auto;
        max-width: 500px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .nav-link:hover,
    .btn:hover,
    .portfolio-item:hover,
    .skill-tag:hover,
    .contact-item:hover {
        transform: none;
    }
    
    .nav-link:active,
    .btn:active,
    .portfolio-item:active {
        transform: scale(0.98);
    }
    
    /* Larger touch targets */
    .nav-link,
    .btn,
    .social-link,
    .filter-btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Remove hover animations on touch devices */
    .feature-card:hover,
    .timeline-item:hover,
    .profile-photo:hover {
        transform: none;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .profile-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        padding: 1rem 0;
    }
    
    .hero-content {
        flex-direction: row;
        gap: 2rem;
    }
    
    .profile-photo {
        width: 150px;
        height: 150px;
    }
    
    .page-header {
        padding: 1rem 0;
        margin-bottom: 1rem;
    }
}

/* ===== MODERN LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-container {
    text-align: center;
    position: relative;
    z-index: 10;
    animation: fadeIn 0.8s ease-out;
}

.loading-logo {
    margin-bottom: 2rem;
}

.loading-logo h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
    animation: slideUp 0.8s ease-out 0.2s both;
}

.loading-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    font-weight: 400;
    animation: slideUp 0.8s ease-out 0.4s both;
}

.loading-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    animation: slideUp 0.8s ease-out 0.6s both;
}

/* Modern Spinner */
.modern-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top: 3px solid #ffffff;
    border-radius: 50%;
    animation: modernSpin 1s linear infinite;
}

/* Progress Bar */
.loading-progress {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.8));
    border-radius: 2px;
    width: 0%;
    animation: progressFill 2s ease-in-out infinite;
}

/* Loading Dots */
.loading-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: dotPulse 1.4s ease-in-out infinite both;
}

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }
.loading-dots span:nth-child(3) { animation-delay: 0s; }

/* Floating Background Elements */
.loading-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.float-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: gentleFloat 8s ease-in-out infinite;
}

.float-element:nth-child(1) {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.float-element:nth-child(2) {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 20%;
    animation-delay: -2s;
}

.float-element:nth-child(3) {
    width: 40px;
    height: 40px;
    bottom: 30%;
    left: 15%;
    animation-delay: -4s;
}

.float-element:nth-child(4) {
    width: 100px;
    height: 100px;
    top: 15%;
    right: 15%;
    animation-delay: -1s;
}

.float-element:nth-child(5) {
    width: 50px;
    height: 50px;
    bottom: 20%;
    right: 35%;
    animation-delay: -3s;
}

/* Modern Loading Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes modernSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes progressFill {
    0% { 
        width: 0%; 
        opacity: 1; 
    }
    50% { 
        width: 100%; 
        opacity: 1; 
    }
    100% { 
        width: 100%; 
        opacity: 0.3; 
    }
}

@keyframes dotPulse {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    25% {
        transform: translateY(-15px) translateX(10px);
    }
    50% {
        transform: translateY(0px) translateX(-10px);
    }
    75% {
        transform: translateY(10px) translateX(5px);
    }
}

/* Mobile Loading Screen */
@media (max-width: 768px) {
    .loading-logo h1 {
        font-size: 2rem;
    }
    
    .loading-subtitle {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }
    
    .modern-spinner {
        width: 40px;
        height: 40px;
        border-width: 2px;
    }
    
    .loading-progress {
        width: 150px;
        height: 2px;
    }
    
    .loading-dots span {
        width: 6px;
        height: 6px;
    }
    
    .float-element {
        opacity: 0.3;
    }
}

/* ===========================
   BLOG PAGE STYLES
   =========================== */

/* Blog Main Layout */
.blog-main {
    margin-top: 80px;
    min-height: 100vh;
}

/* Blog Hero Section */
.blog-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 4rem 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="200" cy="200" r="20" fill="rgba(255,255,255,0.1)"/><circle cx="400" cy="100" r="15" fill="rgba(255,255,255,0.08)"/><circle cx="600" cy="300" r="25" fill="rgba(255,255,255,0.06)"/><circle cx="800" cy="150" r="18" fill="rgba(255,255,255,0.1)"/><circle cx="300" cy="400" r="22" fill="rgba(255,255,255,0.08)"/><circle cx="700" cy="500" r="16" fill="rgba(255,255,255,0.09)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    opacity: 0.7;
}

.breadcrumb-current {
    opacity: 0.8;
}

.blog-hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
    min-height: 400px;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blog-hero-visual {
    position: relative;
    width: 400px;
    height: 300px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition);
}

.blog-hero-visual:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-10px);
}

.blog-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.blog-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.6;
}

.blog-hero-stats {
    display: flex;
    gap: 3rem;
}

.blog-stat {
    text-align: center;
}

.blog-stat .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.blog-stat .stat-label {
    font-size: 1rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Featured Article */
.featured-article {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.article-hero-image {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
}

.featured-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.article-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.8), rgba(139, 92, 246, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.article-hero-image:hover .article-overlay {
    opacity: 1;
}

.article-hero-image:hover .featured-hero-img {
    transform: scale(1.05);
}

.overlay-content {
    text-align: center;
    color: white;
    padding: 2rem;
}

.featured-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-bottom: 1rem;
}

.overlay-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.article-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: var(--transition);
}

.article-card.featured {
    max-width: 900px;
    margin: 0 auto;
}

.article-content {
    padding: 3rem;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.article-category {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-date,
.article-read-time {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.article-date::before {
    content: '📅';
    font-size: 0.8rem;
}

.article-read-time::before {
    content: '⏱️';
    font-size: 0.8rem;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.article-excerpt {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-style: italic;
}

.article-body {
    line-height: 1.8;
    font-size: 1.05rem;
}

.article-body h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 2.5rem 0 1.5rem 0;
    color: var(--primary-color);
    position: relative;
}

.article-body h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.5rem;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.article-body h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    color: var(--text-primary);
}

.article-body p {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

/* Article Images */
.article-image {
    margin: 2.5rem 0;
    text-align: center;
}

.responsive-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.responsive-image:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.image-caption {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
    text-align: center;
}

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

.framework-step {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.framework-step:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.framework-step h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.challenges-solutions {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.challenge-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.challenge-item:last-child {
    margin-bottom: 0;
}

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

.article-conclusion {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 3rem 0;
    text-align: center;
}

.conclusion-text {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
    flex-wrap: wrap;
    gap: 2rem;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.author-info h4 {
    margin: 0;
    color: var(--text-primary);
    font-weight: 600;
}

.author-info p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.article-share h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1rem;
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    color: white;
    transition: var(--transition);
    font-size: 1.1rem;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.email {
    background: var(--text-secondary);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Related Topics */
.related-topics {
    padding: 4rem 0;
    background: white;
}

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

.topic-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-md);
}

.topic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.topic-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.topic-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.topic-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.topic-content {
    padding: 2rem;
}

.topic-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    position: relative;
    top: -30px;
    box-shadow: var(--shadow-lg);
}

.topic-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    margin-top: -1rem;
}

.topic-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.coming-soon {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Newsletter Signup */
.newsletter-signup {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 4rem 0;
    color: white;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.newsletter-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto 1rem;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    box-shadow: var(--shadow-md);
}

.newsletter-btn {
    padding: 1rem 2rem;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    min-width: 140px;
    justify-content: center;
}

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

.newsletter-note {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

/* Responsive Design for Blog */
@media (max-width: 768px) {
    .blog-hero-title {
        font-size: 2.5rem;
    }
    
    .blog-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .blog-hero-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .blog-hero-visual {
        width: 300px;
        height: 200px;
        transform: none;
    }
    
    .blog-hero-visual:hover {
        transform: translateY(-5px);
    }
    
    .blog-hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .article-content {
        padding: 2rem 1.5rem;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-footer {
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter-input {
        min-width: 100%;
    }
    
    .topics-grid {
        grid-template-columns: 1fr;
    }
    
    .learning-framework {
        grid-template-columns: 1fr;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 50px !important;
    height: 50px !important;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 99999 !important;
    opacity: 0 !important;
    transition: all 0.3s ease !important;
    font-size: 18px !important;
    font-weight: bold !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3) !important;
    text-decoration: none !important;
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    transform: scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4) !important;
}