/* ===== style.css – 3D Premium Portfolio ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --glass: rgba(10, 10, 40, 0.85);
  --neon-cyan: #00ffff;
  --neon-purple: #8a2be2;
}

* { margin:0; padding:0; box-sizing:border-box; }
body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  color:#e0e0e0;
  overflow-x:hidden;
  perspective:2000px;
}



/* ============================================
   GLASS MORPHISM NAVBAR - ENHANCED VERSION
   ============================================ */

.glass-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.glass-navbar.scrolled {
    padding: 0;
    backdrop-filter: blur(25px) saturate(200%);
    background: rgba(10, 10, 35, 0.85) !important;
    border-bottom: 1px solid rgba(138, 43, 226, 0.4);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 0 60px rgba(138, 43, 226, 0.2);
}

.nav-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    max-width: 1400px;
    margin: 0 auto;
    z-index: 2;
}

/* تأثير الخلفية الزجاجية */
.navbar-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(138, 43, 226, 0.15),
        rgba(75, 0, 130, 0.1),
        rgba(10, 10, 35, 0.9)
    );
    backdrop-filter: blur(20px);
    z-index: 1;
    opacity: 0.9;
}

/* الخط المتحرك */
.nav-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        #8a2be2,
        #9400d3,
        #8a2be2,
        transparent
    );
    opacity: 0.6;
    animation: nav-line-flow 4s ease-in-out infinite;
}

@keyframes nav-line-flow {
    0%, 100% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
}

/* ============================================
   LOGO SECTION
   ============================================ */

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 3;
}

.logo-glow {
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(
        circle,
        rgba(138, 43, 226, 0.3) 0%,
        rgba(138, 43, 226, 0.1) 40%,
        transparent 70%
    );
    filter: blur(20px);
    z-index: -1;
    animation: logo-pulse 3s ease-in-out infinite;
}

@keyframes logo-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.logo-img {
    height: 70px;
    width: auto;
    filter: 
        drop-shadow(0 0 15px #8a2be2)
        drop-shadow(0 0 30px rgba(138, 43, 226, 0.5))
        brightness(1.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover .logo-img {
    transform: rotate(-10deg) scale(1.1);
    filter: 
        drop-shadow(0 0 20px #8a2be2)
        drop-shadow(0 0 40px rgba(138, 43, 226, 0.7))
        brightness(1.2);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #8a2be2, #00bfff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(138, 43, 226, 0.3);
    letter-spacing: 1px;
}

/* ============================================
   NAVIGATION LINKS - GLASS MORPHISM
   ============================================ */

.nav-links {
    display: flex;
    gap: 5px;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 3;
}

.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(138, 43, 226, 0.2),
        rgba(0, 191, 255, 0.1)
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.nav-link:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.4);
    box-shadow: 
        0 10px 30px rgba(138, 43, 226, 0.3),
        0 0 20px rgba(138, 43, 226, 0.2),
        inset 0 0 10px rgba(255, 255, 255, 0.1);
    color: #fff;
}

.nav-link:hover::before {
    opacity: 1;
}

.nav-link.active {
    background: linear-gradient(
        135deg,
        rgba(138, 43, 226, 0.3),
        rgba(0, 191, 255, 0.2)
    );
    border: 1px solid rgba(138, 43, 226, 0.5);
    box-shadow: 
        0 0 30px rgba(138, 43, 226, 0.4),
        inset 0 0 15px rgba(255, 255, 255, 0.1);
    color: #fff;
}

.nav-link i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.nav-link:hover i {
    transform: scale(1.2);
}

.nav-link span {
    position: relative;
    z-index: 1;
}

/* مؤشر الرابط */
.link-indicator {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #00bfff;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px #00bfff;
}

.nav-link:hover .link-indicator,
.nav-link.active .link-indicator {
    opacity: 1;
    transform: translateX(-50%) scale(1.5);
}

/* ============================================
   NAV ACTIONS (THEME TOGGLE & HAMBURGER)
   ============================================ */

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 3;
}

.theme-toggle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.theme-toggle:hover {
    background: rgba(138, 43, 226, 0.3);
    border: 1px solid rgba(138, 43, 226, 0.5);
    transform: rotate(180deg) scale(1.1);
    box-shadow: 
        0 0 30px rgba(138, 43, 226, 0.4),
        inset 0 0 15px rgba(255, 255, 255, 0.1);
}

/* زر القائمة المنسدلة */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 40px;
    height: 40px;
    padding: 10px;
    cursor: pointer;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    z-index: 100;
}

.hamburger .line {
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger:hover {
    background: rgba(138, 43, 226, 0.3);
    border: 1px solid rgba(138, 43, 226, 0.5);
    transform: scale(1.1);
}

.hamburger:hover .line {
    background: #8a2be2;
}

.hamburger.active .line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

.hamburger.active .line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   MOBILE MENU
   ============================================ */

@media (max-width: 1024px) {
    .nav-container {
        padding: 15px 30px;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(10, 10, 35, 0.95);
        backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: center;
        gap: 15px;
        padding: 40px;
        transition: right 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        border-left: 1px solid rgba(138, 43, 226, 0.3);
        box-shadow: -10px 0 50px rgba(0, 0, 0, 0.5);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-link {
        justify-content: flex-start;
        padding: 20px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.05);
    }
    
    .hamburger {
        display: flex;
    }
    
    .logo-text {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 12px 20px;
    }
    
    .logo-img {
        height: 50px;
    }
    
    .nav-links {
        width: 250px;
    }
    
    .theme-toggle {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

/* ============================================
   ANIMATIONS & EFFECTS
   ============================================ */

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

.nav-link {
    animation: slide-in 0.6s ease-out forwards;
    animation-delay: calc(var(--i) * 0.1s);
}

/* تأثيرات خاصة عند التمرير */
.glass-navbar.scrolled .nav-link {
    padding: 12px 20px;
    font-size: 0.95rem;
}

.glass-navbar.scrolled .logo-img {
    height: 60px;
}

/* تأثيرات ضبابية للخلفية عند فتح القائمة */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 998;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}











/* ============================================
   HERO SECTION - GLASS MORPHISM
   ============================================ */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0;
    background: linear-gradient(
        135deg,
        rgba(8, 13, 38, 0.95) 0%,
        rgba(18, 23, 53, 0.95) 50%,
        rgba(28, 33, 68, 0.95) 100%
    );
    overflow: hidden;
}

/* Background Elements */
.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 25s ease-in-out infinite;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #8a2be2, #9400d3);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #00bfff, #0080ff);
    bottom: -150px;
    right: -150px;
    animation-delay: 5s;
}

