/* ========================================
   ANISHA SALUNKHE PORTFOLIO - MAIN STYLES
   Modern, Professional Portfolio Website
   ======================================== */

/* Import animations */
@import 'animations.css';

/* ========================================
   RESET & BASE STYLES
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom cursor for desktop */
@media (hover: hover) and (pointer: fine) {
    * {
        cursor: none;
    }

    .custom-cursor {
        width: 20px;
        height: 20px;
        border: 2px solid #10b981;
        border-radius: 50%;
        position: fixed;
        pointer-events: none;
        z-index: 9999;
        transition: none;
        transform: translate(-50%, -50%);
    }

    .custom-cursor-dot {
        width: 6px;
        height: 6px;
        background: #10b981;
        border-radius: 50%;
        position: fixed;
        pointer-events: none;
        z-index: 10000;
        transition: none;
        transform: translate(-50%, -50%);
    }

    a:hover,
    .btn:hover {
        cursor: none;
    }
}

/* ========================================
   CSS VARIABLES
   ======================================== */

:root {
    --primary: #10b981;
    --secondary: #34d399;
    --accent: #6ee7b7;
    --dark: #0a0a0a;
    --light: #1a1a1a;
    --text-light: #f3f4f6;
    --text-gray: #d1d5db;
    --gradient: linear-gradient(135deg, #059669 0%, #10b981 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
    --primary-alpha-1: rgba(16, 185, 129, 0.1);
    --primary-alpha-2: rgba(16, 185, 129, 0.2);
    --primary-alpha-3: rgba(16, 185, 129, 0.3);
    --primary-alpha-4: rgba(16, 185, 129, 0.4);
    --primary-alpha-5: rgba(16, 185, 129, 0.5);
    --primary-alpha-6: rgba(16, 185, 129, 0.6);
    --border-radius: 15px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.8;
    color: var(--text-light);
    overflow-x: hidden;
    background: var(--dark);
    font-size: 22px;
    width: 100%;
    max-width: 100vw;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    box-sizing: border-box;
}

nav {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 30px rgba(0,0,0,0.6), 
                0 1px 0 rgba(16, 185, 129, 0.2),
                inset 0 1px 0 rgba(16, 185, 129, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    overflow: visible;
}

nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, 
        transparent 0%, 
        rgba(16, 185, 129, 0.3) 20%,
        rgba(16, 185, 129, 0.8) 50%,
        rgba(16, 185, 129, 0.3) 80%,
        transparent 100%) 1;
    animation: borderGlow 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes borderGlow {
    0%, 100% {
        border-image: linear-gradient(90deg, 
            transparent 0%, 
            rgba(16, 185, 129, 0.3) 20%,
            rgba(16, 185, 129, 0.8) 50%,
            rgba(16, 185, 129, 0.3) 80%,
            transparent 100%) 1;
    }
    50% {
        border-image: linear-gradient(90deg, 
            transparent 0%, 
            rgba(16, 185, 129, 0.5) 20%,
            rgba(52, 211, 153, 1) 50%,
            rgba(16, 185, 129, 0.5) 80%,
            transparent 100%) 1;
    }
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 40px;
    position: relative;
    z-index: 1;
    flex-wrap: nowrap;
    min-height: 60px;
    overflow: visible;
}

nav h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f9fafb;
    font-family: 'JetBrains Mono', monospace;
    position: relative;
    display: flex;
    align-items: center;
    line-height: 1;
    margin: 0;
}

.logo {
    position: relative;
    perspective: 1000px;
    height: 50px;
    display: flex;
    align-items: center;
}

.logo a {
    text-decoration: none;
    font-size: 2rem;
    font-weight: 900;
    position: relative;
    display: block;
    width: 80px;
    height: 45px;
    border-radius: 10px;
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
}

.logo-front,
.logo-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
}

.logo-front {
    background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #6ee7b7 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer-text 3s linear infinite;
    font-size: 2rem;
    font-weight: 900;
    z-index: 2;
}

.logo-back {
    transform: rotateY(180deg);
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.5);
    color: white;
    z-index: 1;
}

.logo:hover a {
    transform: rotateY(180deg);
}

.logo a::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(45deg, #10b981, #34d399, #6ee7b7, #10b981);
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: gradientShift 4s linear infinite;
    opacity: 0;
    transition: opacity 0.4s;
}

.logo:hover a::before {
    opacity: 1;
}

.logo-bracket {
    color: #10b981;
    font-weight: 400;
}

@keyframes logoFlip {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

nav ul {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    flex-wrap: nowrap;
    align-items: center;
    margin: 0;
    padding: 0;
    height: 100%;
}

nav a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: var(--transition);
    font-size: 1.3rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    line-height: 1.5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #10b981, transparent);
    transform: translateX(-50%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav a::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

nav a:hover {
    color: var(--primary);
    background: var(--primary-alpha-1);
    transform: translateY(-2px);
}

nav a:hover::before {
    width: 80%;
}

nav a:hover::after {
    opacity: 1;
}

#hero {
    background: var(--dark);
    color: #f9fafb;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
    border-bottom: 1px solid var(--primary-alpha-3);
}

#hero .particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#hero .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #10b981;
    border-radius: 50%;
    animation: float-particle 20s infinite;
    opacity: 0.6;
}

@keyframes float-particle {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateY(-100vh) translateX(50px); opacity: 0; }
}

#hero::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.04) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
    pointer-events: none;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    animation: float 20s linear infinite;
}

@keyframes float {
    from { transform: translateY(0); }
    to { transform: translateY(-100px); }
}

