/* Modern Minimal Theme - Inspired by Profile Photo Colors */
:root {
    /* Primary Colors from Photo */
    --sky-blue: #87CEEB;
    --deep-blue: #4A90E2;
    --warm-brown: #8B4513;
    --golden-yellow: #DAA520;
    --cream-white: #FFF8DC;

    /* Neutral Palette */
    --charcoal: #2C3E50;
    --soft-gray: #95A5A6;
    --light-gray: #ECF0F1;
    --pure-white: #FFFFFF;

    /* Accent Colors */
    --accent-blue: #3498DB;
    --accent-gold: #F39C12;
    --success-green: #27AE60;
    --warning-orange: #E67E22;
    
    /* Theme Colors - Light Mode (Default) */
    --bg-primary: #f8fafc;
    --bg-secondary: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --card-bg: #ffffff;
    --navbar-bg: rgba(248, 250, 252, 0.95);
    --navbar-shadow: rgba(0, 0, 0, 0.05);
    --hero-overlay: rgba(0, 0, 0, 0.05);
}

/* Dark Mode Colors */
[data-theme="dark"] {
    /* Theme Colors - Dark Mode */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --border-color: #334155;
    --card-bg: #1e293b;
    --navbar-bg: rgba(15, 23, 42, 0.95);
    --navbar-shadow: rgba(0, 0, 0, 0.4);
    --hero-overlay: rgba(0, 0, 0, 0.5);
    
    /* Accent colors in dark mode */
    --accent-blue: #38bdf8;
    --accent-gold: #f59e0b;
    --success-green: #10b981;
    --warning-orange: #fb923c;
}

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

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--navbar-bg);
    backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

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

.nav-logo h2 {
    color: var(--deep-blue);
    font-weight: 700;
    font-size: 1.5rem;
}

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

.nav-link {
    text-decoration: none;
    color: var(--charcoal);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--deep-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--sky-blue) 0%, var(--deep-blue) 100%);
    color: var(--pure-white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

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

.hero-text {
    max-width: 600px;
}

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

.highlight {
    background: linear-gradient(45deg, var(--accent-gold), var(--golden-yellow));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    color: var(--cream-white);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--charcoal);
    border: 2px solid var(--accent-gold);
}

.btn-primary:hover {
    background: var(--golden-yellow);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(218, 165, 32, 0.3);
}

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

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

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--pure-white);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: var(--accent-gold);
    color: var(--charcoal);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(218, 165, 32, 0.3);
}

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

.profile-photo {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid var(--accent-gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.profile-photo:hover {
    transform: scale(1.05);
}

/* Section Styles */
section {
    padding: 80px 0;
}

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

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), var(--deep-blue));
    border-radius: 2px;
}

/* About Section */
.about {
    background: var(--bg-secondary);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--soft-gray);
    line-height: 1.7;
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.1);
    border-color: rgba(52, 152, 219, 0.3);
}

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

.stat p {
    color: var(--soft-gray);
    font-weight: 500;
}

/* Timeline Section */
.timeline-section {
    background: var(--pure-white);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--sky-blue), var(--deep-blue));
    border-radius: 2px;
}

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

.timeline-dot {
    position: absolute;
    left: 19px;
    top: 0;
    width: 24px;
    height: 24px;
    background: var(--accent-gold);
    border-radius: 50%;
    border: 4px solid var(--pure-white);
    box-shadow: 0 0 0 4px var(--light-gray);
}

.timeline-content {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.1);
    border-color: rgba(52, 152, 219, 0.3);
}

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

.timeline-content h4 {
    font-size: 1.1rem;
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
}

.timeline-date {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--charcoal);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.timeline-content li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 0.5rem;
    color: var(--soft-gray);
    line-height: 1.6;
}

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

/* Skills Section */
.skills {
    background: var(--bg-secondary);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-category {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.skill-category:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.1);
    border-color: rgba(52, 152, 219, 0.3);
}

.skill-category h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-gray);
}

.skill-item {
    margin-bottom: 1.5rem;
}

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

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.skill-name {
    font-size: 1rem;
    font-weight: 500;
    color: var(--charcoal);
}

.skill-level {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--soft-gray);
    background: var(--light-gray);
    padding: 3px 8px;
    border-radius: 10px;
}

.skill-bar {
    width: 100%;
    height: 6px;
    background: var(--light-gray);
    border-radius: 3px;
    overflow: hidden;
}

/* Removed duplicate rule - using enhanced version below */

/* Remove static width rules to allow animation */

/* Remove duplicate rules - handled by enhanced animation section below */

