/* ==========================================================================
   DESIGN SYSTEM VARIABLES (Dark Mode Default)
   ========================================================================== */
:root {
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'Fira Code', monospace;

    /* Theme colors - Dark Mode Default */
    --bg-primary: #0b0f19;
    --bg-secondary: #161f30;
    --bg-card: rgba(22, 31, 48, 0.6);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(0, 242, 254, 0.3);

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --accent-color: #00f2fe;
    --accent-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    --accent-glow: rgba(0, 242, 254, 0.15);

    --success: #10b981;
    --danger: #ef4444;
    --yellow: #f59e0b;

    --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

/* ==========================================================================
   LIGHT MODE VARIABLES
   ========================================================================== */
body.light-theme {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.8);
    --border-color: rgba(0, 0, 0, 0.06);
    --border-hover: rgba(0, 242, 254, 0.5);

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;

    --accent-color: #0f766e;
    --accent-gradient: linear-gradient(135deg, #0f766e 0%, #2563eb 100%);
    --accent-glow: rgba(15, 118, 110, 0.1);

    --card-shadow: 0 8px 30px 0 rgba(0, 0, 0, 0.05);
}

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

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    outline: none;
}

.section-padding {
    padding: 8rem 0;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
}

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

/* ==========================================================================
   BACKGROUND VISUALS
   ========================================================================== */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    pointer-events: none;
}

body.light-theme .grid-background {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
}

.radial-glow {
    position: fixed;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(80px);
}

/* ==========================================================================
   STICKY HEADER
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(var(--bg-primary), 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.nav-container {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.logo-accent {
    color: var(--accent-color);
    font-weight: 600;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

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

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

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

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

.nav-btn-outline {
    border: 1px solid var(--accent-color);
    padding: 0.5rem 1.25rem !important;
    border-radius: 50px;
}

.nav-btn-outline:hover {
    background: var(--accent-gradient);
    color: #0b0f19 !important;
    border-color: transparent;
}

body.light-theme .nav-btn-outline:hover {
    color: #ffffff !important;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    background: var(--bg-secondary);
    transition: var(--transition-fast);
}

.theme-toggle-btn:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-glow);
}

.sun-icon {
    display: none;
}

body.light-theme .sun-icon {
    display: block;
}

body.light-theme .moon-icon {
    display: none;
}

/* Mobile menu toggle */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* ==========================================================================
   MOBILE DRAWER NAV
   ========================================================================== */
.mobile-nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    overflow-y: auto;
    transition: var(--transition-smooth);
    opacity: 0;
    pointer-events: none;
}

.mobile-nav.open {
    height: calc(100vh - 80px);
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.mobile-nav-link:hover {
    color: var(--accent-color);
}

/* ==========================================================================
   COMMON COMPONENT: CARDS & BUTTONS
   ========================================================================== */
.card {
    background-color: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
}

.card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(0, 242, 254, 0.05);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.95rem 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: var(--accent-gradient);
    color: #0b0f19;
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.2);
}

body.light-theme .btn-primary {
    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 242, 254, 0.4);
}

.btn-secondary {
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.02);
}

.btn-secondary:hover {
    border-color: var(--accent-color);
    background: rgba(0, 242, 254, 0.05);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: 6px;
}

.btn-success {
    background-color: var(--success);
    color: #ffffff;
}

.btn-success:hover {
    background-color: #0e9f6e;
}

.btn-info {
    background-color: transparent;
    color: var(--accent-color);
    border: 1.5px solid var(--accent-color);
}

.btn-info:hover {
    background-color: rgba(0, 242, 254, 0.1);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

.btn-outline-danger {
    border: 1px solid var(--danger);
    color: var(--danger);
}

.btn-outline-danger:hover {
    background-color: rgba(239, 68, 68, 0.1);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding-top: 9rem;
    padding-bottom: 4rem;
    overflow: hidden;
}

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

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--success);
    box-shadow: 0 0 8px var(--success);
}

