/* ==========================================================================
   CSS CUSTOM VARIABLES & RESET
   ========================================================================== */
:root {
    /* Premium Monochrome Color Scheme */
    --bg-primary: #050408;
    --bg-secondary: #0d1017;
    --bg-tertiary: #121622;

    --text-primary: #f7f8fb;
    --text-secondary: #b3b9c8;
    --text-muted: #7b8391;
    --text-faint: rgba(255, 255, 255, 0.55);

    --border-color: rgba(255, 255, 255, 0.10);
    --border-hover: rgba(255, 255, 255, 0.24);

    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(18px);

    --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.25);
    --shadow-card: 0 18px 36px rgba(0, 0, 0, 0.25);

    --transition-smooth: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.22s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    line-height: 1.65;
    background-image:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.06), transparent 22%),
        radial-gradient(circle at bottom left, rgba(157, 191, 255, 0.03), transparent 22%),
        linear-gradient(180deg, rgba(5, 5, 7, 0.95), var(--bg-primary));
}

::selection {
    background: rgba(255, 255, 255, 0.14);
    color: var(--text-primary);
}

/* ==========================================================================
   LAYOUT CONTAINERS & UTILITIES
   ========================================================================== */
.section-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

section {
    position: relative;
    overflow: hidden;
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 30%, #555555 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Scroll Reveal Animations Class */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   LOADER COMPONENT (Uiverse.io Adapted for Monochrome Dark Theme)
   ========================================================================== */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    position: relative;
}

.loader:before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
}

.loader-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.loader-block {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 2px;
    background-color: #fff;
    box-shadow: 0 0 20px #fff;
    animation: loader_562 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.loader-block:nth-child(1) {
    animation-delay: 0.1s;
}

.loader-block:nth-child(2) {
    animation-delay: 0.2s;
}

.loader-block:nth-child(3) {
    animation-delay: 0.3s;
}

.loader-block:nth-child(4) {
    animation-delay: 0.4s;
}

.loader-block:nth-child(5) {
    animation-delay: 0.5s;
}

.loader-block:nth-child(6) {
    animation-delay: 0.6s;
}

.loader-block:nth-child(7) {
    animation-delay: 0.7s;
}

.loader-block:nth-child(8) {
    animation-delay: 0.8s;
}

@keyframes loader_562 {
    0% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    }

    20% {
        transform: scale(1, 2.5);
        box-shadow: 0 0 50px rgba(255, 255, 255, 0.7);
    }

    40% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    }
}

/* ==========================================================================
   BUTTONS (Uiverse.io Adapted to Premium Monochrome Dark Theme)
   ========================================================================== */
.animated-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 34px;
    border-radius: 999px;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-weight: 700;
    color: var(--text-primary);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 18px 50px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.animated-button svg {
    position: absolute;
    width: 20px;
    fill: var(--text-primary);
    z-index: 9;
    transition: transform 0.35s ease, fill 0.35s ease;
}

.animated-button .arr-1 {
    right: 18px;
}

.animated-button .arr-2 {
    left: 18px;
    opacity: 0.6;
}

.animated-button .circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    background-color: rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.35s ease;
}

.animated-button .text {
    position: relative;
    z-index: 1;
    transform: translateX(-4px);
    transition: transform 0.35s ease;
}

.animated-button:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--bg-primary);
}

.animated-button:hover .arr-1 {
    right: -12px;
    transform: translateX(24px);
}

.animated-button:hover .arr-2 {
    left: 30px;
    opacity: 1;
}

.animated-button:hover .text {
    transform: translateX(14px);
}

.animated-button:hover svg {
    fill: var(--bg-primary);
}

.animated-button:hover .circle {
    width: 260px;
    height: 260px;
    opacity: 1;
}

.animated-button:active {
    transform: scale(0.98);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.12);
}

.animated-button:hover .circle {
    width: 260px;
    height: 260px;
    opacity: 1;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
}

