/* ============================================
   GENERAL SETTINGS & RESET
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

html {
    overflow-x: hidden;
    width: 100%;
}

:root {
    /* Color Palette */
    --primary-color: #00d4ff;
    --secondary-color: #0096c7;
    --accent-color: #00f5ff;
    --bg-dark: #0a0e27;
    --bg-card: #151932;
    --bg-card-hover: #1a1f3a;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --text-highlight: #ffffff;
    --border-color: #2d3561;
    --success-color: #4caf50;
    
    /* Spacing */
    --section-padding: 80px 10%;
    --card-padding: 30px;
    
    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 212, 255, 0.1);
    --shadow-md: 0 5px 20px rgba(0, 212, 255, 0.2);
    --shadow-lg: 0 10px 40px rgba(0, 212, 255, 0.3);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

body {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #050814 100%);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(0, 150, 199, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

a { 
    text-decoration: none; 
    color: inherit; 
    transition: var(--transition-normal);
}

ul { list-style: none; }

strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* ============================================
   NAVIGATION BAR
   ============================================ */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background: rgba(21, 25, 50, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 212, 255, 0.1);
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    padding: 15px 10%;
    box-shadow: 0 5px 30px rgba(0, 212, 255, 0.2);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-normal);
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links { 
    display: flex; 
    gap: 30px; 
    align-items: center;
}

.nav-links a {
    position: relative;
    padding: 8px 0;
    font-weight: 500;
    transition: var(--transition-normal);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width var(--transition-normal);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition-normal);
    border-radius: 2px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 100px 10% 60px;
    background:
        radial-gradient(circle at 15% 20%, rgba(91, 216, 255, 0.08), transparent 45%),
        radial-gradient(circle at 80% 70%, rgba(255, 121, 217, 0.08), transparent 42%),
        linear-gradient(165deg, rgba(5, 9, 26, 0.85) 0%, rgba(8, 14, 39, 0.95) 45%, rgba(3, 6, 18, 0.98) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15), transparent 70%);
    top: -200px;
    right: -200px;
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 150, 199, 0.1), transparent 70%);
    bottom: -150px;
    left: -150px;
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: particle-float linear infinite;
}

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

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

.hero-label {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--primary-color);
    animation: slideDown 0.8s ease;
}

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

.hero h1 { 
    font-size: 3.5rem; 
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
    animation: slideUp 0.8s ease 0.2s backwards;
}

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

.hero h2 { 
    font-size: 1.8rem; 
    color: var(--text-highlight); 
    margin-bottom: 25px;
    font-weight: 500;
    letter-spacing: 0.04em;
    animation: slideUp 0.8s ease 0.4s backwards;
}

.typing-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 1.4em;
    font-family: 'Orbitron', 'Poppins', sans-serif;
    padding: 0 8px;
    border-radius: 10px;
    background: linear-gradient(120deg, rgba(20, 28, 66, 0.35), rgba(18, 24, 58, 0.1));
    border: 1px solid rgba(120, 150, 255, 0.22);
    box-shadow: inset 0 0 16px rgba(0, 212, 255, 0.08);
}

.typing-text .typed-content {
    display: inline-block;
    transition: color 0.25s ease, text-shadow 0.25s ease;
}

.typing-text .typing-cursor {
    width: 2px;
    height: 1.1em;
    border-radius: 2px;
    background: currentColor;
    animation: blink-cursor 0.9s step-end infinite;
}

.typing-text.role-backend {
    color: #5bd8ff;
}

.typing-text.role-backend .typed-content {
    text-shadow:
        0 0 8px rgba(91, 216, 255, 0.85),
        0 0 18px rgba(0, 188, 255, 0.65),
        0 0 28px rgba(0, 140, 255, 0.45);
}

.typing-text.role-uiux {
    color: #ff79d9;
}

.typing-text.role-uiux .typed-content {
    text-shadow:
        0 0 8px rgba(255, 121, 217, 0.9),
        0 0 16px rgba(203, 96, 255, 0.65),
        0 0 26px rgba(161, 84, 255, 0.45);
}

@keyframes blink-cursor {
    0%, 45% {
        opacity: 1;
    }

    50%, 100% {
        opacity: 0;
    }
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 28px;
    line-height: 1.8;
    animation: slideUp 0.8s ease 0.6s backwards;
}

.highlight { 
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 50px;
    animation: slideUp 0.8s ease 0.8s backwards;
}