.hero-title {
    font-size: 4rem;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin-bottom: 3rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

/* Tech Orbit Visual Animation */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 450px;
}

.tech-orbit {
    position: relative;
    width: 500px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0.85);
    transform-origin: center center;
    transition: var(--transition-smooth);
}

.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: var(--bg-secondary);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    box-shadow: 0 0 35px var(--accent-glow);
    z-index: 5;
}

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

.orbit-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 54px;
    height: 54px;
    margin-top: -27px;
    /* Center-offset */
    margin-left: -27px;
    /* Center-offset */
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-primary);
    cursor: pointer;
    box-shadow: var(--card-shadow);
    transition: var(--transition-fast);
    z-index: 10;
}

.orbit-item:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-glow);
    transform: scale(1.15) !important;
}

.tech-orbit:hover .orbit-item {
    animation-play-state: paused;
}

.orbit-item::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
    transition: var(--transition-fast);
    opacity: 0;
}

.orbit-item:hover::before {
    transform: translateX(-50%) scale(1);
    opacity: 1;
}

/* Orbiting Coordinates & Animation */
/* Ring 1 (Inner, R=90px, Clockwise) */
.selenium {
    animation: ring1-orbit1 22s linear infinite;
}

.appium {
    animation: ring1-orbit2 22s linear infinite;
}

.cypress {
    animation: ring1-orbit3 22s linear infinite;
}

/* Ring 2 (Middle, R=170px, Counter-Clockwise) */
.mobile-testing {
    animation: ring2-orbit1 26s linear infinite;
}

.api-testing {
    animation: ring2-orbit2 26s linear infinite;
}

.iot {
    animation: ring2-orbit3 26s linear infinite;
}

/* Ring 3 (Outer, R=250px, Clockwise) */
.uat {
    animation: ring3-orbit1 30s linear infinite;
}

.regression {
    animation: ring3-orbit2 30s linear infinite;
}

.smoke {
    animation: ring3-orbit3 30s linear infinite;
}

.functional {
    animation: ring3-orbit4 30s linear infinite;
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px dashed var(--border-color);
    border-radius: 50%;
    pointer-events: none;
}

.ring-1 {
    width: 180px;
    height: 180px;
}

.ring-2 {
    width: 340px;
    height: 340px;
}

.ring-3 {
    width: 500px;
    height: 500px;
}