/* Certifications */
.certifications {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    max-width: 600px;
    margin: 3rem auto 0;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.certifications h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.cert-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.cert-item:hover {
    transform: translateX(5px);
}

.cert-item i {
    font-size: 2rem;
    color: var(--deep-blue);
}

.cert-item h4 {
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.25rem;
}

.cert-item span {
    color: var(--soft-gray);
    font-size: 0.9rem;
}

/* Blogs Section */
.blogs {
    background: var(--pure-white);
}

.blogs-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--soft-gray);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.blogs-list {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.blog-row {
    background: var(--pure-white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--light-gray);
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.blog-row:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.blog-icon-container {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--light-gray);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-icon {
    font-size: 1.5rem;
    color: var(--deep-blue);
}

.blog-content {
    flex: 1;
    min-width: 0;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-platform {
    font-size: 0.9rem;
    color: var(--soft-gray);
    font-weight: 500;
    background: var(--light-gray);
    padding: 4px 12px;
    border-radius: 12px;
}

.blog-date {
    font-size: 0.85rem;
    color: var(--soft-gray);
    font-weight: 400;
}

.blog-title {
    margin-bottom: 0.75rem;
}

.blog-title a {
    color: var(--charcoal);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: var(--deep-blue);
}

.blog-description {
    color: var(--soft-gray);
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

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

.blog-tag {
    background: var(--light-gray);
    color: var(--charcoal);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.blog-action {
    flex-shrink: 0;
}

.blog-link {
    color: var(--deep-blue);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
    padding: 8px 16px;
    border-radius: 6px;
    background: var(--light-gray);
}

.blog-link:hover {
    color: var(--accent-gold);
    background: var(--cream-white);
}

/* Contact Section */
.contact {
    background: var(--light-gray);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--soft-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--pure-white);
    border-radius: 8px;
    min-width: 300px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-item:hover {
    transform: translateY(-2px);
}

.contact-item i {
    color: var(--deep-blue);
    width: 20px;
    font-size: 1.2rem;
}

.contact-item a {
    color: var(--deep-blue);
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--accent-gold);
}

/* Footer */
.footer {
    background: var(--charcoal);
    color: var(--pure-white);
    padding: 2rem 0;
}

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

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

.footer .social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--pure-white);
}

.footer .social-link:hover {
    background: var(--accent-gold);
    color: var(--charcoal);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--charcoal);
    margin: 3px 0;
    transition: 0.3s;
}

/* Code container with copy button */
.code-container {
    position: relative;
    margin: 1.5rem 0;
}

.copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--charcoal);
    color: var(--pure-white);
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.copy-btn:hover {
    background: var(--deep-blue);
    transform: translateY(-1px);
}

/* Blog post styles */
.blog-post {
    padding: 120px 0 80px;
    background: var(--light-gray);
    min-height: 100vh;
}

.blog-post-header {
    background: var(--pure-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--deep-blue);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 2rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--accent-gold);
}

.blog-post-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.blog-post-content {
    background: var(--pure-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    line-height: 1.7;
}

.blog-post-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--charcoal);
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-gray);
}

.blog-post-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--charcoal);
    margin: 1.5rem 0 1rem;
}

.blog-post-content pre {
    background: var(--charcoal);
    color: var(--cream-white);
    padding: 2rem 1.5rem 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    position: relative;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--pure-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

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

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

    .profile-photo {
        width: 250px;
        height: 250px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-dot {
        left: 8px;
    }

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

    .blog-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.25rem;
    }

    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .contact-item {
        min-width: auto;
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .container {
        padding: 0 15px;
    }

    .profile-photo {
        width: 200px;
        height: 200px;
    }
}

/* Enhanced Section Transition Effects */
section {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

section.section-enter {
    animation: sectionSlideIn 0.8s ease-out forwards;
}

section.section-exit {
    animation: sectionSlideOut 0.5s ease-in forwards;
}

section.section-active {
    opacity: 1;
    transform: translateY(0);
}

/* Direction-specific transitions */
section.enter-from-bottom {
    animation: enterFromBottom 0.8s ease-out forwards;
}

section.enter-from-top {
    animation: enterFromTop 0.8s ease-out forwards;
}

section.exit-to-top {
    animation: exitToTop 0.5s ease-in forwards;
}

section.exit-to-bottom {
    animation: exitToBottom 0.5s ease-in forwards;
}

/* Enhanced dramatic slide in/out animations */
@keyframes sectionSlideIn {
    0% {
        opacity: 0;
        transform: translateY(100px) scale(0.9);
        filter: blur(10px);
    }
    50% {
        opacity: 0.8;
        transform: translateY(10px) scale(0.98);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes sectionSlideOut {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
    50% {
        opacity: 0.5;
        transform: translateY(-30px) scale(1.03);
        filter: blur(5px);
    }
    100% {
        opacity: 0;
        transform: translateY(-60px) scale(1.05);
        filter: blur(10px);
    }
}

/* Enhanced directional animations */
@keyframes enterFromBottom {
    0% {
        opacity: 0;
        transform: translateY(120px) scale(0.9) rotateX(10deg);
        filter: blur(15px);
        transform-origin: bottom;
    }
    30% {
        opacity: 0.5;
        filter: blur(8px);
    }
    70% {
        transform: translateY(15px) scale(0.98) rotateX(2deg);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0);
        filter: blur(0);
    }
}

@keyframes enterFromTop {
    0% {
        opacity: 0;
        transform: translateY(-120px) scale(0.9) rotateX(-10deg);
        filter: blur(15px);
        transform-origin: top;
    }
    30% {
        opacity: 0.5;
        filter: blur(8px);
    }
    70% {
        transform: translateY(-15px) scale(0.98) rotateX(-2deg);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0);
        filter: blur(0);
    }
}

@keyframes exitToTop {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0);
        filter: blur(0);
    }
    30% {
        opacity: 0.7;
        transform: translateY(-20px) scale(1.02) rotateX(-2deg);
        filter: blur(3px);
    }
    100% {
        opacity: 0;
        transform: translateY(-120px) scale(0.95) rotateX(-10deg);
        filter: blur(15px);
        transform-origin: top;
    }
}