.btn {
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    transition: all var(--transition-normal);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

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

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

.btn i {
    transition: var(--transition-normal);
}

.btn:hover i {
    transform: translateX(5px);
}

.btn.primary { 
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-dark); 
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
}

.btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.5);
}

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

.btn.secondary:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
    animation: slideUp 0.8s ease 1s backwards;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

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

/* ============================================
   SECTIONS COMMON STYLES
   ============================================ */
.section { 
    padding: var(--section-padding);
    position: relative;
    z-index: 1;
    width: 100%;
    overflow-x: hidden;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 60px;
    font-weight: 700;
    position: relative;
    display: block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.container { 
    max-width: 1200px; 
    margin: 0 auto;
    width: 100%;
    padding: 0 15px;
}

/* Fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
#about {
    background: rgba(21, 25, 50, 0.3);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-text-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-secondary);
    text-align: left;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.highlight-item:hover {
    border-color: var(--primary-color);
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.highlight-item i {
    font-size: 2rem;
    color: var(--primary-color);
    min-width: 40px;
}

.highlight-item span {
    font-weight: 500;
    color: var(--text-primary);
}

/* ============================================
   INTERESTS SECTION
   ============================================ */
#interests {
    background: var(--bg-dark);
    position: relative;
}

#interests::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 150, 199, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.interests-box {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(21, 25, 50, 0.8) 100%);
    backdrop-filter: blur(20px);
    padding: 50px 40px;
    border-radius: 20px;
    border: 1.5px solid rgba(0, 212, 255, 0.25);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 100px rgba(0, 212, 255, 0.15),
        inset 0 1px 0 rgba(0, 212, 255, 0.1);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.interests-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
}

.interests-box:hover {
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateY(-8px);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.4),
        0 0 120px rgba(0, 212, 255, 0.2),
        inset 0 1px 0 rgba(0, 212, 255, 0.15);
}

.interests-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 245, 255, 0.1));
    border: 1.5px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2rem;
    color: var(--primary-color);
    transition: all var(--transition-normal);
}

.interests-box:hover .interests-icon {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(0, 245, 255, 0.2));
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.interests-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-highlight);
    margin: 0 0 25px 0;
}

.interests-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.interest-tag {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(0, 245, 255, 0.04) 100%);
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: 18px;
    border: 1.5px solid rgba(0, 212, 255, 0.2);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all var(--transition-normal);
    cursor: default;
    display: inline-block;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

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

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

.interest-tag:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(0, 245, 255, 0.1) 100%);
    color: var(--accent-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* ============================================
   VISION SECTION
   ============================================ */
#vision {
    background: var(--bg-dark);
    position: relative;
}

#vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 150, 199, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.vision-box {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(21, 25, 50, 0.8) 100%);
    backdrop-filter: blur(20px);
    padding: 50px 40px;
    border-radius: 20px;
    border: 1.5px solid rgba(0, 212, 255, 0.25);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 100px rgba(0, 212, 255, 0.15),
        inset 0 1px 0 rgba(0, 212, 255, 0.1);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.vision-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
}

.vision-box:hover {
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateY(-8px);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.4),
        0 0 120px rgba(0, 212, 255, 0.2),
        inset 0 1px 0 rgba(0, 212, 255, 0.15);
}

.vision-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 245, 255, 0.1));
    border: 1.5px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2rem;
    color: var(--primary-color);
    transition: all var(--transition-normal);
}

.vision-box:hover .vision-icon {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(0, 245, 255, 0.2));
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.vision-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-highlight);
    margin: 0 0 15px 0;
}

.vision-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0 0 30px 0;
    letter-spacing: 0.3px;
}

.vision-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.vision-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
    width: 75%;
    box-shadow: 0 0 15px var(--primary-color);
}

/* ============================================
   SKILLS SECTION
   ============================================ */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.skill-card {
    background: var(--bg-card);
    padding: var(--card-padding);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

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

.skill-card:hover { 
    transform: translateY(-10px); 
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    background: var(--bg-card-hover);
}

.icon { 
    font-size: 3.5rem; 
    margin-bottom: 20px; 
    color: var(--primary-color);
    display: inline-block;
    transition: var(--transition-normal);
}

.skill-card:hover .icon {
    transform: scale(1.1) rotateY(360deg);
}

.skill-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-highlight);
}

