/* ==========================================
   CSS VARIABLES & DESIGN SYSTEM
========================================== */
:root {
    /* Colors */
    --bg-dark: #080d1a;
    --bg-card: rgba(13, 23, 42, 0.55);
    --bg-nav: rgba(8, 13, 26, 0.75);
    --primary-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    --secondary-gradient: linear-gradient(135deg, #b106ff 0%, #7928ca 100%);
    --accent-gradient: linear-gradient(135deg, #00f2fe 0%, #b106ff 100%);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-accent: #00f2fe;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(0, 242, 254, 0.3);
    --shadow-neon: 0 8px 32px 0 rgba(0, 242, 254, 0.1);
    --shadow-neon-purple: 0 8px 32px 0 rgba(177, 6, 255, 0.15);
    
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ==========================================
   RESET & BASE STYLES
========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
}

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

ul {
    list-style: none;
}

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

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 5px;
    border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.text-center {
    text-align: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
}

/* ==========================================
   BUTTONS & BADGES
========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #020617;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 242, 254, 0.5);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-accent);
    transform: translateY(-3px);
}

.btn-block {
    width: 100%;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(0, 242, 254, 0.1);
    color: var(--text-accent);
    border: 1px solid rgba(0, 242, 254, 0.2);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ==========================================
   GLASS CARDS
========================================== */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.2rem;
    transition: var(--transition-normal);
}

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

/* ==========================================
   HEADER & NAVIGATION
========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-nav);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.header.scrolled {
    padding: 0.5rem 0;
    background: rgba(8, 13, 26, 0.9);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.logo-accent {
    color: var(--text-accent);
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding: 0.3rem 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition-fast);
}

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

.nav-btn {
    border: 1px solid rgba(0, 242, 254, 0.3);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    background: rgba(0, 242, 254, 0.05);
}

.nav-btn:hover {
    background: var(--primary-gradient);
    color: #020617 !important;
    border-color: transparent;
}

.nav-btn::after {
    display: none;
}

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-nav-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-primary);
    transition: var(--transition-fast);
}

/* ==========================================
   HERO SECTION
========================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    padding-bottom: 60px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 1.5rem;
    min-height: 2.8rem;
}

.cursor {
    color: var(--text-accent);
    animation: blink 0.8s infinite;
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

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

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.social-links a:hover {
    color: #020617;
    background: var(--primary-gradient);
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: var(--shadow-neon);
}

/* Hero Image & Glows */
.hero-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.profile-image-container {
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    animation: morphing 8s ease-in-out infinite alternate;
}

.profile-glow {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.25) 0%, rgba(177, 6, 255, 0.2) 50%, transparent 70%);
    filter: blur(15px);
    z-index: 1;
    pointer-events: none;
    animation: rotateGlow 15s linear infinite;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    z-index: 2;
    position: relative;
    transition: var(--transition-normal);
}

.profile-image-container:hover .profile-img {
    transform: scale(1.05);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--text-accent);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollMouse 1.5s infinite;
}

.scroll-text {
    font-size: 0.75rem;
    font-family: var(--font-heading);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

/* ==========================================
   ABOUT & EDUCATION SECTION
========================================== */
.about-section {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
}

.about-text-card h3, .soft-skills-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    border-bottom: 2px solid rgba(0, 242, 254, 0.1);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.about-text-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Education Block */
.education-block {
    margin-top: 2rem;
}

.education-block h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-accent);
    margin-bottom: 1.2rem;
}

.edu-item {
    display: flex;
    gap: 1.2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 15px;
}

.edu-icon {
    width: 45px;
    height: 45px;
    background: rgba(0, 242, 254, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-accent);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.edu-details h5 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
}

.edu-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0.2rem 0 0.5rem 0;
}

.edu-score strong {
    color: var(--text-accent);
}

/* Soft Skills & Stats */
.about-features-card {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.soft-skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 0.5rem;
}

.soft-skill-tag {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 0.7rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: var(--transition-fast);
}

.soft-skill-tag i {
    color: var(--text-accent);
}

.soft-skill-tag:hover {
    border-color: rgba(177, 6, 255, 0.4);
    background: rgba(177, 6, 255, 0.05);
    transform: translateX(3px);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.stat-card {
    text-align: center;
    padding: 1.5rem 1rem;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-accent);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: block;
    margin-top: 0.3rem;
}

/* ==========================================
   SKILLS SECTION
========================================== */
.skills-section {
    padding: 100px 0;
}

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

.skills-category {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.category-header i {
    font-size: 1.5rem;
    color: var(--text-accent);
}

.category-header h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 500;
}

.skill-info span:last-child {
    color: var(--text-accent);
    font-size: 0.85rem;
}

.skill-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.skill-progress {
    height: 100%;
    border-radius: 10px;
    background: var(--primary-gradient);
    position: absolute;
    top: 0;
    left: 0;
    transition: width 1.5s cubic-bezier(0.1, 0.8, 0.2, 1);
    width: 0; /* Animated dynamically or defined inline and triggered */
}

/* ==========================================
   EXPERIENCE SECTION (TIMELINE)
========================================== */
.experience-section {
    padding: 100px 0;
}

.exp-cert-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
}

.timeline-section-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 2.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.timeline-section-title i {
    color: var(--text-accent);
}