/* Ring 1 Keyframes (Clockwise) */
@keyframes ring1-orbit1 {
    0% {
        transform: rotate(0deg) translate(90px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translate(90px) rotate(-360deg);
    }
}

@keyframes ring1-orbit2 {
    0% {
        transform: rotate(120deg) translate(90px) rotate(-120deg);
    }

    100% {
        transform: rotate(480deg) translate(90px) rotate(-480deg);
    }
}

@keyframes ring1-orbit3 {
    0% {
        transform: rotate(240deg) translate(90px) rotate(-240deg);
    }

    100% {
        transform: rotate(600deg) translate(90px) rotate(-600deg);
    }
}

/* Ring 2 Keyframes (Counter-Clockwise) */
@keyframes ring2-orbit1 {
    0% {
        transform: rotate(0deg) translate(170px) rotate(0deg);
    }

    100% {
        transform: rotate(-360deg) translate(170px) rotate(360deg);
    }
}

@keyframes ring2-orbit2 {
    0% {
        transform: rotate(120deg) translate(170px) rotate(-120deg);
    }

    100% {
        transform: rotate(-240deg) translate(170px) rotate(240deg);
    }
}

@keyframes ring2-orbit3 {
    0% {
        transform: rotate(240deg) translate(170px) rotate(-240deg);
    }

    100% {
        transform: rotate(-120deg) translate(170px) rotate(120deg);
    }
}

/* Ring 3 Keyframes (Clockwise) */
@keyframes ring3-orbit1 {
    0% {
        transform: rotate(0deg) translate(250px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translate(250px) rotate(-360deg);
    }
}

@keyframes ring3-orbit2 {
    0% {
        transform: rotate(90deg) translate(250px) rotate(-90deg);
    }

    100% {
        transform: rotate(450deg) translate(250px) rotate(-450deg);
    }
}

@keyframes ring3-orbit3 {
    0% {
        transform: rotate(180deg) translate(250px) rotate(-180deg);
    }

    100% {
        transform: rotate(540deg) translate(250px) rotate(-540deg);
    }
}

@keyframes ring3-orbit4 {
    0% {
        transform: rotate(270deg) translate(250px) rotate(-270deg);
    }

    100% {
        transform: rotate(630deg) translate(250px) rotate(-630deg);
    }
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.section-header {
    margin-bottom: 5rem;
}

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

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
}

.about-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

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

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

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

/* ==========================================================================
   SKILLS SECTION
   ========================================================================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.skill-category {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.category-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon.blue {
    background: rgba(0, 242, 254, 0.1);
    color: #00f2fe;
}

.category-icon.green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.category-icon.purple {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
}

.category-icon.yellow {
    background: rgba(245, 158, 11, 0.1);
    color: var(--yellow);
}

.category-icon.cyan {
    background: rgba(6, 182, 212, 0.1);
    color: #06b6d4;
}

.category-icon.orange {
    background: rgba(249, 115, 22, 0.1);
    color: #f97316;
}

.skill-category h3 {
    font-size: 1.25rem;
}

.skill-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.skill-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.bullet {
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
    border-radius: 50%;
}

/* ==========================================================================
   TOOLS SECTION
   ========================================================================== */
/* Infinite Auto-Sliding Tools Ticker */
/* Infinite Auto-Sliding Tools Ticker Wrapper & Container */
.ticker-container {
    position: relative;
    width: 100%;
    overflow: visible;
    margin-top: 3.5rem;
    margin-bottom: -3rem;
    z-index: 5;
}

.ticker-container::before,
.ticker-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.ticker-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-primary) 0%, rgba(255, 255, 255, 0) 100%);
}

body.dark-theme .ticker-container::before {
    background: linear-gradient(to right, #0a0e17 0%, rgba(10, 14, 23, 0) 100%);
}

.ticker-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-primary) 0%, rgba(255, 255, 255, 0) 100%);
}

body.dark-theme .ticker-container::after {
    background: linear-gradient(to left, #0a0e17 0%, rgba(10, 14, 23, 0) 100%);
}

.ticker-wrapper {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 1rem 0;
    margin-bottom: 0;
    position: relative;
    cursor: grab;
    user-select: none;
}

.ticker-wrapper::-webkit-scrollbar {
    display: none;
}

.ticker-wrapper:active {
    cursor: grabbing;
}

.ticker-track {
    display: flex;
    width: max-content;
    will-change: scroll-position;
}

.ticker-track:hover {
    animation-play-state: paused;
}

.ticker-item {
    padding: 0.6rem 1.4rem;
    margin: 0 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: var(--card-shadow);
    white-space: nowrap;
    transition: var(--transition-smooth);
}

.ticker-item:hover {
    transform: translateY(-3px);
    border-color: var(--accent-color);
    box-shadow: 0 6px 20px rgba(0, 242, 254, 0.15);
    background: rgba(0, 242, 254, 0.05);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.hero-ticker {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.01);
}

body.dark-theme .hero-ticker {
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    background: rgba(10, 14, 23, 0.25);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    align-items: stretch;
}

.tool-category {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
}

.tool-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.tool-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-icon.blue {
    background: rgba(0, 242, 254, 0.1);
    color: #00f2fe;
}

.tool-icon.green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.tool-icon.purple {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
}

.tool-category h3 {
    font-size: 1.25rem;
}

.tool-item {
    margin-bottom: 0;
}

.tool-item:last-child {
    margin-bottom: 0;
}

.tool-item strong {
    display: block;
    color: var(--text-primary);
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.tool-bullet-list {
    list-style: none;
    padding-left: 0.25rem;
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tool-bullet-list li {
    position: relative;
    padding-left: 1.2rem;
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.45;
}

.tool-bullet-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* ==========================================================================
/* ==========================================================================
   CI/CD PIPELINE ANIMATION
   ========================================================================== */
.cicd-section {
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 242, 254, 0.04) 0%, transparent 60%);
}

/* Pipeline Stage Flow Bar */
.pipeline-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0 auto 3rem;
    max-width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.pipeline-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.4s ease;
    min-width: 90px;
    position: relative;
    cursor: default;
}

