/* Certificate Modal Styles */
.certificate-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(30, 0, 60, 0.85);
    justify-content: center;
    align-items: center;
    animation: fadeInModal 0.5s;
}

.certificate-modal-content {
    background: #18182F;
    border-radius: 18px;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    box-shadow: 0 8px 40px 0 rgba(124, 58, 237, 0.25);
    position: relative;
    width: 90vw;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: popInModal 0.5s cubic-bezier(.4, 2, .6, 1.2);
}

.certificate-modal-close {
    position: absolute;
    top: 10px;
    right: 18px;
    font-size: 2rem;
    color: #A78BFA;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 10;
}

.certificate-modal-close:hover {
    color: #EC4899;
}

.certificate-frame {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    border: 2px solid #7C3AED;
    margin-bottom: 1.2rem;
    background: #fff;
    box-shadow: 0 4px 24px 0 rgba(124, 58, 237, 0.12);
    animation: certFrameIn 0.7s cubic-bezier(.4, 2, .6, 1.2);
}

.certificate-modal-controls {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.cert-nav-btn {
    background: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.15);
    transition: background 0.2s, transform 0.2s;
}

.cert-nav-btn:hover {
    background: linear-gradient(135deg, #EC4899 0%, #7C3AED 100%);
    transform: scale(1.08);
}

@keyframes fadeInModal {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes popInModal {
    0% {
        transform: scale(0.7);
        opacity: 0;
    }

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

@keyframes certFrameIn {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Modern Premium About Section Styles 2026
======================================== */

.about {
    background: linear-gradient(180deg, #0a0a12 0%, #12121e 50%, #0a0a12 100%);
    position: relative;
    overflow: hidden;
    padding: 8rem 0;
}

/* Ambient Background Lighting */
.ambient-light {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    opacity: 0.4;
}

.ambient-light-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.4) 0%, transparent 70%);
    top: 10%;
    left: -10%;
    animation: ambientFloat1 12s ease-in-out infinite;
}

.ambient-light-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.3) 0%, transparent 70%);
    bottom: 20%;
    right: -5%;
    animation: ambientFloat2 15s ease-in-out infinite;
}

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

@keyframes ambientFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, 20px) scale(1.05); }
}

/* Main Layout - Two Column */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

/* Left Side - Profile Area */
.about-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

/* Circular Profile Wrapper */
.profile-circle-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Outer Circle - Gradient Ring */
.profile-circle-outer {
    position: relative;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, 
        rgba(124, 58, 237, 0.8) 0%, 
        rgba(236, 72, 153, 0.8) 50%, 
        rgba(167, 139, 250, 0.8) 100%);
    box-shadow: 
        0 0 60px rgba(124, 58, 237, 0.25),
        0 0 100px rgba(236, 72, 153, 0.15);
    animation: gentleFloat 6s ease-in-out infinite;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-circle-outer:hover {
    transform: scale(1.02);
    box-shadow: 
        0 0 80px rgba(124, 58, 237, 0.35),
        0 0 120px rgba(236, 72, 153, 0.2);
}

/* Inner Circle - Image Container */
.profile-circle-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(145deg, #1a1a2e 0%, #0f0f1b 100%);
    position: relative;
}

.profile-circle-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-circle-outer:hover .profile-circle-inner img {
    transform: scale(1.08);
}

/* Soft Diffused Glow Behind Circle */
.profile-circle-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, 
        rgba(124, 58, 237, 0.25) 0%, 
        rgba(236, 72, 153, 0.15) 30%, 
        transparent 60%);
    filter: blur(50px);
    z-index: -2;
    opacity: 0.7;
    animation: glowPulse 8s ease-in-out infinite;
}

/* Shadow Under Circle for Floating Effect */
.profile-circle-shadow {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 30px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.4) 0%, transparent 70%);
    filter: blur(15px);
    z-index: -1;
    opacity: 0.6;
    animation: shadowFloat 6s ease-in-out infinite;
}

