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

:root {
    --primary-color: #000000;
    --secondary-color: #1d1d1f;
    --accent-color: #0071e3;
    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
    --background: #ffffff;
    --card-background: #f5f5f7;
    --border-radius: 18px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode */
[data-theme="dark"] {
    --primary-color: #ffffff;
    --secondary-color: #f5f5f7;
    --accent-color: #2997ff;
    --text-primary: #f5f5f7;
    --text-secondary: #a1a1a6;
    --background: #000000;
    --card-background: #1c1c1e;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--background);
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

[data-theme="dark"] .navbar {
    background: rgba(29, 29, 31, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 400;
    transition: var(--transition);
    position: relative;
    opacity: 0.8;
}

.nav-menu a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.nav-menu a.active {
    opacity: 1;
    color: var(--accent-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

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

/* Theme Toggle */
.theme-toggle {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-primary);
}

.theme-toggle:hover {
    background: var(--card-background);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.sun-icon {
    display: none;
}

[data-theme="dark"] .sun-icon {
    display: block;
}

[data-theme="dark"] .moon-icon {
    display: none;
}

.moon-icon {
    display: block;
}

[data-theme="light"] .sun-icon {
    display: none;
}

[data-theme="light"] .moon-icon {
    display: block;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 20px 60px;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f7 100%);
}

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

.hero-content {
    text-align: center;
    max-width: 900px;
    position: relative;
    z-index: 2;
}

/* Profile Image */
.profile-container {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

.profile-image-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .profile-image {
    border-color: #2d2d2d;
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.1);
}

/* Floating Icons */
.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    cursor: pointer;
}

[data-theme="dark"] .floating-icon {
    background: #2d2d2d;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.floating-icon svg {
    width: 32px;
    height: 32px;
    color: var(--accent-color);
}

.floating-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.icon-1 {
    top: 0;
    right: 20px;
    animation: float 3s ease-in-out infinite;
}

.icon-2 {
    top: 80px;
    right: -20px;
    animation: float 3s ease-in-out infinite 0.5s;
}

.icon-3 {
    bottom: 80px;
    right: -20px;
    animation: float 3s ease-in-out infinite 1s;
}

.icon-4 {
    bottom: 0;
    left: 20px;
    animation: float 3s ease-in-out infinite 1.5s;
}

.icon-5 {
    bottom: 80px;
    left: -20px;
    animation: float 3s ease-in-out infinite 2s;
}

.icon-6 {
    top: 80px;
    left: -20px;
    animation: float 3s ease-in-out infinite 2.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -2px;
    color: var(--primary-color);
    min-height: 1.2em;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.highlight {
    background: linear-gradient(135deg, #0071e3, #00a8ff, #0071e3);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
}

[data-theme="dark"] .highlight {
    background: linear-gradient(135deg, #2997ff, #00d4ff, #2997ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Typing Animation */
.typing-text {
    display: inline-block;
    position: relative;
    will-change: opacity, transform;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.typing-text::after {
    content: '|';
    animation: blink 0.8s infinite;
    margin-left: 2px;
    will-change: opacity;
}

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

.hero-subtitle {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border-radius: 980px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background: #0077ed;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 113, 227, 0.3);
}

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

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

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator span {
    display: block;
    width: 20px;
    height: 30px;
    border: 2px solid var(--text-secondary);
    border-radius: 15px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--text-secondary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% {
        top: 5px;
        opacity: 1;
    }
    50% {
        top: 15px;
        opacity: 0.3;
    }
}

/* Fade In Animations */
.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s backwards;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s backwards;
}

.fade-in-delay-3 {
    animation: fadeIn 1s ease-out 0.9s backwards;
}

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

/* Section Styles */
section {
    padding: 120px 20px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -1.5px;
    color: var(--primary-color);
}

/* About Section */
.about {
    background: var(--background);
    position: relative;
}

/* About Section - No floating icons */

/* Stats Counter */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 40px 20px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    background: var(--card-background);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 113, 227, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 10px;
}

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

/* Quick Links */
.quick-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.quick-link-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--card-background);
    border-radius: 50px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.quick-link-card:hover {
    background: var(--background);
    border-color: var(--accent-color);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 113, 227, 0.25);
}

[data-theme="dark"] .quick-link-card:hover {
    box-shadow: 0 12px 30px rgba(41, 151, 255, 0.3);
}

.quick-link-card:active {
    transform: translateY(-1px) scale(1.02);
}

.quick-link-card svg {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    max-width: 24px;
    max-height: 24px;
    color: var(--accent-color);
    transition: var(--transition);
    flex-shrink: 0;
}

.quick-link-card:hover svg {
    transform: scale(1.1);
}

.quick-link-card span {
    font-size: 0.95rem;
}

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

.about-text {
    margin-bottom: 60px;
}

.about-text p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.skills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.skill-item {
    background: var(--card-background);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: default;
}

.skill-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 113, 227, 0.15);
}

[data-theme="dark"] .skill-item:hover {
    box-shadow: 0 25px 50px rgba(41, 151, 255, 0.2);
}

.skill-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.skill-item p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Certifications Section */
.certifications {
    background: var(--card-background);
    padding: 80px 20px;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.cert-card {
    background: var(--background);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
}

[data-theme="dark"] .cert-card {
    border-color: rgba(255, 255, 255, 0.1);
}

.cert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 113, 227, 0.2);
    border-color: var(--accent-color);
}

[data-theme="dark"] .cert-card:hover {
    box-shadow: 0 20px 50px rgba(41, 151, 255, 0.25);
}

.cert-badge {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), #00a0dc);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
}