@keyframes exitToBottom {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0);
        filter: blur(0);
    }
    30% {
        opacity: 0.7;
        transform: translateY(20px) scale(1.02) rotateX(2deg);
        filter: blur(3px);
    }
    100% {
        opacity: 0;
        transform: translateY(120px) scale(0.95) rotateX(10deg);
        filter: blur(15px);
        transform-origin: bottom;
    }
}

/* Section-specific transition effects */
body[data-transition*="home-to-"] section,
body[data-transition*="-to-home"] section {
    transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
}

body[data-transition*="skills-to-"] section,
body[data-transition*="-to-skills"] section {
    transition-timing-function: cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

body[data-transition*="blogs-to-"] section,
body[data-transition*="-to-blogs"] section {
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Enhanced Skills Bar Animation - Clean implementation */
.skill-progress {
    height: 100%;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #8b5cf6, #a78bfa);
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.2);
    transition: width 1.2s cubic-bezier(0.17, 0.67, 0.83, 0.67);
    width: 0; /* Start at 0 width */
}

.skill-progress.skill-animated {
    animation: skillGlow 2s ease-in-out;
}

@keyframes skillGlow {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(39, 174, 96, 0.6);
    }
}

/* Enhanced shimmer effect for skill bars */
.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.skill-progress.skill-animated::after {
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Smooth section transitions on scroll */
.hero, .about, .blogs, .skills, .timeline-section, .contact {
    transition: all 0.4s ease-in-out;
}

/* Add subtle parallax effect to sections */
@media (min-width: 769px) {
    section:not(.section-active) {
        transform: translateY(10px);
        opacity: 0.95;
    }
    
    section.section-active {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Enhanced hover effects for interactive elements */
.skill-category:hover .skill-progress {
    transform: scaleY(1.05);
}

.skill-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}/* Logo St
yles */
.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--sky-blue) 0%, var(--deep-blue) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--pure-white);
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
    transition: all 0.3s ease;
}

.logo-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.4);
}

.nav-logo h2 {
    color: var(--deep-blue);
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
}

/* Company Link Styles */
.company-link {
    color: var(--deep-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    border-bottom: 2px solid transparent;
}

.company-link:hover {
    color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
    transform: translateY(-1px);
}

/* Removed link icon */

/* Timeline company link specific styles */
.timeline-content .company-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    background: none;
    border: none;
}

.timeline-content .company-link:hover {
    background: none;
    border: none;
    box-shadow: none;
}

.timeline-content .company-link .linkedin-icon {
    font-size: 1rem;
    color: #0077B5;
    transition: all 0.3s ease;
}

.timeline-content .company-link:hover .linkedin-icon {
    color: var(--accent-gold);
    transform: scale(1.1);
}

/* Responsive adjustments for logo */
@media (max-width: 768px) {
    .logo-container {
        gap: 0.5rem;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .nav-logo h2 {
        font-size: 1.3rem;
    }
    
    .company-link::after {
        display: none;
    }
}

/* Enhanced favicon support */
@media (prefers-color-scheme: dark) {
    .logo-icon {
        box-shadow: 0 2px 8px rgba(135, 206, 235, 0.4);
    }
    
    .logo-icon:hover {
        box-shadow: 0 4px 15px rgba(135, 206, 235, 0.5);
    }
}/
* Theme Switch Styles */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
    margin-left: 0;
    margin-right: 20px;
}

@media (max-width: 768px) {
    .theme-switch-wrapper {
        position: absolute;
        right: 70px;
        top: 50%;
        transform: translateY(-50%);
        margin-right: 0;
    }
}

.theme-switch {
    display: inline-block;
    height: 26px;
    position: relative;
    width: 50px;
}

.theme-switch input {
    display: none;
}

.slider {
    background-color: #ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
    border-radius: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5px;
}

.slider:before {
    background-color: white;
    bottom: 3px;
    content: "";
    height: 20px;
    left: 4px;
    position: absolute;
    transition: .4s;
    width: 20px;
    border-radius: 50%;
    z-index: 2;
}

input:checked + .slider {
    background-color: var(--deep-blue);
}

input:checked + .slider:before {
    transform: translateX(22px);
}

.slider .fa-sun {
    color: #f39c12;
    font-size: 14px;
    margin-left: 4px;
}

.slider .fa-moon {
    color: #2c3e50;
    font-size: 14px;
    margin-right: 4px;
}

/* Dark mode specific styles */
[data-theme="dark"] .about {
    background: var(--bg-secondary);
}

[data-theme="dark"] .skills {
    background: var(--bg-secondary);
}

[data-theme="dark"] .timeline-section {
    background: var(--bg-primary);
}

[data-theme="dark"] .blogs {
    background: var(--bg-primary);
}

[data-theme="dark"] .contact {
    background: var(--bg-secondary);
}

[data-theme="dark"] .footer {
    background: #0f172a;
    border-top: 1px solid var(--border-color);
}