.hero-content {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

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

.hero-greeting {
    font-size: 1.5rem;
    font-weight: 500;
    color: #10b981;
    display: block;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'JetBrains Mono', monospace;
    animation: fadeInUp 0.6s ease;
}

.hero-name {
    font-size: 5.5rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    line-height: 1;
    font-family: 'JetBrains Mono', monospace;
    background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #6ee7b7 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer-text 3s linear infinite;
    letter-spacing: -0.02em;
    filter: drop-shadow(0 0 30px rgba(16, 185, 129, 0.5));
}

@keyframes shimmer-text {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.typing-effect {
    display: inline-block;
    border-right: 3px solid #10b981;
    animation: typing 2s steps(16) 1s 1 normal both, blink 0.75s step-end infinite;
    white-space: nowrap;
    overflow: hidden;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

@keyframes glow {
    0%, 100% { 
        background-position: 0% 50%;
        filter: drop-shadow(0 0 30px rgba(16, 185, 129, 0.3));
    }
    50% { 
        background-position: 100% 50%;
        filter: drop-shadow(0 0 50px rgba(16, 185, 129, 0.5));
    }
}



.hero-title {
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    font-family: 'Space Grotesk', sans-serif;
    animation: fadeInUp 1s ease;
    color: #f3f4f6;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    animation: fadeInUp 1.2s ease;
    font-weight: 400;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    color: #e5e7eb;
    text-align: center;
}

.subtitle-tech {
    color: #10b981;
    font-weight: 600;
    white-space: nowrap;
    display: inline-block;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    animation: fadeInUp 1.4s ease;
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(20px);
    padding: 1.2rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(16, 185, 129, 0.1);
    transition: all 0.3s ease;
    position: relative;
    max-width: 100%;
    width: calc(100% - 80px);
    margin: 0 auto;
    box-sizing: border-box;
}

.hero-stats::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 25px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.5), rgba(16, 185, 129, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}

.hero-stats:hover::before {
    opacity: 1;
}

.hero-stats:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.3);
}

.stat-item {
    text-align: center;
    padding: 0.3rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #10b981, transparent);
    transition: width 0.3s ease;
}

.stat-item:hover::after {
    width: 80%;
}

.stat-item:hover {
    background: var(--primary-alpha-1);
    transform: scale(1.05);
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 0.2rem;
    line-height: 1;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #d1d5db;
    letter-spacing: 0.2px;
    line-height: 1.05;
    word-break: keep-all;
    white-space: normal;
    margin-top: 0;
    padding-top: 0;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    animation: fadeInUp 1.6s ease;
    justify-content: center;
    margin-bottom: 2rem;
}

.hero-featured {
    margin-top: 2.5rem;
    text-align: center;
    animation: fadeInUp 1.8s ease;
}

.hero-featured .featured-label {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-gray);
    opacity: 0.7;
    margin-bottom: 1rem;
}

.hero-featured .featured-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 2rem;
}

.hero-featured .featured-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0.4rem 0.9rem;
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.05);
    transition: var(--transition);
}

.hero-featured .featured-item:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(16, 185, 129, 0.12);
    transform: translateY(-2px);
}

.hero-featured .featured-item i {
    color: var(--primary);
    font-size: 1rem;
}

.adplist-reviews {
    display: flex;
    justify-content: center;
}

.adplist-card {
    width: 100%;
    max-width: 680px;
    padding: 16px;
    border-radius: 16px;
    background: var(--light);
    border: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: var(--shadow-md), 0 0 24px rgba(16, 185, 129, 0.08);
    overflow: hidden;
    transition: var(--transition);
}

.adplist-card:hover {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: var(--shadow-lg), 0 0 32px rgba(16, 185, 129, 0.15);
}

.adplist-card iframe {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 8px;
    filter: invert(0.92) hue-rotate(180deg);
    background: #fff;
}

@media (max-width: 768px) {
    .hero-featured .featured-logos {
        gap: 0.5rem;
    }
    .hero-featured .featured-item {
        font-size: 0.8rem;
        padding: 0.35rem 0.75rem;
    }
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.btn i {
    position: relative;
    z-index: 2;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 20px var(--primary-alpha-3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px var(--primary-alpha-5);
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
}

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

.btn-secondary:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 12px 40px var(--primary-alpha-4);
}

section {
    padding: 2.5rem 0 3rem 0;
    position: relative;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--dark);
    z-index: 0;
    border-top: 1px solid var(--primary-alpha-2);
}

section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.03) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

section > * {
    position: relative;
    z-index: 1;
}

section:nth-child(even)::before {
    background: var(--light);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, #059669 0%, #10b981 50%, #34d399 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: 0.8rem;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.5px;
    animation: shimmer-text 4s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #10b981, #34d399, #10b981, transparent);
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.5), 0 0 20px rgba(16, 185, 129, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

h2 i {
    color: #10b981;
    font-size: 2.2rem;
    filter: drop-shadow(0 2px 8px rgba(16, 185, 129, 0.4));
    animation: iconPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

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

.about-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.about-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: var(--primary-alpha-1);
    color: var(--primary);
    border: 1px solid var(--primary-alpha-3);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

.about-slider {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 0 20px;
}

.slider-container {
    position: relative;
    height: auto;
    min-height: 320px;
}

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

.about-card {
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--primary-alpha-2);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100px);
    pointer-events: none;
}

.about-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    position: relative;
}

.about-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(45deg, #10b981, #34d399, #6ee7b7, #10b981);
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: gradientShift 4s linear infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

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



.about-card.active:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px var(--primary-alpha-3);
    border-color: var(--primary-alpha-5);
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-top: 1rem;
    margin-bottom: 0;
}

.slider-btn {
    background: var(--gradient);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px var(--primary-alpha-3);
}

.slider-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px var(--primary-alpha-5);
}