/* ==========================================================================
   NAVIGATION BAR (ST_STICKY)
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    background-color: rgba(8, 12, 19, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    backdrop-filter: var(--glass-blur);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 26px;
    font-weight: 900;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -1px;
}

.logo span {
    color: #8ab4f8;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition-fast);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(138, 180, 248, 0.9), rgba(255, 255, 255, 0.85));
    transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-menu .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-fast);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(138, 180, 248, 0.12), transparent 25%),
        radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.08), transparent 22%);
    pointer-events: none;
}

.bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.14;
    background: radial-gradient(circle, rgba(143, 180, 255, 0.24), transparent 70%);
}

.shape-1 {
    width: 420px;
    height: 420px;
    top: 5%;
    right: 10%;
}

.shape-2 {
    width: 320px;
    height: 320px;
    bottom: 8%;
    left: 8%;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 56px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 28px;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #8ab4f8 0%, #ffffff 100%);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(138, 180, 248, 0.55);
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.85);
        box-shadow: 0 0 0 0 rgba(138, 180, 248, 0.5);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(138, 180, 248, 0);
    }

    100% {
        transform: scale(0.85);
        box-shadow: 0 0 0 0 rgba(138, 180, 248, 0);
    }
}

.hero-headline {
    font-size: clamp(40px, 6vw, 64px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -1.6px;
    margin-bottom: 24px;
    max-width: 740px;
}

.hero-subtext {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 620px;
    margin-bottom: 42px;
}

.hero-actions {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.profile-card {
    background: rgba(12, 17, 27, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 28px;
    backdrop-filter: blur(26px);
    box-shadow: var(--shadow-card);
}

.profile-frame {
    width: min(340px, 78vw);
    height: min(340px, 78vw);
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(18, 24, 38, 0.95), rgba(6, 8, 14, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-frame img.profile-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background-color: rgba(0, 0, 0, 0.15);
    display: block;
}

.profile-label {
    margin-top: 24px;
    text-align: center;
}

.profile-label strong {
    display: block;
    font-size: 20px;
    color: var(--text-primary);
}

.profile-label span {
    display: block;
    font-size: 13px;
    color: var(--text-faint);
    margin-top: 6px;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.subtitle {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: -1px;
}

.section-header {
    margin-bottom: 48px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
}

.about-text p {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.about-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-content: flex-start;
}

.highlight-badge {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.highlight-badge:hover {
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

/* ==========================================================================
   SKILLS SECTION (With Animated Hover Cards)
   ========================================================================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 24px;
}

.skill-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: var(--glass-blur);
    transition: var(--transition-smooth);
}

.skill-card:hover {
    transform: translateY(-8px);
    border-color: var(--text-primary);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.05);
}

.skill-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    margin-bottom: 24px;
    transition: var(--transition-fast);
}

.skill-card:hover .skill-icon {
    background-color: var(--text-primary);
    color: var(--bg-primary);
}

.skill-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.skill-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   PROJECTS SECTION (With Image Placeholders & Link Badges)
   ========================================================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
    gap: 32px;
}

.project-card {
    background: rgba(15, 19, 29, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.16);
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.14);
}

.project-img-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(15, 19, 29, 0.6), rgba(5, 8, 16, 1));
}

.project-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
        linear-gradient(135deg, #121922 0%, #080b12 100%);
    transition: var(--transition-smooth);
}

.project-card:hover .project-img-placeholder {
    transform: scale(1.03);
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-smooth);
}

.project-card:hover .project-img {
    transform: scale(1.06);
}

.code-tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 14px;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 18px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
}

.project-content {
    padding: 32px 32px 30px;
}

.project-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 14px;
}

.project-description {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 26px;
    line-height: 1.75;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.project-tags span {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 12px;
    border-radius: 999px;
    color: var(--text-secondary);
}

.project-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.btn-project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.18);
    padding-bottom: 3px;
    transition: var(--transition-fast);
}

.btn-project-link.github-btn {
    color: var(--text-secondary);
    border-bottom-color: transparent;
}

.btn-project-link:hover {
    color: var(--text-primary);
    opacity: 0.92;
}

/* ==========================================================================
   SERVICES SECTION (Premium Showcase Cards)
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    gap: 24px;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px 32px;
    backdrop-filter: var(--glass-blur);
    position: relative;
    transition: var(--transition-smooth);
}

.service-card:hover {
    border-color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.05);
}

.service-decor {
    font-size: 14px;
    font-family: monospace;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   TIMELINE SECTION
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 32px;
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 48px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--bg-primary);
    border: 3px solid var(--text-primary);
    left: 25px;
    top: 6px;
    z-index: 2;
}

.timeline-date {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.timeline-content {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 16px;
}

.timeline-content h3 {
    font-size: 18px;
    font-weight: 700;
}

.timeline-company {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.timeline-content p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ==========================================================================
   CONTACT SECTION & SOCIAL CONTAINER
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    align-items: start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--text-primary);
}

.form-feedback {
    font-size: 14px;
    margin-top: 8px;
    display: none;
}

.form-feedback.success {
    display: block;
    color: #ffffff;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.info-item {
    margin-bottom: 24px;
}

.info-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 8px;
}

.info-item p {
    font-size: 18px;
    font-weight: 500;
}

.info-link {
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2px;
    transition: var(--transition-fast);
}

.info-link:hover {
    border-color: var(--text-primary);
}

/* 
   Social Container (Uiverse.io Adapted for Monochrome Dark Glassmorphism Theme) 
*/
.card {
    width: fit-content;
    height: fit-content;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    gap: 16px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: var(--glass-blur);
}

