:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-light: #DBEAFE;
    --text-main: #0F172A;
    --text-muted: #64748B;
    --bg-main: #FFFFFF;
    --bg-light: #F8FAFC;
    --border: #E2E8F0;
    --success: #10B981;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-main);
    color: var(--text-main);
}

body {
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

.highlight {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border-color: var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
}

.nav-links {
    display: flex;
    gap: 1.25rem;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.icon-link {
    color: var(--text-muted);
    font-size: 1.25rem;
}

.icon-link:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    padding: 1rem 2rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-link {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    font-weight: 500;
}

/* Hero Section */
.hero {
    padding: 10rem 0 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background-color: var(--bg-light);
    border: 1px solid var(--border);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: var(--success);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.hero-title {
    font-size: 4rem;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Hero Image */
.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    padding: 10px;
    background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid white;
    position: relative;
    z-index: 5;
    transform: translateZ(1px);
}

/* Satellite Animation Styles */
.profile-wrapper {
    perspective: 1000px;
    transform-style: preserve-3d;
}

.satellite-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 480px;
    height: 480px;
    margin-top: -240px;
    margin-left: -240px;
    border-radius: 50%;
    border: 2px solid rgba(37, 99, 235, 0.12);
    transform-style: preserve-3d;
    transform: rotateX(75deg) rotateY(20deg); /* Static 3D tilted orbit plane */
    pointer-events: none;
    z-index: 1; /* Layered dynamically behind/front of earth via child keyframe z-indices */
    --orbit-radius: 240px; /* CSS Custom variable for responsive scaling */
}

.satellite-orbit::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px dashed rgba(37, 99, 235, 0.25);
}

/* Second satellite for dual-orbit GPS look */
.satellite-orbit-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 480px;
    height: 480px;
    margin-top: -240px;
    margin-left: -240px;
    border-radius: 50%;
    border: 1px solid rgba(139, 92, 246, 0.08);
    transform-style: preserve-3d;
    transform: rotateX(60deg) rotateY(-30deg); /* Static tilted opposite plane */
    pointer-events: none;
    z-index: 10;
    --orbit-radius: 240px;
}

.satellite-orbit-2::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px dashed rgba(139, 92, 246, 0.2);
}

/* Sparking Stars and Orbs Coordinates along Orbits */
.orbit-star, .orbit-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    pointer-events: none;
}

.orbit-star {
    color: #eab308; /* Bright Golden Star */
    font-size: 0.65rem;
    filter: drop-shadow(0 0 4px rgba(234, 179, 8, 0.8));
    animation: star-sparkle 3s ease-in-out infinite;
}

.orbit-dot {
    width: 5px;
    height: 5px;
    background: #eab308;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(234, 179, 8, 0.7);
    animation: star-sparkle 2.5s ease-in-out infinite;
}

/* Orbit 1 Placements (using CSS custom radius var) */
.star-1 { transform: translate(-50%, -50%) rotate(45deg) translate(var(--orbit-radius)) rotate(-45deg) rotateX(-90deg); animation-delay: 0.2s; }
.dot-1  { transform: translate(-50%, -50%) rotate(90deg) translate(var(--orbit-radius)) rotate(-90deg) rotateX(-90deg); animation-delay: 0.5s; }
.star-2 { transform: translate(-50%, -50%) rotate(135deg) translate(var(--orbit-radius)) rotate(-135deg) rotateX(-90deg); animation-delay: 0.8s; }
.dot-2  { transform: translate(-50%, -50%) rotate(180deg) translate(var(--orbit-radius)) rotate(-180deg) rotateX(-90deg); animation-delay: 1.1s; }
.star-3 { transform: translate(-50%, -50%) rotate(225deg) translate(var(--orbit-radius)) rotate(-225deg) rotateX(-90deg); animation-delay: 1.4s; }
.dot-3  { transform: translate(-50%, -50%) rotate(270deg) translate(var(--orbit-radius)) rotate(-270deg) rotateX(-90deg); animation-delay: 1.7s; }
.star-4 { transform: translate(-50%, -50%) rotate(315deg) translate(var(--orbit-radius)) rotate(-315deg) rotateX(-90deg); animation-delay: 2s; }
.dot-4  { transform: translate(-50%, -50%) rotate(360deg) translate(var(--orbit-radius)) rotate(-360deg) rotateX(-90deg); animation-delay: 2.3s; }