.slider-dots {
    display: flex;
    gap: 1rem;
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--primary-alpha-3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 15px var(--primary-alpha-6);
}

.dot:hover {
    background: var(--primary);
    transform: scale(1.2);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    font-size: 1.6rem;
    color: white;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.5), 0 0 40px rgba(16, 185, 129, 0.2);
    animation: iconFloat 3s ease-in-out infinite;
    position: relative;
}

.card-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 15px;
    background: linear-gradient(45deg, #059669, #10b981, #34d399, #059669);
    background-size: 300% 300%;
    animation: gradientShift 3s linear infinite;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.about-card.active:hover .card-icon::before {
    opacity: 1;
}

.about-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
    color: #f9fafb;
    line-height: 1.4;
    font-weight: 600;
    text-align: center;
}

.about-card p {
    color: #d1d5db;
    line-height: 1.7;
    font-size: 1.05rem;
    text-align: justify;
    text-justify: inter-word;
}

.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.project-card {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--primary-alpha-2);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.project-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(180deg, #059669, #10b981, #34d399);
    transform: scaleY(0);
    transition: transform 0.5s ease;
}

.project-card:hover::before {
    transform: scaleY(1);
}

.project-card::after {
    content: '+';
    position: absolute;
    right: 2rem;
    top: 2rem;
    font-size: 2.5rem;
    color: #10b981;
    font-weight: bold;
    transition: all 0.3s ease;
    line-height: 1;
}

.project-card.expanded::after {
    content: '−';
}

.project-card .glow-effect {
    display: none;
}

.project-card:hover {
    transform: translateX(15px) scale(1.02);
    box-shadow: 0 20px 60px var(--primary-alpha-4);
    border-color: var(--primary-alpha-5);
    background: rgba(26, 26, 26, 0.95);
}

.project-card h3 {
    font-size: 1.4rem;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.6rem;
    font-weight: 700;
    transition: all 0.3s ease;
    padding-right: 4rem;
    line-height: 1.4;
}

.project-card h3::before {
    display: none;
}

.project-card:hover h3 {
    background-position: right center;
    transform: translateX(5px);
}



.project-summary {
    color: #d1d5db;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 0.8rem;
    padding-left: 2rem;
    position: relative;
    text-align: left;
}

.project-summary::before {
    content: '▸';
    position: absolute;
    left: 0.5rem;
    color: #34d399;
    font-weight: bold;
    font-size: 1.2rem;
}

.project-summary.hide {
    display: none;
}

.project-details {
    color: #d1d5db;
    font-size: 1.1rem;
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s ease;
    padding-left: 2rem;
    position: relative;
    text-align: justify;
    text-justify: inter-word;
}

.project-details::before {
    content: '▸';
    position: absolute;
    left: 0.5rem;
    color: #34d399;
    font-weight: bold;
    font-size: 1.2rem;
}

.project-details.show {
    max-height: 500px;
    opacity: 1;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.tags {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(16, 185, 129, 0.2);
}

.tags span {
    background: var(--primary-alpha-1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    transition: var(--transition);
    border: 1px solid var(--primary-alpha-3);
    box-shadow: 0 2px 5px var(--primary-alpha-1);
    position: relative;
    overflow: hidden;
}

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

.tags span:hover::before {
    left: 100%;
}

.tags span:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px var(--primary-alpha-4);
    background: var(--gradient);
    color: white;
    border-color: var(--primary-alpha-4);
}

.project-link {
    color: #10b981;
    text-decoration: none;
    font-weight: 600;
}

.skills-categories {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 1.5rem;
}

.skill-category {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--primary-alpha-2);
}

.skill-category h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #10b981;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding-bottom: 0;
    justify-content: center;
}

.skill-item {
    background: var(--primary-alpha-1);
    padding: 1rem 0.8rem;
    border-radius: 10px;
    border: 1px solid var(--primary-alpha-3);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 120px;
    min-height: 110px;
}

.skill-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(52, 211, 153, 0.3));
    opacity: 0;
    transition: opacity 0.3s;
}

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

.skill-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 40px var(--primary-alpha-5);
    border-color: var(--primary-alpha-6);
}

.skill-item i,
.skill-item span {
    position: relative;
    z-index: 1;
}

.skill-item:hover i {
    transform: scale(1.2) rotateY(360deg);
    transition: transform 0.6s ease;
}

.skill-item i {
    font-size: 2.2rem;
}

.skill-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
    object-position: center;
    transition: all 0.6s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.skill-item:hover .skill-logo {
    transform: scale(1.2) rotateY(360deg);
    filter: drop-shadow(0 8px 16px rgba(16, 185, 129, 0.6));
}

.skill-item span {
    font-size: 0.85rem;
    font-weight: 600;
    color: #f9fafb;
    word-break: break-word;
    hyphens: auto;
    line-height: 1.3;
}



#resume {
    text-align: center;
}

#resume p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #d1d5db;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    text-align: center;
}

.resume-download {
    margin-top: 1.5rem;
}

.btn-download {
    font-size: 1.1rem;
    padding: 1.2rem 2.5rem;
    background: var(--gradient) !important;
    color: white !important;
    box-shadow: 0 4px 15px var(--primary-alpha-3);
}

.btn-download:hover {
    box-shadow: 0 6px 20px var(--primary-alpha-4);
    transform: translateY(-5px);
}

#contact {
    text-align: center;
}

#contact p {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: #d1d5db;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    text-align: center;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: nowrap;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
}

.contact-links a {
    padding: 0.7rem 1.5rem;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px var(--primary-alpha-3);
    font-size: 1rem;
    white-space: nowrap;
}

.contact-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--primary-alpha-4);
}

