/* --- PHASE 2 & 6: DESIGN SYSTEM & THEME VARIABLES --- */
:root {
    /* Light Mode Variables (Base) */
    --bg-color: #ffffff;
    --text-color: #111111;
    --text-muted: #555555;
    --card-bg: rgba(255, 255, 255, 0.9);
    --card-border: rgba(255, 106, 0, 0.15);
    --accent: #ff6a00; /* Bright Orange */
    --accent-hover: #e05e00;
    --accent-glow: rgba(255, 106, 0, 0.2);
    --nav-bg: rgba(255, 255, 255, 0.95);
}

/* Dark Mode Variables (Applied via class) */
body.dark-mode {
    --bg-color: #0f0f0f;
    --text-color: #f5f5f5;
    --text-muted: #b0b0b0;
    --card-bg: rgba(25, 25, 25, 0.9);
    --card-border: rgba(255, 106, 0, 0.3);
    --accent: #ff8c33;
    --accent-hover: #ff6a00;
    --accent-glow: rgba(255, 140, 51, 0.25);
    --nav-bg: rgba(15, 15, 15, 0.95);
}

/* --- GLOBAL STYLES --- */
html, body {
    overflow-x: hidden; /* Strict overflow control for mobile AOS animations */
    max-width: 100vw;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
    background-image: radial-gradient(var(--card-border) 1px, transparent 1px);
    background-size: 30px 30px;
    background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6, .brand-font {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-hover);
}

section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 4px;
    bottom: -10px;
    left: 0;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.section-title:hover::after {
    width: 100%;
}

/* --- BUTTONS --- */
.btn-primary-custom {
    background-color: var(--accent);
    color: #fff !important;
    border: none;
    padding: 14px 32px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--accent-glow);
    white-space: nowrap;
}

.btn-primary-custom:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--accent-glow);
}

.btn-outline-custom {
    background-color: transparent;
    color: var(--text-color);
    border: 2px solid var(--accent);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-outline-custom:hover {
    background-color: var(--accent);
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--accent-glow);
}

/* --- NAVBAR --- */
.navbar {
    background-color: var(--nav-bg);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--card-border);
    padding: 15px 0;
    transition: background-color 0.3s ease;
}

.navbar-brand {
    color: var(--text-color) !important;
    font-size: 1.8rem;
    letter-spacing: 1px;
}