/* Orbit 2 Placements (using CSS custom radius var) */
.star-5 { transform: translate(-50%, -50%) rotate(60deg) translate(var(--orbit-radius)) rotate(-60deg) rotateX(-90deg); animation-delay: 0.4s; color: #a78bfa; filter: drop-shadow(0 0 4px #a78bfa); }
.dot-5  { transform: translate(-50%, -50%) rotate(150deg) translate(var(--orbit-radius)) rotate(-150deg) rotateX(-90deg); animation-delay: 0.9s; background: #a78bfa; box-shadow: 0 0 6px #a78bfa; }
.star-6 { transform: translate(-50%, -50%) rotate(240deg) translate(var(--orbit-radius)) rotate(-240deg) rotateX(-90deg); animation-delay: 1.4s; color: #a78bfa; filter: drop-shadow(0 0 4px #a78bfa); }
.dot-6  { transform: translate(-50%, -50%) rotate(330deg) translate(var(--orbit-radius)) rotate(-330deg) rotateX(-90deg); animation-delay: 1.9s; background: #a78bfa; box-shadow: 0 0 6px #a78bfa; }

@keyframes star-sparkle {
    0%, 100% { opacity: 0.25; transform: translate(-50%, -50%) scale(0.7) rotateX(-90deg); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.25) rotateX(-90deg); }
}

/* Responsiveness for Satellites */
@media (max-width: 1024px) {
    .satellite-orbit,
    .satellite-orbit-2 {
        width: 420px;
        height: 420px;
        margin-top: -210px;
        margin-left: -210px;
        --orbit-radius: 210px; /* Recalculates dynamically */
    }
}

@media (max-width: 480px) {
    .satellite-orbit,
    .satellite-orbit-2 {
        width: 320px;
        height: 320px;
        margin-top: -160px;
        margin-left: -160px;
        --orbit-radius: 160px; /* Recalculates dynamically */
    }

}

.floating-badge {
    position: absolute;
    background: white;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
    z-index: 100;
    transform: translateZ(100px);
}

.badge-top-right {
    top: 10%;
    right: -5%;
}

.badge-bottom-right {
    bottom: 15%;
    right: -10%;
}

/* Tech Stack Section */
.tech-stack-section {
    background-color: #0F172A;
    /* Deep dark background */
    color: white;
}

.tech-stack-section .section-title {
    color: white;
    text-align: left;
    margin-bottom: 2rem;
}

.tech-category {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-category:last-child {
    border-bottom: none;
}

.tech-category h3 {
    font-size: 1.25rem;
    color: #CBD5E1;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    transition: var(--transition);
    cursor: default;
}

.tech-badge i {
    font-size: 1rem;
}

.tech-badge:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Badge Colors */
.python {
    background-color: #3776AB;
}

.typescript {
    background-color: #3178C6;
}

.javascript {
    background-color: #F7DF1E;
    color: #000;
}

.cpp {
    background-color: #00599C;
}

.html5 {
    background-color: #E34F26;
}

.css3 {
    background-color: #1572B6;
}

.fastapi {
    background-color: #05998B;
}

.nodejs {
    background-color: #339933;
}

.streamlit {
    background-color: #FF4B4B;
}

.arduino {
    background-color: #00979D;
}

.dotnet {
    background-color: #512BD4;
}

.linux {
    background-color: #FCC624;
    color: #000;
}

.git {
    background-color: #F05032;
}

.vscode {
    background-color: #007ACC;
}

.mysql {
    background-color: #4479A1;
}

.postgresql {
    background-color: #4169E1;
}

.docker {
    background-color: #2496ED;
}

.kubernetes {
    background-color: #326CE5;
}

.aws {
    background-color: #232F3E;
}

.azure {
    background-color: #0078D4;
}

/* Sections Common */
.section {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

/* About */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.125rem;
    color: var(--text-muted);
}

.about-content p {
    margin-bottom: 1.5rem;
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.skill-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.skill-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.skill-card h3 {
    margin-bottom: 0.5rem;
}

.skill-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Timeline (Experience) */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 3rem;
}

.timeline-dot {
    position: absolute;
    left: 14px;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary-light);
}

.timeline-date {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.timeline-roles h4,
.timeline-content h4 {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 1rem;
}

.timeline-roles h4 span {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
}

.location {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Education & Certs */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.subsection-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary);
}

.edu-item {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    border-left: 2px solid var(--primary-light);
}

.edu-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.edu-item .degree {
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.edu-item .date {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.cert-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-bottom: 1rem;
}

.cert-icon {
    font-size: 1.5rem;
    color: #F59E0B;
}

.cert-card h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.cert-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* GitHub Stats */
#github {
    background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
}

#github::before,
#github::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

#github::before {
    top: 10%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(37, 99, 235, 0.05);
}

#github::after {
    bottom: 5%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: rgba(139, 92, 246, 0.05);
}

/* Premium Native GitHub Stats Dashboard */
.github-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .github-stats-grid {
        grid-template-columns: 1fr;
    }
}

