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

html {
    scroll-behavior: smooth;

    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

body {

    font-family: 'Poppins', sans-serif;
    line-height: 1.6;

    color: #ffffff;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;

    background: rgba(15, 15, 35, 0.1) !important;
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    z-index: 1000;
    padding: 1rem 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 25%,
        rgba(255, 255, 255, 0.02) 50%,
        rgba(255, 255, 255, 0.05) 75%,
        rgba(255, 255, 255, 0.1) 100%
    );
    pointer-events: none;
    z-index: -1;
}

.navbar.scrolled {
    background: rgba(15, 15, 35, 0.15) !important;
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(102, 126, 234, 0.4);
    border-top: 1px solid rgba(102, 126, 234, 0.2);
}

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


.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;

    font-size: 1.2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 4px 15px rgba(102, 126, 234, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.logo-icon:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 6px 20px rgba(102, 126, 234, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.logo-text {
    color: white !important;
    font-weight: 700;
    font-size: 1.3rem;
}

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

.nav-link {
    text-decoration: none;

    color: #ffffff !important;
    font-weight: 500;

    transition: all 0.3s ease;
    position: relative;

    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link:hover {

    color: #667eea !important;
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
    box-shadow: 
        0 4px 15px rgba(102, 126, 234, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    color: #667eea !important;
    background: rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 
        0 2px 10px rgba(102, 126, 234, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;

    bottom: 0;
    left: 0;

    background: linear-gradient(135deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

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

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

.bar {
    width: 25px;
    height: 3px;

    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}


.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    z-index: 1;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="particles" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="0.5" fill="rgba(102,126,234,0.3)"/></pattern></defs><rect width="100" height="100" fill="url(%23particles)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.3) 0%, transparent 50%),
        linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    animation: heroBackground 20s ease-in-out infinite;
}

@keyframes heroBackground {
    0%, 100% { 
        opacity: 0.3; 
        transform: scale(1);
    }
    50% { 
        opacity: 0.6; 
        transform: scale(1.05);
    }
}

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

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

    min-height: 80vh;
    padding: 2rem 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;

    background: rgba(102, 126, 234, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 25px;

    border: 1px solid rgba(102, 126, 234, 0.3);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;

    color: #667eea;
    font-weight: 600;
    animation: pulse 2s infinite;
}


.hero-title {
    margin-bottom: 2rem;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    gap: 0.5rem;
}

.hero-greeting {
    display: none;
}

.hero-name {
    display: block;
    font-size: 4.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb, #667eea, #4facfe, #00f2fe);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    animation: fadeInUpName 0.4s ease-out 0.2s both, gradientShift 3s ease-in-out infinite;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    text-shadow: 0 0 50px rgba(102, 126, 234, 0.5);
    filter: drop-shadow(0 0 25px rgba(102, 126, 234, 0.4));
    opacity: 0;
    position: relative;
    /* Fallback color for browsers that don't support background-clip */
    color: #667eea;
    will-change: opacity, transform, background-position;
}

.hero-name::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.1) 30%, rgba(79, 172, 254, 0.05) 60%, transparent 80%);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2.5s ease-in-out infinite;
}

.hero-name::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

/* Ensure gradient text works in all browsers */
@supports (-webkit-background-clip: text) {
    .hero-name {
        color: transparent;
    }
}

.hero-role {
    display: none;
}

.hero-role i {
    font-size: 1.2rem;

    color: #667eea;
    animation: rotate 3s linear infinite;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;

    color: #b0b0b0;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    padding: 1.2rem 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.15),
        0 4px 12px rgba(102, 126, 234, 0.1);
}

.hero-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

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

.hero-stat:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.2),
        0 8px 20px rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.4);
}

.stat-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    box-shadow: 
        0 4px 15px rgba(102, 126, 234, 0.3),
        0 2px 8px rgba(118, 75, 162, 0.2);
    transition: all 0.3s ease;
}

.stat-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 6px 20px rgba(102, 126, 234, 0.4),
        0 3px 12px rgba(118, 75, 162, 0.3);
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #667eea;
    line-height: 1;
}

.stat-label {

    font-size: 0.8rem;
    color: #a0a0a0;
    font-weight: 500;
}

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

.btn {
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 25px rgba(102, 126, 234, 0.4),
        0 4px 15px rgba(118, 75, 162, 0.3);
}

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

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

.btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 15px 35px rgba(102, 126, 234, 0.6),
        0 8px 25px rgba(118, 75, 162, 0.5);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);

    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary {

    background: transparent;
    color: white;

    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {

    background: rgba(255, 255, 255, 0.1);
    border-color: #667eea;
    transform: translateY(-2px);
}


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

.btn-outline:hover {
    background: #667eea;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-resume {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: none;
    width: 100%;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-resume:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.resume-download {
    margin-bottom: 1rem;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;

    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;

    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {

    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: translateY(-3px);

    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Profile Section */
.profile-container {
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-image {
    position: relative;
    z-index: 2;
}

.profile-photo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(102, 126, 234, 0.3);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
    transition: all 0.4s ease;

    position: relative;
    z-index: 2;
}

.profile-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 80px rgba(102, 126, 234, 0.4);
}

.profile-ring {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
}

.profile-glow {
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    z-index: 1;
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    display: flex;
    align-items: center;

    justify-content: center;
    color: white;
    font-size: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    top: 20%;
    right: 10%;
    animation-delay: 1.5s;
}

.element-3 {
    bottom: 20%;
    left: 15%;
    animation-delay: 3s;
}

.element-4 {
    bottom: 10%;
    right: 15%;
    animation-delay: 4.5s;
}

/* Technologies Section */
.technologies {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb, #667eea);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(102, 126, 234, 0.3);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
    animation: expandLine 1s ease-out 0.5s both;
}


.section-subtitle {
    font-size: 1.1rem;

    color: #a0a0a0;
    max-width: 600px;
    margin: 0 auto;
}

.tech-scroll-container {
    overflow: hidden;
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.tech-scroll {
    display: flex;
    animation: scroll 30s linear infinite;
    gap: 2rem;
    align-items: center;
    width: max-content;
}

.tech-scroll:hover {
    animation-play-state: paused;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.tech-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.2), transparent);
    transition: left 0.6s ease;
}

.tech-item:hover::before {
    left: 100%;
}

.tech-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.tech-logo {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;

    padding: 8px;
}

.tech-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: none;
    transition: all 0.3s ease;
    display: block;
    max-width: 100%;
    max-height: 100%;
}

/* Ensure all logos are colorful */
.tech-logo img,
.floating-element img {
    filter: none !important;
}

/* Fallback for missing images */
.tech-logo img:not([src]),
.tech-logo img[src=""],
.tech-logo img[src*="undefined"] {
    display: none;
}

.tech-logo img:not([src])::after,
.tech-logo img[src=""]::after,
.tech-logo img[src*="undefined"]::after {
    content: "?";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.tech-item:hover .tech-logo {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

.tech-item:hover .tech-logo img {
    filter: brightness(1.1) saturate(1.3) contrast(1.1);
    transform: scale(1.1);
}

.tech-name {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

/* About Section */
.about {

    padding: 5rem 0;
}

.about-content {

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(102, 126, 234, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    border: 1px solid rgba(102, 126, 234, 0.3);
    margin-bottom: 1.5rem;

    font-size: 0.9rem;
    color: #667eea;
    font-weight: 600;
}

.about-description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #b0b0b0;
    line-height: 1.8;
}

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

.about-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;

    min-width: 150px;
}

.about-stat:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

.about-stat .stat-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.about-stat .stat-content {
    display: flex;
    flex-direction: column;
}

.about-stat .stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #667eea;
    line-height: 1;
}

.about-stat .stat-label {
    font-size: 0.8rem;
    color: #a0a0a0;
    font-weight: 500;
}

.about-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border-radius: 25px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.2),
        0 8px 20px rgba(102, 126, 234, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

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

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

.about-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 15px 30px rgba(102, 126, 234, 0.4),
        0 5px 15px rgba(118, 75, 162, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(102, 126, 234, 0.5);
}

.card-header {
    margin-bottom: 2rem;
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.card-header p {
    color: #a0a0a0;
    font-size: 1rem;
}

.expertise-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.expertise-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.expertise-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.expertise-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.expertise-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.expertise-content p {
    color: #a0a0a0;
    font-size: 0.9rem;
    margin: 0;
}

/* Skills Section */
.skills {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.skill-category {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 20px;

    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;

    position: relative;
    overflow: hidden;
}


.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;

    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}


.skill-category:hover::before {
    transform: scaleX(1);
}


.skill-category:hover {
    transform: translateY(-8px);

    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
}


.category-header {
    display: flex;

    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.category-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);

    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.category-header h3 {
    font-size: 1.3rem;
    font-weight: 700;

    color: #ffffff;
}

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

.skill-tag {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;

    border: 1px solid rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.skill-tag:hover {
    background: rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

/* Certifications Section */
.certifications {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
    position: relative;
}

.certifications::before {
    content: '';
    position: absolute;
    top: 0;

    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

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

.certification-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;

    position: relative;
    overflow: hidden;
}

.certification-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

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

.certification-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.2);
}

.cert-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;

    justify-content: center;
    font-size: 2rem;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.cert-info {
    flex: 1;
}

.cert-info h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cert-level {
    color: #667eea;

    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cert-description {
    color: #a0a0a0;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.cert-details {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cert-date, .cert-status {
    color: #667eea;
    font-size: 0.8rem;
    font-weight: 500;
    background: rgba(102, 126, 234, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.cert-status {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    border-color: rgba(76, 175, 80, 0.2);
}

.cert-badge {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #667eea;
    flex-shrink: 0;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

/* Experience Section */
.experience {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
}


.experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23333" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.1;
}

.experience-grid {
    display: grid;

    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.experience-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 0;
    position: relative;
    overflow: hidden;

    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}


.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;

    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
}

.experience-card.current::before {
    background: linear-gradient(90deg, #4ade80, #22c55e, #16a34a);
    animation: pulse 2s ease-in-out infinite;
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(102, 126, 234, 0.3);
}

.card-header {
    display: flex;
    align-items: center;

    padding: 30px 30px 20px;
    gap: 20px;
    position: relative;
}


.company-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;

    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.job-info {
    flex: 1;
}

.job-title {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.company-name {
    color: #667eea;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0 0 5px 0;
}

.duration {
    color: #a0a0a0;
    font-size: 0.9rem;

    font-weight: 400;
}

.status-badge {
    position: absolute;

    top: 20px;
    right: 20px;
}

.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.current {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    color: white;
    box-shadow: 0 2px 10px rgba(74, 222, 128, 0.3);
}

.badge.completed {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.card-content {
    padding: 0 30px 30px;
}

.achievements {
    margin-bottom: 25px;
}

.achievements h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.achievements h4::before {
    content: '🏆';
    font-size: 1.2rem;
}

.achievement-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #b0b0b0;
    font-size: 0.95rem;
}

.achievement-item i {
    color: #4ade80;
    font-size: 1rem;
}

.projects {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
}

.project-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(102, 126, 234, 0.2);
    transform: translateX(5px);
}

.project-header {
    margin-bottom: 12px;
}

.project-header h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
    padding: 4px 10px;
    border-radius: 12px;

    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.project-description {
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 15px 0;
}

.project-details {
    margin: 15px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    border-left: 3px solid #667eea;
}

.project-details h5 {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-details li {
    color: #b0b0b0;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 8px;
    padding-left: 0;
}

.project-details li strong {
    color: #667eea;
    font-weight: 600;
}

.project-metrics {
    display: flex;

    gap: 20px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
    flex: 1;
}

.metric-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 4px;
}

.metric-label {
    font-size: 0.8rem;
    color: #a0a0a0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #667eea, #764ba2);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    width: 50%;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 4rem;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 4rem;
}

.timeline-marker {
    position: absolute;
    width: 60px;
    height: 60px;

    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;

    top: 0;
    border: 6px solid #0f0f23;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2), 0 8px 25px rgba(0, 0, 0, 0.3);
    z-index: 3;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;

}

.timeline-item:hover .timeline-marker {
    transform: scale(1.1);
    box-shadow: 0 0 0 6px rgba(102, 126, 234, 0.3), 0 12px 35px rgba(0, 0, 0, 0.4);
}

.marker-icon {
    color: white;

    font-size: 1.2rem;
}

.timeline-item:nth-child(odd) .timeline-marker {
    right: -30px;
}

.timeline-item:nth-child(even) .timeline-marker {
    left: -30px;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
}

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

.timeline-content:hover::before {
    transform: scaleX(1);
}

.timeline-content:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 80px rgba(102, 126, 234, 0.2);
}

.timeline-header {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.timeline-header h3 {
    font-size: 1.5rem;

    font-weight: 700;
    color: #ffffff;
    margin: 0;
}


.company {
    color: #667eea;
    font-weight: 700;
    font-size: 1.2rem;

    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.company::before {
    content: '●';
    font-size: 0.8rem;
    color: #667eea;
}

.duration {

    color: #a0a0a0;
    font-size: 1rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    display: inline-block;
    margin-top: 0.5rem;
}

.timeline-projects {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

.project:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.project h4 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project h4::before {
    content: '●';
    font-size: 0.8rem;
    color: #667eea;
    margin-right: 0.5rem;
}

.project ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: #b0b0b0;
    line-height: 1.7;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.project li:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.project li::before {
    content: '▶';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.8rem;
    color: #667eea;
}

/* Local SEO Section */
.local-seo {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
    position: relative;
}

.local-seo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.local-content {
    position: relative;
    z-index: 2;
}

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

.location-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

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

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

.location-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

.location-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.location-card h3 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.location-card p {
    color: #b0b0b0;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.location-services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.location-services .service-tag {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.location-services .service-tag:hover {
    background: rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

/* Contact Section */
.contact {

    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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


.contact-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 4px 16px rgba(102, 126, 234, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

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

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

.contact-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 8px 25px rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.3);
}

.contact-card h3 {
    font-size: 1.8rem;
    font-weight: 600;

    color: #ffffff;
    margin-bottom: 1rem;
}


.contact-card p {
    color: #b0b0b0;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.contact-item:hover::before {
    left: 100%;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}


.contact-icon {
    width: 50px;
    height: 50px;

    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}


.contact-text h4 {
    font-weight: 600;

    color: #ffffff;
    margin-bottom: 0.25rem;
}


.contact-text p,
.contact-text a {
    color: #a0a0a0;
    text-decoration: none;

    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: #667eea;
}

.services h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

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

.service-tag {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
    padding: 0.6rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.service-tag:hover {
    background: rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

.contact-form {

    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;

    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 1rem;

    transition: all 0.3s ease;
    font-family: inherit;

    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;

    border-color: #667eea;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

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

/* Footer */
.footer {

    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
}

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


.footer-content p {
    color: #a0a0a0;
}

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

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;

    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;

    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-social a:hover {

    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: translateY(-2px);

    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

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

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;

        background: rgba(15, 15, 35, 0.95);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;

        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 2rem 0;

        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

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

    .nav-menu li {
        margin: 1rem 0;
    }

    
    .nav-link {
        padding: 0.8rem 1.5rem;
        margin: 0.5rem 0;
        display: block;
        text-align: center;
    }
    
    /* Mobile navigation improvements */
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar .container {
        padding: 0 15px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .nav-menu {
        gap: 0.5rem;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
        min-height: 70vh;
        padding: 1.5rem 0;
    }

    .hero-title {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .hero-greeting {
        display: inline-block;
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .hero-name {
        display: block;
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
        text-align: center;
        text-shadow: 0 0 30px rgba(102, 126, 234, 0.4);
        filter: drop-shadow(0 0 15px rgba(102, 126, 234, 0.3));
        opacity: 0;
        animation: fadeInUpName 0.4s ease-out 0.2s both, gradientShift 3s ease-in-out infinite;
    }

    .hero-role {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        font-size: 1rem;
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 1rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-image {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-top: 2rem;
    }

    .hero-image img {
        max-width: 220px;
        width: 100%;
        height: auto;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-stat {

        min-width: 120px;
        padding: 0.8rem;
    }
    
    
    .profile-photo {
        width: 200px;
        height: 200px;
    }
    
    .hero-name {
        font-size: 3.2rem;
        letter-spacing: -1px;
        margin-bottom: 0.9rem;
        text-shadow: 0 0 35px rgba(102, 126, 234, 0.4);
        filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.3));
        opacity: 0;
        animation: fadeInUpName 0.4s ease-out 0.2s both, gradientShift 3s ease-in-out infinite;
        /* Ensure gradient works on tablet */
        color: #667eea;
    }
    
    @supports (-webkit-background-clip: text) {
        .hero-name {
            color: transparent;
        }
    }
    
    .hero-role {
        font-size: 1.3rem;
        letter-spacing: 1px;
        gap: 0.4rem;
    }
    
    .hero-role i {
        font-size: 1.1rem;
    }
    
    .hero-greeting {
        font-size: 1.1rem;
        letter-spacing: 1px;
        margin-bottom: 0.9rem;
    }
    
    .experience-grid {
        gap: 20px;
    }
    
    .card-header {
        padding: 20px 20px 15px;
        gap: 15px;
    }
    
    .company-logo {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .job-title {
        font-size: 1.4rem;
    }
    

    .card-content {
        padding: 0 20px 20px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;

        gap: 20px;
    }
    
    .btn {
        min-width: 160px;
        font-size: 0.9rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        justify-content: center;
    }

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

    .timeline::before {
        display: none;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 2.5rem !important;
        padding-right: 0 !important;
        margin-bottom: 2rem;
    }

    .timeline-marker {
        left: 15px !important;
        right: auto !important;

        width: 40px;
        height: 40px;
        border: 3px solid #0f0f23;
    }

    .timeline-content {

        padding: 1.5rem;
        border-radius: 15px;
        border-left: 4px solid #667eea;
    }

    .location-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .location-card {
        padding: 2rem;
    }
    
    .location-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .location-card h3 {
        font-size: 1.2rem;
    }
    
    .location-card p {
        font-size: 0.9rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .tech-scroll {
        gap: 1.5rem;
        animation-duration: 25s;
    }

    .tech-item {
        padding: 1rem 0.5rem;
        min-width: 100px;
    }

    .tech-logo {
        width: 40px;
        height: 40px;
        padding: 6px;
    }

    .tech-name {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    /* Fix white background on mobile */
    html, body {
        background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%) !important;
        background-attachment: fixed !important;
        min-height: 100vh !important;
    }

    .hero-title {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 1rem;
    }

    .hero-greeting {
        display: inline-block;
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }

    .hero-name {
        display: block;
        font-size: 2.2rem;
        letter-spacing: -0.5px;
        margin-bottom: 0.5rem;
        text-align: center;
        /* Ensure gradient works on mobile */
        color: #667eea;
    }

    .hero-role {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.9rem;
        gap: 0.3rem;
        text-align: center;
    }
    
    .hero-role i {
        font-size: 0.8rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 0.8rem;
    }

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

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-image {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin: 2rem auto 0;
    }

    .hero-image img {
        max-width: 200px;
        width: 100%;
        height: auto;
    }
    
    @supports (-webkit-background-clip: text) {
        .hero-name {
            color: transparent;
        }
    }
    
    .hero-greeting {
        font-size: 1rem;
        letter-spacing: 1px;
        margin-bottom: 0.8rem;
    }

    .experience-grid {
        gap: 15px;
    }
    
    .card-header {
        padding: 15px 15px 10px;
        gap: 12px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .company-logo {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .job-title {
        font-size: 1.2rem;
    }
    
    .company-name {
        font-size: 1rem;
    }
    
    .status-badge {
        position: static;
        align-self: flex-end;
        margin-top: -40px;
    }
    
    .card-content {
        padding: 0 15px 15px;
    }
    
    .tech-stack {
        gap: 6px;
    }
    
    .tech-tag {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        font-size: 0.85rem;
        min-width: auto;
    }
    
    /* Mobile hero improvements */
    .hero {
        padding: 6rem 0 4rem;
        min-height: 100vh;
    }
    
    .hero-content {
        gap: 1.5rem;

        min-height: 60vh;
        padding: 1rem 0;
    }

    .hero-image {
        width: 200px;
        height: 200px;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat {
        padding: 0.8rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .project-metrics {
        flex-direction: column;
        gap: 10px;
    }
    
    /* Mobile experience section improvements */
    .experience {
        padding: 3rem 0;
    }
    
    .experience-grid {
        gap: 1.5rem;
    }
    
    .experience-card {
        padding: 1.5rem;

    }
    
    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .company-logo {
        width: 50px;
        height: 50px;
    }
    
    .job-title {
        font-size: 1.1rem;

    }
    
    .company-name {
        font-size: 0.9rem;
    }
    
    .duration {
        font-size: 0.8rem;
    }
    
    .metric {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
    
    .metric-value {
        font-size: 1rem;
    }
    
    .metric-label {
        font-size: 0.75rem;
    }
    
    /* Mobile contact section improvements */
    .contact {
        padding: 3rem 0;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }


    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-item {
        flex-direction: column;

        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
    }
    
    .service-tags {
        gap: 0.5rem;
    }
    
    .service-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .btn-resume {
        font-size: 0.9rem;
        padding: 1rem;
    }

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


    /* Mobile certifications section */
    .certifications {
        padding: 3rem 0;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;

        gap: 1.5rem;
    }
    
    .certification-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .cert-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .cert-info h3 {
        font-size: 1.1rem;
    }
    
    .cert-description {
        font-size: 0.85rem;
    }
    
    .cert-details {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .cert-date, .cert-status {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }
    
    .cert-badge {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Mobile footer improvements */
    .footer {
        padding: 2rem 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-link {
        padding: 0.5rem 0;
    }

    .about-stats {
        flex-direction: column;
        align-items: center;
    }
    
    /* Mobile floating elements improvements */
    .floating-element {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .element-1 {
        top: 20%;
        left: 10%;
    }
    
    .element-2 {
        top: 30%;
        right: 15%;
    }
    
    .element-3 {
        bottom: 30%;
        left: 20%;
    }
    
    .element-4 {
        bottom: 20%;
        right: 10%;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }


    .tech-scroll {
        gap: 1rem;
        animation-duration: 20s;
    }

    .tech-item {
        padding: 0.8rem 0.3rem;
        min-width: 80px;
    }
    
    /* Mobile tech section improvements */
    .tech {
        padding: 3rem 0;
    }
    
    .tech-scroll {
        animation-duration: 25s;
    }
    
    .tech-scroll-container {
        padding: 1rem 0;
    }

    .tech-logo {
        width: 35px;
        height: 35px;
        padding: 5px;
    }

    .tech-name {
        font-size: 0.7rem;
    }
    
    /* Mobile local SEO section */
    .local-seo {
        padding: 3rem 0;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .location-card {
        padding: 1.5rem;
    }
    
    .location-icon {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .location-card h3 {
        font-size: 1.1rem;
    }
    
    .location-card p {
        font-size: 0.85rem;
    }
    
    .location-services .service-tag {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);

        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }
    70% {
        transform: scale(1.05);

        box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
    }
    100% {
        transform: scale(1);

        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
    }
}

@keyframes glow {
    from {

        text-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
    }
    to {

        text-shadow: 0 0 30px rgba(102, 126, 234, 0.8), 0 0 40px rgba(102, 126, 234, 0.6);
    }
}

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


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

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

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

@keyframes fadeInUp {
    0% {
        opacity: 0;

        transform: translateY(30px);
    }

    100% {
        opacity: 1;

        transform: translateY(0);
    }
}


/* Special animation for gradient text */
@keyframes fadeInUpGradient {
    0% {
        opacity: 0;

        transform: translateY(30px);
        -webkit-text-fill-color: transparent;
        background-position: 0% 50%;
    }
    50% {
        opacity: 0.8;
        transform: translateY(15px);
        -webkit-text-fill-color: transparent;
        background-position: 50% 50%;
    }
    100% {
        opacity: 1;

        transform: translateY(0);
        -webkit-text-fill-color: transparent;
        background-position: 100% 50%;
    }
}


@keyframes fadeInUpName {
    0% {
        opacity: 0;
        transform: translateY(30px);
        -webkit-text-fill-color: transparent;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        -webkit-text-fill-color: transparent;
    }
}

@keyframes expandLine {
    0% {
        width: 0;
    }
    100% {
        width: 60px;
    }
}

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

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

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

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.8);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

/* Floating Elements */
.floating-element {
    position: absolute;
    pointer-events: none;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    animation-duration: 10s;
}

.floating-element:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
    animation-duration: 7s;
}

.floating-element:nth-child(4) {
    top: 40%;
    right: 30%;
    animation-delay: 1s;
    animation-duration: 9s;
}

/* Particle Effects */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(102, 126, 234, 0.6);
    border-radius: 50%;
    animation: particleFloat 15s linear infinite;
}

.particle:nth-child(odd) {
    background: rgba(118, 75, 162, 0.6);
    animation-duration: 20s;
}

.particle:nth-child(3n) {
    background: rgba(120, 219, 255, 0.6);
    animation-duration: 12s;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(100px);
        opacity: 0;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {

    background: #1a1a2e;
}

::-webkit-scrollbar-thumb {

    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {

    background: linear-gradient(135deg, #5a67d8, #6b46c1);
}