/* Gentle Floating Animation */
@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Shadow Animation */
@keyframes shadowFloat {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateX(-50%) scale(0.85);
        opacity: 0.4;
    }
}

/* Glow Pulse Animation */
@keyframes glowPulse {
    0%, 100% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.9;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/* Stats Container - Positioned evenly below circle */
.stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    width: 100%;
    max-width: 320px;
    margin-top: 0.5rem;
}

/* Glass Stat Cards */
.stat-glass-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.stat-glass-card:hover {
    transform: scale(1.04) translateY(-3px);
    background: rgba(124, 58, 237, 0.08);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #A78BFA 0%, #EC4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: 'Clash Display', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

/* Right Side - Content Area */
.about-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Header */
.about-header {
    margin-bottom: 0.5rem;
}

.about-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(167, 139, 250, 0.8);
    margin-bottom: 0.75rem;
}

.about-title {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #A78BFA 0%, #EC4899 50%, #7C3AED 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    font-family: 'Clash Display', sans-serif;
    margin: 0;
}

/* Body Content */
.about-body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.about-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 400;
    margin: 0;
}

/* Skill Badges */
.skill-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    margin-top: 1rem;
}

.skill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.25rem;
    background: rgba(124, 58, 237, 0.12);
    border: 1px solid rgba(124, 58, 237, 0.25);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.skill-badge i {
    font-size: 0.8rem;
    color: #A78BFA;
    transition: all 0.3s ease;
}

.skill-badge:hover {
    background: rgba(124, 58, 237, 0.2);
    border-color: rgba(124, 58, 237, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.25);
}

.skill-badge:hover i {
    color: #EC4899;
    transform: scale(1.2);
}

/* ========================================
   About Section Animations
======================================== */

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

/* Responsive Design */
@media (max-width: 1024px) {
    .about-content {
        gap: 4rem;
    }
    
    .profile-circle-outer {
        width: 260px;
        height: 260px;
    }
    
    .about-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 900px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
    }
    
    .about-left {
        order: 1;
    }
    
    .about-right {
        order: 2;
        align-items: center;
    }
    
    .about-body {
        align-items: center;
    }
    
    .about-paragraph {
        max-width: 600px;
    }
    
    .skill-badges {
        justify-content: center;
    }
    
    .stats-container {
        max-width: 320px;
    }
}