.github-native-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.25rem 2rem;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

body.dark-mode .github-native-card {
    background: rgba(15, 23, 42, 0.55);
    border-color: var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.github-native-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
}

body.dark-mode .github-native-card:hover {
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

/* Card Bracket Accents */
.github-native-card .card-bracket {
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid transparent;
    pointer-events: none;
    transition: var(--transition);
    opacity: 0.5;
}

.github-native-card:hover .card-bracket {
    opacity: 1;
    border-color: var(--primary);
}

.github-native-card .card-bracket.top-left {
    top: 10px;
    left: 10px;
    border-width: 2px 0 0 2px;
}

.github-native-card .card-bracket.top-right {
    top: 10px;
    right: 10px;
    border-width: 2px 2px 0 0;
}

.github-native-card .card-bracket.bottom-left {
    bottom: 10px;
    left: 10px;
    border-width: 0 0 2px 2px;
}

.github-native-card .card-bracket.bottom-right {
    bottom: 10px;
    right: 10px;
    border-width: 0 2px 2px 0;
}

/* Profile Mainframe Card details */
.github-header-main {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.github-profile-avatar {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.2);
    object-fit: cover;
    transition: var(--transition);
}

.github-native-card:hover .github-profile-avatar {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
}

.github-header-info h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: var(--text-main);
}

.github-header-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-family: monospace;
    margin-bottom: 0.4rem;
}

.github-bio-block {
    margin-bottom: 1.75rem;
    line-height: 1.5;
    font-size: 0.95rem;
    color: var(--text-muted);
    min-height: 48px;
}

.github-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}

.metric-item {
    text-align: center;
}

.metric-val {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.metric-lbl {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

/* Languages Card details */
.languages-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-main);
}

.languages-bars {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.lang-bar-item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.lang-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 600;
}

.lang-name {
    color: var(--text-main);
}

.lang-pct {
    color: var(--text-muted);
    font-family: monospace;
}

.lang-progress-bg {
    width: 100%;
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

body.dark-mode .lang-progress-bg {
    background: rgba(255, 255, 255, 0.07);
}

.lang-progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Contact */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.contact-item:hover .contact-icon:not(.whatsapp-icon) {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: var(--transition);
    text-decoration: none;
}

.contact-icon.whatsapp-icon {
    background: rgba(37, 211, 102, 0.15);
    color: #25D366;
}

.contact-icon.whatsapp-icon:hover {
    background: #25D366;
    color: white;
    transform: scale(1.1);
}

.contact-item p a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.contact-item p a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
}

.footer-socials a {
    color: var(--text-muted);
    font-size: 1.25rem;
}

.footer-socials a:hover {
    color: var(--primary);
}

/* Animations & Effects */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.hover-lift-subtle {
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.hover-lift-subtle:hover {
    transform: translateX(4px);
    border-color: var(--primary);
}

@keyframes float {
    0% {
        transform: translateY(0px) translateZ(100px);
    }

    50% {
        transform: translateY(-10px) translateZ(100px);
    }

    100% {
        transform: translateY(0px) translateZ(100px);
    }
}

.float-anim {
    animation: float 4s ease-in-out infinite;
}

.float-anim-delayed {
    animation: float 4s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up {
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 1s ease-in forwards;
    opacity: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-content {
        gap: 2rem;
    }

    .profile-wrapper {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 868px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 4rem;
    }

    .hero-cta,
    .hero-stats {
        justify-content: center;
    }

    .hero-description {
        margin: 0 auto 2.5rem;
    }

    .badge-top-right,
    .badge-bottom-right {
        display: none;
        /* Hide floating badges on mobile for cleaner look */
    }

    .grid-2-col,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info .section-title {
        text-align: center;
    }

    .nav-links,
    .nav-actions .btn {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .profile-wrapper {
        width: 280px;
        height: 280px;
    }

    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.25rem;
        text-align: center;
    }
}

/* ==========================================================================
   Premium Tactical HUD Radar & Satellite Styling
   ========================================================================== */
.hud-glow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    filter: blur(20px);
    z-index: 1;
    pointer-events: none;
}

.hud-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
}