.shape-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #9400d3, #8a2be2);
    top: 50%;
    left: 80%;
    animation-delay: 10s;
}

.shape-4 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #0080ff, #00bfff);
    bottom: 30%;
    left: 10%;
    animation-delay: 15s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(50px, 50px) rotate(90deg);
    }
    50% {
        transform: translate(-30px, 30px) rotate(180deg);
    }
    75% {
        transform: translate(30px, -30px) rotate(270deg);
    }
}

.hero-grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.2;
    transform: perspective(1000px) rotateX(60deg);
}

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-particles::before,
.floating-particles::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: particle-float 20s linear infinite;
}

.floating-particles::before {
    width: 10px;
    height: 10px;
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.floating-particles::after {
    width: 15px;
    height: 15px;
    top: 60%;
    right: 20%;
    animation-delay: 10s;
}

@keyframes particle-float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(100px, 100px) rotate(360deg);
    }
}

/* Hero Container */
.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: fr;
        text-align: center;
    }
}


/* Hero Content */
.hero-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 35px;
    padding: 50px;
    margin: 20px;
    box-shadow: 
        0 40px 100px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 0 60px rgba(138, 43, 226, 0.2);
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-content:hover {
    transform: translateY(-10px);
    border: 1px solid rgba(138, 43, 226, 0.3);
    box-shadow: 
        0 50px 120px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(138, 43, 226, 0.2) inset,
        0 0 80px rgba(138, 43, 226, 0.3);
}

/* Welcome Badge */
.welcome-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    padding: 10px 25px;
    background: rgba(138, 43, 226, 0.2);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 25px;
    color: #8a2be2;
    font-weight: 900;
    font-size: 1rem;
    overflow: hidden;
}

.badge-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: badge-shimmer 3s infinite;
}

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





/* Hero Title */
.hero-title {
    margin-bottom: 40px;
    padding: 20px;
    text-align: right; /* أبسط طريقة للمحاذاة اليمنى */
    width: 100%;
}

.title-line {
    display: inline-block; /* أو inline-flex */
}

.line-2 {
    white-space: nowrap;
    position: relative;
    display: inline-flex;
}

.name-text {
    background: linear-gradient(135deg, #8a2be2, #00bfff, #9400d3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    white-space: nowrap;
    font-size: 4rem;
}

.name-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 105%;
    height: 105%;
    background: linear-gradient(135deg, #8a2be2, #00bfff, #9400d3);
    filter: blur(20px);
    opacity: 0.4;
    z-index: 0;
}











/* Typing Animation */
.typing-container {
    margin-bottom: 30px;
}

.typing-text {
    font-size: 2rem;
    color: #00bfff;
    height: 50px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.typed-text {
    font-weight: 600;
}

.cursor {
    animation: blink 1s infinite;
    color: #00bfff;
}

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

.typing-subtext {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.typing-subtext i {
    color: #8a2be2;
}

/* Hero Description */
.hero-description {
    margin-bottom: 40px;
}

.hero-description p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.highlight {
    color: #00bfff;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #00bfff, transparent);
}

.highlighted-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.skill-tag {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(138, 43, 226, 0.2);
    border: 1px solid rgba(138, 43, 226, 0.4);
    transform: translateY(-2px);
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }
}

.stat-item {
    text-align: center;
    padding: 15px;
    transition: all 0.3s ease;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #8a2be2, #00bfff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.action-btn {
    padding: 18px 35px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #8a2be2, #00bfff);
    border: 1px solid rgba(138, 43, 226, 0.4);
    color: #fff;
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #9400d3, #0080ff);
    border: 1px solid rgba(148, 0, 211, 0.6);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(138, 43, 226, 0.5);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.6s ease;
}

.btn-primary:hover .btn-glow {
    left: 100%;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
    color: #fff;
}

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

.btn-outline:hover {
    background: rgba(0, 212, 170, 0.1);
    border: 2px solid #00bfff;
    color: #00bfff;
    transform: translateY(-5px);
}

/* Hero Social */
.hero-social {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-title {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    position: relative;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.social-icon:hover::before {
    transform: scale(1);
}

.icon-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    filter: blur(15px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icon:hover .icon-glow {
    opacity: 0.5;
}

.github {
    background: linear-gradient(135deg, #333, #6e5494);
}

.github:hover {
    transform: translateY(-8px) rotate(15deg);
    box-shadow: 0 15px 40px rgba(110, 84, 148, 0.4);
}

.linkedin {
    background: linear-gradient(135deg, #0077b5, #00a0dc);
}

.linkedin:hover {
    transform: translateY(-8px) rotate(-15deg);
    box-shadow: 0 15px 40px rgba(0, 119, 181, 0.4);
}

.twitter {
    background: linear-gradient(135deg, #1da1f2, #1a91da);
}

.twitter:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 15px 40px rgba(29, 161, 242, 0.4);
}

.email {
    background: linear-gradient(135deg, #ea4335, #d14836);
}

.email:hover {
    transform: translateY(-8px) rotate(10deg);
    box-shadow: 0 15px 40px rgba(234, 67, 53, 0.4);
}

.instagram {
    background: linear-gradient(135deg, #e4405f, #c13584);
}

.instagram:hover {
    transform: translateY(-8px) rotate(-10deg);
    box-shadow: 0 15px 40px rgba(228, 64, 95, 0.4);
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 50px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

.scroll-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(138, 43, 226, 0.6),
        transparent
    );
    position: relative;
    overflow: hidden;
}

.scroll-dot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(to bottom, #8a2be2, #00bfff);
    border-radius: 1px;
    animation: scroll-dot 2s ease-in-out infinite;
}

@keyframes scroll-dot {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(60px);
        opacity: 0;
    }
}

/* Hero Image */
.hero-image {
    position: relative;
}

.image-container {
    position: relative;
    perspective: 1000px;
}

.image-wrapper {
    position: relative;
    transform-style: preserve-3d;
    animation: image-float 6s ease-in-out infinite;
}

@keyframes image-float {
    0%, 100% {
        transform: translateY(0) rotateX(0) rotateY(0);
    }
    33% {
        transform: translateY(-20px) rotateX(5deg) rotateY(5deg);
    }
    66% {
        transform: translateY(10px) rotateX(-5deg) rotateY(-5deg);
    }
}

.profile-image {
    width: 100%;
    max-width: 450px;
    border-radius: 30px;
    border: 4px solid transparent;
    background: 
        linear-gradient(135deg, rgba(29, 27, 44, 0.9), rgba(29, 27, 44, 0.9)) padding-box,
        linear-gradient(135deg, #8a2be2, #00bfff, #9400d3) border-box;
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(138, 43, 226, 0.3),
        inset 0 0 30px rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.image-frame {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 40px;
    z-index: 0;
    animation: frame-rotate 20s linear infinite;
}

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

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(
        circle,
        rgba(138, 43, 226, 0.2) 0%,
        rgba(0, 191, 255, 0.1) 30%,
        transparent 70%
    );
    filter: blur(40px);
    z-index: -1;
}

.image-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8a2be2, #00bfff);
    animation: dot-float 4s ease-in-out infinite;
}

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

.dot-2 {
    top: 10%;
    right: 20%;
    animation-delay: 1s;
}

.dot-3 {
    bottom: 30%;
    left: 15%;
    animation-delay: 2s;
}

.dot-4 {
    bottom: 20%;
    right: 10%;
    animation-delay: 3s;
}

@keyframes dot-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translate(20px, -20px) scale(1.2);
        opacity: 1;
    }
}

/* Image Badges */
.image-badges {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 2;
}

.badge {
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    animation: badge-bounce 3s ease-in-out infinite;
}

.badge-code {
    background: rgba(0, 191, 255, 0.2);
    border: 1px solid rgba(0, 191, 255, 0.4);
    color: #00bfff;
    animation-delay: 0s;
}

.badge-design {
    background: rgba(138, 43, 226, 0.2);
    border: 1px solid rgba(138, 43, 226, 0.4);
    color: #8a2be2;
    animation-delay: 1s;
}

.badge-3d {
    background: rgba(0, 212, 170, 0.2);
    border: 1px solid rgba(0, 212, 170, 0.4);
    color: #00d4aa;
    animation-delay: 2s;
}

@keyframes badge-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Tech Floating */
.tech-floating {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.tech-item {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: tech-float 20s linear infinite;
}

.tech-item img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

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

.floating-2 {
    top: 15%;
    right: 10%;
    animation-delay: 5s;
}

.floating-3 {
    bottom: 25%;
    left: 8%;
    animation-delay: 10s;
}

.floating-4 {
    bottom: 15%;
    right: 5%;
    animation-delay: 15s;
}

@keyframes tech-float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, 30px) rotate(90deg);
    }
    50% {
        transform: translate(-20px, 20px) rotate(180deg);
    }
    75% {
        transform: translate(20px, -20px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* Mouse Trail */
.mouse-trail {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.3), transparent);
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .line-2 {
        font-size: 3.5rem;
    }
    .line-3 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 30px;
    }
    
    .line-1 {
        font-size: 2rem;
    }
    
    .line-2 {
        font-size: 2.8rem;
    }
    
    .line-3 {
        font-size: 2rem;
    }
    
    .typing-text {
        font-size: 1.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
    }
    
    .social-icons {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 20px;
    }
    
    .line-1 {
        font-size: 1.8rem;
    }
    
    .line-2 {
        font-size: 2.2rem;
    }
    
    .line-3 {
        font-size: 1.8rem;
    }
    
    .hero-stats {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}









/* ============================================
   PROJECTS SECTION - GLASS MORPHISM
   ============================================ */

.projects-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(
        135deg,
        rgba(18, 23, 48, 0.95) 0%,
        rgba(28, 33, 68, 0.95) 100%
    );
    overflow: hidden;
}

/* Background Elements */
.projects-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.project-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.1;
    animation: float-shape 25s ease-in-out infinite;
}

.projects-section .shape-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #8a2be2, #00bfff);
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.projects-section .shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #00bfff, #9400d3);
    bottom: 10%;
    right: 5%;
    animation-delay: 8s;
}

.projects-section .shape-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #9400d3, #8a2be2);
    top: 60%;
    left: 80%;
    animation-delay: 16s;
}