@media (max-width: 640px) {
    .about {
        padding: 5rem 0;
    }
    
    .profile-circle-outer {
        width: 220px;
        height: 220px;
        padding: 2px;
    }
    
    .profile-circle-glow {
        width: 130%;
        height: 130%;
        filter: blur(35px);
    }
    
    .profile-circle-shadow {
        width: 60%;
        height: 20px;
        bottom: -15px;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .about-subtitle {
        font-size: 0.8rem;
        letter-spacing: 2px;
    }
    
    .about-paragraph {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .stats-container {
        gap: 1rem;
        max-width: 260px;
    }
    
    .stat-glass-card {
        padding: 1.25rem 1rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }
    
    .skill-badges {
        gap: 0.6rem;
    }
    
    .skill-badge {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .ambient-light-1,
    .ambient-light-2 {
        opacity: 0.25;
    }
}

@media (max-width: 480px) {
    .profile-circle-outer {
        width: 200px;
        height: 200px;
    }
    
    .stats-container {
        max-width: 240px;
    }
}

/* Hero Logo Box Styles */
.hero-logo-box {
    width: 54px;
    height: 54px;
    margin: 0 auto 1.2rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    border: 2.5px solid;
    border-image: var(--gradient-1) 1;
    background: var(--bg-primary);
    box-shadow: 0 0 16px 2px rgba(124, 58, 237, 0.25), 0 0 0 2px #2d033b;
    transition: box-shadow 0.3s, transform 0.25s;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.hero-logo-box:hover {
    box-shadow: 0 0 32px 6px #a78bfa, 0 0 0 2px #2d033b;
    transform: scale(1.07);
}

.logo-text {
    font-family: 'Fira Mono', 'Consolas', 'Menlo', monospace;
    font-size: 1.25rem;
    color: #fff;
    letter-spacing: 0.02em;
    font-weight: 700;
    text-align: center;
    user-select: none;
}

/* Minimal reveal text below logo box */
.logo-reveal-text {
    display: block;
    margin: 0.35rem auto 0.9rem auto;
    padding: 0;
    text-align: center;
    font-family: 'Fira Mono', 'Consolas', 'Menlo', monospace;
    font-size: 0.98rem;
    font-weight: 600;
    background: linear-gradient(90deg, #a78bfa 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.45s cubic-bezier(.4, 0, .2, 1), transform 0.45s cubic-bezier(.4, 0, .2, 1);
    position: relative;
    z-index: 1;
}

.logo-reveal-text.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

@media (max-width: 600px) {
    .hero-logo-box {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .logo-text {
        font-size: 0.95rem;
    }

    .logo-reveal-text {
        font-size: 0.92rem;
        max-width: 95vw;
    }
}

/* Typing Animation Styles */

.hero-title {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 1rem;
    color: var(--text-primary);
    white-space: nowrap;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.typed-animated {
    font-size: 3rem;
    font-weight: 800;
    color: #6D28D9;
    /* dark purple */
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    text-fill-color: unset;
    transition: color 0.3s;
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 1.2rem;
    }

    .typed-animated {
        font-size: 1.5rem;
    }

    .typed-cursor {
        font-size: 1.2rem;
    }
}

#typed-text {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: 0.5px;
}

.typed-cursor {
    display: inline-block;
    color: #A78BFA;
    font-weight: 700;
    font-size: 2rem;
    margin-left: 2px;
    animation: blink-cursor 0.8s steps(1) infinite;
}

@keyframes blink-cursor {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 1.2rem;
    }

    .typed-cursor {
        font-size: 1.2rem;
    }
}

/* ========================================
   Custom Properties & Variables
======================================== */
:root {
    /* Colors */
    --bg-primary: #0F0F1B;
    --bg-secondary: #1A1A2E;
    --bg-card: rgba(26, 26, 46, 0.6);
    --primary: #7C3AED;
    --primary-light: #A78BFA;
    --primary-dark: #6D28D9;
    --accent: #EC4899;
    --text-primary: #F3F4F6;
    --text-secondary: #9CA3AF;
    --gradient-1: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
    --gradient-2: linear-gradient(135deg, #6D28D9 0%, #7C3AED 100%);
    --gradient-3: linear-gradient(135deg, #A78BFA 0%, #7C3AED 100%);

    /* Shadows */
    --shadow-glow: 0 0 30px rgba(124, 58, 237, 0.3);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 12px 48px rgba(124, 58, 237, 0.4);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 50%;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Clash Display', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

img {
    max-width: 100%;
    display: block;
}


a {
    text-decoration: none;
    color: inherit;
}


/* ========================================
   Scroll Progress Indicator
======================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--gradient-1);
    z-index: 1000;
    transition: width 0.1s ease;
}

/* ========================================
   Container
======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 var(--spacing-md);
    }
}

/* ========================================
   Navigation
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    background: rgba(15, 15, 27, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
    z-index: 999;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(15, 15, 27, 0.95);
    box-shadow: var(--shadow-card);
}

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

.nav-brand {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0.5rem 0.9rem;
    background: transparent;
    border: 1.5px solid rgba(124, 58, 237, 0.6);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.logo-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(236, 72, 153, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-brand:hover .logo-box::before {
    opacity: 1;
}

.nav-brand:hover .logo-box {
    border-color: rgba(167, 139, 250, 0.9);
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.3), inset 0 0 10px rgba(124, 58, 237, 0.1);
    transform: translateY(-1px);
}

.logo-symbol {
    font-family: 'Fira Code', 'Consolas', 'Monaco', monospace;
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(167, 139, 250, 0.85);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    letter-spacing: -1px;
}

.logo-letters {
    font-family: 'Clash Display', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #A78BFA 0%, #EC4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    letter-spacing: 1px;
    margin: 0 1px;
}

.nav-brand:hover .logo-symbol {
    color: rgba(255, 255, 255, 0.95);
}

.nav-brand:hover .logo-letters {
    background: linear-gradient(135deg, #ffffff 0%, #EC4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle logo glow animation */
@keyframes logoGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(124, 58, 237, 0.2);
    }
    50% {
        box-shadow: 0 0 15px rgba(124, 58, 237, 0.4), 0 0 25px rgba(236, 72, 153, 0.2);
    }
}

.logo-box {
    animation: logoGlow 3s ease-in-out infinite;
}

.nav-brand:hover .logo-box {
    animation: none;
}

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

.nav-link {
    position: relative;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color var(--transition-base);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-light);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all var(--transition-base);
}

/* ========================================
   Section Styles
======================================== */
section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-light);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-sm);
    position: relative;
    padding: 0.5rem 1.5rem;
}

.section-subtitle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gradient-1);
    z-index: -1;
}