.ring-outer {
    width: 460px;
    height: 460px;
    margin-top: -230px;
    margin-left: -230px;
    border: 2px dashed rgba(37, 99, 235, 0.15);
    animation: spin-clockwise 60s linear infinite;
}

.ring-middle {
    width: 430px;
    height: 430px;
    margin-top: -215px;
    margin-left: -215px;
    border: 1px solid rgba(37, 99, 235, 0.2);
    animation: spin-counterclockwise 45s linear infinite;
}

.ring-inner {
    width: 400px;
    height: 400px;
    margin-top: -200px;
    margin-left: -200px;
    border: 2px dotted rgba(139, 92, 246, 0.25);
    animation: spin-clockwise 30s linear infinite;
}

.hud-scanner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(37, 99, 235, 0.7), transparent);
    z-index: 6;
    pointer-events: none;
    animation: scan-vertical 5s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

.hud-corner {
    position: absolute;
    width: 16px;
    height: 16px;
    border-color: rgba(37, 99, 235, 0.6);
    border-style: solid;
    z-index: 6;
    pointer-events: none;
    animation: corner-glow 4s ease-in-out infinite;
}

.top-left {
    top: -5px;
    left: -5px;
    border-width: 2px 0 0 2px;
}

.top-right {
    top: -5px;
    right: -5px;
    border-width: 2px 2px 0 0;
}

.bottom-left {
    bottom: -5px;
    left: -5px;
    border-width: 0 0 2px 2px;
}

.bottom-right {
    bottom: -5px;
    right: -5px;
    border-width: 0 2px 2px 0;
}



/* Responsive adjustment for radar rings on mobile */
@media (max-width: 480px) {
    .ring-outer {
        width: 320px;
        height: 320px;
        margin-top: -160px;
        margin-left: -160px;
    }
    
    .ring-middle {
        width: 300px;
        height: 300px;
        margin-top: -150px;
        margin-left: -150px;
    }
    
    .ring-inner {
        width: 280px;
        height: 280px;
        margin-top: -140px;
        margin-left: -140px;
    }
    
    .satellite-orbit, .satellite-orbit-2 {
        width: 320px !important;
        height: 320px !important;
        margin-top: -160px !important;
        margin-left: -160px !important;
        --orbit-radius: 160px !important;
    }
}