.skill-card p {
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.skill-bar {
    width: 100%;
    height: 6px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 10px;
    margin-top: 20px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
    transition: width 1s ease;
    box-shadow: 0 0 10px var(--primary-color);
}

/* ============================================
   CERTIFICATIONS SECTION
   ============================================ */
#certifications {
    background: var(--bg-dark);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.certification-card {
    background: var(--bg-card);
    padding: var(--card-padding);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.certification-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

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

.certification-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    background: var(--bg-card-hover);
}

.certification-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.certification-header h3 {
    font-size: 1.2rem;
    color: var(--text-highlight);
    display: flex;
    align-items: center;
    gap: 10px;
}

.certification-header i {
    color: var(--primary-color);
}

.certification-year {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    border: 1px solid rgba(0, 212, 255, 0.4);
    border-radius: 20px;
    padding: 5px 12px;
    white-space: nowrap;
}

.certification-issuer {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 10px;
}

.certification-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 18px;
}

.certification-card .link-btn {
    margin-top: auto;
    width: fit-content;
}

.credential-modal {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 20, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.credential-modal.active {
    opacity: 1;
    visibility: visible;
}

.credential-modal-content {
    width: min(1000px, 95vw);
    max-height: 92vh;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 24px;
    position: relative;
    overflow: auto;
}

.credential-modal-content h3 {
    color: var(--text-highlight);
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.credential-modal-content img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    display: block;
}

.credential-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: rgba(0, 212, 255, 0.08);
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.credential-close:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(0, 212, 255, 0.15);
}

body.modal-open {
    overflow: hidden;
}

.confirmation-modal {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 20, 0.82);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 2100;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.confirmation-modal.active {
    opacity: 1;
    visibility: visible;
}

.confirmation-modal-content {
    width: min(460px, 96vw);
    background:
        radial-gradient(circle at top right, rgba(0, 212, 255, 0.15), transparent 50%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
        var(--bg-card);
    border: 1px solid rgba(0, 212, 255, 0.35);
    border-radius: 18px;
    padding: 26px 24px 22px;
    text-align: center;
    position: relative;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    transform: translateY(14px) scale(0.96);
    opacity: 0;
}

.confirmation-modal.active .confirmation-modal-content {
    animation: confirmation-popup-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.confirmation-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: rgba(0, 212, 255, 0.06);
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.confirmation-close:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(0, 212, 255, 0.16);
}

.confirmation-check {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    margin: 4px auto 14px;
    display: grid;
    place-items: center;
    color: #12d886;
    border: 2px solid rgba(18, 216, 134, 0.55);
    background: radial-gradient(circle at center, rgba(18, 216, 134, 0.22), rgba(18, 216, 134, 0.08));
    box-shadow: 0 0 0 0 rgba(18, 216, 134, 0.38);
}

.confirmation-check i {
    font-size: 2rem;
    opacity: 0;
    transform: scale(0.4) rotate(-15deg);
}

.confirmation-modal.active .confirmation-check {
    animation: confirmation-ring-pulse 0.9s ease-out 0.12s;
}

.confirmation-modal.active .confirmation-check i {
    animation: confirmation-check-in 0.55s cubic-bezier(0.18, 0.88, 0.32, 1.35) 0.2s forwards;
}

.confirmation-modal-content h3 {
    margin: 0 0 8px;
    font-size: 1.45rem;
    color: var(--text-highlight);
}

.confirmation-modal-content p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.7;
}