.section-title {
    font-size: 3rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-md);
}

/* ========================================
   Hero Section - Mobile-First Responsive
======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
    width: 100%;
}

/* Mobile: Image on top, text below */
.hero-image-wrapper {
    order: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
}

.hero-text {
    order: 2;
    text-align: center;
}

.hero-greeting {
    font-size: 1rem;
    color: var(--primary-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

@media (min-width: 640px) {
    .hero-greeting {
        font-size: 1.2rem;
        margin-bottom: var(--spacing-xs);
    }
}

.hero-name {
    font-size: 4rem;
    margin-bottom: var(--spacing-sm);
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title-wrapper {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-md);
    min-height: 60px;
}

.hero-title {
    color: var(--text-secondary);
}

.typing-text {
    color: var(--primary-light);
    font-weight: 600;
    position: relative;
}

.typing-text::after {
    content: '|';
    animation: blink 0.7s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    max-width: 100%;
}

@media (min-width: 640px) {
    .hero-description {
        font-size: 1.1rem;
        line-height: 1.8;
    }
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    border: none;
}

.btn-primary::before {
    content: '';
    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.5s;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

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

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1px solid rgba(124, 58, 237, 0.3);
    backdrop-filter: blur(10px);
    color: var(--primary-light);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* Hero Profile Container - Circular Responsive Design */
.hero-profile-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1 / 1;
}

/* Outer gradient ring */
.hero-profile-ring {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, 
        rgba(124, 58, 237, 0.9) 0%, 
        rgba(236, 72, 153, 0.9) 50%, 
        rgba(167, 139, 250, 0.9) 100%);
    box-shadow: 
        0 0 40px rgba(124, 58, 237, 0.3),
        0 0 80px rgba(236, 72, 153, 0.15);
    animation: heroFloat 6s ease-in-out infinite;
    transition: all 0.4s ease;
}

.hero-profile-ring:hover {
    transform: scale(1.02);
    box-shadow: 
        0 0 60px rgba(124, 58, 237, 0.4),
        0 0 100px rgba(236, 72, 153, 0.2);
}

/* Inner image container - Perfect circle */
.hero-profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(145deg, #1a1a2e 0%, #0f0f1b 100%);
    position: relative;
}

.hero-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-profile-ring:hover .hero-profile-image img {
    transform: scale(1.08);
}

/* Soft glow behind the circle */
.hero-profile-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    height: 130%;
    background: radial-gradient(circle, 
        rgba(124, 58, 237, 0.25) 0%, 
        rgba(236, 72, 153, 0.15) 40%, 
        transparent 70%);
    filter: blur(40px);
    z-index: -2;
    opacity: 0.6;
    animation: heroGlowPulse 8s ease-in-out infinite;
}