.pipeline-stage.active {
    border-color: var(--accent-color);
    background: rgba(0, 242, 254, 0.07);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
}

.pipeline-stage.done {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.07);
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.15);
}

.pipeline-stage.failed {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.07);
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.15);
}

.stage-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.4s ease;
}

.pipeline-stage.active .stage-icon {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.pipeline-stage.done .stage-icon {
    color: #10b981;
    border-color: #10b981;
}

.pipeline-stage.failed .stage-icon {
    color: #ef4444;
    border-color: #ef4444;
}

.stage-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
}

.stage-status {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pipeline-stage.active .stage-status {
    background: rgba(0, 242, 254, 0.15);
    color: var(--accent-color);
}

.pipeline-stage.done .stage-status {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.pipeline-stage.failed .stage-status {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.pipeline-arrow {
    flex: 1;
    min-width: 40px;
    max-width: 80px;
    position: relative;
    height: 4px;
    display: flex;
    align-items: center;
}

.arrow-line {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-50%);
    border-radius: 2px;
    overflow: hidden;
}

.arrow-line::after {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    border-radius: 2px;
    transition: left 0.6s ease;
}

.pipeline-arrow.active .arrow-line::after {
    left: 0;
}

.arrow-packet {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-color);
    box-shadow: 0 0 8px var(--accent-color);
    top: 50%;
    transform: translateY(-50%);
    left: -8px;
    opacity: 0;
    transition: none;
}

.pipeline-arrow.animating .arrow-packet {
    opacity: 1;
    animation: packetMove 0.8s ease forwards;
}

@keyframes packetMove {
    from {
        left: 0;
        opacity: 1;
    }

    to {
        left: calc(100% - 8px);
        opacity: 0;
    }
}

/* Dashboard Grid */
.cicd-dashboard {
    display: grid;
    grid-template-columns: 280px 1fr 280px;
    gap: 2rem;
    align-items: start;
}

.cicd-wheel-panel,
.cicd-feed-panel,
.cicd-severity-panel {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
}

.cicd-panel-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
}

/* Donut Chart */
.donut-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.donut-chart {
    width: 160px;
    height: 160px;
}

.donut-pass,
.donut-fail {
    transition: stroke-dasharray 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.donut-legend {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    align-items: center;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.legend-dot.green {
    background: #10b981;
}

.legend-dot.red {
    background: #ef4444;
}

/* Counters */
.test-counters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
}

.counter-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.75rem;
    text-align: center;
}

.counter-num {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
}

.counter-num.green {
    color: #10b981;
}

.counter-num.red {
    color: #ef4444;
}

.counter-num.yellow {
    color: #f59e0b;
}

.counter-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* Live Test Feed */
.test-feed {
    min-height: 280px;
    max-height: 320px;
    overflow-y: auto;
    scrollbar-width: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

.test-feed::-webkit-scrollbar {
    display: none;
}

.feed-idle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 200px;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;
}

.feed-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
    font-size: 0.82rem;
    animation: feedSlideIn 0.35s ease forwards;
    opacity: 0;
    transform: translateY(8px);
}

@keyframes feedSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feed-item.pass {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.04);
}

.feed-item.fail {
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.04);
}

.feed-item.running {
    border-color: rgba(0, 242, 254, 0.3);
    background: rgba(0, 242, 254, 0.04);
}

.feed-icon {
    font-size: 1rem;
    flex-shrink: 0;
}