@keyframes confirmation-popup-in {
    from {
        transform: translateY(14px) scale(0.96);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes confirmation-check-in {
    0% {
        opacity: 0;
        transform: scale(0.4) rotate(-15deg);
    }

    70% {
        opacity: 1;
        transform: scale(1.12) rotate(0deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes confirmation-ring-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(18, 216, 134, 0.35);
    }

    100% {
        box-shadow: 0 0 0 18px rgba(18, 216, 134, 0);
    }
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
#projects {
    background: rgba(21, 25, 50, 0.3);
}

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

.project-item {
    background: var(--bg-card);
    padding: var(--card-padding);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

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

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

.project-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
    background: var(--bg-card-hover);
}

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

.project-header h3 {
    font-size: 1.6rem;
    color: var(--text-highlight);
    display: flex;
    align-items: center;
    gap: 10px;
}

.project-header i {
    color: var(--primary-color);
}

.project-status {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.project-status.live {
    background: rgba(76, 175, 80, 0.1);
    color: var(--success-color);
    border-color: var(--success-color);
    animation: pulse 2s ease infinite;
}

.project-status.development {
    background: rgba(0, 150, 199, 0.1);
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

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

.tag {
    display: inline-block;
    background: rgba(0, 212, 255, 0.1);
    padding: 5px 12px;
    font-size: 0.8rem;
    border-radius: 6px;
    margin-right: 8px;
    margin-bottom: 15px;
    color: var(--primary-color);
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: var(--transition-fast);
}

.tag:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: scale(1.05);
}

.project-item > p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 20px 0;
}

.project-features {
    list-style: none;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.project-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.project-features i {
    color: var(--success-color);
    font-size: 0.9rem;
}

.links { 
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    color: var(--primary-color);
    font-weight: 500;
    transition: all var(--transition-normal);
}

.link-btn:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 30px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-highlight);
}

.contact-text > p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-form-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
        var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.contact-form-card h3 {
    font-size: 1.4rem;
    color: var(--text-highlight);
    margin-bottom: 8px;
}

.contact-form-card > p {
    color: var(--text-secondary);
    margin-bottom: 18px;
}

.contact-form {
    display: grid;
    gap: 14px;
}

.form-row {
    display: grid;
    gap: 6px;
}

.form-row label {
    color: var(--text-highlight);
    font-weight: 500;
    font-size: 0.93rem;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    border: 1px solid var(--border-color);
    background: rgba(13, 18, 43, 0.85);
    color: var(--text-primary);
    border-radius: 12px;
    padding: 13px 14px;
    font-size: 0.95rem;
    appearance: none;
    -webkit-appearance: none;
    transition: all var(--transition-normal);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
    color: #95a3c7;
}

.form-row input:hover,
.form-row select:hover,
.form-row textarea:hover {
    border-color: rgba(0, 212, 255, 0.45);
}

.form-row select {
    line-height: 1.35;
}

.form-row select option {
    background: #151932;
    color: #e0e0e0;
}

.form-row select option:disabled {
    color: #9aa6c7;
}

.select-row {
    position: relative;
}

.native-select {
    position: absolute;
    inset: auto;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.custom-select {
    position: relative;
}

.custom-select-trigger {
    width: 100%;
    border: 1px solid var(--border-color);
    background: rgba(13, 18, 43, 0.85);
    color: var(--text-primary);
    border-radius: 12px;
    padding: 13px 14px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.custom-select-trigger:hover {
    border-color: rgba(0, 212, 255, 0.45);
}

.custom-select.open .custom-select-trigger,
.custom-select-trigger:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}

.custom-select-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: #151932;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
    z-index: 30;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity var(--transition-normal), transform var(--transition-normal);
    max-height: 260px;
    overflow-y: auto;
}

.custom-select.open .custom-select-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.custom-option {
    list-style: none;
    color: var(--text-primary);
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.custom-option:hover,
.custom-option.active {
    background: rgba(0, 212, 255, 0.2);
    color: #ffffff;
}

.form-select-icon {
    position: static;
    font-size: 0.85rem;
    color: #93a5ca;
    pointer-events: none;
    transition: color var(--transition-normal), transform var(--transition-normal);
}

.custom-select.open .form-select-icon {
    color: var(--primary-color);
    transform: rotate(180deg);
}

.form-row textarea {
    resize: none;
    min-height: 130px;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--border-color);
    box-shadow: none;
    background: rgba(13, 18, 43, 0.85);
    color: var(--text-primary);
}

.form-row input:-webkit-autofill,
.form-row input:-webkit-autofill:hover,
.form-row input:-webkit-autofill:focus,
.form-row textarea:-webkit-autofill,
.form-row textarea:-webkit-autofill:hover,
.form-row textarea:-webkit-autofill:focus,
.form-row select:-webkit-autofill,
.form-row select:-webkit-autofill:hover,
.form-row select:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--text-primary) !important;
    caret-color: var(--text-primary);
    -webkit-box-shadow: 0 0 0 1000px rgba(13, 18, 43, 0.85) inset !important;
    box-shadow: 0 0 0 1000px rgba(13, 18, 43, 0.85) inset !important;
    border: 1px solid var(--border-color) !important;
    transition: background-color 99999s ease-in-out 0s;
}

.form-row input:autofill,
.form-row textarea:autofill,
.form-row select:autofill {
    color: var(--text-primary) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 0 0 1000px rgba(13, 18, 43, 0.85) inset !important;
}