/* Shadow for floating effect */
.hero-profile-shadow {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 25px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.4) 0%, transparent 70%);
    filter: blur(12px);
    z-index: -1;
    opacity: 0.5;
    animation: heroShadowFloat 6s ease-in-out infinite;
}

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

.float-icon {
    position: absolute;
    width: 45px;
    height: 45px;
    background: rgba(26, 26, 46, 0.8);
    border: 1.5px solid rgba(124, 58, 237, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: rgba(167, 139, 250, 0.9);
    animation: heroIconFloat 3s ease-in-out infinite;
    animation-delay: var(--delay);
    transition: all 0.3s ease;
}

.float-icon:nth-child(1) {
    top: 5%;
    right: 5%;
}

.float-icon:nth-child(2) {
    bottom: 25%;
    left: -5%;
}

.float-icon:nth-child(3) {
    bottom: 5%;
    right: 10%;
}

/* Animations */
@keyframes heroFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes heroGlowPulse {
    0%, 100% { 
        opacity: 0.6; 
        transform: translate(-50%, -50%) scale(1); 
    }
    50% { 
        opacity: 0.8; 
        transform: translate(-50%, -50%) scale(1.05); 
    }
}

@keyframes heroShadowFloat {
    0%, 100% { 
        transform: translateX(-50%) scale(1);
        opacity: 0.5;
    }
    50% { 
        transform: translateX(-50%) scale(0.85);
        opacity: 0.35;
    }
}

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

/* Scroll Indicator - Mobile optimized */
.scroll-indicator {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--primary);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 3px;
    height: 6px;
    background: var(--primary-light);
    border-radius: 3px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        top: 6px;
        opacity: 1;
    }
    100% {
        top: 24px;
        opacity: 0;
    }
}

.scroll-indicator p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

@media (min-width: 768px) {
    .scroll-indicator {
        bottom: 2rem;
        gap: 1rem;
    }
    
    .mouse {
        width: 28px;
        height: 48px;
        border-radius: 18px;
    }
    
    .wheel {
        width: 4px;
        height: 8px;
        top: 8px;
    }
    
    @keyframes scroll {
        0% { top: 8px; opacity: 1; }
        100% { top: 28px; opacity: 0; }
    }
    
    .scroll-indicator p {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }
}

/* ========================================
   About Section - New Premium Design
   (See "Modern Premium About Section Styles 2026" above)
======================================== */

/* ========================================
   Education Section
======================================== */
.education-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.education-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-1);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-lg);
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
    padding-right: calc(50% + 40px);
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: left;
    padding-left: calc(50% + 40px);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border: 4px solid var(--bg-primary);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
    box-shadow: var(--shadow-glow);
}

.timeline-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    transition: all var(--transition-base);
    position: relative;
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.timeline-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: var(--radius-sm);
    font-size: 1.5rem;
    color: white;
    margin-bottom: var(--spacing-sm);
}

.timeline-year {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(124, 58, 237, 0.2);
    border-radius: var(--radius-sm);
    color: var(--primary-light);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.timeline-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.timeline-institution {
    color: var(--primary-light);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.timeline-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   Skills Section
======================================== */
.skills {
    background: var(--bg-secondary);
}

/* Skills Category Styles */
.skills-category {
    margin-bottom: var(--spacing-xl);
}

.category-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    position: relative;
    padding-bottom: var(--spacing-md);
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 10px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
}

.skill-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.skill-card:hover::before {
    opacity: 0.1;
}

.skill-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.skill-icon {
    font-size: 2.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
    position: relative;
    z-index: 1;
    transition: transform var(--transition-base);
}

.skill-card:hover .skill-icon {
    transform: scale(1.15) rotate(5deg);
}

.skill-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    color: var(--text-primary);
    font-weight: 600;
}