[data-theme="dark"] .stat,
[data-theme="dark"] .timeline-content,
[data-theme="dark"] .skill-category,
[data-theme="dark"] .certifications,
[data-theme="dark"] .blog-row,
[data-theme="dark"] .contact-item {
    background: var(--card-bg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .blog-platform,
[data-theme="dark"] .blog-tag,
[data-theme="dark"] .blog-link,
[data-theme="dark"] .cert-item {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .skill-bar {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .nav-link {
    color: var(--text-primary);
}

[data-theme="dark"] .nav-link:hover {
    color: var(--accent-blue);
}

[data-theme="dark"] .nav-link::after {
    background: var(--accent-blue);
}

[data-theme="dark"] .blog-title a {
    color: var(--text-primary);
}

[data-theme="dark"] .blog-title a:hover {
    color: var(--accent-blue);
}

/* Enhanced dark mode card styling with glassmorphism */
[data-theme="dark"] .skill-category,
[data-theme="dark"] .timeline-content,
[data-theme="dark"] .blog-row,
[data-theme="dark"] .certifications,
[data-theme="dark"] .contact-item {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(51, 65, 85, 0.6);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Enhanced dark mode glow effects */
[data-theme="dark"] .skill-category:hover,
[data-theme="dark"] .timeline-content:hover,
[data-theme="dark"] .blog-row:hover,
[data-theme="dark"] .contact-item:hover {
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.3);
}

/* Dark mode skill progress bars - consistent color scheme */
[data-theme="dark"] .skill-progress {
    background: linear-gradient(90deg, #0ea5e9, #38bdf8);
    box-shadow: 0 2px 8px rgba(56, 189, 248, 0.3);
}

/* Remove these specific classes as we're using a consistent color for all skill levels
[data-theme="dark"] .skill-progress.expert,
[data-theme="dark"] .skill-progress.advanced,
[data-theme="dark"] .skill-progress.intermediate {
    background: linear-gradient(90deg, #0ea5e9, #38bdf8);
    box-shadow: 0 2px 8px rgba(56, 189, 248, 0.3);
}
*/
}

/* Dark mode timeline enhancements */
[data-theme="dark"] .timeline::before {
    background: linear-gradient(180deg, #38bdf8, #0ea5e9);
}

[data-theme="dark"] .timeline-dot {
    background: #38bdf8;
    border: 4px solid var(--bg-primary);
    box-shadow: 0 0 0 4px rgba(51, 65, 85, 0.6);
}

[data-theme="dark"] .section-title,
[data-theme="dark"] .timeline-content h3,
[data-theme="dark"] .skill-category h3,
[data-theme="dark"] .cert-item h4,
[data-theme="dark"] .skill-name {
    color: var(--text-primary);
}

[data-theme="dark"] .about-text p,
[data-theme="dark"] .timeline-content li,
[data-theme="dark"] .blog-description,
[data-theme="dark"] .blogs-intro {
    color: var(--text-secondary);
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #1a365d 0%, #0f2942 100%);
}

[data-theme="dark"] .hero::before {
    background: var(--hero-overlay);
}

[data-theme="dark"] .bar {
    background: var(--text-primary);
}

/* Responsive dark mode adjustments */
@media (max-width: 768px) {
    [data-theme="dark"] .nav-menu {
        background-color: var(--bg-primary);
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.2);
    }
    
    .theme-switch-wrapper {
        margin-right: 60px;
    }
}

@media (max-width: 480px) {
    .theme-switch-wrapper {
        margin-right: 50px;
    }
    
    .theme-switch {
        width: 45px;
        height: 24px;
    }
    
    .slider:before {
        height: 18px;
        width: 18px;
    }
    
    input:checked + .slider:before {
        transform: translateX(19px);
    }
}/* Fix
 dark mode visibility issues */

/* 1. Fix About Me section stat boxes */
[data-theme="dark"] .stat {
    background: #2a2a2a;
    border: 1px solid #333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .stat h3 {
    color: var(--accent-blue);
}

[data-theme="dark"] .stat p {
    color: var(--text-secondary);
}

/* 2. Fix blog tags under blog descriptions */
[data-theme="dark"] .blog-tag {
    background: #2a2a2a;
    color: var(--text-secondary);
    border: 1px solid #333;
}

/* 3. Fix Read Article box */
[data-theme="dark"] .blog-link {
    background: #2a2a2a;
    color: var(--accent-blue);
    border: 1px solid #333;
}

[data-theme="dark"] .blog-link:hover {
    background: #333;
    color: var(--accent-gold);
}

/* 4. Fix skill category boxes */
[data-theme="dark"] .skill-category {
    background: #2a2a2a;
    border: 1px solid #333;
}

[data-theme="dark"] .skill-category h3 {
    color: var(--text-primary);
    border-bottom: 2px solid #333;
}

[data-theme="dark"] .skill-level {
    background: #333;
    color: var(--text-secondary);
}

/* 5. Fix certifications text and box */
[data-theme="dark"] .certifications {
    background: #2a2a2a;
    border: 1px solid #333;
}

[data-theme="dark"] .certifications h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .cert-item {
    background: #333;
    border: 1px solid #444;
}

[data-theme="dark"] .cert-item h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .cert-item i {
    color: var(--accent-blue);
}

/* Additional fixes for better contrast */
[data-theme="dark"] .blog-icon-container {
    background: #333;
    border: 1px solid #444;
}

[data-theme="dark"] .blog-icon {
    color: var(--accent-blue);
}

[data-theme="dark"] .blog-platform {
    background: #333;
    color: var(--text-secondary);
}

[data-theme="dark"] .timeline-dot {
    border: 4px solid #2a2a2a;
    box-shadow: 0 0 0 4px #333;
}

[data-theme="dark"] .timeline-date {
    background: var(--deep-blue);
    color: var(--text-primary);
}

/* Fix border colors */
[data-theme="dark"] .blog-row {
    border: 1px solid #333;
}/* Additio
nal dark mode fixes for better visibility */

/* Fix theme toggle position for mobile */
@media (max-width: 768px) {
    .theme-switch-wrapper {
        position: absolute;
        right: 70px;
        top: 50%;
        transform: translateY(-50%);
        margin-right: 0;
    }
}

/* Improve visibility of stat boxes in About section */
[data-theme="dark"] .stat {
    background: #2a2a2a;
    border: 1px solid #444;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .stat h3 {
    color: var(--accent-blue);
}

[data-theme="dark"] .stat p {
    color: #bbb;
}

/* Improve visibility of blog tags */
[data-theme="dark"] .blog-tag {
    background: #2a2a2a;
    color: #bbb;
    border: 1px solid #444;
}

/* Improve visibility of Read Article box */
[data-theme="dark"] .blog-link {
    background: #2a2a2a;
    color: var(--accent-blue);
    border: 1px solid #444;
}

[data-theme="dark"] .blog-link:hover {
    background: #333;
    color: var(--accent-gold);
}

/* Improve visibility of skill category boxes */
[data-theme="dark"] .skill-category {
    background: #2a2a2a;
    border: 1px solid #444;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .skill-category h3 {
    color: #e0e0e0;
    border-bottom: 2px solid #444;
}

[data-theme="dark"] .skill-name {
    color: #e0e0e0;
}

[data-theme="dark"] .skill-level {
    background: #333;
    color: #bbb;
}

/* Improve visibility of certifications */
[data-theme="dark"] .certifications {
    background: #2a2a2a;
    border: 1px solid #444;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .certifications h3 {
    color: #e0e0e0;
}

[data-theme="dark"] .cert-item {
    background: #333;
    border: 1px solid #444;
}

[data-theme="dark"] .cert-item h4 {
    color: #e0e0e0;
}

[data-theme="dark"] .cert-item span {
    color: #bbb;
}

[data-theme="dark"] .cert-item i {
    color: var(--accent-blue);
}

/* Improve visibility of blog elements */
[data-theme="dark"] .blog-row {
    background: #2a2a2a;
    border: 1px solid #444;
}

[data-theme="dark"] .blog-icon-container {
    background: #333;
    border: 1px solid #444;
}

[data-theme="dark"] .blog-platform {
    background: #333;
    color: #bbb;
}

/* Improve visibility of timeline elements */
[data-theme="dark"] .timeline-content {
    background: #2a2a2a;
    border: 1px solid #444;
}

[data-theme="dark"] .timeline-content h3 {
    color: #e0e0e0;
}

[data-theme="dark"] .timeline-content h4 {
    color: var(--accent-blue);
}

[data-theme="dark"] .timeline-content li {
    color: #bbb;
}

/* Ensure contrast for links in dark mode */
[data-theme="dark"] .company-link {
    color: var(--accent-blue);
}

[data-theme="dark"] .company-link:hover {
    color: var(--accent-gold);
}

/* Fix contact section in dark mode */
[data-theme="dark"] .contact {
    background: var(--bg-secondary);
}

[data-theme="dark"] .contact-info h3 {
    color: #e0e0e0;
}

[data-theme="dark"] .contact-info p {
    color: #bbb;
}

[data-theme="dark"] .contact-item {
    background: #2a2a2a;
    border: 1px solid #444;
}

[data-theme="dark"] .contact-item a {
    color: var(--accent-blue);
}/* Additi
onal dark mode fixes for better visibility */

/* Fix About Me section stat boxes with stronger contrast */
[data-theme="dark"] .stat {
    background: #2a2a2a;
    border: 1px solid #444;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .stat h3 {
    color: #4A90E2; /* Brighter blue for better visibility */
}

[data-theme="dark"] .stat p {
    color: #bbb; /* Lighter text for better contrast */
}

/* Fix blog tags with better visibility */
[data-theme="dark"] .blog-tag {
    background: #2a2a2a;
    color: #bbb;
    border: 1px solid #444;
}

/* Fix Read Article box with better visibility */
[data-theme="dark"] .blog-link {
    background: #2a2a2a;
    color: #4A90E2;
    border: 1px solid #444;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .blog-link:hover {
    background: #333;
    color: var(--accent-gold);
}

/* Fix skill category boxes with better visibility */
[data-theme="dark"] .skill-category {
    background: #2a2a2a;
    border: 1px solid #444;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .skill-category h3 {
    color: #e0e0e0;
    border-bottom: 2px solid #444;
}

/* Fix certifications text and box with better visibility */
[data-theme="dark"] .certifications {
    background: #2a2a2a;
    border: 1px solid #444;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .certifications h3 {
    color: #e0e0e0;
}

[data-theme="dark"] .cert-item {
    background: #333;
    border: 1px solid #444;
}

[data-theme="dark"] .cert-item h4 {
    color: #e0e0e0;
}

/* Fix timeline elements for better visibility */
[data-theme="dark"] .timeline-content {
    background: #2a2a2a;
    border: 1px solid #444;
}

[data-theme="dark"] .timeline-dot {
    border: 4px solid #2a2a2a;
    box-shadow: 0 0 0 4px #333;
}

/* Fix blog elements for better visibility */
[data-theme="dark"] .blog-row {
    background: #2a2a2a;
    border: 1px solid #444;
}

[data-theme="dark"] .blog-icon-container {
    background: #333;
    border: 1px solid #444;
}

/* Fix contact section elements for better visibility */
[data-theme="dark"] .contact-item {
    background: #2a2a2a;
    border: 1px solid #444;
}

/* Fix theme toggle position for mobile */
@media (max-width: 768px) {
    .theme-switch-wrapper {
        position: absolute;
        right: 70px;
        top: 50%;
        transform: translateY(-50%);
    }
}/* D
ramatic page transition flash effect */
.page-transition {
    position: relative;
    overflow-x: hidden;
}

.page-transition::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    z-index: 9999;
    pointer-events: none;
    animation: flashTransition 0.3s ease-out;
}

[data-theme="dark"] .page-transition::after {
    background: rgba(0, 0, 0, 0.2);
}

@keyframes flashTransition {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* Enhanced section transitions */
section.section-enter {
    animation-duration: 1.2s; /* Increased from 0.8s */
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity, filter;
    perspective: 1000px;
}

section.section-exit {
    animation-duration: 1s; /* Increased from 0.5s */
    animation-timing-function: cubic-bezier(0.47, 0, 0.745, 0.715);
    will-change: transform, opacity, filter;
    perspective: 1000px;
}

/* Add 3D perspective to the body during transitions */
body[data-transition] {
    perspective: 1000px;
    overflow-x: hidden;
}

/* Add a subtle parallax effect to sections during scroll */
section {
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

/* Add a subtle scale effect to active section */
section.section-active {
    animation: pulseActive 1s ease-out;
}

@keyframes pulseActive {
    0% {
        transform: scale(0.98);
    }
    50% {
        transform: scale(1.01);
    }
    100% {
        transform: scale(1);
    }
}

/* Enhanced transition timing functions for different sections */
body[data-transition*="home-to-"] section,
body[data-transition*="-to-home"] section {
    transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
}

body[data-transition*="skills-to-"] section,
body[data-transition*="-to-skills"] section {
    transition-timing-function: cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

body[data-transition*="blogs-to-"] section,
body[data-transition*="-to-blogs"] section {
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Add a subtle glow effect to the active section */
section.section-active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), transparent);
    z-index: -1;
    animation: glowEffect 2s infinite alternate;
}

[data-theme="dark"] section.section-active::before {
    background: linear-gradient(to bottom, rgba(74, 144, 226, 0.05), transparent);
}

@keyframes glowEffect {
    0% {
        opacity: 0.3;
    }
    100% {
        opacity: 0.7;
    }
}/
* ULTIMATE OVERDRIVE TRANSITION EFFECTS (110% INTENSITY) */

/* Make transitions even more extreme - additional 10% */
section.section-enter {
    animation-duration: 2.75s !important; /* 10% longer */
    animation-timing-function: cubic-bezier(0.03, 2.2, 0.08, 1) !important; /* 10% more extreme */
}

section.section-exit {
    animation-duration: 2.2s !important; /* 10% longer */
    animation-timing-function: cubic-bezier(0.85, -0.55, 0.95, 0.05) !important; /* 10% more extreme */
}

/* Super extreme ripple effect - 10% more intense */
.ripple-effect {
    animation: ultimateRippleEffect 2.2s cubic-bezier(0.08, 1.98, 0.18, 1) forwards; /* 10% more extreme */
    background: radial-gradient(
        circle, 
        rgba(74, 144, 226, 0.9) 0%, /* 10% more opaque */
        rgba(243, 156, 18, 0.7) 30%, /* 10% more opaque */
        rgba(39, 174, 96, 0.5) 60%, /* 10% more opaque */
        transparent 80%
    );
    mix-blend-mode: overlay;
    filter: brightness(1.1) contrast(1.1); /* Added brightness and contrast */
}

/* Ultra-extreme directional animations - 10% more extreme */
@keyframes enterFromBottom {
    0% {
        opacity: 0;
        transform: translateY(330px) scale(0.65) rotateX(33deg) rotateY(11deg); /* 10% more extreme */
        filter: blur(44px) brightness(1.87) contrast(1.43) saturate(1.65); /* 10% more extreme */
        transform-origin: bottom;
        box-shadow: 0 -110px 220px rgba(74, 144, 226, 0.99); /* 10% more extreme */
    }
    20% {
        opacity: 0.27; /* 10% more extreme */
        filter: blur(33px) brightness(1.65) contrast(1.32) saturate(1.54); /* 10% more extreme */
        transform: translateY(165px) scale(0.77) rotateX(22deg) rotateY(5.5deg); /* 10% more extreme */
    }
    50% {
        opacity: 0.67; /* 10% more extreme */
        transform: translateY(55px) scale(0.88) rotateX(11deg) rotateY(2.2deg); /* 10% more extreme */
        filter: blur(16.5px) brightness(1.43) contrast(1.21) saturate(1.32); /* 10% more extreme */
    }
    80% {
        transform: translateY(11px) scale(1.055) rotateX(3.3deg) rotateY(1.1deg); /* 10% more extreme */
        filter: blur(5.5px) brightness(1.21) saturate(1.21); /* 10% more extreme */
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0) rotateY(0);
        filter: blur(0) brightness(1) contrast(1) saturate(1);
        box-shadow: none;
    }
}

@keyframes enterFromTop {
    0% {
        opacity: 0;
        transform: translateY(-330px) scale(0.65) rotateX(-33deg) rotateY(-11deg); /* 10% more extreme */
        filter: blur(44px) brightness(1.87) contrast(1.43) saturate(1.65); /* 10% more extreme */
        transform-origin: top;
        box-shadow: 0 110px 220px rgba(243, 156, 18, 0.99); /* 10% more extreme */
    }
    20% {
        opacity: 0.27; /* 10% more extreme */
        filter: blur(33px) brightness(1.65) contrast(1.32) saturate(1.54); /* 10% more extreme */
        transform: translateY(-165px) scale(0.77) rotateX(-22deg) rotateY(-5.5deg); /* 10% more extreme */
    }
    50% {
        opacity: 0.67; /* 10% more extreme */
        transform: translateY(-55px) scale(0.88) rotateX(-11deg) rotateY(-2.2deg); /* 10% more extreme */
        filter: blur(16.5px) brightness(1.43) contrast(1.21) saturate(1.32); /* 10% more extreme */
    }
    80% {
        transform: translateY(-11px) scale(1.055) rotateX(-3.3deg) rotateY(-1.1deg); /* 10% more extreme */
        filter: blur(5.5px) brightness(1.21) saturate(1.21); /* 10% more extreme */
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0) rotateY(0);
        filter: blur(0) brightness(1) contrast(1) saturate(1);
        box-shadow: none;
    }
}

/* Add lightning effect during transitions - 10% more intense */
body[data-transition]::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 94.5%, rgba(255, 255, 255, 0.9) 94.5%, transparent 100%), /* 10% more intense */
        linear-gradient(135deg, transparent 96.5%, rgba(255, 255, 255, 0.9) 96.5%, transparent 100%); /* 10% more intense */
    background-size: 220% 220%; /* 10% larger */
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    animation: extremeLightningEffect 1.1s ease-out; /* 10% longer */
}