@keyframes float-shape {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(40px, 40px) rotate(120deg);
    }
    66% {
        transform: translate(-30px, 30px) rotate(240deg);
    }
}

.projects-grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.15;
    transform: perspective(1000px) rotateX(45deg);
}

/* Projects Filter */
.projects-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    position: relative;
    z-index: 2;
}

.projects-filter .filter-btn {
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.projects-filter .filter-btn:hover {
    background: rgba(138, 43, 226, 0.2);
    border: 1px solid rgba(138, 43, 226, 0.4);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.2);
}

.projects-filter .filter-btn.active {
    background: linear-gradient(135deg, #8a2be2, #00bfff);
    border: 1px solid rgba(138, 43, 226, 0.6);
    color: #fff;
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.3);
}

/* Projects Stats */
.projects-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    position: relative;
    z-index: 2;
}

.projects-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.projects-stats .stat-item:hover {
    background: rgba(138, 43, 226, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.2);
    transform: translateY(-5px);
}

.projects-stats .stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8a2be2, #00bfff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.projects-stats .stat-content {
    flex: 1;
}

.projects-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #8a2be2, #00bfff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 5px;
}

.projects-stats .stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Project Card */
.project-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-15px) scale(1.02);
    border: 1px solid rgba(138, 43, 226, 0.4);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(138, 43, 226, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
}

/* Project Badge */
.project-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.badge.devops {
    background: rgba(0, 191, 255, 0.2);
    border: 1px solid rgba(0, 191, 255, 0.4);
    color: #00bfff;
}

.badge.featured {
    background: rgba(255, 193, 7, 0.2);
    border: 1px solid rgba(255, 193, 7, 0.4);
    color: #ffc107;
}

.badge.web {
    background: rgba(138, 43, 226, 0.2);
    border: 1px solid rgba(138, 43, 226, 0.4);
    color: #8a2be2;
}

.badge.fullstack {
    background: rgba(0, 212, 170, 0.2);
    border: 1px solid rgba(0, 212, 170, 0.4);
    color: #00d4aa;
}

.badge.mobile {
    background: rgba(255, 107, 107, 0.2);
    border: 1px solid rgba(255, 107, 107, 0.4);
    color: #ff6b6b;
}

.badge.ai {
    background: rgba(155, 81, 224, 0.2);
    border: 1px solid rgba(155, 81, 224, 0.4);
    color: #9b51e0;
}

.badge.design {
    background: rgba(255, 149, 0, 0.2);
    border: 1px solid rgba(255, 149, 0, 0.4);
    color: #ff9500;
}