/* ========================================
   Projects Section
======================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-md);
}

.project-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-base);
}

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

.project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(124, 58, 237, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.project-link {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    transition: all var(--transition-base);
}

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

.project-content {
    padding: var(--spacing-md);
}

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.project-content p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-md);
}

.tag {
    padding: 0.3rem 0.8rem;
    background: rgba(124, 58, 237, 0.2);
    border: 1px solid var(--primary);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--primary-light);
}

.btn-view {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-light);
    font-weight: 600;
    transition: all var(--transition-base);
}

.btn-view:hover {
    gap: 1rem;
    color: var(--primary);
}

/* ========================================
   Achievements Section
======================================== */
.achievements {
    background: var(--bg-secondary);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.achievement-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    display: flex;
    gap: var(--spacing-md);
    transition: all var(--transition-base);
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.achievement-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    flex-shrink: 0;
}

.achievement-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.achievement-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-sm);
}

.achievement-date {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    background: rgba(124, 58, 237, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--primary-light);
}

/* ========================================
   Testimonials Section
   (REMOVED - Section deleted from HTML)
======================================== */
/* ========================================
   Contact Section - Mobile First Responsive
======================================== */
.contact {
    padding: 4rem 0;
    background: linear-gradient(180deg, #0a0a12 0%, #12121e 50%, #0a0a12 100%);
    overflow-x: hidden;
}

.contact .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

/* Contact Info Section */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

/* Contact Cards Grid - Mobile: 1 column, Tablet: 2 columns */
.contact-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    width: 100%;
}

/* Modern Contact Card Design */
.contact-card {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem;
    background: #141428;
    border: 1px solid rgba(124, 58, 237, 0.35);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    width: 100%;
    box-sizing: border-box;
    min-height: 64px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.contact-card:hover {
    background: #1a1a35;
    border-color: rgba(124, 58, 237, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.12);
}

.contact-card-static {
    cursor: default;
}

.contact-card-static:hover {
    transform: none;
    box-shadow: none;
    background: #141428;
    border-color: rgba(124, 58, 237, 0.35);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.8), rgba(236, 72, 153, 0.8));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-card-icon {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
}

.contact-card-content {
    flex: 1;
    min-width: 0;
}

.contact-card-content h3 {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(180, 180, 200, 0.85);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-card-content p {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contact-card-arrow {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(167, 139, 250, 0.7);
    transition: all 0.3s ease;
}

.contact-card:hover .contact-card-arrow {
    color: #A78BFA;
    transform: translateX(4px);
}

/* Contact Social Section */
.contact-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #0f0f1b;
    border-radius: 16px;
    border: 1px solid rgba(124, 58, 237, 0.25);
}

.contact-social-label {
    font-size: 0.85rem;
    color: rgba(180, 180, 200, 0.85);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.contact-social-links {
    display: flex;
    gap: 0.75rem;
}

.contact-social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #141428;
    border: 1px solid rgba(124, 58, 237, 0.4);
    border-radius: 12px;
    color: #A78BFA;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-social-link:hover {
    background: linear-gradient(135deg, #7C3AED, #EC4899);
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.25);
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    width: 100%;
}

.contact-form {
    background: #0f0f1b;
    border: 1px solid rgba(124, 58, 237, 0.35);
    border-radius: 16px;
    padding: 1.25rem;
    width: 100%;
    box-sizing: border-box;
}

.form-header {
    margin-bottom: 1.25rem;
    text-align: center;
}

.form-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.form-header p {
    font-size: 0.875rem;
    color: rgba(200, 200, 220, 0.75);
    line-height: 1.5;
}

/* Form Layout - Mobile First */
.form-row {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.form-group {
    position: relative;
    margin-bottom: 1.25rem;
    width: 100%;
}

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

/* Ensure proper spacing between stacked form elements */
.form-row .form-group {
    margin-bottom: 1.25rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: #141428;
    border: 1px solid rgba(124, 58, 237, 0.4);
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.2s ease;
    min-height: 52px;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: transparent;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #A78BFA;
    background: #1a1a35;
}

.form-group label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(180, 180, 200, 0.8);
    font-size: 1rem;
    font-weight: 400;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: #141428;
    padding: 0 6px;
    border-radius: 4px;
    z-index: 10;
    line-height: 1;
}

.form-group textarea + label {
    top: 18px;
    transform: translateY(0);
}

/* Floating Label Animation - Stripe Style */
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -9px;
    transform: translateY(0);
    font-size: 0.75rem;
    font-weight: 500;
    color: #A78BFA;
    background: #0f0f1b;
    padding: 2px 8px;
    line-height: 1.2;
}