@keyframes extremeLightningEffect {
    0% { opacity: 0; background-position: 0% 0%; }
    20% { opacity: 0.88; background-position: 55% 55%; } /* 10% more intense */
    21% { opacity: 0; }
    40% { opacity: 0.99; background-position: 110% 110%; } /* 10% more intense */
    41% { opacity: 0; }
    60% { opacity: 0.77; background-position: 27.5% 82.5%; } /* 10% more intense */
    61% { opacity: 0; }
    80% { opacity: 0.88; background-position: 82.5% 27.5%; } /* 10% more intense */
    81% { opacity: 0; }
    100% { opacity: 0; }
}

/* Add extreme vortex effect to active section - 10% more intense */
section.section-active {
    animation: extremeVortexEffect 2.75s cubic-bezier(0.08, 1.98, 0.18, 1); /* 10% longer */
    transform-style: preserve-3d;
    perspective: 2200px; /* 10% more */
}

@keyframes extremeVortexEffect {
    0% {
        transform: scale(0.77) rotate3d(1.1, 1.1, 0, 11deg); /* 10% more extreme */
        filter: blur(22px) brightness(0.66) contrast(0.77) saturate(0.66); /* 10% more extreme */
    }
    30% {
        transform: scale(1.12) rotate3d(-1.1, -1.1, 0, -5.5deg); /* 10% more extreme */
        filter: blur(0) brightness(1.43) contrast(1.32) saturate(1.43); /* 10% more extreme */
    }
    60% {
        transform: scale(0.94) rotate3d(0, 1.1, 0, 3.3deg); /* 10% more extreme */
        filter: blur(5.5px) brightness(1.21) contrast(1.21) saturate(1.21); /* 10% more extreme */
    }
    80% {
        transform: scale(1.03) rotate3d(1.1, 0, 0, -2.2deg); /* 10% more extreme */
        filter: blur(2.2px) brightness(1.06) contrast(1.06) saturate(1.06); /* 10% more extreme */
    }
    100% {
        transform: scale(1) rotate3d(0, 0, 0, 0);
        filter: blur(0) brightness(1) contrast(1) saturate(1);
    }
}