.contact-form .btn {
    justify-content: center;
    width: 100%;
    border: none;
    border-radius: 12px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), opacity var(--transition-fast);
}

.contact-form .btn:disabled {
    opacity: 0.7;
    cursor: wait;
}

.contact-form .btn.is-loading {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 212, 255, 0.24);
    animation: sending-pulse 1.25s ease-in-out infinite;
}

.contact-form-status {
    min-height: 0;
    max-height: 0;
    opacity: 0;
    transform: translateY(8px);
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 2px;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 0 14px;
    font-size: 0.94rem;
    line-height: 1.45;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    transition: max-height 0.35s ease, opacity 0.28s ease, transform 0.35s ease, padding 0.35s ease, border-color 0.28s ease;
}

.contact-form-status.show {
    max-height: 90px;
    opacity: 1;
    transform: translateY(0);
    padding: 12px 14px;
    margin-bottom: 6px;
}

.contact-form-status i {
    font-size: 0.95rem;
}

.contact-form-status.success {
    color: #95ffbc;
    border-color: rgba(76, 175, 80, 0.5);
    background: linear-gradient(180deg, rgba(76, 175, 80, 0.18), rgba(76, 175, 80, 0.08));
}

.contact-form-status.error {
    color: #ffb0b0;
    border-color: rgba(255, 107, 107, 0.5);
    background: linear-gradient(180deg, rgba(255, 107, 107, 0.18), rgba(255, 107, 107, 0.08));
}

@keyframes sending-pulse {
    0%,
    100% {
        box-shadow: 0 8px 20px rgba(0, 212, 255, 0.2);
    }

    50% {
        box-shadow: 0 12px 26px rgba(0, 212, 255, 0.34);
    }
}

.honey-field {
    display: none !important;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: var(--bg-card);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.contact-item:hover {
    border-color: var(--primary-color);
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    min-width: 30px;
    margin-top: 3px;
}

.contact-item > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-item strong {
    color: var(--text-highlight);
    font-size: 1rem;
}

.contact-item span,
.contact-item a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.social-section {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    height: fit-content;
}

.social-section h4 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--text-highlight);
    text-align: center;
}

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

.social-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: all var(--transition-normal);
    font-weight: 500;
}

.social-link i {
    font-size: 1.5rem;
    color: var(--primary-color);
    min-width: 30px;
    transition: var(--transition-normal);
}

.social-link:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateX(5px);
}

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

.copy-tooltip {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--success-color);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    white-space: nowrap;
    animation: tooltipFade 2s ease;
}

@keyframes tooltipFade {
    0%, 100% { opacity: 0; }
    10%, 90% { opacity: 1; }
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-card);
    font-size: 0.95rem;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero-stats {
        gap: 40px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .interests-tags {
        gap: 5px;
        justify-content: center;
    }
    
    .interest-tag {
        padding: 5px 12px;
        font-size: 0.75rem;
        border-radius: 15px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 5%;
    }
    
    .navbar { 
        padding: 15px 5%;
    }
    
    .mobile-menu-btn { 
        display: flex; 
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background: rgba(21, 25, 50, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 30px;
        gap: 25px;
        align-items: flex-start;
        transition: right var(--transition-normal);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        width: 100%;
        padding: 12px 0;
        font-size: 1.1rem;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translateY(10px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-10px);
    }
    
    .hero {
        padding: 80px 5% 60px;
        min-height: auto;
    }
    
    .hero h1 { 
        font-size: 2.2rem; 
    }
    
    .hero h2 {
        font-size: 1.3rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-btns {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: space-around;
    }
    
    .stat-item {
        flex: 0 1 auto;
        min-width: 100px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .about-highlights {
        grid-template-columns: 1fr;
    }
    
    .project-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .certification-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero h2 {
        font-size: 1.1rem;
    }
    
    .hero-label {
        font-size: 0.8rem;
        padding: 6px 15px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .skill-card,
    .project-item,
    .certification-card {
        padding: 20px;
    }

    .credential-modal-content {
        padding: 18px;
    }
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--accent-color), var(--primary-color));
}

/* ============================================
   SELECTION STYLING
   ============================================ */
::selection {
    background: var(--primary-color);
    color: var(--bg-dark);
}

::-moz-selection {
    background: var(--primary-color);
    color: var(--bg-dark);
}