.microsoft-badge {
    background: #ffffff;
    border: 2px solid #e5e5e5;
}

.microsoft-badge svg {
    width: 48px;
    height: 48px;
}

[data-theme="dark"] .microsoft-badge {
    background: #2d2d2d;
    border-color: #404040;
}

.oracle-badge {
    background: #ffffff;
    border: 2px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

[data-theme="dark"] .oracle-badge {
    background: #2d2d2d;
    border-color: #404040;
}

.oracle-badge svg {
    max-width: 100%;
    height: auto;
}

.cert-card h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.cert-issuer {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.cert-id {
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.cert-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    margin-top: auto;
}

.cert-download:hover {
    background: #005bb5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

.cert-download svg {
    width: 18px;
    height: 18px;
}

/* Credly Button */
.credly-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--accent-color), #00a8ff);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(0, 113, 227, 0.2);
}

.credly-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 113, 227, 0.35);
}

.credly-button svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Projects Section */
.projects {
    background: var(--background);
    padding: 80px 20px;
}

.projects .section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 40px;
}

.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.project-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: var(--card-background);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    cursor: pointer;
}

.project-card:hover {
    transform: translateX(10px) translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 113, 227, 0.2);
    border-color: var(--accent-color);
}

[data-theme="dark"] .project-card:hover {
    box-shadow: 0 8px 30px rgba(41, 151, 255, 0.25);
}

.project-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    background: var(--accent-color);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
}

.project-image img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.project-card:nth-child(1) .project-image {
    background: linear-gradient(135deg, #0071e3 0%, #005bb5 100%);
}

.project-card:nth-child(2) .project-image {
    background: linear-gradient(135deg, #00a0dc 0%, #0077c0 100%);
}

.project-card:nth-child(3) .project-image {
    background: linear-gradient(135deg, #0089d6 0%, #006bb3 100%);
}

.project-overlay {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.project-overlay h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.project-overlay p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

.project-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-color);
    margin-top: 4px;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

.project-card:hover .project-link {
    opacity: 1;
    transform: translateX(0);
}

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

.contact-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 60px;
}

.contact-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    background: var(--card-background);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.contact-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 113, 227, 0.2);
    background: white;
}

[data-theme="dark"] .contact-card:hover {
    background: #2d2d2d;
    box-shadow: 0 25px 50px rgba(41, 151, 255, 0.25);
}

.contact-card svg {
    width: 40px;
    height: 40px;
    color: var(--accent-color);
    transition: var(--transition);
    flex-shrink: 0;
}

.contact-card:hover svg {
    transform: scale(1.1);
}

.contact-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.contact-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Visitor Stats Section */
.visitor-stats {
    background: var(--card-background);
    padding: 60px 20px;
    margin-top: 80px;
}

.stats-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.stats-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

.visitor-count {
    background: var(--background);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.count-display {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.count-label {
    font-size: 1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.count-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
}

.visitor-graph {
    background: var(--background);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    height: 300px;
}

#visitorChart {
    width: 100% !important;
    height: 100% !important;
}

/* Skills Visualization Section */
.skills-visualization {
    background: var(--background);
    padding: 80px 20px;
}

.skills-viz-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.viz-subtitle {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-align: center;
}

.radar-chart-container {
    background: var(--card-background);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

#skillsRadar {
    width: 100% !important;
    max-width: 400px;
    height: 400px !important;
}

.tech-stack-container {
    background: var(--card-background);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 10px;
}

.tech-item {
    background: var(--background);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease forwards;
}

.tech-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 113, 227, 0.2);
}

.tech-item:hover::before {
    opacity: 0.1;
}