/* Add extreme particle explosion effect - 10% more particles */
.particle {
    position: absolute;
    width: 11px; /* 10% larger */
    height: 11px; /* 10% larger */
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 70%); /* 10% more opaque */
    animation: extremeParticleExplode 1.65s cubic-bezier(0.08, 0.88, 0.18, 1) forwards; /* 10% longer */
    box-shadow: 0 0 11px rgba(255, 255, 255, 0.8); /* Added glow */
}

@keyframes extremeParticleExplode {
    0% {
        transform: translate(0, 0) scale(1.1); /* 10% larger */
        opacity: 1;
        filter: brightness(1.1); /* Added brightness */
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(0);
        opacity: 0;
        filter: brightness(1.5); /* Added brightness */
    }
}

/* Add extreme color pulse to the entire page during transition */
body[data-transition] {
    animation: extremeColorPulse 2.2s ease-in-out; /* 10% longer */
}

@keyframes extremeColorPulse {
    0% {
        filter: hue-rotate(0deg) saturate(1);
    }
    25% {
        filter: hue-rotate(16.5deg) saturate(1.43); /* 10% more extreme */
    }
    50% {
        filter: hue-rotate(-11deg) saturate(1.65); /* 10% more extreme */
    }
    75% {
        filter: hue-rotate(5.5deg) saturate(1.32); /* 10% more extreme */
    }
    100% {
        filter: hue-rotate(0deg) saturate(1);
    }
}/* Subtl
e Transition Effects */