/* Timeline Layout */
.timeline {
    position: relative;
    border-left: 2px solid rgba(255, 255, 255, 0.06);
    padding-left: 2.5rem;
    margin-left: 0.5rem;
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}

.timeline-dot {
    position: absolute;
    left: -48px;
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--text-accent);
    box-shadow: 0 0 10px var(--text-accent);
    border: 4px solid var(--bg-dark);
}

.timeline-date {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-accent);
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.timeline-content h5 {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.timeline-content ul {
    list-style-type: none;
}

.timeline-content ul li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.6rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.timeline-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--text-accent);
}

/* Certifications Column */
.cert-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cert-card {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.cert-icon {
    width: 50px;
    height: 50px;
    background: rgba(177, 6, 255, 0.08);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b106ff;
    font-size: 1.4rem;
    flex-shrink: 0;
    border: 1px solid rgba(177, 6, 255, 0.15);
}

.cert-card:hover {
    box-shadow: var(--shadow-neon-purple);
    border-color: rgba(177, 6, 255, 0.3);
}

.cert-info h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
}

.cert-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.cert-date {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

/* ==========================================
   PROJECTS SECTION
========================================== */
.projects-section {
    padding: 100px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.project-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-header {
    margin-bottom: 1.2rem;
}

.project-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.project-badge.fintech {
    background: rgba(0, 242, 254, 0.08);
    color: var(--text-accent);
    border: 1px solid rgba(0, 242, 254, 0.15);
}

.project-badge.iot {
    background: rgba(249, 115, 22, 0.08);
    color: #f97316;
    border: 1px solid rgba(249, 115, 22, 0.15);
}

.project-badge.ai {
    background: rgba(177, 6, 255, 0.08);
    color: #b106ff;
    border: 1px solid rgba(177, 6, 255, 0.15);
}

.project-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
}

.project-body {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.project-body p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}

.project-highlights {
    list-style: none;
}

.project-highlights li {
    position: relative;
    padding-left: 1.2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.project-highlights li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--text-accent);
    font-size: 1.2rem;
    line-index: 1;
}

.project-highlights li strong {
    color: var(--text-primary);
}

.project-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tech span {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ==========================================
   ACHIEVEMENTS SECTION
========================================== */
.achievements-section {
    padding: 100px 0;
}

.achievements-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.achievement-card {
    text-align: center;
    padding: 2.2rem;
}

.achievement-card:hover {
    box-shadow: var(--shadow-neon-purple);
    border-color: rgba(177, 6, 255, 0.25);
}

.ach-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(177, 6, 255, 0.1) 0%, rgba(0, 242, 254, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 1.6rem;
    color: var(--text-accent);
    border: 1px solid rgba(0, 242, 254, 0.2);
}

.achievement-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.achievement-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ==========================================
   CONTACT SECTION
========================================== */
.contact-section {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
}

.contact-info-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(0, 242, 254, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-accent);
    font-size: 1.3rem;
    flex-shrink: 0;
    border: 1px solid rgba(0, 242, 254, 0.15);
}

.detail-box span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-box a, .detail-box p {
    font-size: 1.05rem;
    font-weight: 500;
}

.detail-box a:hover {
    color: var(--text-accent);
}

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

.social-circles a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.social-circles a:hover {
    color: #020617;
    background: var(--primary-gradient);
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: var(--shadow-neon);
}

/* Contact Form */
.contact-form-wrapper {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

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

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--text-accent);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
}

.form-status-msg {
    margin-top: 1rem;
    font-size: 0.95rem;
    text-align: center;
    min-height: 1.5rem;
}

.form-status-msg.success {
    color: #10b981;
}

.form-status-msg.error {
    color: #ef4444;
}

/* ==========================================
   FOOTER SECTION
========================================== */
.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    background: #040811;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================
   KEYFRAME ANIMATIONS
========================================== */
@keyframes blink {
    50% { opacity: 0; }
}

@keyframes scrollMouse {
    0% { opacity: 1; top: 6px; }
    50% { opacity: 0.3; top: 18px; }
    100% { opacity: 1; top: 6px; }
}

@keyframes morphing {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
    75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

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

/* Scroll reveal triggers */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   RESPONSIVE LAYOUTS (MEDIA QUERIES)
========================================== */
@media (max-width: 1024px) {
    .hero-grid, .about-grid, .exp-cert-grid, .contact-grid {
        gap: 3rem;
    }
    .projects-grid, .achievements-carousel {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    html {
        font-size: 15px;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .hero-image-wrapper {
        order: -1;
    }
    .hero-ctas {
        justify-content: center;
    }
    .social-links {
        justify-content: center;
    }
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    .about-grid, .exp-cert-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .skills-grid {
        grid-template-columns: 1fr;
    }
    .mobile-nav-toggle {
        display: block;
    }
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(8, 13, 26, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        transition: left 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        border-top: 1px solid var(--border-color);
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-menu ul {
        flex-direction: column;
        padding: 3rem 1.5rem;
        gap: 2.5rem;
    }
    .nav-link {
        font-size: 1.3rem;
    }
    .mobile-nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 600px) {
    .projects-grid, .achievements-carousel {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }
    .profile-image-container {
        width: 250px;
        height: 250px;
    }
}