footer {
    background: var(--dark);
    color: var(--text-gray);
    text-align: center;
    padding: 1.2rem 0;
    border-top: 1px solid var(--primary-alpha-3);
    margin-top: 1rem;
}

footer p {
    margin: 0.8rem 0;
    font-size: 1.2rem;
}

.experience-timeline {
    margin-top: 1.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.experience-item {
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 1rem 3rem 1rem;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--primary-alpha-2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.experience-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    justify-content: flex-start;
    position: relative;
    margin-bottom: 1rem;
}

.company-logo {
    width: 65px;
    height: 65px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 8px;
    background: transparent;
    padding: 0;
    transition: all 0.6s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* White background for AWS, Mastercard and Bitwise logos */
.aws-experience-logo,
.company-logo[alt="Mastercard"],
.company-logo[alt="Bitwise Solutions"] {
    background: white;
    padding: 0.5rem;
    border-radius: 10px;
}

/* AWS logo styling - keep same appearance as certification logos */
.aws-experience-logo {
    filter: drop-shadow(0 4px 8px rgba(16, 185, 129, 0.4));
}

.experience-item:hover .company-logo {
    transform: rotateY(360deg) scale(1.1);
    filter: drop-shadow(0 8px 16px rgba(16, 185, 129, 0.6));
}

.experience-item:hover .aws-experience-logo {
    filter: drop-shadow(0 10px 20px rgba(16, 185, 129, 0.7));
}

.experience-title-group {
    flex: 1;
    padding-right: 0;
}

.title-line {
    display: flex;
    align-items: baseline;
    flex-wrap: nowrap;
    gap: 0.6rem;
    margin-bottom: 0;
    line-height: 1.2;
}

.experience-item.collapsed {
    padding: 2rem 5rem 2rem 2rem;
}

.experience-item.collapsed .experience-header {
    align-items: center;
}

.experience-item.collapsed .company-logo {
    width: 65px;
    height: 65px;
    padding: 0;
}

.experience-item.collapsed .aws-experience-logo,
.experience-item.collapsed .company-logo[alt="Mastercard"],
.experience-item.collapsed .company-logo[alt="Bitwise Solutions"] {
    padding: 0.5rem;
}

.experience-item.collapsed .experience-highlights,
.experience-item.collapsed .experience-details,
.experience-item.collapsed .expand-btn {
    display: none;
}

.experience-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(180deg, #059669, #10b981, #34d399);
    transform: scaleY(0);
    transition: transform 0.5s ease;
}

.experience-item:hover::before {
    transform: scaleY(1);
}

.experience-item.collapsed::after {
    content: '+';
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: #10b981;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.experience-item:not(.collapsed)::after {
    content: '−';
    position: absolute;
    right: 2rem;
    bottom: 1.5rem;
    font-size: 2.5rem;
    color: #10b981;
    font-weight: bold;
    z-index: 10;
}

.experience-item:hover {
    transform: translateX(15px) scale(1.02);
    box-shadow: 0 20px 60px var(--primary-alpha-4);
    border-color: var(--primary-alpha-5);
    background: rgba(26, 26, 26, 0.95);
}

.experience-item h3 {
    font-size: 1.2rem;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0;
    font-weight: 700;
    display: inline;
    transition: all 0.3s ease;
    line-height: 1.2;
}

.company-inline {
    font-size: 0.9rem;
    font-weight: 600;
    color: #f9fafb;
    display: inline;
    position: relative;
    padding-left: 0.6rem;
    white-space: nowrap;
}

.company-inline::before {
    content: '|';
    position: absolute;
    left: 0;
    color: #10b981;
    font-style: normal;
}

.experience-location {
    font-size: 0.8rem;
    font-weight: 400;
    color: #d1d5db;
    display: block;
    font-style: italic;
    margin-top: 0.2rem;
    margin-bottom: 0.3rem;
}

.experience-item.collapsed h3 {
    margin-bottom: 0;
}

.experience-item:hover h3 {
    background-position: right center;
    transform: translateX(5px);
}

.experience-item h3::before {
    display: none;
}

.experience-item h3:hover::before {
    display: none;
}

.experience-item .company {
    font-weight: 600;
    color: #f9fafb;
    margin-bottom: 0.5rem;
    display: inline-block;
    font-size: 1rem;
    line-height: 1.4;
    position: relative;
}

.experience-summary {
    font-weight: 400;
    color: #d1d5db;
    font-size: 0.85rem;
    line-height: 1.3;
    margin-bottom: 0;
    margin-top: 0.6rem;
    font-style: italic;
    padding-bottom: 0;
}

.experience-item .duration {
    color: var(--text-gray);
    font-style: italic;
    font-size: 0.75rem;
    margin: 0.5rem 0;
    position: relative;
    right: auto;
    bottom: auto;
    background: var(--primary-alpha-1);
    padding: 0.3rem 0.8rem;
    display: inline-block;
    border-radius: 5px;
    z-index: 1;
}

.experience-item.collapsed .duration {
    display: inline-block;
    position: relative;
    right: auto;
    bottom: auto;
    background: var(--primary-alpha-1);
    padding: 0.3rem 0.8rem;
    margin: 0.5rem 0;
    font-size: 0.75rem;
}

.experience-item.collapsed .duration::before {
    display: none;
}

.experience-item:hover .duration {
    background: rgba(16, 185, 129, 0.3);
    transform: scale(1.05);
}

.experience-item .duration::before {
    display: none;
}

.experience-item ul {
    list-style: none;
    margin-left: 0;
    color: #d1d5db;
}

.experience-highlights {
    list-style: none;
    margin-left: 0;
    color: #d1d5db;
    margin-top: 0;
    margin-bottom: 2rem;
}

.experience-highlights li {
    margin-bottom: 0.3rem;
    line-height: 1.4;
    padding-left: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-align: left;
}

.experience-highlights li::before {
    content: '▸';
    position: absolute;
    left: 0.5rem;
    color: #34d399;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.experience-details {
    list-style: none;
    margin-left: 0;
    color: #d1d5db;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s ease;
}

.experience-details.show {
    max-height: 2000px;
    opacity: 1;
    margin-top: 1.5rem;
}

.experience-details li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
    padding-left: 2rem;
    position: relative;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-align: justify;
    text-justify: inter-word;
}

.experience-details li::before {
    content: '▸';
    position: absolute;
    left: 0.5rem;
    color: #34d399;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.expand-btn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 1rem;
    box-shadow: 0 4px 15px var(--primary-alpha-3);
    position: relative;
    overflow: hidden;
    pointer-events: auto !important;
    z-index: 100;
}

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

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

.expand-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px var(--primary-alpha-6);
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
}