.feed-name {
    flex: 1;
    color: var(--text-primary);
    font-weight: 500;
}

.feed-sev {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.feed-sev.critical {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.feed-sev.high {
    background: rgba(249, 115, 22, 0.15);
    color: #f97316;
}

.feed-sev.medium {
    background: rgba(234, 179, 8, 0.15);
    color: #eab308;
}

.feed-sev.low {
    background: rgba(99, 102, 241, 0.15);
    color: #6366f1;
}

.feed-time {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    flex-shrink: 0;
}

.cicd-controls {
    display: flex;
    gap: 0.75rem;
}

/* Severity Bars */
.severity-bars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sev-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.sev-badge {
    font-size: 0.62rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    text-transform: uppercase;
    width: 62px;
    text-align: center;
    flex-shrink: 0;
}

.sev-badge.critical {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.sev-badge.high {
    background: rgba(249, 115, 22, 0.15);
    color: #f97316;
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.sev-badge.medium {
    background: rgba(234, 179, 8, 0.15);
    color: #eab308;
    border: 1px solid rgba(234, 179, 8, 0.3);
}

.sev-badge.low {
    background: rgba(99, 102, 241, 0.15);
    color: #6366f1;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.sev-bar-wrap {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.sev-bar {
    height: 100%;
    width: 0%;
    border-radius: 4px;
    transition: width 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.sev-count {
    font-size: 0.72rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    width: 30px;
    text-align: right;
    flex-shrink: 0;
}

/* Rotating Recent Test Cards */
.rotating-cards {
    position: relative;
    height: 72px;
    overflow: hidden;
}

.rot-card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
    font-size: 0.82rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.rot-card.pass {
    border-color: rgba(16, 185, 129, 0.4);
}

.rot-card.fail {
    border-color: rgba(239, 68, 68, 0.4);
}

.rot-card.idle-card {
    color: var(--text-muted);
    justify-content: center;
}

.rot-card.slide-in {
    animation: rotCardIn 0.5s ease forwards;
}

.rot-card.slide-out {
    animation: rotCardOut 0.5s ease forwards;
}

@keyframes rotCardIn {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

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

@keyframes rotCardOut {
    from {
        transform: translateY(0);
        opacity: 1;
    }

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

.rot-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.rot-name {
    flex: 1;
    color: var(--text-primary);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rot-result {
    font-size: 0.7rem;
    font-weight: 700;
}

.rot-result.pass {
    color: #10b981;
}

.rot-result.fail {
    color: #ef4444;
}

/* Spinning animation for active stage icon */
@keyframes spinPulse {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.1);
    }

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

.pipeline-stage.active .stage-icon {
    animation: spinPulse 1.5s linear infinite;
}

.pipeline-stage.done .stage-icon,
.pipeline-stage.failed .stage-icon {
    animation: none;
}

/* Responsive */
@media (max-width: 1100px) {
    .cicd-dashboard {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }

    .cicd-feed-panel {
        grid-column: 1 / -1;
        order: -1;
    }
}

@media (max-width: 700px) {
    .cicd-dashboard {
        grid-template-columns: 1fr;
    }

    .pipeline-flow {
        gap: 0;
        padding: 1rem 0.5rem;
    }

    .pipeline-stage {
        min-width: 64px;
        padding: 0.75rem 0.5rem;
    }

    .stage-icon {
        width: 38px;
        height: 38px;
    }
}


/* INTERACTIVE QA TERMINAL SANDBOX==========================================================================*  */
terminal-wrapper {
    background-color: #000000;
    border: none;
    border-radius: 14px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7);
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 600px;
    min-height: 480px;
    max-height: 480px;
    max-width: 900px;
    margin: 0 auto;
}

/* Override .card styles on terminal */
.terminal-wrapper.card {
    background: #000000;
    border: none;
    padding: 0;
    height: 600px;
    min-height: 480px;
    max-height: 480px;
    overflow: hidden;
}

/* No extra top margin on sandbox section */
#sandbox.sandbox-section {
    padding-top: 4rem;
    padding-bottom: 6rem;
}

/* Remove card hover lift on terminal */
.terminal-wrapper.card:hover {
    transform: none;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7);
}

.term-input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--accent-color);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    width: 60%;
    padding: 0;
    margin: 0 0 0 0.5rem;
}

body.light-theme .terminal-wrapper {
    background-color: #000000;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.terminal-header {
    background-color: #1a1a1a;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    gap: 1rem;
    flex-shrink: 0;
}

.terminal-buttons {
    display: flex;
    gap: 0.5rem;
}

.term-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
}

.term-dot.close {
    background-color: #ef4444;
}

.term-dot.minimize {
    background-color: #f59e0b;
}

.term-dot.expand {
    background-color: #10b981;
}

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.terminal-action-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.terminal-body {
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
    height: 500px;
    display: flex;
    flex-direction: column;
    background-color: #000000;
}

.terminal-scroll {
    flex: 1 1 0;
    min-height: 0;
    padding: 1.5rem;
    overflow-y: auto;
    overflow-x: hidden;
    overflow-anchor: none;
    overscroll-behavior: contain;
    scroll-behavior: auto;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.8;
    color: #e2e8f0;
    background-color: #000000;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.08) transparent;
}

#terminal-scroll-anchor {
    height: 1px;
    width: 100%;
    flex-shrink: 0;
    pointer-events: none;
}