/* Full Width Button - Mobile */
.btn-full {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Small Mobile - 480px and below */
@media (max-width: 480px) {
    .contact {
        padding: 3rem 0;
    }
    
    .contact .container {
        padding: 0 0.875rem;
    }
    
    .contact-card {
        padding: 0.875rem;
        min-height: 56px;
    }
    
    .contact-card-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 1rem;
    }
    
    .contact-card-content h3 {
        font-size: 0.8rem;
    }
    
    .contact-card-content p {
        font-size: 0.9rem;
    }
    
    .contact-form {
        padding: 1rem;
    }
    
    .form-header h3 {
        font-size: 1.15rem;
    }
    
    .form-header p {
        font-size: 0.8rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 16px;
        min-height: 48px;
    }
    
    .form-group label {
        left: 10px;
        font-size: 0.95rem;
    }
    
    .form-group input:focus + label,
    .form-group input:not(:placeholder-shown) + label,
    .form-group textarea:focus + label,
    .form-group textarea:not(:placeholder-shown) + label {
        top: -9px;
        font-size: 0.75rem;
    }
    
    .contact-social {
        padding: 1rem;
    }
    
    .contact-social-link {
        width: 40px;
        height: 40px;
    }
}

/* Tablet Styles */
@media (min-width: 640px) {
    .contact {
        padding: 5rem 0;
    }
    
    .contact .container {
        padding: 0 1.5rem;
    }
    
    .contact-cards-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .contact-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
    
    .form-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .form-row .form-group {
        margin-bottom: 1rem;
    }
    
    .contact-form {
        padding: 1.75rem;
    }
    
    .form-header h3 {
        font-size: 1.35rem;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .contact {
        padding: 6rem 0;
    }
    
    .contact .container {
        padding: 0 2rem;
    }
    
    .contact-content {
        display: grid;
        grid-template-columns: 1fr 1.3fr;
        gap: 3rem;
    }
    
    .contact-cards-grid {
        display: flex;
        flex-direction: column;
    }
    
    .contact-card:last-child:nth-child(odd) {
        max-width: none;
        margin: 0;
    }
    
    .contact-social {
        flex-direction: row;
        justify-content: flex-start;
        padding: 1.25rem 1.5rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .form-header {
        text-align: left;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .contact-card:hover {
        transform: none;
    }
    
    .contact-social-link:hover {
        transform: none;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .contact-card,
    .contact-social-link {
        transition: none;
    }
}

/* ========================================
   Footer
======================================== */
.footer {
    background: var(--bg-secondary);
    padding: var(--spacing-md) 0;
    text-align: center;
    border-top: 1px solid rgba(124, 58, 237, 0.1);
}

.footer-content p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.footer-content i {
    color: var(--accent);
}

/* ========================================
   Scroll to Top Button
======================================== */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 998;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* ========================================
   Responsive Design
======================================== */
/* ========================================
   Hero Responsive Styles - Mobile First
======================================== */

/* Reduce animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hero-profile-ring,
    .hero-profile-glow,
    .hero-profile-shadow,
    .float-icon {
        animation: none;
    }
    
    .hero-profile-ring:hover,
    .hero-profile-image img {
        transform: none;
    }
}

/* Mobile performance: Disable complex animations on small screens */
@media (max-width: 480px) {
    .hero-profile-glow {
        animation: none;
        opacity: 0.5;
    }
    
    .float-icon {
        animation-duration: 4s;
    }
}

/* Tablet: Larger circle, slight adjustments */
@media (min-width: 640px) {
    .hero-profile-container {
        max-width: 380px;
    }
    
    .float-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

/* Desktop: Two-column layout */
@media (min-width: 1024px) {
    .hero {
        padding: 100px 0 80px;
    }
    
    .hero-content {
        grid-template-columns: 1fr 1.2fr;
        gap: 4rem;
    }
    
    /* Reset order for desktop - image on right */
    .hero-image-wrapper {
        order: 2;
    }
    
    .hero-text {
        order: 1;
        text-align: left;
    }
    
    .hero-profile-container {
        max-width: 420px;
    }
    
    .hero-profile-ring {
        padding: 4px;
        box-shadow: 
            0 0 60px rgba(124, 58, 237, 0.35),
            0 0 100px rgba(236, 72, 153, 0.2);
    }
    
    .hero-profile-glow {
        width: 140%;
        height: 140%;
        filter: blur(50px);
        opacity: 0.7;
    }
    
    .float-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }
    
    .float-icon:nth-child(1) {
        top: 8%;
        right: 8%;
    }
    
    .float-icon:nth-child(2) {
        bottom: 28%;
        left: -3%;
    }
    
    .float-icon:nth-child(3) {
        bottom: 8%;
        right: 15%;
    }
    
    .hero-buttons {
        justify-content: flex-start;
    }
    
    .social-links {
        justify-content: flex-start;
    }
}

/* Large Desktop: Maximum size */
@media (min-width: 1280px) {
    .hero-profile-container {
        max-width: 450px;
    }
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        text-align: left;
        padding-left: 50px;
        padding-right: 0;
    }

    .education-timeline::before {
        left: 20px;
    }

    .timeline-dot {
        left: 20px;
    }

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

    .hero-name {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 300px;
        height: calc(100vh - 70px);
        background: rgba(15, 15, 27, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        padding: 2rem 0;
        transition: right var(--transition-base);
        border-left: 1px solid rgba(124, 58, 237, 0.3);
    }

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

    .nav-menu li {
        padding: 1rem 2rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

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

    .hero-name {
        font-size: 2.5rem;
    }

    .hero-title-wrapper {
        font-size: 1.3rem;
        min-height: 50px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.5rem;
    }

    .social-links {
        justify-content: center;
        gap: 0.75rem;
    }

    .social-link {
        width: 42px;
        height: 42px;
    }

    /* Tablet hero adjustments */
    .hero-profile-container {
        max-width: 340px;
    }

    .float-icon {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }

    .projects-grid,
    .services-grid,
    .skills-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile Logo Styles */
    .logo-box {
        padding: 0.4rem 0.7rem;
    }

    .logo-symbol {
        font-size: 0.95rem;
    }

    .logo-letters {
        font-size: 1.15rem;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

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

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

    /* Mobile hero image adjustments */
    .hero-profile-container {
        max-width: 280px;
    }

    .hero-profile-ring {
        padding: 2px;
        box-shadow: 
            0 0 30px rgba(124, 58, 237, 0.25),
            0 0 60px rgba(236, 72, 153, 0.12);
    }

    .hero-profile-glow {
        width: 120%;
        height: 120%;
        filter: blur(30px);
        opacity: 0.5;
    }

    .hero-profile-shadow {
        width: 55%;
        height: 20px;
        bottom: -12px;
    }

    /* Smaller floating icons on mobile */
    .float-icon {
        width: 38px;
        height: 38px;
        font-size: 1rem;
        border-radius: 10px;
    }

    .float-icon:nth-child(1) {
        top: 3%;
        right: 3%;
    }

    .float-icon:nth-child(2) {
        bottom: 20%;
        left: -3%;
    }

    .float-icon:nth-child(3) {
        bottom: 3%;
        right: 5%;
    }

    /* Extra small mobile logo */
    .logo-box {
        padding: 0.35rem 0.6rem;
        border-width: 1.5px;
    }

    .logo-symbol {
        font-size: 0.9rem;
    }

    .logo-letters {
        font-size: 1.05rem;
    }
}