.badge.database {
    background: rgba(90, 200, 250, 0.2);
    border: 1px solid rgba(90, 200, 250, 0.4);
    color: #5ac8fa;
}

.badge.backend {
    background: rgba(100, 210, 255, 0.2);
    border: 1px solid rgba(100, 210, 255, 0.4);
    color: #64d2ff;
}

.badge.programming {
    background: rgba(255, 59, 48, 0.2);
    border: 1px solid rgba(255, 59, 48, 0.4);
    color: #ff3b30;
}

.badge.educational {
    background: rgba(88, 86, 214, 0.2);
    border: 1px solid rgba(88, 86, 214, 0.4);
    color: #5856d6;
}

.badge.visualization {
    background: rgba(255, 45, 85, 0.2);
    border: 1px solid rgba(255, 45, 85, 0.4);
    color: #ff2d55;
}

.badge.business {
    background: rgba(76, 217, 100, 0.2);
    border: 1px solid rgba(76, 217, 100, 0.4);
    color: #4cd964;
}

.badge.android {
    background: rgba(52, 199, 89, 0.2);
    border: 1px solid rgba(52, 199, 89, 0.4);
    color: #34c759;
}

/* Project Image */
.project-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.overlay-content {
    display: flex;
    gap: 15px;
}

.project-preview-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8a2be2, #00bfff);
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.project-preview-btn:hover {
    transform: scale(1.2) rotate(90deg);
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.5);
}

.project-demo-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.project-demo-btn:hover {
    background: rgba(138, 43, 226, 0.3);
    border: 1px solid rgba(138, 43, 226, 0.5);
    transform: translateY(-2px);
}

.project-tech {
    position: absolute;
    bottom: 15px;
    left: 15px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tech-tag {
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.7rem;
    font-weight: 500;
}

/* Project Content */
.project-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.project-title {
    font-size: 1.4rem;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

.project-date {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.project-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.project-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.feature i {
    color: #00d4aa;
    font-size: 0.8rem;
}

/* Project Actions */
.project-actions {
    display: flex;
    gap: 10px;
}

.project-btn {
    flex: 1;
    padding: 12px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #8a2be2, #00bfff);
    border: 1px solid rgba(138, 43, 226, 0.4);
    color: #fff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #9400d3, #0080ff);
    border: 1px solid rgba(148, 0, 211, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    background: rgba(138, 43, 226, 0.2);
    border: 1px solid rgba(138, 43, 226, 0.4);
    transform: scale(1.1);
}

/* View More Button */
.projects-more {
    text-align: center;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.load-more-btn {
    padding: 18px 40px;
    background: linear-gradient(135deg, #8a2be2, #00bfff);
    border: 1px solid rgba(138, 43, 226, 0.4);
    border-radius: 25px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: linear-gradient(135deg, #9400d3, #0080ff);
    border: 1px solid rgba(148, 0, 211, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(138, 43, 226, 0.4);
}

/* Project Modal */
.project-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-modal.active {
    display: flex;
    opacity: 1;
}

.project-modal .modal-content {
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    background: rgba(20, 20, 50, 0.95);
    backdrop-filter: blur(50px);
    border: 1px solid rgba(138, 43, 226, 0.4);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 
        0 40px 100px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(138, 43, 226, 0.3);
    transform: scale(0.9);
    animation: modal-pop 0.4s ease forwards;
}

@keyframes modal-pop {
    to {
        transform: scale(1);
    }
}

.project-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
}

.project-modal .modal-header h3 {
    font-size: 1.8rem;
    color: #fff;
    margin: 0;
}

.project-modal .modal-close {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.project-modal .modal-close:hover {
    background: rgba(255, 107, 107, 0.3);
    border: 1px solid rgba(255, 107, 107, 0.5);
    transform: rotate(90deg);
}

.project-modal .modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
    overflow-y: auto;
    max-height: 60vh;
}

@media (max-width: 992px) {
    .project-modal .modal-body {
        grid-template-columns: 1fr;
    }
}

.modal-image {
    border-radius: 20px;
    overflow: hidden;
    background: #000;
}

#modalProjectImage {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.modal-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-section {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-section h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

#modalProjectDescription {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.modal-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.modal-tech-tags .tech-tag {
    background: rgba(138, 43, 226, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.3);
}

#modalProjectFeatures {
    list-style: none;
    padding: 0;
    margin: 0;
}

#modalProjectFeatures li {
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

#modalProjectFeatures li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00d4aa;
    font-weight: bold;
}

.project-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.meta-item i {
    color: #8a2be2;
}

.project-modal .modal-footer {
    padding: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    background: rgba(0, 0, 0, 0.3);
}

.project-modal .modal-footer .btn-primary {
    padding: 15px 40px;
    font-size: 1rem;
}

.project-modal .modal-footer .btn-secondary {
    padding: 15px 40px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

.project-modal .modal-footer .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}





















/* ============================================
   SKILLS SECTION - GLASS MORPHISM
   ============================================ */

.skills-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(
        135deg,
        rgba(15, 20, 45, 0.95) 0%,
        rgba(25, 30, 60, 0.95) 100%
    );
    overflow: hidden;
}

/* Background Elements */
.skills-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.skill-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.1;
    animation: float-shape 20s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #8a2be2, #00bfff);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #00bfff, #9400d3);
    bottom: 20%;
    right: 10%;
    animation-delay: 5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #9400d3, #8a2be2);
    top: 60%;
    left: 80%;
    animation-delay: 10s;
}

@keyframes float-shape {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, 30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.skills-grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.2;
    transform: perspective(1000px) rotateX(60deg);
}

/* Skills Filter */
.skills-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    position: relative;
    z-index: 2;
}

.skills-filter .filter-btn {
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.skills-filter .filter-btn:hover {
    background: rgba(138, 43, 226, 0.2);
    border: 1px solid rgba(138, 43, 226, 0.4);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.2);
}

.skills-filter .filter-btn.active {
    background: linear-gradient(135deg, #8a2be2, #00bfff);
    border: 1px solid rgba(138, 43, 226, 0.6);
    color: #fff;
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.3);
}

/* Skills Summary */
.skills-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    position: relative;
    z-index: 2;
}

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

.summary-item:hover {
    background: rgba(138, 43, 226, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.2);
    transform: translateY(-5px);
}

.summary-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8a2be2, #00bfff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.summary-content {
    flex: 1;
}