.log-line {
    margin-bottom: 0.5rem;
}

.command-prompt::before {
    content: "haider-qa@portfolio ~ ";
    color: #10b981;
}

.text-muted {
    color: var(--text-muted);
}

.text-success {
    color: var(--success);
}

.text-info {
    color: #38bdf8;
}

.text-warning {
    color: var(--yellow);
}

.text-danger {
    color: var(--danger);
}

#cursor-indicator {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.terminal-footer {
    background-color: #111111;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
    margin-top: auto;
}

.progress-bar-container {
    height: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.6rem;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: var(--accent-gradient);
    transition: width 0.1s linear;
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* ==========================================================================
   WORK EXPERIENCE TIMELINE
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 1150px;
    margin: 0 auto;
}

/* Vertical line */
.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 1rem 2rem;
    position: relative;
    background-color: transparent;
    width: 50%;
}

/* The circles on the timeline */
.timeline-dot {
    width: 16px;
    height: 16px;
    position: absolute;
    background-color: var(--bg-primary);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    top: 2rem;
    z-index: 1;
    transition: var(--transition-fast);
}

.timeline-item:hover .timeline-dot {
    background-color: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}

/* Place the container to the left */
.timeline-item.left {
    left: 0;
}

/* Place the container to the right */
.timeline-item.right {
    left: 50%;
}

/* Fix the dots for left and right items */
.left .timeline-dot {
    right: -8px;
}

.right .timeline-dot {
    left: -8px;
}

.timeline-content {
    position: relative;
    padding: 2rem;
}

.timeline-date {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.timeline-role {
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
}

.timeline-company {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.timeline-location {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.timeline-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ==========================================================================
   EDUCATION & CERTIFICATIONS
   ========================================================================== */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    align-items: stretch;
}

@media (min-width: 993px) {
    .cert-card:nth-child(4) {
        grid-column: 1 / 3;
        max-width: 480px;
        margin-left: auto;
        width: 100%;
    }

    .cert-card:nth-child(5) {
        grid-column: 2 / 4;
        max-width: 480px;
        margin-right: auto;
        width: 100%;
    }
}

.cert-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2.2rem;
    position: relative;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background-color: var(--bg-card);
    transition: var(--transition-smooth);
}

.cert-card:hover {
    transform: translateY(-5px);
}

.cert-card.cert-qspiders:hover {
    border-color: #d24939;
    box-shadow: 0 8px 30px rgba(210, 73, 57, 0.15);
}

.cert-card.cert-microsoft:hover {
    border-color: #00a4ef;
    box-shadow: 0 8px 30px rgba(0, 164, 239, 0.15);
}

.cert-card.cert-tcs:hover {
    border-color: #a855f7;
    box-shadow: 0 8px 30px rgba(168, 85, 247, 0.15);
}

.cert-card.cert-accenture:hover {
    border-color: #ff5722;
    box-shadow: 0 8px 30px rgba(255, 87, 34, 0.15);
}

.cert-card.cert-deloitte:hover {
    border-color: #10b981;
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.15);
}