@keyframes spin-clockwise {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes spin-counterclockwise {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes scan-vertical {
    0%, 100% {
        top: 0%;
        opacity: 0.2;
    }
    50% {
        top: 100%;
        opacity: 1;
    }
}

@keyframes corner-glow {
    0%, 100% {
        filter: brightness(1);
        border-color: rgba(37, 99, 235, 0.5);
    }
    50% {
        filter: brightness(1.4);
        border-color: rgba(37, 99, 235, 0.9);
        box-shadow: 0 0 8px rgba(37, 99, 235, 0.3);
    }
}

/* ==========================================================================
   Featured Projects Section Grid & Cards Styles (Previous Theme Match)
   ========================================================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background: white;
    border-radius: 16px;
    padding: 2.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(37, 99, 235, 0.15);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.badge-ai { background: rgba(37, 99, 235, 0.08); color: #2563eb; }
.badge-ml { background: rgba(139, 92, 246, 0.08); color: #8b5cf6; }
.badge-cv { background: rgba(16, 185, 129, 0.08); color: #10b981; }
.badge-fs { background: rgba(245, 158, 11, 0.08); color: #f59e0b; }

.project-role {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.project-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    margin-top: 0;
    margin-bottom: 0.85rem;
    line-height: 1.4;
}

.project-desc {
    font-size: 0.925rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 1.75rem;
    flex-grow: 1;
}

.project-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    font-size: 0.725rem;
    font-weight: 600;
    color: var(--text-muted);
    background: #f8fafc;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.project-card:hover .tech-tag {
    background: #f1f5f9;
    color: var(--text-main);
    border-color: rgba(37, 99, 235, 0.05);
}

/* Adjust grid layout on tablets and mobile screens */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ==========================================================================
   Premium "Hire Me" & Services HUD CSS (Defense Tech / AI Theme)
   ========================================================================== */

/* Section Base */
.hire-me-section {
    background-color: #070b13; /* Deep cyber navy */
    color: #e2e8f0;
    position: relative;
    overflow: hidden;
    padding: 8rem 0;
    border-top: 1px solid rgba(6, 182, 212, 0.1);
    border-bottom: 1px solid rgba(6, 182, 212, 0.1);
}

/* HUD Grid & Ambient Glows */
.hud-grid-bg {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(6, 182, 212, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 182, 212, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center center;
    pointer-events: none;
    z-index: 0;
}

.hud-radial-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(6, 182, 212, 0.04) 50%, transparent 100%);
    filter: blur(50px);
    pointer-events: none;
    z-index: 0;
}

.hire-me-section .container {
    position: relative;
    z-index: 2;
}

/* Header HUD Details */
.hud-header {
    text-align: center;
    margin-bottom: 4.5rem;
}

.hud-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 1rem;
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.25);
    border-radius: 4px;
    color: #06b6d4;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.hud-blink-dot {
    width: 6px;
    height: 6px;
    background-color: #06b6d4;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #06b6d4;
    animation: hud-blink 1.5s ease-in-out infinite;
}

.hud-title {
    color: #ffffff !important;
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #ffffff 40%, #a5f3fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hud-subtitle {
    font-size: 1.2rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.hud-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.hud-divider-line {
    width: 80px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(6, 182, 212, 0.3), transparent);
}

.hud-divider-center {
    color: rgba(6, 182, 212, 0.5);
    font-size: 0.9rem;
    animation: rotation-pulsate 4s linear infinite;
}

/* Services Grid & Glass Cards */
.services-hud-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.service-hud-card {
    background: rgba(10, 17, 32, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(6, 182, 212, 0.12);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* Scanner Beam Effect */
.card-scanner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(6, 182, 212, 0.6), transparent);
    box-shadow: 0 0 8px rgba(6, 182, 212, 0.5);
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Ambient glow spot inside the card */
.card-glow-spot {
    position: absolute;
    top: -20%;
    left: -20%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transition: all 0.5s ease;
}

/* Card Header */
.service-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 3;
}

.service-hud-icon {
    width: 54px;
    height: 54px;
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #06b6d4;
    transition: all 0.3s ease;
}

.service-hud-icon i {
    width: 24px;
    height: 24px;
}

.service-hud-id {
    font-family: monospace;
    font-size: 0.7rem;
    color: rgba(6, 182, 212, 0.5);
    letter-spacing: 1px;
    font-weight: 600;
}

/* Card Typography */
.service-hud-card h3 {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 3;
    transition: color 0.3s ease;
}

.service-hud-card p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
    position: relative;
    z-index: 3;
}

/* Skills Badges inside Cards */
.service-skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    position: relative;
    z-index: 3;
}

.service-skill-tag {
    font-size: 0.725rem;
    font-weight: 600;
    color: #22d3ee;
    background: rgba(6, 182, 212, 0.06);
    border: 1px solid rgba(6, 182, 212, 0.15);
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

/* Card Hover States */
.service-hud-card:hover {
    transform: translateY(-8px);
    border-color: rgba(6, 182, 212, 0.45);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.4),
        0 0 25px rgba(6, 182, 212, 0.15);
    background: rgba(13, 22, 41, 0.85);
}

.service-hud-card:hover .service-hud-icon {
    background: #06b6d4;
    color: #070b13;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
    border-color: #06b6d4;
}

.service-hud-card:hover h3 {
    color: #22d3ee;
}

.service-hud-card:hover .card-scanner {
    opacity: 1;
    animation: card-scan-sweep 2.5s ease-in-out infinite;
}

.service-hud-card:hover .card-glow-spot {
    width: 90%;
    height: 90%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 60%);
}

.service-hud-card:hover .service-skill-tag {
    background: rgba(6, 182, 212, 0.12);
    border-color: rgba(6, 182, 212, 0.35);
    color: #ffffff;
}