.summary-content h4 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.progress-bar {
    position: relative;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    position: absolute;
    height: 100%;
    background: linear-gradient(90deg, #8a2be2, #00bfff);
    border-radius: 4px;
    width: 0;
    transition: width 2s ease-out;
}

.progress-text {
    position: absolute;
    right: 0;
    top: -25px;
    color: #00bfff;
    font-weight: 600;
    font-size: 0.9rem;
}

.summary-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

/* Skill Category */
.skill-category {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.skill-category:hover {
    transform: translateY(-10px);
    border: 1px solid rgba(138, 43, 226, 0.4);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(138, 43, 226, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.category-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8a2be2, #00bfff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
}

.skill-category[data-category="devops"] .category-icon {
    background: linear-gradient(135deg, #00bfff, #0080ff);
}

.skill-category[data-category="design"] .category-icon {
    background: linear-gradient(135deg, #9400d3, #8a2be2);
}

.category-header h3 {
    flex: 1;
    font-size: 1.5rem;
    color: #fff;
    margin: 0;
}

.category-stats {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.skill-count {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 10px;
}

.skill-level {
    font-size: 0.8rem;
    font-weight: 600;
    color: #00bfff;
    background: rgba(0, 191, 255, 0.1);
    padding: 3px 8px;
    border-radius: 10px;
}

/* Skill Items */
.skill-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.skill-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.skill-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(138, 43, 226, 0.3);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.skill-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.6s ease;
}

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

/* Skill Info */
.skill-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.skill-icon {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skill-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.skill-item:hover .skill-img {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 6px 12px rgba(138, 43, 226, 0.4));
}

.triple-icon {
    display: flex;
    gap: 5px;
}

.triple-icon .skill-img {
    width: 30px;
    height: 30px;
}

.git-icons {
    display: flex;
    gap: 5px;
}

.icon-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    filter: blur(10px);
    opacity: 0.3;
    z-index: -1;
}

.skill-item:hover .icon-glow {
    opacity: 0.5;
    filter: blur(15px);
}

.skill-details {
    flex: 1;
}

.skill-details h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.skill-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

/* Skill Progress */
.skill-progress {
    display: flex;
    align-items: center;
    gap: 15px;
}

.progress-circle {
    position: relative;
    width: 60px;
    height: 60px;
}

.progress-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-circle .progress {
    transition: stroke-dasharray 1.5s ease-out;
}

.progress-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Skill Stars */
.skill-stars {
    display: flex;
    gap: 2px;
    color: #ffd700;
    font-size: 1rem;
}

.skill-stars i {
    transition: transform 0.3s ease;
}

.skill-item:hover .skill-stars i {
    transform: scale(1.2);
}

/* Skills Chart */
.skills-chart {
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    position: relative;
    z-index: 2;
}

.skills-chart h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
}

.chart-container {
    height: 300px;
    margin-bottom: 30px;
}

.chart-legend {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.legend-color {
    width: 15px;
    height: 15px;
    border-radius: 3px;
}

.legend-color.beginner {
    background: linear-gradient(90deg, #ff6b6b, #ff8e8e);
}

.legend-color.intermediate {
    background: linear-gradient(90deg, #ffd166, #ffe0a3);
}

.legend-color.advanced {
    background: linear-gradient(90deg, #06d6a0, #0af7b6);
}

.legend-color.expert {
    background: linear-gradient(90deg, #118ab2, #1ab2e8);
}

/* Tooltip */
.skill-tooltip {
    position: absolute;
    background: rgba(20, 20, 40, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(138, 43, 226, 0.4);
    border-radius: 10px;
    padding: 10px 15px;
    color: #fff;
    font-size: 0.9rem;
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 200px;
    text-align: center;
}

.skill-tooltip::after {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 6px 6px 6px;
    border-style: solid;
    border-color: transparent transparent rgba(138, 43, 226, 0.4) transparent;
}

/* Responsive Design */
@media (max-width: 992px) {
    .skills-summary {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .skills-summary {
        grid-template-columns: 1fr;
    }
    
    .skills-filter {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-btn {
        justify-content: center;
    }
    
    .category-header {
        flex-direction: column;
        text-align: center;
    }
    
    .category-stats {
        flex-direction: row;
        justify-content: center;
        width: 100%;
    }
    
    .skill-item {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .skill-info {
        flex-direction: column;
        text-align: center;
    }
    
    .skill-progress {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .chart-legend {
        flex-direction: column;
        align-items: center;
    }
}













/* ============================================
   TIMELINE SECTION - GLASS MORPHISM
   ============================================ */

.timeline-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(
        135deg,
        rgba(13, 17, 38, 0.95) 0%,
        rgba(20, 25, 55, 0.95) 100%
    );
    overflow: hidden;
}

/* Background Elements */
.timeline-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.timeline-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #8a2be2, #00bfff);
    top: 10%;
    left: 5%;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #00bfff, #9400d3);
    bottom: 10%;
    right: 5%;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #9400d3, #8a2be2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.timeline-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.2;
    transform: perspective(1000px) rotateX(60deg);
}

/* Timeline Container */
.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 2;
}

/* Timeline Line */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: rgba(138, 43, 226, 0.3);
    transform: translateX(-50%);
    z-index: 1;
}

.line-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(138, 43, 226, 0.4),
        rgba(0, 191, 255, 0.4),
        transparent
    );
    filter: blur(5px);
}

.line-progress {
    position: absolute;
    top: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(
        to bottom,
        #8a2be2,
        #00bfff
    );
    transition: height 1s ease;
}

.timeline-scroll-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* Timeline Items */
.timeline-items {
    position: relative;
    z-index: 2;
}

.timeline-item {
    display: flex;
    margin-bottom: 80px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.timeline-item.left {
    justify-content: flex-start;
    padding-right: 50%;
}

.timeline-item.right {
    justify-content: flex-end;
    padding-left: 50%;
}

.timeline-item.future {
    opacity: 0.7;
}

/* Item Marker */
.item-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.marker-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8a2be2, #00bfff);
    border: 4px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    position: relative;
    box-shadow: 
        0 0 30px rgba(138, 43, 226, 0.5),
        0 0 60px rgba(0, 191, 255, 0.3);
    transition: all 0.3s ease;
}

.timeline-item:hover .marker-circle {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 
        0 0 40px rgba(138, 43, 226, 0.7),
        0 0 80px rgba(0, 191, 255, 0.5);
}

.marker-circle.future {
    background: linear-gradient(135deg, #666, #999);
}

.marker-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.marker-date {
    margin-top: 10px;
    padding: 5px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Item Content */
.item-content {
    width: 90%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.item-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background: inherit;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
}

.timeline-item.left .item-content::before {
    right: -10px;
}

.timeline-item.right .item-content::before {
    left: -10px;
}

.item-content:hover {
    transform: translateY(-10px);
    border: 1px solid rgba(138, 43, 226, 0.4);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(138, 43, 226, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
}

.item-content.future {
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

/* Item Header */
.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.item-type {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.item-type.education {
    background: rgba(0, 191, 255, 0.2);
    border: 1px solid rgba(0, 191, 255, 0.3);
    color: #00bfff;
}

.item-type.certification {
    background: rgba(138, 43, 226, 0.2);
    border: 1px solid rgba(138, 43, 226, 0.3);
    color: #8a2be2;
}

.item-type.skill {
    background: rgba(0, 212, 170, 0.2);
    border: 1px solid rgba(0, 212, 170, 0.3);
    color: #00d4aa;
}

.item-type.future {
    background: rgba(255, 193, 7, 0.2);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: #ffc107;
}

.item-duration {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Item Content Details */
.item-title {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.3;
}

.item-institution {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.item-institution i {
    color: #8a2be2;
}

.item-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

/* Skills Tags */
.item-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.skill-tag {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(138, 43, 226, 0.2);
    border: 1px solid rgba(138, 43, 226, 0.4);
    color: #fff;
    transform: translateY(-2px);
}

.skill-tag.future {
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

/* Item Actions */
.item-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.item-btn {
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    outline: none;
}

.view-projects {
    background: rgba(0, 191, 255, 0.1);
    border: 1px solid rgba(0, 191, 255, 0.3);
    color: #00bfff;
}

.view-projects:hover {
    background: rgba(0, 191, 255, 0.2);
    border: 1px solid rgba(0, 191, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 191, 255, 0.3);
}

.view-certificate {
    background: rgba(138, 43, 226, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.3);
    color: #8a2be2;
}

.view-certificate:hover {
    background: rgba(138, 43, 226, 0.2);
    border: 1px solid rgba(138, 43, 226, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(138, 43, 226, 0.3);
}

.verify-online {
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.3);
    color: #00d4aa;
}

.verify-online:hover {
    background: rgba(0, 212, 170, 0.2);
    border: 1px solid rgba(0, 212, 170, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 212, 170, 0.3);
}

.contact-me {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: #ffc107;
}

.contact-me:hover {
    background: rgba(255, 193, 7, 0.2);
    border: 1px solid rgba(255, 193, 7, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.3);
}

.view-skills, .view-portfolio {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.view-skills:hover, .view-portfolio:hover {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Timeline Controls */
.timeline-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    position: relative;
    z-index: 2;
}

.control-btn {
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: rgba(138, 43, 226, 0.2);
    border: 1px solid rgba(138, 43, 226, 0.4);
    color: #fff;
    transform: translateY(-2px);
}

.timeline-years {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.year-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.year-btn:hover {
    background: rgba(138, 43, 226, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.3);
    color: #fff;
}

.year-btn.active {
    background: linear-gradient(135deg, #8a2be2, #00bfff);
    border: 1px solid rgba(138, 43, 226, 0.6);
    color: #fff;
    box-shadow: 0 5px 20px rgba(138, 43, 226, 0.3);
}

.year-btn.future {
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

/* Timeline Stats */
.timeline-stats {
    margin-top: 80px;
    position: relative;
    z-index: 2;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
}

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

.stat-item:hover {
    background: rgba(138, 43, 226, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.2);
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8a2be2, #00bfff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #8a2be2, #00bfff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .timeline-item.left,
    .timeline-item.right {
        padding: 0;
        justify-content: center;
    }
    
    .item-marker {
        display: none;
    }
    
    .item-content::before {
        display: none;
    }
    
    .timeline-line {
        left: 30px;
    }
    
    .timeline-controls {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .item-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .item-actions {
        flex-direction: column;
    }
    
    .item-btn {
        width: 100%;
        justify-content: center;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .timeline-years {
        gap: 5px;
    }
    
    .year-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}












/* ============================================
   CERTIFICATES SECTION - GLASS MORPHISM
   ============================================ */

.certificates-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(
        135deg,
        rgba(5, 11, 46, 0.9) 0%,
        rgba(8, 21, 70, 0.9) 100%
    );
    overflow: hidden;
}

/* Background Elements */
.certificates-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.cert-bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}

.cert-shape-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #8a2be2, #00bfff);
    top: -100px;
    left: -100px;
}

.cert-shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #00bfff, #9400d3);
    bottom: -100px;
    right: -100px;
}

.cert-shape-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #9400d3, #8a2be2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cert-grid-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

/* Section Title */
.certificates-section .glass-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    margin-top: 15px;
    font-weight: 300;
}

/* Filter Tabs */
.certificate-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    z-index: 2;
    position: relative;
}

.filter-btn {
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-btn:hover {
    background: rgba(138, 43, 226, 0.2);
    border: 1px solid rgba(138, 43, 226, 0.4);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.2);
}

.filter-btn.active {
    background: linear-gradient(135deg, #8a2be2, #00bfff);
    border: 1px solid rgba(138, 43, 226, 0.6);
    color: #fff;
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.3);
}

/* Certificates Grid */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .certificates-grid {
        grid-template-columns: 1fr;
    }
}

/* Certificate Item */
.certificate-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.certificate-item:hover {
    transform: translateY(-15px) scale(1.02);
    border: 1px solid rgba(138, 43, 226, 0.4);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(138, 43, 226, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
}

/* Certificate Header */
.certificate-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(138, 43, 226, 0.2);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 20px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
}

.cert-badge.ai-badge {
    background: rgba(0, 191, 255, 0.2);
    border: 1px solid rgba(0, 191, 255, 0.3);
}

.cert-badge.office-badge {
    background: rgba(0, 212, 170, 0.2);
    border: 1px solid rgba(0, 212, 170, 0.3);
}

.cert-badge.academic-badge {
    background: rgba(255, 193, 7, 0.2);
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.cert-badge i {
    font-size: 1rem;
}

.cert-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 5px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
}

/* Certificate Image */
.certificate-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.cert-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.certificate-item:hover .cert-img {
    transform: scale(1.05);
}

.cert-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.certificate-item:hover .cert-overlay {
    opacity: 1;
}

.view-cert-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8a2be2, #00bfff);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.view-cert-btn:hover {
    transform: scale(1.2) rotate(90deg);
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.5);
}

/* Certificate Content */
.certificate-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.cert-title {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.4;
}

.cert-issuer {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cert-issuer i {
    color: #8a2be2;
}

/* Certificate Tags */
.cert-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.cert-tag {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    font-weight: 500;
}

/* Certificate Actions */
.cert-actions {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.verify-btn, .quick-view-btn {
    flex: 1;
    padding: 12px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.verify-btn {
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.3);
    color: #00d4aa;
}

.verify-btn:hover {
    background: rgba(0, 212, 170, 0.2);
    border: 1px solid rgba(0, 212, 170, 0.5);
    transform: translateY(-2px);
}

.verify-btn.disabled {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
}

.verify-btn.disabled:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.05);
}

.verify-btn.portfolio-verify {
    background: rgba(138, 43, 226, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.3);
    color: #8a2be2;
}

.verify-btn.portfolio-verify:hover {
    background: rgba(138, 43, 226, 0.2);
    border: 1px solid rgba(138, 43, 226, 0.5);
}

.quick-view-btn {
    background: rgba(0, 191, 255, 0.1);
    border: 1px solid rgba(0, 191, 255, 0.3);
    color: #00bfff;
}

.quick-view-btn:hover {
    background: rgba(0, 191, 255, 0.2);
    border: 1px solid rgba(0, 191, 255, 0.5);
    transform: translateY(-2px);
}

/* Stats Counter */
.cert-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    text-align: center;
    z-index: 2;
    position: relative;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(138, 43, 226, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.2);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #8a2be2, #00bfff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Certificate Modal */
.cert-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cert-modal.active {
    display: flex;
    opacity: 1;
}

.cert-modal .modal-content {
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    background: rgba(20, 20, 50, 0.95);
    backdrop-filter: blur(50px);
    border: 1px solid rgba(138, 43, 226, 0.4);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 
        0 40px 100px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(138, 43, 226, 0.3);
    transform: scale(0.9);
    animation: modal-pop 0.4s ease forwards;
}

@keyframes modal-pop {
    to {
        transform: scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
}

.modal-header h3 {
    font-size: 1.8rem;
    color: #fff;
    margin: 0;
}

.modal-close {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 107, 107, 0.3);
    border: 1px solid rgba(255, 107, 107, 0.5);
    transform: rotate(90deg);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
    overflow-y: auto;
    max-height: 60vh;
}

@media (max-width: 992px) {
    .modal-body {
        grid-template-columns: 1fr;
    }
}

.modal-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
}

#modalImage {
    width: 100%;
    height: 400px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.image-actions {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.zoom-btn, .download-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.zoom-btn:hover, .download-btn:hover {
    background: rgba(138, 43, 226, 0.8);
    border: 1px solid rgba(138, 43, 226, 1);
    transform: scale(1.1);
}

.modal-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(138, 43, 226, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.2);
    transform: translateX(10px);
}

.info-item i {
    font-size: 1.5rem;
    color: #8a2be2;
    margin-top: 5px;
}

.info-item h4 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 5px;
}

.info-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin: 0;
}

.verify-link {
    color: #00d4aa;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.verify-link:hover {
    color: #00bfff;
    text-decoration: underline;
}

.modal-footer {
    padding: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    background: rgba(0, 0, 0, 0.3);
}

.modal-footer .btn-primary,
.modal-footer .btn-secondary {
    padding: 15px 40px;
    font-size: 1rem;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}













/* ============================================
   GLASS MORPHISM CONTACT SECTION
   ============================================ */

.contact-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 35, 0.8) 0%,
        rgba(20, 20, 50, 0.9) 100%
    );
}

/* Background Shapes */
.contact-bg-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #8a2be2, #00bfff);
    top: 10%;
    left: 10%;
    animation: float-1 20s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #00bfff, #8a2be2);
    bottom: 20%;
    right: 10%;
    animation: float-2 25s ease-in-out infinite;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #9400d3, #00bfff);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float-3 30s ease-in-out infinite;
}

@keyframes float-1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(50px, 50px) rotate(180deg); }
}

@keyframes float-2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-30px, -30px) rotate(-180deg); }
}