.cert-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.cert-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cert-icon.red {
    background: rgba(210, 73, 57, 0.1);
    color: #d24939;
}

.cert-icon.blue {
    background: rgba(0, 164, 239, 0.1);
    color: #00a4ef;
}

.cert-icon.purple {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
}

.cert-icon.orange {
    background: rgba(255, 87, 34, 0.1);
    color: #ff5722;
}

.cert-icon.green {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.cert-issuer {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 0.25rem;
    display: block;
}

.cert-title {
    font-size: 1.2rem;
    line-height: 1.3;
    color: var(--text-primary);
}

.cert-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.2rem 0.6rem;
    background: rgba(0, 164, 239, 0.15);
    color: #00a4ef;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.cert-details {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-top: 0.5rem;
}

.education-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.edu-card {
    max-width: 700px;
    width: 100%;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background-color: var(--bg-card);
    transition: var(--transition-smooth);
}

.edu-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 8px 30px rgba(0, 242, 254, 0.15);
}

.edu-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.edu-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(0, 242, 254, 0.1);
    color: #00f2fe;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.edu-title {
    font-size: 1.4rem;
    color: var(--text-primary);
}

.edu-major {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: 0.25rem;
}

.edu-meta-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    margin: 0.5rem 0;
}

.edu-school {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.edu-duration {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
}

.edu-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .cert-card:nth-child(4),
    .cert-card:nth-child(5) {
        grid-column: auto;
        max-width: 100%;
        margin: 0;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .edu-meta-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.75rem 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon.email {
    background: rgba(0, 242, 254, 0.1);
    color: #00f2fe;
}

.contact-icon.phone {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.contact-icon.linkedin {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.contact-icon.twitter {
    background: rgba(29, 161, 242, 0.1);
    color: #1da1f2;
}

.contact-text h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

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

/* Contact Form styling */
.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

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

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

.form-feedback-message {
    margin-top: 1rem;
    font-size: 0.9rem;
    text-align: center;
    display: none;
}

.form-feedback-message.success {
    color: var(--success);
    display: block;
}

.form-feedback-message.error {
    color: var(--danger);
    display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
    background-color: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(10px);
}

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

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1200px) {
    .tech-orbit {
        transform: scale(0.7);
    }
}

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

    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-content {
        align-items: center;
    }

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

    .hero-visual {
        height: 420px;
    }

    .tech-orbit {
        transform: scale(0.68);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .edu-cert-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .section-padding {
        padding: 5rem 0;
    }

    .hero-visual {
        height: 380px;
    }

    .tech-orbit {
        transform: scale(0.55);
    }

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

    /* Timeline responsive adjustments - convert to single column */
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 55px;
        padding-right: 0;
    }

    .timeline-item.right {
        left: 0%;
    }

    .timeline-item.left .timeline-dot,
    .timeline-item.right .timeline-dot {
        left: 23px;
        right: auto;
    }

    .footer-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-visual {
        height: 300px;
    }

    .tech-orbit {
        transform: scale(0.42);
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

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

    .card {
        padding: 1.5rem 1.25rem;
    }

    .terminal-scroll {
        padding: 1rem;
        font-size: 0.8rem;
    }

    .terminal-title {
        display: none;
    }

    .terminal-header {
        padding: 0.75rem 1rem;
    }

    .terminal-action-buttons {
        gap: 0.5rem;
    }

    .terminal-action-buttons .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
}