/* ====================================================
   10VIR PORTFOLIO
   Light Premium UI | White + Black Borders | 8pt Grid
   ==================================================== */

/* ================= DESIGN TOKENS ================= */
:root {
    /* Colors - TRUE HIGH CONTRAST */
    --bg-main: #FFFFFF;
    --bg-soft: #FAFAFA;
    --bg-card: #FFFFFF;
    --bg-dark: #000000;

    --text-main: #000000;
    --text-muted: #000000;
    --text-light: #FFFFFF;

    --border-color: #000000;
    --border-dark: #000000;

    --accent: #000000;
    /* Pure Black */
    --accent-hover: #333333;
    --accent-highlight: #FF0000;
    /* Bold Red highlight */

    /* Spacing (8pt Grid) */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 16px;
    --space-4: 24px;
    --space-5: 32px;
    --space-6: 48px;
    --space-8: 64px;
    --space-10: 80px;
    --space-15: 120px;

    /* Typography */
    --font-head: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Radius */
    --radius-sm: 12px;
    --radius-md: 24px;
    --radius-lg: 32px;
    --radius-pill: 999px;

    /* Shadows - BOLD */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.2);
    --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.25);
}

/* ================= RESET ================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    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);
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='13.6' fill='%23FFF' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") 16 16, auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

/* ================= TYPOGRAPHY ================= */
h1,
h2,
h3 {
    font-family: var(--font-head);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text-main);
}

h1 {
    font-size: clamp(3.5rem, 10vw, 6rem);
}

h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: var(--space-4);
}

h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-2);
}

p {
    color: var(--text-muted);
    font-size: 1.125rem;
    line-height: 1.7;
}

.label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: var(--space-3);
}

/* ================= COMPONENTS ================= */

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background-color: var(--accent);
    color: var(--text-light);
    padding: 1rem 2rem;
    border-radius: var(--radius-pill);
    border: 2px solid var(--accent);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    background-color: var(--bg-main);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background-color: transparent;
    color: var(--text-main);
    padding: 1rem 2rem;
    border: 3px solid var(--border-color);
    border-radius: var(--radius-pill);
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
    border-color: var(--accent);
    background-color: var(--bg-soft);
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--bg-soft);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: var(--space-5);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-highlight);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* ================= HEADER ================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-main);
    border-bottom: 2px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

header.scrolled {
    padding: var(--space-2) 0;
    box-shadow: var(--shadow-soft);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.05em;
    color: var(--text-main);
}

.dot {
    color: var(--accent-highlight);
}

.main-nav ul {
    display: flex;
    gap: var(--space-5);
}

.main-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-pill);
    transition: all 0.2s ease;
}

.main-nav a:hover {
    color: var(--text-main);
    background: var(--bg-soft);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.2s ease;
}

/* ================= HERO ================= */
.hero {
    min-height: 100vh;
    padding-top: 180px;
    padding-bottom: var(--space-15);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-main);
    gap: var(--space-8);
    animation: fadeInUp 0.6s ease-out;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.hero-content {
    max-width: 700px;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.hero h1 {
    margin-bottom: var(--space-4);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--space-6);
}

.hero-buttons {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
    justify-content: center;
}

/* Abstract Shape with Profile Image */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: scaleIn 1s ease-out 0.3s backwards;
}

/* Static blob border (visible, doesn't move) */
.blob-static {
    position: absolute;
    width: 380px;
    height: 380px;
    border: 3px solid var(--border-color);
    border-radius: 50% 50% 50% 10%;
}

/* Rotating track - swings back and forth */
.orbit-track {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50% 50% 50% 10%;
    animation: swingTrack 5s ease-in-out infinite alternate;
}

/* Black dot attached to the track edge */
.orbit-dot {
    position: absolute;
    top: -7px;
    left: 50%;
    width: 14px;
    height: 14px;
    background: var(--border-color);
    border-radius: 50%;
    transform: translateX(-50%);
}

@keyframes swingTrack {
    0% {
        transform: rotate(-60deg);
    }

    100% {
        transform: rotate(60deg);
    }
}

