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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.nav-logo h2 {
    color: #667eea;
    font-weight: 600;
    font-size: 1.5rem;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #667eea;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #667eea;
    border-radius: 1px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Section Styles */
.section {
    min-height: 100vh;
    padding: 100px 0 80px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
    font-weight: 600;
}

/* Home Section */
.home-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    z-index: 1;
}

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

.home-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.highlight {
    color: #ffd700;
}

.home-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

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

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

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: #fff;
    color: #667eea;
}

.btn-primary:hover {
    background: #f8f9ff;
}

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

.btn-secondary:hover {
    background: white;
    color: #667eea;
}

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

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

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

.social-link:hover {
    background: white;
    color: #667eea;
}

.image-placeholder {
    text-align: center;
}

.profile-image {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* About Section - New Design */
.about-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

/* Personal Introduction */
.about-intro {
    margin-bottom: 4rem;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 3rem;
}

.intro-text h3 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.intro-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 2rem;
}

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

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

.stat-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

/* Code Snippet Visual */
.intro-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.code-snippet {
    background: #1e1e1e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 400px;
    font-family: 'Monaco', 'Menlo', monospace;
    /* Prevent flickering and improve rendering */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: auto;
}

.code-snippet::after {
    content: '';
    display: inline-block;
    width: 2px;
    height: 1em;
    background: #00ff00;
    margin-left: 2px;
    animation: blink 1.5s infinite;
    vertical-align: top;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Terminal Cursor Effect - Smooth Blinking */
.code-line:last-child::after {
    content: '';
    display: inline-block;
    width: 2px;
    height: 1em;
    background: #00ff00;
    margin-left: 2px;
    animation: terminalBlink 1.5s infinite;
    vertical-align: top;
}

@keyframes terminalBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Prevent cursor on mobile where it might look odd */
@media (max-width: 768px) {
    .code-snippet::after {
        display: none;
    }

    .code-line:last-child::after {
        display: none;
    }
}

.code-header {
    background: #2d2d2d;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.code-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27ca3f; }

.code-title {
    color: #ccc;
    font-size: 0.9rem;
}

.code-content {
    padding: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
    /* Smooth text rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.code-line {
    margin-bottom: 0.5rem;
    /* Prevent layout shift during animation */
    min-height: 1.6em;
    /* Smooth transitions */
    transition: opacity 0.8s ease, transform 0.8s ease;
    /* Improve rendering performance */
    will-change: opacity, transform;
}

.indent {
    padding-left: 2rem;
}

.code-keyword { color: #569cd6; }
.code-variable { color: #9cdcfe; }
.code-property { color: #92c5f7; }
.code-string { color: #ce9178; }

/* Cards Grid with Enhanced Animations */
.about-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.about-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

/* Remove complex keyframe animations */
@keyframes cardFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: height 0.3s ease;
}

.about-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.about-card:hover::before {
    height: 6px;
}

.about-card:hover::after {
    opacity: 1;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.card-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.about-card:hover .card-icon {
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.about-card:hover .card-icon::before {
    transform: translateX(100%);
}

.card-header h3 {
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.about-card:hover .card-header h3 {
    color: #667eea;
}

/* Professional Journey Timeline - Redesigned */
.journey-timeline {
    position: relative;
    padding: 1rem 0;
}

.journey-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #667eea, #764ba2);
    /* Always show the timeline - no animation */
}

/* Remove timeline growing animation */
@keyframes timelineGrow {
    to {
        transform: scaleY(1);
    }
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    position: relative;
    padding: 1.5rem;
    border-radius: 15px;
    background: rgba(102, 126, 234, 0.02);
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
}

/* Remove complex animations - keep only simple fade keyframes */
@keyframes timelineItemFade {
    to {
        opacity: 1;
    }
}

@keyframes skillCategoryFade {
    to {
        opacity: 1;
    }
}

@keyframes valueItemFade {
    to {
        opacity: 1;
    }
}

.timeline-item:hover {
    background: rgba(102, 126, 234, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.timeline-dot {
    width: 18px;
    height: 18px;
    background: #667eea;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 3px #667eea;
    flex-shrink: 0;
    z-index: 1;
    position: relative;
    transition: all 0.3s ease;
}

.timeline-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(102, 126, 234, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.timeline-item:hover .timeline-dot {
    background: #764ba2;
    box-shadow: 0 0 0 4px rgba(118, 75, 162, 0.3);
}

.timeline-item:hover .timeline-dot::before {
    width: 40px;
    height: 40px;
}

.timeline-content {
    flex: 1;
    transition: none;
}

.timeline-content h4 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.timeline-item:hover .timeline-content h4 {
    color: #667eea;
}

.timeline-date {
    color: #667eea;
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
}

.timeline-item:hover .timeline-date {
    color: #764ba2;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.timeline-item:hover .timeline-content p {
    color: #333;
}

/* Technical Expertise - Redesigned Skills Categories */
.skills-categories {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.skill-category-modern {
    padding: 1.5rem;
    border-radius: 15px;
    background: rgba(102, 126, 234, 0.02);
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
}

/* Keep simple fade keyframes */
@keyframes skillCategoryFade {
    to {
        opacity: 1;
    }
}

.skill-category-modern:hover {
    background: rgba(102, 126, 234, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.skill-category-modern h4 {
    color: #333;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

.skill-category-modern h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.skill-category-modern:hover h4 {
    color: #667eea;
}

.skill-category-modern:hover h4::after {
    width: 100%;
}

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

.skill-pill {
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
}

.skill-pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill-pill:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.skill-pill:hover::before {
    opacity: 1;
}

.skill-pill.react { background: #61dafb; }
.skill-pill.vue { background: #4fc08d; }
.skill-pill.typescript { background: #3178c6; }
.skill-pill.css { background: #1572b6; }
.skill-pill.node { background: #339933; }
.skill-pill.python { background: #3776ab; }
.skill-pill.postgres { background: #336791; }
.skill-pill.mongo { background: #47a248; }
.skill-pill.aws { background: #ff9900; }
.skill-pill.docker { background: #2496ed; }
.skill-pill.k8s { background: #326ce5; }
.skill-pill.git { background: #f05032; }
.skill-pill.terraform { background: #7b42bc; }
.skill-pill.ruby { background: #cc342d; }
.skill-pill.shell { background: #4eaa25; }
.skill-pill.c { background: #a8b9cc; }
.skill-pill.finops { background: #ff6b6b; }
.skill-pill.budget { background: #e65f5f; }
.skill-pill.cur { background: #cc4f4f; }
.skill-pill.kubecost { background: #a43d3d; }
.skill-pill.prometheus { background: #e6522c; }
.skill-pill.grafana { background: #f46800; }
.skill-pill.quicksight { background: #bb5c09; }
.skill-pill.mysql { background: #4479a1; }
.skill-pill.redis { background: #dc382d; }
.skill-pill.rails { background: #cc0000; }
.skill-pill.django { background: #092e20; }
.skill-pill.linux { background: #FCC624; color: #000; }
.skill-pill.networking { background: #0066cc; }
.skill-pill.jenkins { background: #D33833; }
.skill-pill.woodpecker { background: #4CAF50; }
.skill-pill.gitaction { background: #2088FF; }
.skill-pill.argo { background: #EF7B4D; }
.skill-pill.haproxy { background: #106DA9; }
.skill-pill.nginx { background: #009639; }
.skill-pill.istio { background: #466BB0; }
.skill-pill.squid { background: #8B4513; }
.skill-pill.hpa { background: #326ce5; }
.skill-pill.vpa { background: #3f6ec0; }
.skill-pill.karpenter { background: #FF9900; }
.skill-pill.keda { background: #2E8B57; }
.skill-pill.gatekeeper { background: #7B68EE; }
.skill-pill.velero { background: #00D4AA; }
.skill-pill.mlflow { background: #0194E2; }
.skill-pill.nvidia { background: #76B900; }
.skill-pill.tf { background: #FF6F00; }
.skill-pill.pytorch { background: #EE4C2C; }
.skill-pill.keras { background: #D00000; }

/* What Drives Me - Redesigned Values List */
.values-list {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.5rem;
    border-radius: 15px;
    background: rgba(102, 126, 234, 0.02);
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Keep simple fade keyframes */
@keyframes valueItemFade {
    to {
        opacity: 1;
    }
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    transition: width 0.4s ease;
}

.value-item:hover {
    background: rgba(102, 126, 234, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.value-item:hover::before {
    width: 5px;
}

.value-icon {
    font-size: 2.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(102, 126, 234, 0.1);
}

.value-item:hover .value-icon {
    background: rgba(102, 126, 234, 0.2);
}

.value-text {
    flex: 1;
}

.value-text h4 {
    color: #333;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.value-item:hover .value-text h4 {
    color: #667eea;
}

.value-text p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.value-item:hover .value-text p {
    color: #333;
}

/* Fun Facts Section */
.fun-facts-section {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.fun-facts-section h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 2rem;
    font-weight: 600;
}

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

.fun-fact {
    padding: 1.5rem;
    background: linear-gradient(135deg, #667eea10, #764ba210);
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.fun-fact:hover {
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.fact-emoji {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.fun-fact p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* Enhanced Calendly Button Styles */
.calendly-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.calendly-btn:hover {
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.calendly-btn:active {
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.2);
}

.calendly-btn::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;
}

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

.calendly-btn:disabled {
    cursor: not-allowed;
    background: #ccc !important;
    color: #666 !important;
    border-color: #ccc !important;
}

.calendly-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Calendly Loading State */
.calendly-loading {
    pointer-events: none;
    opacity: 0.7;
}

.calendly-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Scheduling Options Enhanced */
.scheduling-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.scheduling-option {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.scheduling-option:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.scheduling-option h4 {
    margin-bottom: 0.8rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
}

.scheduling-option p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Success Animation for Calendly */
@keyframes calendlySuccess {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.calendly-success {
    animation: calendlySuccess 0.6s ease;
    background: #4CAF50 !important;
    border-color: #4CAF50 !important;
}

/* ===================================
   PROJECTS SECTION
   =================================== */
.projects-section {
    background: #ffffff;
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

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

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-icon {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-size: 4rem;
    transition: all 0.4s ease;
}

.project-card:hover .project-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #764ba2, #667eea);
}

.project-icon i {
    transition: transform 0.4s ease;
}

.project-card:hover .project-icon i {
    transform: rotate(10deg);
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.project-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.tag {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

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

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #764ba2;
}

/* ===================================
   TALKS SECTION
   =================================== */
.talks-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

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

.talks-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.talk-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

.talk-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.talk-meta {
    color: #667eea;
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.talk-description {
    color: #666;
    line-height: 1.6;
}

.talk-request-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 120px;
}

.talk-request-form h3 {
    color: #333;
    margin-bottom: 1rem;
}

.talk-request-form p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Contact Form Styles */
.contact-form {
    margin-top: 1rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: #fff;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #ccc;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.5;
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
    appearance: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd8, #6a4190);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #f8f9fa;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn-loading {
    display: none;
}

.btn.loading .btn-text {
    display: none;
}

.btn.loading .btn-loading {
    display: inline-flex;
}

/* Form submission states */
#submitTalkRequest {
    width: 100%;
    justify-content: center;
}

#submitTalkRequest:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* ===================================
   MENTORSHIP SECTION
   =================================== */
.mentorship-section {
    background: #ffffff;
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

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

.mentorship-text h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.mentorship-text p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.mentorship-areas {
    margin-bottom: 2rem;
}

.mentorship-areas h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.mentorship-areas ul {
    list-style: none;
    padding: 0;
}

.mentorship-areas li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
    line-height: 1.6;
}

.mentorship-areas li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.mentorship-areas strong {
    color: #333;
}

.mentorship-approach h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.mentorship-approach p {
    color: #666;
    line-height: 1.7;
}

.cta-card {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    position: sticky;
    top: 120px;
}

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

.cta-card p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.scheduling-options {
    display: grid;
    gap: 1.5rem;
}

.scheduling-option {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.scheduling-option h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.scheduling-option p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.calendly-btn {
    width: 100%;
    background: white;
    color: #667eea;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.calendly-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

/* ===================================
   END OF MAIN STYLES
   =================================== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

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

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

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

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .container {
        padding: 0 20px;
    }

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

    .home-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .home-subtitle {
        font-size: 1.4rem;
    }
    
    .home-description {
        font-size: 1rem;
        margin: 1.5rem 0;
    }

    .section {
        padding: 60px 0 40px;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .about-intro {
        margin-bottom: 3rem;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .intro-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .code-snippet {
        max-height: 300px;
        font-size: 0.85rem;
    }

    .about-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .about-card {
        padding: 1.5rem;
    }
    
    .card-header {
        margin-bottom: 1.5rem;
    }
    
    .timeline-item {
        padding-left: 1.5rem;
    }
    
    .timeline-content h4 {
        font-size: 1rem;
    }
    
    .timeline-date {
        font-size: 0.8rem;
    }
    
    .skill-category-modern h4 {
        font-size: 1rem;
    }
    
    .skill-pill {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .value-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .value-icon {
        font-size: 2rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-card {
        margin: 0;
    }
    
    .project-content {
        padding: 1.5rem;
    }
    
    .project-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .blogs-list {
        gap: 1.5rem;
    }
    
    .blog-item {
        padding: 1.5rem;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .talks-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .talk-item {
        padding: 1.5rem;
    }
    
    .talk-request_form {
        padding: 1.5rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }

    .mentorship-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mentorship-areas ul {
        padding-left: 1rem;
    }
    
    .scheduling-options {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .scheduling-option {
        padding: 1.5rem;
    }
    
    .calendly-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .home-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }

    .profile-image {
        width: 300px;
        height: 300px;
    }
    
    .fun-facts-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .fun-fact {
        padding: 1.5rem;
        text-align: center;
    }

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

/* Tablet Portrait and Small Laptop (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 700px;
        padding: 0 30px;
    }
    
    .home-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .home-title {
        font-size: 3rem;
    }
    
    .home-subtitle {
        font-size: 1.5rem;
    }
    
    .about-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .about-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .fun-facts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .scheduling-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .scheduling-option:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Enhanced Mobile Experience */
.navbar {
    position: sticky;
    backdrop-filter: blur(10px);
}

/* Better touch targets for mobile */
.nav-link,
.btn,
.calendly-btn,
.social-link,
.project-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Improved readability on small screens */
body {
    line-height: 1.6;
}

/* Better spacing for touch interfaces */
.about-card,
.project-card,
.blog-item,
.talk-item {
    margin-bottom: 1rem;
}

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Better form controls for mobile */
input[type="text"],
input[type="email"],
input[type="date"],
select,
textarea {
    min-height: 44px;
    font-size: 16px; /* Prevents zoom on iOS */
}

/* Improve button accessibility */
.btn,
.calendly-btn {
    font-size: 16px; /* Prevents zoom on iOS */
}

/* Better hamburger menu positioning */
.hamburger {
    z-index: 1001;
    position: relative;
}

/* Blog Categories List */
.blog-categories-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    margin: 0 auto 3rem auto;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    max-width: 500px;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.category-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 16px;
    letter-spacing: 0.3px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    background: rgba(102, 126, 234, 0.08);
    border-radius: 20px;
    border: 1px solid transparent;
    display: inline-block;
    min-width: 60px;
    text-align: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.category-link:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.15);
    border-color: #667eea;
    transform: translateY(-1px);
}

.category-link.active {
    color: white;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: #667eea;
    font-weight: 600;
}

.category-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.category-link:hover::after,
.category-link.active::after {
    width: 50%;
}

/* Blog Section Styles */
.blogs-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    min-height: 400px;
}

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

.blog-item {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease !important;
    opacity: 1 !important;
    transform: scale(1) !important;
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    margin-bottom: 1.5rem !important;
}

.blog-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px) !important;
}

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

.blog-date {
    color: #666;
    font-size: 0.9rem;
}

.blog-title {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.blog-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: #667eea;
}

.blog-excerpt {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* Blog Items Animation */
.blog-item {
    transition: all 0.4s ease;
    opacity: 1;
    transform: scale(1);
}

.blog-item.hidden {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
    margin: 0;
    height: 0;
    padding: 0;
    overflow: hidden;
}

.blog-item.show {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

/* Enhanced blog category badges */
.blog-category {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    display: inline-block;
}

.blog-category {
    background: #667eea;
}

.blog-item[data-category="finops"] .blog-category {
    background: #ff6b6b;
}

.blog-item[data-category="sre"] .blog-category {
    background: #4ecdc4;
}

.blog-item[data-category="cloud"] .blog-category {
    background: #45b7d1;
}

.blog-item[data-category="automation"] .blog-category {
    background: #96ceb4;
}

/* Responsive blog categories */
@media (max-width: 768px) {
    .blog-categories-list {
        gap: 0.8rem;
        margin-bottom: 2rem;
        padding: 0.8rem 1rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .blog-categories-list::-webkit-scrollbar {
        display: none;
    }
    
    .category-link {
        font-size: 0.9rem;
        padding: 6px 12px;
        min-width: 55px;
    }
}

@media (max-width: 480px) {
    .blog-categories-list {
        gap: 0.6rem;
        padding: 0.6rem 0.8rem;
        margin: 0 1rem 2rem 1rem;
    }
    
    .category-link {
        font-size: 0.85rem;
        padding: 5px 10px;
        min-width: 50px;
    }
}