/* Capabilities Matrix Diagnostic Terminal */
.hud-diagnostics-container {
    background: rgba(8, 14, 26, 0.8);
    border: 1px solid rgba(6, 182, 212, 0.15);
    border-radius: 16px;
    padding: 3rem;
    margin-bottom: 5rem;
    position: relative;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
}

.hud-diagnostics-container::before {
    content: 'STATUS: ACTIVE_DIAGNOSTICS_RUNNING';
    position: absolute;
    top: -10px;
    left: 30px;
    background: #070b13;
    padding: 0 10px;
    font-family: monospace;
    font-size: 0.65rem;
    color: rgba(6, 182, 212, 0.6);
    letter-spacing: 1.5px;
    font-weight: 600;
}

.diagnostics-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1.25rem;
}

.diagnostics-header i {
    width: 24px;
    height: 24px;
    color: #06b6d4;
}

.diagnostics-header h3 {
    color: #ffffff;
    font-size: 1.2rem;
    letter-spacing: 1px;
    font-weight: 700;
}

.diagnostics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 4rem;
}

.diagnostic-bar-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bar-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 600;
}

.bar-label {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: #94a3b8;
}

.bar-label i {
    width: 16px;
    height: 16px;
    color: rgba(6, 182, 212, 0.6);
}

.bar-percentage {
    font-family: monospace;
    color: #22d3ee;
    font-weight: 700;
}

.bar-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #2563eb 0%, #06b6d4 100%);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
    border-radius: 4px;
    width: 0%;
    transition: width 1.8s cubic-bezier(0.1, 0.8, 0.2, 1);
}

/* Call To Action Container */
.hud-cta-container {
    background: linear-gradient(135deg, rgba(8, 14, 26, 0.85) 0%, rgba(13, 25, 47, 0.85) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 20px;
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

/* Corner bracket details for technical look */
.hud-corner-accent {
    position: absolute;
    width: 14px;
    height: 14px;
    border-color: #06b6d4;
    border-style: solid;
    pointer-events: none;
    z-index: 3;
}

.hud-corner-accent.top-left { top: 12px; left: 12px; border-width: 2px 0 0 2px; }
.hud-corner-accent.top-right { top: 12px; right: 12px; border-width: 2px 2px 0 0; }
.hud-corner-accent.bottom-left { bottom: 12px; left: 12px; border-width: 0 0 2px 2px; }
.hud-corner-accent.bottom-right { bottom: 12px; right: 12px; border-width: 0 2px 2px 0; }

.hud-cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.hud-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.8rem;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.25);
    border-radius: 4px;
    color: #3b82f6;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
}