.expand-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.experience-item li {
    margin-bottom: 1.2rem;
    line-height: 1.8;
    padding-left: 2rem;
    position: relative;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.experience-item li::before {
    content: '▸';
    position: absolute;
    left: 0.5rem;
    color: #34d399;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.experience-highlights li:hover,
.experience-details li:hover {
    transform: translateX(8px);
    color: #f9fafb;
}

.experience-highlights li:hover::before,
.experience-details li:hover::before {
    color: #10b981;
    transform: scale(1.4) translateX(-2px);
    animation: pulse-arrow 0.6s ease-in-out infinite;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.education-item {
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--primary-alpha-2);
    transition: var(--transition);
}

.education-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--primary-alpha-3);
}

.education-item h3 {
    font-size: 1.6rem;
    color: #10b981;
    margin-bottom: 0.6rem;
    line-height: 1.4;
    font-weight: 600;
}

.education-item .school {
    font-weight: 600;
    color: #f9fafb;
    margin-bottom: 0.4rem;
    font-size: 1.1rem;
    line-height: 1.5;
}

.education-item .location,
.education-item .duration {
    color: #d1d5db;
    margin-bottom: 0.4rem;
    font-size: 1rem;
    line-height: 1.5;
}

.education-item .coursework {
    color: #d1d5db;
    margin-top: 1rem;
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: left;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.cert-item {
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    padding: 1.5rem 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--primary-alpha-2);
    text-align: center;
    transition: var(--transition);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: inherit;
    position: relative;
    overflow: hidden;
    min-height: 120px;
}

.cert-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.4) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
    border-radius: 50%;
}

.cert-item:hover::after {
    width: 300px;
    height: 300px;
}

.cert-item:hover {
    transform: translateY(-10px) scale(1.08);
    box-shadow: 0 20px 50px var(--primary-alpha-5);
    border-color: var(--primary-alpha-6);
    cursor: pointer;
}

.cert-item h3,
.cert-item p,
.cert-icon {
    position: relative;
    z-index: 1;
}

.cert-item:hover .cert-icon {
    transform: rotateY(360deg) scale(1.2);
    transition: transform 0.6s ease;
}

.cert-item h3 {
    font-size: 1.1rem;
    color: #10b981;
    margin-bottom: 0.4rem;
    line-height: 1.3;
    font-weight: 600;
}

.cert-item p {
    color: #d1d5db;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.3;
    margin-top: 0.3rem;
}

.cert-icon {
    font-size: 2rem;
    color: #FF9900;
    margin-bottom: 0.6rem;
    transition: all 0.6s ease;
}

.cert-item:hover .cert-icon {
    transform: rotateY(360deg) scale(1.2);
}

.credly-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0 3rem;
    flex-wrap: wrap;
}

.credly-badges > div {
    transition: all 0.4s ease;
    filter: drop-shadow(0 8px 25px rgba(16, 185, 129, 0.3));
}

.credly-badges > div:hover {
    transform: translateY(-12px) scale(1.08);
    filter: drop-shadow(0 20px 50px rgba(16, 185, 129, 0.6)) drop-shadow(0 0 60px rgba(16, 185, 129, 0.4));
}

.publications-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.publication-card {
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--primary-alpha-2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

.publication-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(45deg, #10b981, #34d399, #6ee7b7, #10b981);
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: gradientShift 4s linear infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

.publication-card:hover::before {
    opacity: 1;
}

.publication-card:hover {
    transform: translateY(-12px) translateX(8px) scale(1.02);
    box-shadow: 0 25px 70px var(--primary-alpha-4);
    border-color: var(--primary-alpha-6);
}

.publication-card.featured {
    border-left: 4px solid #10b981;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(16, 185, 129, 0.05) 100%);
}

.pub-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.5);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.publication-card:hover .pub-icon {
    transform: rotateY(360deg) scale(1.15);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.7);
}

.pub-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.pub-type {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 0.8rem;
    padding: 0.4rem 1rem;
    background: var(--primary-alpha-1);
    border-radius: 20px;
    border: 1px solid var(--primary-alpha-3);
}

.pub-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #f9fafb;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.publication-card:hover .pub-content h3 {
    color: #10b981;
}

.pub-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #d1d5db;
    margin-bottom: 1rem;
    text-align: justify;
    text-justify: inter-word;
}

.pub-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #10b981;
    transition: all 0.3s ease;
}

.pub-link i {
    transition: transform 0.3s ease;
}

.publication-card:hover .pub-link {
    color: #34d399;
}

.publication-card:hover .pub-link i {
    transform: translateX(5px);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.achievement-item {
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary);
    border: 1px solid var(--primary-alpha-2);
    transition: var(--transition);
    cursor: pointer;
    margin-bottom: 0;
    position: relative;
}