@keyframes float-3 {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
    50% { transform: translate(-40%, -40%) rotate(360deg); }
}

.contact-grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.2;
}

/* Section Title */
.glass-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.title-text {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #8a2be2, #00bfff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 20px;
    text-shadow: 0 10px 30px rgba(138, 43, 226, 0.3);
}

.title-line {
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #8a2be2, #00bfff);
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
}

.title-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    animation: shimmer 2s infinite;
}

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

/* Contact Grid Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    padding: 40px;
    gap: 40px;
    position: relative;
    z-index: 2;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Glass Card Base Style */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 0 40px rgba(138, 43, 226, 0.2);
}

.glass-card:hover {
    transform: translateY(-10px);
    border: 1px solid rgba(138, 43, 226, 0.3);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(138, 43, 226, 0.2) inset,
        0 0 60px rgba(138, 43, 226, 0.3);
}

/* Form Container */
.form-container {
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(138, 43, 226, 0.1),
        rgba(0, 191, 255, 0.1)
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.form-container:hover::before {
    opacity: 1;
}

.form-header {
    margin-bottom: 40px;
    text-align: center;
}

.form-header h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.form-header h3 i {
    color: #8a2be2;
    font-size: 1.8rem;
}

.form-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

/* Form Elements */
.form-group {
    position: relative;
    margin-bottom: 25px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 20px 20px 20px 60px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: #fff;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
    padding-top: 20px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border: 1px solid rgba(138, 43, 226, 0.6);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 0 30px rgba(138, 43, 226, 0.3),
        inset 0 0 15px rgba(138, 43, 226, 0.1);
}

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

/* Input Icons */
.input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    z-index: 1;
    transition: all 0.3s ease;
}