.hud-cta-content h3 {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.hud-cta-content p {
    color: #94a3b8;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

/* Button CTA Layout */
.hud-cta-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-hud-solid {
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    color: #ffffff !important;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-hud-solid:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(6, 182, 212, 0.5),
        0 0 15px rgba(6, 182, 212, 0.2);
    filter: brightness(1.05);
}

.btn-hud-outline {
    background: rgba(255, 255, 255, 0.02);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
}

.btn-hud-outline:hover {
    background: rgba(6, 182, 212, 0.05);
    border-color: #06b6d4;
    color: #06b6d4 !important;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
    transform: translateY(-3px);
}

.btn-hud-green {
    background: rgba(37, 211, 102, 0.05);
    color: #25d366 !important;
    border: 1px solid rgba(37, 211, 102, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
}

.btn-hud-green:hover {
    background: #25d366;
    color: #070b13 !important;
    border-color: #25d366;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    transform: translateY(-3px);
}

/* Animations Keyframes */
@keyframes hud-blink {
    0%, 100% { opacity: 0.3; filter: brightness(0.8); }
    50% { opacity: 1; filter: brightness(1.2); }
}

@keyframes rotation-pulsate {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); color: #22d3ee; }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes card-scan-sweep {
    0% { top: 0%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.spinning-icon {
    animation: rotation-pulsate 10s linear infinite;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .diagnostics-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0 !important; /* Tighten sections globally on mobile */
    }

    .hud-title {
        font-size: 2.5rem;
    }
    
    .services-hud-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hud-diagnostics-container,
    .hud-cta-container {
        padding: 2.5rem 1.75rem;
    }

    .hud-cta-content h3 {
        font-size: 1.75rem;
    }
    
    .hud-cta-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hud-cta-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .footer-content {
        flex-direction: column !important;
        gap: 1.25rem !important;
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    /* Cyber HUD Section Spacing on Mobile */
    .hire-me-section {
        padding: 4.5rem 0;
    }
    
    .hud-header {
        margin-bottom: 2.5rem;
    }

    .hud-title {
        font-size: 2rem; /* Clean typography, zero word breaking */
    }

    .hud-subtitle {
        font-size: 0.95rem; /* Perfectly legible small text */
        padding: 0 0.5rem;
    }

    /* Cards Layout spacing optimizations */
    .service-hud-card {
        padding: 1.75rem 1.25rem; /* Horizontally spacious for copy/tags */
        border-radius: 12px;
    }

    .service-hud-card h3 {
        font-size: 1.15rem;
        margin-bottom: 0.75rem;
    }

    .service-hud-card p {
        font-size: 0.875rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }

    .service-skills-tags {
        gap: 0.35rem;
    }

    .service-skill-tag {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
    }

    /* Diagnostics Capabilities Terminal on Mobile */
    .hud-diagnostics-container {
        padding: 1.75rem 1.25rem;
        border-radius: 12px;
        margin-bottom: 3.5rem;
    }

    .hud-diagnostics-container::before {
        left: 15px;
        font-size: 0.6rem;
    }

    .diagnostics-header {
        margin-bottom: 1.5rem;
        padding-bottom: 0.75rem;
    }

    .diagnostics-header h3 {
        font-size: 0.9rem;
        letter-spacing: 0.5px;
    }

    .diagnostic-bar-wrapper {
        gap: 0.5rem;
    }

    .bar-info {
        font-size: 0.8rem;
    }

    .bar-label i {
        width: 14px;
        height: 14px;
    }

    /* CTA Section optimizations */
    .hud-cta-container {
        padding: 2.5rem 1.25rem;
        border-radius: 16px;
    }

    .hud-cta-content h3 {
        font-size: 1.4rem;
        line-height: 1.35;
    }

    .hud-cta-content p {
        font-size: 0.9rem;
        margin-bottom: 1.75rem;
    }

    .btn-hud-solid, .btn-hud-outline, .btn-hud-green {
        font-size: 0.85rem;
        padding: 0.7rem 1.25rem;
    }
}

@media (max-width: 360px) {
    .hud-title {
        font-size: 1.75rem;
    }
    
    .hud-cta-content h3 {
        font-size: 1.25rem;
    }
}

/* ==========================================================================
   Premium Dark / Light Mode Styles & System
   ========================================================================== */
body.dark-mode {
    --bg-main: #0b0f19;
    --bg-light: #111827;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: #1e293b;
    --primary-light: #1e3a8a;
}

/* Global transitions for buttery-smooth theme switching */
body {
    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                color 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

h1, h2, h3, h4, p, a, nav, div, section, footer, span, button, input, textarea {
    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                color 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-mode .navbar {
    background-color: rgba(11, 15, 25, 0.9);
}

body.dark-mode .mobile-menu {
    background: var(--bg-light);
}

body.dark-mode input,
body.dark-mode textarea {
    background-color: var(--bg-light) !important;
    color: var(--text-main) !important;
    border-color: var(--border) !important;
}

body.dark-mode .contact-card,
body.dark-mode .project-card,
body.dark-mode .edu-card {
    background-color: var(--bg-light);
    border-color: var(--border);
}

/* Theme Toggle Button Style */
.theme-toggle-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    margin-right: 0.5rem;
}

.theme-toggle-btn:hover {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    transform: scale(1.1);
}

body.dark-mode .theme-toggle-btn:hover {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

/* Keep Cyber HUD active and bright at all times */
.hire-me-section, .cyber-hud-section {
    transition: none !important;
}

/* Premium Toast Notification System */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.15);
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.dark-mode .toast {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
}

.toast-icon {
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-success .toast-icon {
    color: var(--success);
}

.toast-error .toast-icon {
    color: #EF4444;
}

/* Premium Project Card Links Styling */
.project-links {
    display: flex;
    gap: 1.25rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.dark-mode .project-links {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted, #64748B);
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-link i {
    font-size: 0.95rem;
}

.project-link:hover {
    color: var(--primary-color, #2563EB);
    transform: translateY(-1px);
}