.achievement-item.collapsed {
    padding: 1.2rem 4rem 1.2rem 1.5rem;
}

.achievement-item.collapsed p {
    display: none;
}

.achievement-item.collapsed::after {
    content: '+';
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: #10b981;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.achievement-item:not(.collapsed)::after {
    content: '−';
    position: absolute;
    right: 2rem;
    top: 2rem;
    font-size: 2.5rem;
    color: #10b981;
    font-weight: bold;
}

.achievement-item.featured {
    grid-column: 1 / -1;
    border-left: 4px solid #FF9900;
    background: linear-gradient(135deg, #fff 0%, #f0f9ff 100%);
}

.achievement-item:hover {
    transform: translateY(-5px) translateX(5px);
    box-shadow: 0 15px 40px var(--primary-alpha-3);
    border-left-width: 6px;
}

.achievement-item h3 {
    font-size: 1.1rem;
    color: #f9fafb;
    margin-bottom: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 4rem;
    line-height: 1.3;
    font-weight: 600;
}

.achievement-item.collapsed h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.achievement-item h3::after {
    display: none !important;
}

.achievement-item p {
    color: #d1d5db;
    font-size: 0.95rem;
    transition: all 0.4s ease;
    line-height: 1.6;
    text-align: left;
}

.achievement-item.collapsed p {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
}

.achievement-year {
    font-weight: 600;
    color: #10b981;
    margin-bottom: 0.8rem;
}

.achievement-details {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
}

.achievement-details li {
    padding: 0.5rem 0;
    color: #d1d5db;
    line-height: 1.6;
}

.achievement-details strong {
    color: #f9fafb;
}

.credential-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.achievement-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s;
}

.achievement-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.achievement-link i {
    margin-right: 0.4rem;
}

footer p {
    margin: 0.5rem 0;
}