.navbar-brand span {
    color: var(--accent);
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    margin: 0 12px;
    position: relative;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

#themeToggle {
    background: transparent;
    border: 1px solid var(--card-border);
    color: var(--text-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

#themeToggle:hover {
    background: var(--card-bg);
    transform: rotate(15deg);
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-subtitle {
    color: var(--text-muted);
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.hero-title {
    font-size: clamp(1.8rem, 4.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.typing-text {
    color: var(--accent);
    display: block;
    font-size: 0.65em; /* Scales text down to approx ~65% of 'Educator &' to match width */
    margin-top: 0.2rem;
}

.typing-text::after {
    content: '|';
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* --- IMAGE PLACEHOLDERS (Style Template Vibe) --- */
.img-wrapper {
    position: relative;
    z-index: 1;
    border-radius: 10px;
}

.img-wrapper::before {
    content: '';
    position: absolute;
    top: 20px;
    right: -20px;
    bottom: -20px;
    left: 20px;
    border: 3px solid var(--accent);
    border-radius: 10px;
    z-index: -1;
    transition: all 0.4s ease;
}

.img-wrapper:hover::before {
    top: 15px;
    right: -15px;
    bottom: -15px;
    left: 15px;
    background: var(--accent-glow);
}

.placeholder-box {
    width: 100%;
    border-radius: 10px;
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    object-fit: cover;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Subtle diagonal gradient for placeholders */
.placeholder-box::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0.05) 100%);
    z-index: 1;
}

.placeholder-box i {
    font-size: 3rem;
    z-index: 2;
    opacity: 0.5;
}

.placeholder-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.hero-img { aspect-ratio: 4/5; }
.about-img { aspect-ratio: 1/1; }

/* --- STATS RIBBON --- */
.stats-ribbon {
    background-color: var(--card-bg);
    border: 2px solid var(--accent);
    border-radius: 15px;
    padding: 2.5rem 1rem;
    box-shadow: 0 0 20px var(--accent-glow);
    animation: pulseGlow 3s infinite alternate;
    position: relative;
    backdrop-filter: blur(10px);
    z-index: 5;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 10px var(--accent-glow); border-color: rgba(255, 106, 0, 0.4); }
    100% { box-shadow: 0 0 35px var(--accent); border-color: var(--accent); }
}

.stat-item {
    position: relative;
    transition: transform 0.3s ease;
    flex: 1 1 0;
    min-width: 0;
    padding: 0 0.2rem;
}

.stat-item:hover {
    transform: translateY(-8px);
}

.stat-number {
    font-size: clamp(1.2rem, 3vw, 2.8rem);
    color: transparent;
    -webkit-text-stroke: 2px var(--accent);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.stat-item:hover .stat-number {
    color: var(--accent);
    text-shadow: 0 4px 15px var(--accent-glow);
}

.stat-text {
    color: var(--text-color);
    font-size: clamp(0.45rem, 1.2vw, 0.95rem);
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Subtle vertical dividers */
.stat-divider::after {
    content: '';
    position: absolute;
    top: 15%;
    right: 0;
    height: 70%;
    width: 1px;
    background-color: var(--card-border);
}

/* --- AFFILIATIONS RIBBON --- */
.affiliation-item {
    transition: all 0.3s ease;
    opacity: 0.7;
    cursor: pointer;
    padding: 0 0.2rem;
    flex: 1 1 0;
    min-width: 0;
}

.affiliation-item:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.affiliation-item i {
    color: var(--text-muted);
    transition: color 0.3s ease;
    margin-bottom: 8px;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
}

.affiliation-item:hover i {
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent-glow);
}

.affiliation-title {
    color: var(--text-color);
    display: block;
    line-height: 1.2;
    font-size: clamp(0.55rem, 1.3vw, 0.95rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.affiliation-tagline {
    color: var(--text-muted);
    display: block;
    line-height: 1.2;
    font-size: clamp(0.45rem, 1vw, 0.75rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 3px;
    font-weight: 500;
}

.affiliation-item img {
    max-width: 100%;
    height: auto;
    max-height: 40px;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* --- CARDS & COMPONENTS --- */
.glass-card {
    background-color: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    z-index: 1;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: var(--accent);
    z-index: 10;
}

body.dark-mode .glass-card:hover {
    box-shadow: 0 15px 30px var(--accent-glow);
}

/* --- LOGO CAROUSEL --- */
.logo-carousel-section {
    padding: 10px 0 50px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    display: flex;
}

.logo-carousel-section::before,
.logo-carousel-section::after {
    content: '';
    position: absolute;
    top: 0;
    width: 15%;
    height: 100%;
    z-index: 2;
}

.logo-carousel-section::before {
    left: 0;
    background: linear-gradient(to right, var(--card-bg) 0%, transparent 100%);
}

.logo-carousel-section::after {
    right: 0;
    background: linear-gradient(to left, var(--card-bg) 0%, transparent 100%);
}

.carousel-track {
    display: flex;
    animation: scrollCarousel 50s linear infinite;
    gap: 3rem;
    padding-right: 3rem;
    align-items: center;
}

.carousel-track:hover {
    animation-play-state: paused;
}

@keyframes scrollCarousel {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.company-logo-box {
    width: 100px;
    height: 100px;
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
}

.company-logo-box img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.company-logo-box i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.company-logo-box:hover {
    color: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 10px 20px var(--accent-glow);
    transform: translateY(-5px);
}

.company-logo-box:hover img {
    opacity: 1;
    transform: scale(1.1);
}

/* --- SKILLS --- */
.skill-category {
    text-align: center;
}

.skill-category .skill-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
    display: block;
}

.skill-category h5 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.skill-tag {
    display: inline-block;
    background-color: transparent;
    border: 1px solid var(--card-border);
    color: var(--text-muted);
    padding: 8px 18px;
    border-radius: 30px;
    margin: 0 4px 10px 4px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    border-color: var(--accent);
    color: #fff;
    background-color: var(--accent);
    transform: translateY(-2px);
}

/* --- EXPERIENCE TIMELINE --- */
.timeline {
    position: relative;
    padding-left: 40px;
    border-left: 2px solid var(--card-border);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -49px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--accent);
    border: 4px solid var(--bg-color);
    transition: all 0.3s ease;
}

.timeline-item:hover::before {
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--accent-glow);
}

.timeline-date {
    font-size: 0.85rem;
    color: #fff;
    background-color: var(--accent);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.timeline-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 500;
    font-style: italic;
}

.timeline-content ul {
    padding-left: 1.2rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* --- PROJECTS --- */
.project-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    background: var(--card-bg);
    width: 70px; height: 70px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--card-border);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.glass-card:hover .project-icon {
    background: var(--accent);
    color: #fff;
    transform: rotateY(180deg);
}

.project-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.project-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* --- EDUCATION & ACHIEVEMENTS --- */
.edu-item {
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--card-border);
    position: relative;
}

.edu-item::after {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 5px;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0;
    transition: all 0.3s ease;
}

.edu-item:hover::after {
    opacity: 1;
    left: -1rem;
}

.edu-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* --- TESTIMONIALS --- */
.testimonial-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 2.5rem;
    height: 100%;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
    z-index: 1;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: var(--accent);
    z-index: 10;
}

body.dark-mode .testimonial-card:hover {
    box-shadow: 0 15px 30px var(--accent-glow);
}

.testimonial-text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    flex-grow: 1;
}

.testimonial-text::before {
    content: '\201C';
    font-family: 'Poppins', sans-serif;
    font-size: 4rem;
    color: var(--card-border);
    position: absolute;
    top: -20px;
    left: -15px;
    z-index: -1;
    opacity: 0.5;
}

.reviewer-info {
    display: flex;
    align-items: center;
}

.reviewer-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--bg-color);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    overflow: hidden;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.testimonial-card:hover .reviewer-img {
    box-shadow: 0 0 15px var(--accent-glow);
    transform: scale(1.05);
}

.reviewer-img i {
    font-size: 1.5rem;
    color: var(--text-muted);
    opacity: 0.5;
}

.reviewer-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviewer-details h5 {
    margin: 0 0 0.2rem 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
}

.reviewer-details p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 500;
}

/* --- CONTACT --- */
.contact-icon-box {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: var(--card-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    margin-right: 1.5rem;
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
}

.contact-icon-box:hover .contact-icon {
    background-color: var(--accent);
    color: #fff;
}

.contact-info h5 {
    margin: 0 0 0.3rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-info p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.form-control {
    background: var(--bg-color);
    color: var(--text-color);
    border: 1px solid var(--card-border);
    padding: 12px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: var(--bg-color);
    color: var(--text-color);
    border-color: var(--accent);
    box-shadow: 0 0 0 0.25rem var(--accent-glow);
}

/* --- FOOTER --- */
footer {
    background-color: var(--card-bg);
    padding: 3rem 0;
    border-top: 1px solid var(--card-border);
    text-align: center;
}

/* Responsive Design */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: var(--card-bg);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 10px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    /* --- MOBILE HERO FIX (Fit to screen) --- */
    .hero {
        height: 100vh; /* Fallback */
        height: 100dvh; /* Modern mobile dynamic viewport */
        min-height: auto;
        padding-top: 70px; /* Account for navbar */
        padding-bottom: 10px;
        display: flex;
        align-items: center;
        overflow: hidden;
    }

    .hero .row {
        align-items: center;
        justify-content: center;
        margin: 0;
    }

    .hero-subtitle {
        margin-bottom: 1rem;
    }

    .hero h1 {
        font-size: clamp(2rem, 7vw, 2.5rem);
        margin-bottom: 1.5rem;
    }

    .typing-text {
        margin-top: 0.8rem;
    }

    .hero-desc {
        font-size: clamp(0.9rem, 3vw, 1rem);
        margin-bottom: 2rem !important;
        line-height: 1.6;
        padding: 0 10px;
    }

    .hero .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.95rem;
    }

    /* Scale down mobile image and gap uniformly for both Hero and About */
    .hero .col-lg-5 { margin-bottom: 2.5rem !important; }
    .hero .img-wrapper, #about .img-wrapper {
        max-width: 220px; /* Keep uniform restricted size */
        width: 50vw;
        margin: 0 auto;
    }
    #about .img-wrapper {
        margin-bottom: 2rem;
    }

    /* --- MOBILE ALIGNMENT FIX (Center content when stacked below image) --- */
    .hero .col-lg-6, #about .col-lg-6 {
        text-align: center;
    }
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        justify-content: center;
        width: 100%;
    }
    #about .row.mt-4 {
        justify-content: center;
    }
    #about .col-sm-6 {
        display: flex;
        justify-content: center;
    }

    /* Logo carousel mobile tweaks */
    .company-logo-box { width: 80px; height: 80px; font-size: 2.2rem; }
    .carousel-track { gap: 2rem; padding-right: 2rem; }

    /* About Section specific mobile tweaks */
    #about { text-align: center; }
    #about ul { line-height: 1.6 !important; display: inline-block; text-align: left; }
    #about ul li { font-size: 0.9rem; margin-bottom: 0.4rem !important; }

    /* Prevent overlapping scale effects and sticky hovers on touch screens */
    .glass-card:hover, .testimonial-card:hover { transform: none; box-shadow: 0 5px 20px rgba(0,0,0,0.03); border-color: var(--card-border); z-index: 1; }
    body.dark-mode .glass-card:hover, body.dark-mode .testimonial-card:hover { box-shadow: 0 5px 20px rgba(0,0,0,0.03); }
}

/* --- MOUSE TRAIL EFFECT --- */
.mouse-trail {
    position: fixed;
    width: 12px;
    height: 12px;
    background-color: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    animation: trailAnimation 0.7s ease-out forwards;
    box-shadow: 0 0 10px var(--accent-glow);
    will-change: transform, opacity;
}

@keyframes trailAnimation {
    0% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(0.1); }
}

/* --- SCROLL TO TOP BUTTON --- */
#scrollToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--accent);
    color: #fff;
    border: none;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--accent-glow);
}

#scrollToTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scrollToTopBtn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--accent-glow);
}

@media (max-width: 768px) {
    #scrollToTopBtn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}