.abstract-shape {
    width: 300px;
    height: 300px;
    background: var(--bg-main);
    border: 4px solid var(--border-color);
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.abstract-shape:hover {
    transform: scale(1.05);
}

.abstract-shape .profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
    transform: scale(1.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: floating 4s ease-in-out infinite;
}

.abstract-shape:hover .profile-image {
    transform: scale(1.05);
}

@keyframes floating {

    0%,
    100% {
        transform: scale(1.1) translateY(0);
    }

    50% {
        transform: scale(1.1) translateY(-10px);
    }
}

/* ================= SECTIONS ================= */
.section {
    padding: var(--space-15) 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-header-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    margin-bottom: var(--space-10);
    align-items: end;
}

.section-header-split h2 {
    margin-bottom: 0;
}

.section-header {
    margin-bottom: var(--space-10);
}

.section-header.centered {
    text-align: center;
}

/* ================= ABOUT SECTION ================= */
.about-section {
    background: var(--bg-soft);
    border-radius: var(--radius-lg);
    margin: 0 var(--space-4);
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

.info-card {
    background: var(--bg-card);
    padding: var(--space-6);
    border-radius: var(--radius-md);
    border: 3px solid var(--border-color);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: var(--shadow-hover);
}

.info-card.accent {
    background: var(--accent);
    color: var(--text-light);
    border-color: var(--accent);
}

.info-card.accent .card-label,
.info-card.accent p {
    color: var(--text-light);
}

.info-card.accent h3 {
    color: var(--text-light);
}

.card-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: var(--space-4);
}

/* ================= SKILLS SECTION ================= */
.skills-section {
    background: var(--bg-main);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
}

.skill-card {
    background: var(--bg-card);
    padding: var(--space-6);
    border-radius: var(--radius-md);
    border: 3px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

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

.skill-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-4);
    color: var(--accent);
}

/* ================= PROJECTS SECTION ================= */
.projects-section {
    background: var(--bg-soft);
    border-radius: var(--radius-lg);
    margin: 0 var(--space-4);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}

.project-card {
    display: block;
    background: var(--bg-card);
    padding: var(--space-6);
    border-radius: var(--radius-md);
    border: 3px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.project-number {
    font-family: var(--font-head);
    font-size: 3rem;
    font-weight: 700;
    color: var(--border-color);
    line-height: 1;
    margin-bottom: var(--space-4);
}

.project-card:hover .project-number {
    color: var(--accent);
}

.project-card h3 {
    margin-bottom: var(--space-3);
}

.project-card p {
    font-size: 0.95rem;
    margin-bottom: var(--space-4);
}

.project-link-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.project-card:hover .project-link-text {
    gap: var(--space-3);
}

/* ================= EDUCATION SECTION ================= */
.education-section {
    background: var(--bg-main);
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

.edu-links {
    margin-top: var(--space-4);
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.edu-links a {
    font-size: 1.25rem;
    color: var(--text-muted);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-soft);
    border: 1px solid var(--border-color);
}

.edu-links a:hover {
    color: var(--text-light);
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.education-card {
    background: var(--bg-card);
    padding: var(--space-6);
    border-radius: var(--radius-md);
    border: 3px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.edu-year {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-light);
    background: var(--accent);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-pill);
    margin-bottom: var(--space-4);
}

.edu-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #00C853;
    /* Success Green for GPA/Status */
    margin-top: var(--space-3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ================= CONTACT SECTION ================= */
.contact-section {
    background: var(--bg-soft);
    border-radius: var(--radius-lg);
    margin: 0 var(--space-4);
}

.contact-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-form {
    margin-top: var(--space-6);
    text-align: left;
}

.form-group {
    margin-bottom: var(--space-4);
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--text-main);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-4);
    border: 3px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--bg-card);
    color: var(--text-main);
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-highlight);
    border-width: 4px;
}

.contact-form .btn-primary {
    width: 100%;
    justify-content: center;
}

/* ================= FOOTER ================= */
footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: var(--space-10) 0 var(--space-6);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    margin-top: var(--space-15);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-8);
}

.footer-brand .logo {
    color: var(--text-light);
    margin-bottom: var(--space-2);
    display: block;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: var(--space-2);
}

.social-links a {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-soft);
    border: 2px solid white;
    /* Light mode: White border */
    border-radius: var(--radius-pill);
    color: var(--text-main);
    font-size: 1rem;
    transition: all 0.2s ease;
}

body.dark-mode .social-links a {
    border-color: black;
    /* Dark mode: Black border */
}

.social-links a:hover {
    background: var(--text-light);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

/* Contrast Fix: Use --text-light which adapts (White in LightMode, Black in DarkMode) */
.footer-brand p,
.footer-bottom p,
.footer-brand .logo {
    color: var(--text-light) !important;
}

.footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    /* Task 5: Center button, text left */
    align-items: center;
    padding-top: var(--space-6);
    border-top: 2px solid var(--border-color);
}

.footer-bottom p {
    font-size: 0.85rem;
    /* Removed specific color to inherit or use the global override above */
}

.back-top {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--text-light);
    color: var(--bg-dark);
    border-radius: var(--radius-pill);
    transition: all 0.2s ease;
}