/* Fade effect for transitions */
.fade-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    z-index: 9999;
    pointer-events: none;
    animation: subtleFade 0.8s ease-out;
}

[data-theme="dark"] .fade-effect {
    background: rgba(0, 0, 0, 0.2);
}

@keyframes subtleFade {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

/* Subtle section transitions */
section.section-enter {
    animation: subtleEnter 0.8s ease-out forwards;
}

section.section-exit {
    animation: subtleExit 0.6s ease-in forwards;
}

/* Subtle directional animations */
section.enter-from-bottom {
    animation: subtleEnterBottom 0.8s ease-out forwards;
}

section.enter-from-top {
    animation: subtleEnterTop 0.8s ease-out forwards;
}

section.exit-to-top {
    animation: subtleExitTop 0.6s ease-in forwards;
}

section.exit-to-bottom {
    animation: subtleExitBottom 0.6s ease-in forwards;
}

/* Subtle slide in/out animations */
@keyframes subtleEnter {
    0% {
        opacity: 0.7;
        transform: translateY(20px);
        filter: blur(3px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes subtleExit {
    0% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
    100% {
        opacity: 0.7;
        transform: translateY(-20px);
        filter: blur(3px);
    }
}

/* Subtle directional animations */
@keyframes subtleEnterBottom {
    0% {
        opacity: 0.7;
        transform: translateY(30px);
        filter: blur(3px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes subtleEnterTop {
    0% {
        opacity: 0.7;
        transform: translateY(-30px);
        filter: blur(3px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes subtleExitTop {
    0% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
    100% {
        opacity: 0.7;
        transform: translateY(-30px);
        filter: blur(3px);
    }
}

@keyframes subtleExitBottom {
    0% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
    100% {
        opacity: 0.7;
        transform: translateY(30px);
        filter: blur(3px);
    }
}

/* Subtle active section effect */
section.section-active {
    animation: subtleActive 0.8s ease-out;
}

@keyframes subtleActive {
    0% {
        transform: scale(0.98);
    }
    50% {
        transform: scale(1.01);
    }
    100% {
        transform: scale(1);
    }
}

/* Page transition effect */
.page-transition::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    z-index: 9999;
    pointer-events: none;
    animation: subtleFlash 0.8s ease-out;
}

[data-theme="dark"] .page-transition::after {
    background: rgba(0, 0, 0, 0.2);
}

@keyframes subtleFlash {
    0% { opacity: 0; }
    50% { opacity: 0.5; }
    100% { opacity: 0; }
}/* Ser
vices Section Styles */
.services {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.services::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(218, 165, 32, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.services-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.service-category {
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

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

.category-title i {
    color: var(--accent-gold);
    font-size: 1.5rem;
}

/* Consultation Services Row */
.services-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
}

/* Implementation Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

/* Service Card Styles */
.service-card {
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-gold), var(--deep-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(74, 144, 226, 0.3);
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* Consultation Card Specific Styles */
.service-card.consultation {
    padding-top: 1.5rem;
    flex: 1;
    min-width: 300px;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--deep-blue);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.service-card:hover .service-icon {
    background: var(--deep-blue);
    color: var(--pure-white);
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.3);
}

.service-title h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.service-duration {
    display: inline-block;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Implementation Card Specific Styles */
.service-card.implementation {
    text-align: center;
    padding-top: 2.5rem;
}

.service-card.implementation .service-icon {
    margin: 0 auto 1.5rem;
    width: 70px;
    height: 70px;
    font-size: 2rem;
}

.service-card.implementation h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.service-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    text-align: left;
}

.service-highlights li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.service-highlights li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: bold;
}

/* Service Card Button Styles */
.service-card .btn {
    margin-top: auto;
}

.btn-outline {
    background: transparent;
    color: var(--deep-blue);
    border: 2px solid var(--deep-blue);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 1rem;
}

.btn-outline:hover {
    background: var(--deep-blue);
    color: var(--pure-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Services CTA Section */
.services-cta {
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    padding: 3rem;
    text-align: center;
    margin-top: 3rem;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.services-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-gold), var(--deep-blue));
}

.services-cta h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

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

/* Responsive Styles for Services Section */
@media (max-width: 992px) {
    .services-row {
        flex-direction: column;
        gap: 2rem;
    }
    
    .service-card.consultation {
        min-width: 100%;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .services-cta {
        padding: 2rem;
    }
}

/* Dark Mode Adjustments */
[data-theme="dark"] .service-icon {
    background: var(--bg-primary);
}

[data-theme="dark"] .service-duration {
    background: var(--bg-primary);
}

[data-theme="dark"] .service-card:hover .service-icon {
    background: var(--accent-blue);
}

[data-theme="dark"] .btn-outline {
    color: var(--accent-blue);
    border-color: var(--accent-blue);
}

[data-theme="dark"] .btn-outline:hover {
    background: var(--accent-blue);
    color: var(--pure-white);
}