@media (max-width: 1024px) {
    .hero-name {
        font-size: 3rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    * {
        box-sizing: border-box;
    }
    
    body {
        font-size: 14px;
        width: 100vw;
        overflow-x: hidden;
    }

    .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    /* Compact navigation */
    nav {
        width: 100%;
        overflow-x: hidden;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(15px);
    }
    
    nav .container {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.6rem 15px;
        width: 100%;
    }
    
    .logo a {
        font-size: 1.3rem;
        padding: 0.2rem 0.5rem;
    }
    
    nav ul {
        gap: 0.3rem;
        font-size: 0.55rem;
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
        max-width: 100%;
    }
    
    nav ul li {
        position: relative;
    }
    
    nav ul li:not(:last-child)::after {
        content: '•';
        position: absolute;
        right: -0.35rem;
        color: #10b981;
        font-size: 1rem;
        line-height: 1;
    }
    
    nav a {
        padding: 0.2rem 0.4rem;
        border-radius: 4px;
        transition: all 0.3s ease;
    }
    
    nav a:hover {
        background: rgba(16, 185, 129, 0.1);
        transform: none;
    }
    
    /* Reduce section padding for mobile */
    section {
        padding: 2rem 0;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    /* Compact hero section */
    #hero {
        min-height: auto;
        padding: 2rem 0;
        width: 100%;
        overflow-x: hidden;
        background: linear-gradient(135deg, #0a0a0a 0%, #0f1419 100%);
    }
    
    .hero-content {
        padding: 0 15px;
        gap: 1rem;
        width: 100%;
        max-width: calc(100vw - 30px);
    }
    
    .hero-intro {
        width: 100%;
    }
    
    .hero-greeting {
        font-size: 0.7rem;
        margin-bottom: 0.3rem;
        letter-spacing: 1px;
    }
    
    .hero-name {
        font-size: 1.6rem;
        margin-bottom: 0.3rem;
        word-break: break-word;
    }
    
    .hero-divider {
        display: none;
    }
    
    .hero-details {
        width: 100%;
    }
    
    .hero-title {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 0.7rem;
        margin-bottom: 0.8rem;
        line-height: 1.5;
        margin-top: 0.5rem;
    }
    
    .subtitle-highlight {
        margin-bottom: 0.4rem;
        display: block;
        margin-top: 1.2rem;
    }
    
    .subtitle-tech {
        white-space: normal;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        padding: 0.8rem 0.5rem;
        width: 100%;
        max-width: calc(100vw - 30px);
        margin: 0;
        border-radius: 15px;
        background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(16, 185, 129, 0.05) 100%);
    }
    
    .stat-item {
        padding: 0.4rem 0.1rem;
        min-width: 0;
    }
    
    .stat-number {
        font-size: 1.1rem;
        margin-bottom: 0.2rem;
    }
    
    .stat-label {
        font-size: 0.5rem;
        line-height: 1.1;
        word-break: break-word;
        hyphens: auto;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.6rem;
        width: 100%;
        max-width: calc(100vw - 30px);
    }
    
    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.75rem;
        width: 100%;
        justify-content: center;
    }
    
    /* Compact headings */
    h2 {
        font-size: 1.4rem;
        margin-bottom: 1.2rem;
        padding-bottom: 0.8rem;
        word-break: break-word;
        position: relative;
    }
    
    h2::before {
        content: '';
        position: absolute;
        top: -0.5rem;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 2px;
        background: linear-gradient(90deg, transparent, #10b981, transparent);
    }
    
    h2 i {
        font-size: 1.2rem;
    }
    
    /* Compact about section */
    .about-content {
        width: 100%;
        max-width: 100%;
    }
    
    .about-header {
        margin-bottom: 1.5rem;
    }
    
    .about-badges {
        gap: 0.5rem;
    }
    
    .badge {
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
    }
    
    .about-slider {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    .about-card {
        padding: 1rem;
        width: 100%;
        max-width: 100%;
        background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(16, 185, 129, 0.03) 100%);
        text-align: center;
    }
    
    .about-card h3 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .about-card p {
        font-size: 0.85rem;
        line-height: 1.5;
        text-align: center;
    }
    
    .card-icon {
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .slider-container {
        height: auto;
        min-height: 180px;
    }
    
    .slider-controls {
        margin-top: 0.5rem;
        gap: 1.5rem;
    }
    
    .slider-btn {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    /* Compact resume section */
    #resume p {
        font-size: 0.8rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }
    
    .resume-download {
        margin-top: 1rem;
    }
    
    .btn-download {
        width: 100%;
        max-width: calc(100vw - 30px);
        font-size: 0.8rem !important;
        padding: 0.8rem 1rem !important;
    }
    
    /* Experience section - mobile friendly with expand/collapse */
    .experience-timeline {
        width: 100%;
    }
    
    .experience-item {
        padding: 1rem;
        margin-bottom: 1rem;
        width: 100%;
        background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(16, 185, 129, 0.03) 100%);
        border-left: 3px solid #10b981;
    }

    .experience-item::after {
        font-size: 2rem !important;
        right: 1rem !important;
        top: 1rem !important;
    }

    .experience-item.collapsed {
        padding: 1rem 3rem 1rem 1rem;
    }
    
    .experience-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .company-logo {
        width: 50px;
        height: 50px;
    }

    .aws-experience-logo,
    .company-logo[alt="Mastercard"],
    .company-logo[alt="Bitwise Solutions"] {
        padding: 0.3rem;
    }

    .experience-item.collapsed .company-logo {
        width: 50px;
        height: 50px;
    }

    .experience-item.collapsed .aws-experience-logo,
    .experience-item.collapsed .company-logo[alt="Mastercard"],
    .experience-item.collapsed .company-logo[alt="Bitwise Solutions"] {
        padding: 0.3rem;
    }
    
    .experience-title-group {
        width: 100%;
    }

    .title-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
    
    .experience-item h3 {
        font-size: 1rem;
        margin-bottom: 0;
        word-break: break-word;
        display: block;
    }
    
    .experience-item h3::before {
        display: none;
    }

    .company-inline {
        font-size: 0.85rem;
        padding-left: 0;
        display: block;
    }

    .company-inline::before {
        display: none;
    }

    .experience-location {
        font-size: 0.75rem;
        margin-top: 0.2rem;
        margin-bottom: 0.3rem;
    }
    
    .experience-summary {
        font-size: 0.8rem;
        line-height: 1.3;
        margin-top: 0.5rem;
    }
    
    .experience-item .duration {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
        margin: 0.5rem 0;
        display: inline-block;
    }
    
    .experience-highlights {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
    
    .experience-highlights li {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 0.5rem;
    }

    .experience-details {
        margin-top: 1rem;
    }

    .experience-details li {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 0.6rem;
    }
    
    .expand-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
        margin-top: 1rem;
    }
    
    /* Compact projects - show only top 3 */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        width: 100%;
    }
    
    .project-card:nth-child(n+4) {
        display: none;
    }
    
    .project-card {
        padding: 1rem;
        width: 100%;
        background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(16, 185, 129, 0.03) 100%);
        border-top: 2px solid rgba(16, 185, 129, 0.3);
    }
    
    .project-card h3 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
        word-break: break-word;
    }
    
    .project-card h3::before {
        font-size: 0.9rem;
    }
    
    .project-summary {
        font-size: 0.75rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }
    
    .project-details {
        display: none !important;
    }
    
    .project-card .expand-btn {
        display: none;
    }
    
    .tags {
        gap: 0.3rem;
        margin-top: 0.6rem;
        padding-top: 0.6rem;
    }
    
    .tags span {
        font-size: 0.6rem;
        padding: 0.3rem 0.6rem;
    }
    
    /* Compact skills - show only first 2 categories */
    .skills-categories {
        width: 100%;
    }
    
    .skill-category {
        padding: 1rem;
        width: 100%;
        background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(16, 185, 129, 0.03) 100%);
    }
    
    .skill-category:nth-child(n+3) {
        display: none;
    }
    
    .skill-category h3 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.6rem;
        width: 100%;
    }
    
    .skill-item {
        padding: 0.6rem 0.3rem;
        min-width: 0;
        background: rgba(16, 185, 129, 0.08);
        box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1);
    }
    
    .skill-item i {
        font-size: 1.3rem;
    }
    
    .skill-logo {
        width: 28px;
        height: 28px;
    }
    
    .skill-item span {
        font-size: 0.65rem;
        word-break: break-word;
        hyphens: auto;
    }
    
    /* Compact education */
    .education-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        width: 100%;
    }
    
    .education-item {
        padding: 1rem;
        width: 100%;
    }
    
    .education-item h3 {
        font-size: 0.9rem;
        word-break: break-word;
    }
    
    .education-item .school {
        font-size: 0.75rem;
        word-break: break-word;
    }
    
    .education-item .location,
    .education-item .duration {
        font-size: 0.7rem;
    }
    
    .education-item .coursework {
        display: none;
    }
    
    /* Compact achievements - show only top 3 */
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        width: 100%;
    }
    
    .achievement-item:nth-child(n+4) {
        display: none;
    }
    
    .achievement-item {
        padding: 0.8rem;
        width: 100%;
    }
    
    .achievement-item h3 {
        font-size: 0.85rem;
        word-break: break-word;
    }
    
    .achievement-item p {
        font-size: 0.75rem;
    }
    
    /* Compact certifications - show only top 4 */
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        width: 100%;
    }
    
    .cert-item:nth-child(n+5) {
        display: none;
    }
    
    .cert-item {
        padding: 0.8rem;
        width: 100%;
        min-width: 0;
        background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(16, 185, 129, 0.03) 100%);
        border: 1px solid rgba(16, 185, 129, 0.3);
    }
    
    .cert-icon {
        font-size: 1.3rem;
    }
    
    .cert-item h3 {
        font-size: 0.75rem;
        word-break: break-word;
        hyphens: auto;
    }
    
    .cert-item p {
        font-size: 0.7rem;
    }
    
    /* Compact contact */
    #contact p {
        font-size: 0.8rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }
    
    .contact-links {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        max-width: calc(100vw - 30px);
        margin: 0 auto;
    }
    
    .contact-links a {
        font-size: 0.75rem;
        padding: 0.7rem 1rem;
        width: 100%;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
        background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    }
    
    .contact-links a:active {
        transform: scale(0.98);
    }
    
    /* Compact publications section */
    .publications-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        width: 100%;
    }
    
    .publication-card {
        flex-direction: column;
        padding: 1rem;
        width: 100%;
        background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(16, 185, 129, 0.03) 100%);
        border-top: 2px solid rgba(16, 185, 129, 0.3);
        gap: 1rem;
        align-items: center;
        text-align: center;
    }
    
    .pub-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .pub-type {
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
    }
    
    .pub-content h3 {
        font-size: 0.95rem;
        word-break: break-word;
    }
    
    .pub-content p {
        font-size: 0.75rem;
        line-height: 1.4;
        margin-bottom: 0.8rem;
    }
    
    .pub-link {
        font-size: 0.75rem;
    }
    
    .credly-badges {
        gap: 0.8rem;
    }
    
    footer {
        padding: 1.5rem 0;
        margin-top: 1.5rem;
        width: 100%;
    }
    
    footer p {
        font-size: 0.7rem;
        margin: 0.3rem 0;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    nav ul {
        gap: 0.4rem;
        font-size: 0.65rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    #hero {
        min-height: 70vh;
    }
    
    .hero-content {
        gap: 1.5rem;
    }
    
    .hero-greeting {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-name {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 1.2rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .hero-stats {
        padding: 1rem;
        gap: 0.8rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
    
    h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .about-card,
    .project-card,
    .skill-category,
    .experience-item,
    .education-item,
    .achievement-item,
    .cert-item,
    .publication-card {
        padding: 1.2rem;
    }
    
    .slider-container {
        min-height: 280px;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-links {
        flex-direction: column;
    }
    
    .contact-links a {
        width: 100%;
        justify-content: center;
    }
    
    .publications-grid {
        gap: 1.2rem;
    }
    
    .publication-card {
        padding: 1.2rem;
    }
    
    .pub-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    
    .pub-type {
        font-size: 0.75rem;
    }
    
    .pub-content h3 {
        font-size: 1.1rem;
    }
    
    .pub-content p {
        font-size: 0.85rem;
    }
    
    .pub-link {
        font-size: 0.85rem;
    }
}
/* Enhanced Education Section - Matching Site Theme */
#education .container {
    max-width: 1200px;
}

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

.education-card {
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--primary-alpha-2);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.education-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient);
}

.education-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-alpha-4);
    box-shadow: 0 15px 40px var(--primary-alpha-3);
}