.back-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
    }

    /* On mobile, show hero visual ABOVE the content */
    .hero {
        flex-direction: column-reverse;
    }

    .hero-visual {
        display: flex !important;
        order: -1;
        margin-bottom: 40px;
    }

    /* Adjust visual size for mobile */
    .blob-static,
    .orbit-track {
        width: 280px;
        height: 280px;
    }

    .abstract-shape {
        width: 220px;
        height: 220px;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .section-header-split {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

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

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

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

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

    .menu-toggle {
        display: flex;
    }

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

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

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

    .footer-content {
        flex-direction: column;
        gap: var(--space-6);
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
    }

    .about-section,
    .projects-section,
    .contact-section {
        margin: 0;
        border-radius: 0;
    }
}

/* ================= ANIMATIONS ================= */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section animations are merged with .section class above */

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

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

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

/* Legacy Custom Cursor Removed - Handled by modern CursorSystem module */

/* ================= SMOOTH ANIMATIONS ================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Hero animations are merged with their respective classes above */

.section-header,
.section-header-split {
    animation: fadeInUp 0.6s ease-out;
}

/* Staggered card animations triggered by section visibility */
.section.visible .info-card,
.section.visible .skill-card,
.section.visible .project-card,
.section.visible .education-card {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.section.visible .info-card:nth-child(1) {
    animation-delay: 0.1s;
}

.section.visible .info-card:nth-child(2) {
    animation-delay: 0.2s;
}

.section.visible .skill-card:nth-child(1) {
    animation-delay: 0.1s;
}

.section.visible .skill-card:nth-child(2) {
    animation-delay: 0.2s;
}

.section.visible .skill-card:nth-child(3) {
    animation-delay: 0.3s;
}

.section.visible .skill-card:nth-child(4) {
    animation-delay: 0.4s;
}

.section.visible .project-card:nth-child(1) {
    animation-delay: 0.1s;
}

.section.visible .project-card:nth-child(2) {
    animation-delay: 0.2s;
}

.section.visible .project-card:nth-child(3) {
    animation-delay: 0.3s;
}

.section.visible .education-card:nth-child(1) {
    animation-delay: 0.1s;
}

.section.visible .education-card:nth-child(2) {
    animation-delay: 0.2s;
}

/* Hover micro-interactions */
.btn-primary,
.btn-secondary {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-card,
.skill-card,
.project-card,
.education-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Page load animation is merged with .hero above */

/* ================= DARK MODE - CONSOLIDATED ================= */
body.dark-mode {
    --bg-main: #000000;
    --bg-soft: #0a0a0a;
    --bg-card: #000000;
    --bg-dark: #FFFFFF;

    --text-main: #FFFFFF;
    --text-muted: #CCCCCC;
    --text-light: #000000;

    --border-color: #FFFFFF;
    --border-dark: #FFFFFF;

    --accent: #FFFFFF;
    --accent-hover: #EEEEEE;

    --shadow-soft: 0 4px 20px rgba(255, 255, 255, 0.1);
    --shadow-card: 0 8px 30px rgba(255, 255, 255, 0.15);
    --shadow-hover: 0 20px 50px rgba(255, 255, 255, 0.2);


}

body.dark-mode header {
    background: var(--bg-main);
}



body.dark-mode .footer-brand p {
    color: var(--text-muted);
}

body.dark-mode .social-links a {
    background: var(--bg-soft);
    border: 1px solid var(--border-color);
}

body.dark-mode .social-links a:hover {
    background: var(--text-light);
    color: var(--bg-dark);
}

body.dark-mode .footer-bottom {
    border-top: 1px solid var(--border-color);
}

body.dark-mode .footer-bottom p {
    color: var(--text-muted);
}

/* Dark mode image color inversion */
body.dark-mode img[src*="dark-light.png"],
body.dark-mode img[src*="dark-light"] {
    filter: invert(1) brightness(1.2);
}

/* Dark Mode Toggle Switch - NEW */
.dark-mode-toggle {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.theme-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-color);
    transition: 0.3s;
    border-radius: var(--radius-pill);
    border: 2px solid var(--border-color);
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background-color: var(--bg-main);
    transition: 0.3s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--border-color);
}

input:checked+.slider:before {
    transform: translateX(24px);
}

.slider:after {
    content: '\f185';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: var(--bg-main);
}

input:checked+.slider:after {
    content: '\f186';
    right: auto;
    left: 6px;
}

/* Responsive adjustments for dark mode toggle - NEW */
@media (max-width: 768px) {
    .dark-mode-toggle {
        position: absolute;
        right: 70px;
    }
}

.logo-image {
    width: 70px;
    height: 75px;

    margin: 0px;
    padding: 3px;
}

.header-logo-text {
    display: flex;
    align-items: center;
}