.tech-item svg,
.tech-item img.tech-icon {
    width: 40px;
    height: 40px;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.tech-item:hover svg,
.tech-item:hover img.tech-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0, 113, 227, 0.3));
}

.tech-item span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Tech item specific colors */
.tech-item[data-tech="aws"] svg { color: #FF9900; }
.tech-item[data-tech="azure"] svg { color: #0089D6; }
.tech-item[data-tech="docker"] svg { color: #2496ED; }
.tech-item[data-tech="kubernetes"] svg { color: #326CE5; }
.tech-item[data-tech="terraform"] svg { color: #7B42BC; }
.tech-item[data-tech="jenkins"] svg { color: #D24939; }
.tech-item[data-tech="git"] svg { color: #F05032; }
.tech-item[data-tech="python"] svg { color: #3776AB; }
.tech-item[data-tech="prometheus"] svg { color: #E6522C; }
.tech-item[data-tech="ansible"] svg { color: #EE0000; }
.tech-item[data-tech="grafana"] svg { color: #F46800; }
.tech-item[data-tech="github"] svg { color: #181717; }

[data-theme="dark"] .tech-item[data-tech="github"] svg { color: #ffffff; }

/* Animation for tech items */
.tech-item:nth-child(1) { animation-delay: 0.1s; }
.tech-item:nth-child(2) { animation-delay: 0.15s; }
.tech-item:nth-child(3) { animation-delay: 0.2s; }
.tech-item:nth-child(4) { animation-delay: 0.25s; }
.tech-item:nth-child(5) { animation-delay: 0.3s; }
.tech-item:nth-child(6) { animation-delay: 0.35s; }
.tech-item:nth-child(7) { animation-delay: 0.4s; }
.tech-item:nth-child(8) { animation-delay: 0.45s; }
.tech-item:nth-child(9) { animation-delay: 0.5s; }
.tech-item:nth-child(10) { animation-delay: 0.55s; }
.tech-item:nth-child(11) { animation-delay: 0.6s; }
.tech-item:nth-child(12) { animation-delay: 0.65s; }

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

/* Footer */
.footer {
    background: var(--secondary-color);
    color: white;
    text-align: center;
    padding: 40px 20px;
}

[data-theme="dark"] .footer {
    background: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 15px;
    }

    .nav-menu {
        gap: 15px;
    }

    .nav-menu a {
        font-size: 0.85rem;
        padding: 8px 0;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .theme-toggle {
        min-width: 44px;
        min-height: 44px;
    }

    section {
        padding: 60px 15px;
    }

    .hero {
        min-height: 100vh;
        padding: 60px 15px 40px;
    }

    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: clamp(1.1rem, 4vw, 1.5rem);
        margin-bottom: 10px;
    }

    .hero-description {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .profile-image-wrapper {
        width: 200px;
        height: 200px;
    }

    .floating-icon {
        width: 36px;
        height: 36px;
    }

    .floating-icon svg {
        width: 18px;
        height: 18px;
    }

    .icon-1 {
        top: -5px;
        right: 5px;
    }

    .icon-2 {
        top: 40px;
        right: -5px;
    }

    .icon-3 {
        bottom: 40px;
        right: -5px;
    }

    .icon-4 {
        bottom: -5px;
        left: 5px;
    }

    .icon-5 {
        bottom: 40px;
        left: -5px;
    }

    .icon-6 {
        top: 40px;
        left: -5px;
    }

    .quick-links {
        gap: 10px;
        margin-bottom: 40px;
    }

    .quick-link-card {
        padding: 10px 14px;
        font-size: 0.8rem;
        min-height: 44px;
        gap: 8px;
    }

    .quick-link-card span {
        font-size: 0.8rem;
    }

    .quick-link-card svg {
        width: 18px !important;
        height: 18px !important;
        min-width: 18px !important;
        min-height: 18px !important;
        max-width: 18px !important;
        max-height: 18px !important;
        flex-shrink: 0;
    }

    .section-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 40px;
    }

    .skills {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .skill-item {
        padding: 25px 20px;
    }

    .skill-item h3 {
        font-size: 1.2rem;
    }

    .hero-cta {
        gap: 12px;
        flex-direction: column;
        width: 100%;
        padding: 0 15px;
    }

    .btn {
        width: 100%;
        padding: 14px 24px;
        font-size: 0.95rem;
        min-height: 48px;
    }

    .cert-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cert-card {
        padding: 25px 20px;
    }

    .cert-badge {
        width: 70px;
        height: 70px;
    }

    .microsoft-badge svg {
        width: 40px !important;
        height: 40px !important;
    }

    .cert-download svg {
        width: 16px !important;
        height: 16px !important;
    }

    .credly-button svg {
        width: 18px !important;
        height: 18px !important;
    }

    .credly-button {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .project-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px;
    }

    .project-image {
        width: 70px;
        height: 70px;
    }

    .project-image svg,
    .project-image img {
        width: 60px !important;
        height: 60px !important;
    }

    .cert-badge {
        width: 60px !important;
        height: 60px !important;
    }

    .microsoft-badge svg {
        width: 32px !important;
        height: 32px !important;
    }

    .cert-download svg {
        width: 14px !important;
        height: 14px !important;
    }

    .credly-button {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .credly-button svg {
        width: 16px !important;
        height: 16px !important;
    }

    .contact-card svg {
        width: 28px !important;
        height: 28px !important;
    }

    .cert-download {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .credly-button {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .project-overlay h3 {
        font-size: 1.2rem;
    }

    .project-overlay p {
        font-size: 0.9rem;
    }

    .skills-viz-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    #skillsRadar {
        height: 350px !important;
    }

    .contact-links {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-card {
        padding: 25px 20px;
    }

    .contact-card svg {
        width: 32px !important;
        height: 32px !important;
    }

    .cert-badge {
        width: 70px;
        height: 70px;
    }

    .microsoft-badge svg {
        width: 40px !important;
        height: 40px !important;
    }

    .cert-download svg {
        width: 16px !important;
        height: 16px !important;
    }

    .credly-button svg {
        width: 18px !important;
        height: 18px !important;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 12px;
    }

    .nav-logo {
        font-size: 1.1rem;
    }

    .nav-menu {
        gap: 10px;
    }

    .nav-menu a {
        font-size: 0.8rem;
    }

    section {
        padding: 50px 12px;
    }

    .hero {
        padding: 55px 12px 30px;
    }

    .skills-visualization {
        padding: 50px 12px;
    }

    .tech-stack-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .tech-item {
        padding: 15px;
    }

    .tech-item svg,
    .tech-item img.tech-icon {
        width: 32px;
        height: 32px;
    }

    .tech-item span {
        font-size: 0.8rem;
    }

    .project-image {
        width: 60px;
        height: 60px;
    }

    .project-image svg,
    .project-image img {
        width: 50px !important;
        height: 50px !important;
    }

    #skillsRadar {
        height: 300px !important;
    }

    .radar-chart-container,
    .tech-stack-container {
        padding: 25px 20px;
    }

    .hero-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }

    .hero-subtitle {
        font-size: clamp(1rem, 3.5vw, 1.3rem);
    }

    .hero-description {
        font-size: clamp(0.85rem, 2.5vw, 1rem);
    }

    .profile-image-wrapper {
        width: 180px;
        height: 180px;
    }

    .floating-icon {
        width: 32px;
        height: 32px;
    }

    .floating-icon svg {
        width: 16px;
        height: 16px;
    }

    .icon-1 {
        top: -3px;
        right: 3px;
    }

    .icon-2 {
        top: 50px;
        right: -5px;
    }

    .icon-3 {
        bottom: 50px;
        right: -5px;
    }

    .icon-4 {
        bottom: -5px;
        left: 5px;
    }

    .icon-5 {
        bottom: 50px;
        left: -5px;
    }

    .icon-6 {
        top: 50px;
        left: -5px;
    }

    .visitor-stats {
        padding: 40px 15px;
        margin-top: 40px;
    }

    .stats-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .stats-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .visitor-count {
        padding: 30px;
    }

    .count-number {
        font-size: 2.5rem;
    }

    .visitor-graph {
        height: 250px;
        padding: 20px;
    }

    .quick-links {
        gap: 12px;
    }

    .quick-link-card {
        padding: 8px 14px;
        font-size: 0.85rem;
        gap: 6px;
    }

    .quick-link-card svg {
        width: 16px !important;
        height: 16px !important;
        min-width: 16px !important;
        min-height: 16px !important;
        max-width: 16px !important;
        max-height: 16px !important;
    }
}

/* Tablet responsive - adjust floating icons */
@media (max-width: 900px) and (min-width: 769px) {
    .floating-icon {
        width: 50px;
        height: 50px;
    }

    .floating-icon svg {
        width: 28px;
        height: 28px;
    }

    .icon-1 {
        top: -10px;
        right: 10px;
    }

    .icon-2 {
        top: 60px;
        right: -10px;
    }

    .icon-3 {
        bottom: 60px;
        right: -10px;
    }

    .icon-4 {
        bottom: -10px;
        left: 10px;
    }

    .icon-5 {
        bottom: 60px;
        left: -10px;
    }

    .icon-6 {
        top: 60px;
        left: -10px;
    }

}