.socialContainer {
    width: 52px;
    height: 52px;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition-duration: .3s;
    text-decoration: none;
}

/* Grayscale Monochrome Hovers replacing Brand Colors */
.containerOne:hover {
    background-color: #ffffff;
    transition-duration: .3s;
}

.containerTwo:hover {
    background-color: #dddddd;
    transition-duration: .3s;
}

.containerThree:hover {
    background-color: #bbbbbb;
    transition-duration: .3s;
}

.containerFour:hover {
    background-color: #999999;
    transition-duration: .3s;
}

.socialContainer:active {
    transform: scale(0.9);
    transition-duration: .3s;
}

.socialSvg {
    width: 18px;
    transition: fill 0.3s ease;
}

.socialSvg path {
    fill: rgb(255, 255, 255);
}

.socialContainer:hover .socialSvg {
    animation: slide-in-top 0.3s both;
}

.socialContainer:hover .socialSvg path {
    fill: rgb(0, 0, 0);
}

@keyframes slide-in-top {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-primary);
}

.footer-container {
    padding: 40px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer p {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text-primary);
}

/* ==========================================================================
   BACK TO TOP BUTTON
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--text-primary);
    color: var(--bg-primary);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-subtext {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .timeline::after {
        left: 16px;
    }

    .timeline-item {
        padding-left: 48px;
    }

    .timeline-dot {
        left: 9px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--bg-secondary);
        border-left: 1px solid var(--border-color);
        flex-direction: column;
        padding: 100px 40px;
        gap: 24px;
        transition: var(--transition-smooth);
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    .hamburger-menu {
        display: flex;
    }

    .hamburger-menu.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .section-container {
        padding: 56px 20px;
    }

    .nav-container {
        padding: 18px 20px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .hero-actions .animated-button,
    .hero-actions .btn-secondary {
        justify-content: center;
        width: 100%;
    }

    .profile-card {
        padding: 18px;
    }

    .contact-grid {
        text-align: center;
    }

    .contact-info {
        align-items: center;
    }

    .info-details {
        align-items: center;
    }

    .card {
        margin: 0 auto;
    }

    .timeline-content {
        padding: 24px 20px;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        letter-spacing: -0.8px;
    }

    .status-badge {
        font-size: 12px;
        padding: 8px 14px;
        text-align: center;
    }

    .section-title {
        font-size: clamp(24px, 7vw, 32px);
    }

    .logo {
        font-size: 22px;
    }

    .skill-card,
    .service-card,
    .project-content {
        padding: 24px 20px;
    }

    .animated-button,
    .btn-secondary {
        padding: 14px 22px;
        font-size: 14px;
        width: 100%;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px;
    }

    .card {
        flex-wrap: wrap;
        gap: 12px;
        padding: 12px;
    }

    .socialContainer {
        width: 46px;
        height: 46px;
    }
}