.form-group:focus-within .input-icon {
    color: #8a2be2;
    transform: translateY(-50%) scale(1.2);
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.form-note {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-note i {
    color: #00bfff;
}

/* Glass Button */
.glass-btn {
    position: relative;
    padding: 18px 40px;
    background: linear-gradient(
        135deg,
        rgba(138, 43, 226, 0.8),
        rgba(0, 191, 255, 0.8)
    );
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.glass-btn:hover {
    background: linear-gradient(
        135deg,
        rgba(138, 43, 226, 1),
        rgba(0, 191, 255, 1)
    );
    transform: translateY(-3px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 20px 40px rgba(138, 43, 226, 0.4),
        0 0 30px rgba(138, 43, 226, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.glass-btn:hover .btn-glow {
    transform: translateX(100%);
}

/* Contact Sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Contact Info */
.info-header {
    margin-bottom: 30px;
}

.info-header h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-header h3 i {
    color: #00bfff;
}

.info-header p {
    color: rgba(255, 255, 255, 0.7);
}

/* Contact Items */
.contact-items {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(138, 43, 226, 0.2);
    transform: translateX(10px);
}

.item-icon {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.email-icon {
    background: linear-gradient(135deg, #8a2be2, #9400d3);
}

.phone-icon {
    background: linear-gradient(135deg, #00bfff, #0080ff);
}

.location-icon {
    background: linear-gradient(135deg, #00d4aa, #00b894);
}

.icon-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    filter: blur(15px);
    opacity: 0.5;
    z-index: -1;
}

.item-content h4 {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-link,
.contact-text {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #8a2be2;
}

/* Social Contact */
.social-contact {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-contact h4 {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: rgba(138, 43, 226, 0.2);
    border: 1px solid rgba(138, 43, 226, 0.4);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.3);
}

/* Download Card */
.download-card {
    text-align: center;
}

.download-header {
    margin-bottom: 30px;
}

.cv-icon {
    position: relative;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8a2be2, #00bfff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.cv-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    filter: blur(20px);
    opacity: 0.5;
}

.download-header h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 10px;
}

.download-header p {
    color: rgba(255, 255, 255, 0.7);
}

/* CV Info */
.cv-info {
    display: flex;
    justify-content: space-around;
    margin: 30px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
}

.cv-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.cv-detail i {
    font-size: 1.5rem;
    color: #8a2be2;
}

/* Download Button */
.download-btn {
    width: 100%;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.download-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #00bfff, #8a2be2);
    width: 0%;
    transition: width 0.3s ease;
}

.download-btn:hover .download-progress {
    width: 100%;
}

.download-note {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Modal */
.glass-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.glass-modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: rgba(20, 20, 50, 0.95);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(138, 43, 226, 0.4);
    border-radius: 25px;
    padding: 50px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(138, 43, 226, 0.3);
    transform: scale(0.9);
    animation: modal-pop 0.4s ease forwards;
}

@keyframes modal-pop {
    to {
        transform: scale(1);
    }
}

.modal-icon {
    font-size: 5rem;
    color: #00d4aa;
    margin-bottom: 20px;
    animation: icon-bounce 0.6s ease;
}

@keyframes icon-bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.modal-content h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 15px;
}

.modal-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.modal-close {
    padding: 15px 40px;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-grid {
        gap: 20px;
    }
    
    .glass-card {
        padding: 30px 20px;
    }
    
    .title-text {
        font-size: 2.5rem;
    }
    
    .form-header h3 {
        font-size: 1.5rem;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 15px 15px 15px 50px;
    }
    
    .input-icon {
        left: 15px;
    }
    
    .cv-info {
        flex-direction: column;
        gap: 15px;
    }
}








/* Animations */
@keyframes blink { 50% { border-color:transparent; } }
.fade-in { opacity:0; transform:translateY(60px); transition:1s; }
.fade-in.visible { opacity:1; transform:translateY(0); }

/* Responsive */
@media (max-width:992px) {
  .contact-grid { grid-template-columns:1fr; }
  .timeline::after { left:31px; }
  .tl-item { width:100%; padding-left:70px; padding-right:25px; }
  .tl-item.right { left:0%; }
  .right::after { left:18px; }
}
@media (max-width:768px) {
  .hamburger { display:block; }
  .nav-links {
    position:fixed; top:0; right:-100%; height:100vh; width:300px;
    background:rgba(10,10,35,0.98); flex-direction:column; padding-top:100px;
    transition:0.5s;
  }
  .nav-links.active { right:0; }
  .hero { flex-direction:column; text-align:center; }
  .hero h1 { font-size:3.5rem; }
}

/* ===================== */
/*  Responsive – Mobile */
/* ===================== */

@media (max-width: 768px) {

  html {
    font-size: 90%;
  }

  body {
    overflow-x: hidden;
  }

  /* Navbar */
  .navbar {
    padding: 12px 18px;
  }

  .logo img {
    height: 45px;
  }

  /* Hero */
  .hero {
    padding: 100px 20px 60px; 
    gap: 25px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 2.4rem;
    line-height: 1.2;
  }

  .typing {
    font-size: 1.4rem;
    height: auto;
    border-right-width: 2px;
  }

  .desc {
    font-size: 0.95rem;
    margin-top: 10px;
  }

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

  .hero-img img {
    width: 260px;
    margin-top: 10px;
  }


  .section {
    padding: 70px 20px;
  }

  .section-title {
    font-size: 2.3rem;
    margin-bottom: 40px;
  }


  .projects-grid,
  .skills-grid,
  .project-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

 
  .skills-grid {
    padding: 0 8px;
  }

  .skill-category {
    padding: 18px;
  }

  .skill-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    padding: 10px 6px;
    font-size: 0.95rem;
  }

  .skill-item img{
      width: 30px;
    height:30px;
  }
  .skill-item i {
    width: 10px;
    height:10px;
    flex-shrink: 0;
  }

  .skill-item span {
    margin-left: 2px;
    margin-right: auto; 
    font-size: 0.95rem;
    text-align: left;
  }

  .stars {
    font-size: 1.1rem;
    letter-spacing: 2px;
  }

  /* Timeline */
  .timeline::after {
    left: 20px;
  }

  .tl-item {
    width: 100%;
    padding-left: 60px;
    padding-right: 20px;
  }

  .tl-item.left,
  .tl-item.right {
    left: 0;
  }

  .tl-item::after,
  .right::after {
    left: 12px;
    right: auto;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-form {
    padding: 10px 10px;
    width: auto;
    height: auto;
  }

  .contact-info {
    padding: 20px 16px;
  }


  .contact-details div {
    gap: 8px;
    font-size: 0.95rem;  
  }

  .contact-details i {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;  
    flex-shrink: 0;      
  }

}




@media (max-width: 480px) {

  .hero {
    padding-top: 90px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .typing {
    font-size: 1.2rem;
  }

  .btn-primary,
  .btn-secondary {
    padding: 10px 22px;
    font-size: 0.9rem;
  }

  .project-card img,
  .project-img {
    height: 220px;
  }

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

  .skill-item {
    padding: 8px 10px;
    gap: 8px;
  }

  .skill-item span {
    font-size: 0.9rem;
  }

  .stars {
    font-size: 1rem;
  }
}