.education-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.edu-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1);
}

.edu-badge {
    background: var(--gradient);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.education-content h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.education-content .school {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.education-content .school i {
    color: var(--secondary);
    margin-right: 0.5rem;
}

.school-detail {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.edu-meta {
    display: flex;
    gap: 2rem;
    margin: 1.2rem 0;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.05);
    border-radius: 10px;
    flex-wrap: wrap;
}

.edu-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.edu-meta i {
    color: var(--primary);
}

.coursework-section {
    margin: 1.2rem 0;
    padding: 1.2rem;
    background: rgba(16, 185, 129, 0.05);
    border-radius: 10px;
    border-left: 3px solid var(--primary);
}

.coursework-section h4 {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.course-tag {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--primary-alpha-3);
    color: var(--text-light);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.course-tag:hover {
    background: rgba(16, 185, 129, 0.2);
    border-color: var(--primary-alpha-5);
    transform: translateY(-2px);
}

.education-highlights {
    margin-top: 1.2rem;
    padding: 1.2rem;
    background: rgba(16, 185, 129, 0.03);
    border-radius: 10px;
    border-left: 3px solid var(--secondary);
}

.education-highlights h4 {
    color: var(--secondary);
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.education-highlights ul {
    list-style: none;
    padding-left: 0;
}

.education-highlights li {
    padding: 0.5rem 0;
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.6;
    position: relative;
    padding-left: 1.5rem;
}

.education-highlights li:before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .education-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .education-card {
        padding: 1.5rem;
    }
    
    .edu-meta {
        flex-direction: column;
        gap: 0.8rem;
    }
}

@media (max-width: 480px) {
    .education-content h3 {
        font-size: 1.3rem;
    }
    
    .education-card {
        padding: 1.2rem;
    }
    
    .course-tags {
        gap: 0.5rem;
    }
}

/* Education Logo Flip Animation */
.edu-logo {
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
}

.education-card:hover .edu-logo {
    transform: rotateY(360deg) scale(1.1);
}

/* Alternative: Rotate and glow effect */
@keyframes logoFlip {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

.education-header:hover .edu-logo {
    animation: logoFlip 0.8s ease-in-out;
    filter: brightness(1.2) drop-shadow(0 0 10px rgba(16, 185, 129, 0.5));
}
