/* =======================================================
  Template by Zarephia
  Visit the website: https://zarephia.com
  Buy here: https://zarephia.gumroad.com
  Follow for updates: https://instagram.com/zarephia
  License: Single Use Only
  Copyright © 2025 Zarephia. All rights reserved.
  ======================================================= */

/* Light Mode */
:root {
    /* Colors */
    --navbar-bg: rgb(44, 44, 44);
    --navbar-text: #EFEFEF;
    --card-color: #f7f7f7;
    --primary-accent-color: #4aa9a9;
    --secondary-accent-color: #438c8c;
    --icon-wrapper: rgba(44, 44, 44, 0.3);
    --icon-wrapper-text: rgb(44, 44, 44);
    --text: #1A1A1A;
    --primary-background-color: #f5f5f5;
    --secondary-background-color: #e7e7e7;
    --tertiary-background-color: #e0e0e0;
    --footer: #888;
    --shadow-color: var(--navbar-bg);
    --back-to-top-shadow: rgba(44, 44, 44, 1);
    --navbar-hover-shadow: var(--primary-background-color);
    --btn-shadow: var(--navbar-bg);
    --socials-icon-color: rgb(44, 44, 44);
    --back-to-top-text: #1A1A1A;

    /* Fonts */
    --hero-font: "Montserrat", sans-serif;
    --content-font: "Overpass", sans-serif;
}

/* Smooth transitions for theme changes */
* {
    box-sizing: border-box;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

body {
    margin: 0;
    padding: 0;
    color: var(--text);
    background-color: var(--primary-background-color);
    overflow-x: hidden;
    font-family: var(--content-font);
    line-height: 1.8;
}

/* ===========================
   HERO SECTION
=========================== */
#hero {
    background-color: var(--secondary-background-color);
    padding: 60px 20px;
    font-family: var(--hero-font);
    position: relative;
    height: 35vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

#hero h1, #hero h6, #hero p, #hero a {
    position: relative;
    z-index: 2;
}

#hero h1 {
    font-weight: bold;
    color: var(--text);
}

#hero-description {
    text-align: center;
}

/* Hero Description Tablet View */
@media (min-width: 769px) and (max-width: 1024px) {
    #hero-description {
        width: 75%;
        margin-top: 1rem;
        margin-left: 1.5rem;
        margin-right: 1.5rem;
    }
}

/* Desktop */
@media (min-width: 1025px) {
    #hero-description {
        width: 66.67%;
        margin-left: 1rem;
        margin-right: 1rem;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    #hero-description {
        font-size: medium;
        width: 92.5%;
        margin-top: 1rem;
        margin-left: 0.75rem;
        margin-right: 0.75rem;
    }
}

@media (max-width: 375px) {
    #hero-description {
        font-size: 0.9rem;
        line-height: 1.4;
        width: 92.5%;
        margin: 1rem auto 0;
        text-align: center;
    }
}

#hero .btn-primary {
    display: inline-block;
    font-family: var(--hero-font);
    background-color: var(--primary-accent-color);
    border: none;
    padding: 20px 50px;
    border-radius: 12px;
    color: var(--text);
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    z-index: 2;
    text-align: center;
    overflow: hidden;
    text-decoration: none;
    letter-spacing: 0.5px;
}

/* Light sweep effect */
#hero .btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
    90deg, 
    transparent, 
    rgba(255, 255, 255, 0.4), 
    rgba(255, 255, 255, 0.6), 
    rgba(255, 255, 255, 0.4), 
    transparent
    );
    transition: left 0.8s ease;
    pointer-events: none;
}

#hero .btn-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(
        135deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        transparent 50%, 
        rgba(0, 0, 0, 0.1) 100%
    );
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

#hero .btn-primary:hover {
    background-color: var(--secondary-accent-color);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.8px;
}

#hero .btn-primary:hover::before {
    left: 100%;
}

#hero .btn-primary:hover::after {
    opacity: 0.7;
}

#hero .btn-primary:focus {
    outline: 3px solid rgba(255, 255, 255, 0.6);
    outline-offset: 4px;
}

#hero .btn-primary:active {
    transform: translateY(-1px) scale(0.99);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.1s ease;
}

/* Add a subtle pulse animation on load */
@keyframes hero-btn-pulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); }
    50% { box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2); }
}

#hero .btn-primary {
    animation: hero-btn-pulse 3s ease-in-out infinite;
}

#hero .btn-primary:hover {
    animation: none;
}

#mainContent {
    width: 80%;
    margin: 0 auto;
    font-family: var(--content-font);
}

@media (min-width: 769px) and (max-width: 1024px) {
    #mainContent {
        width: 90%;
    }
}

@media (max-width: 768px) {
    #mainContent {
        width: 100%;
        margin: 0;
        padding: 0;
    }
}

/* Navigation Bar */
.custom-navbar {
    position: sticky;
    top: 0;
    margin: 0;
    padding: 0;
    z-index: 1020;
    background-color: var(--navbar-bg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-family: var(--hero-font);
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.custom-navbar.is-sticky {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.navbar-collapse {
    justify-content: center;
}

/* Desktop styles */
.nav-item {
    margin: 0;
    border-radius: 3px;
}

.nav-link {
    height: 50px;
    padding: 0 50px;
    display: flex;
    align-items: center;
}

.custom-navbar .nav-link {
    color: var(--navbar-text);
}

.custom-navbar .nav-link:hover {
    color: var(--primary-accent-color);
    box-shadow: 0 0 8px var(--navbar-hover-shadow);
}

.nav-item .nav-link.active {
    color: var(--primary-accent-color);
    border-bottom: 3px solid var(--primary-accent-color);
    font-weight: 600;
}

/* Toggler button */
.navbar-toggler {
    border: none;
    width: 45px;
    height: 35px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 5px 0;
    cursor: pointer;
}

.navbar-toggler:focus {
    box-shadow: none;
    border: none;
}

.navbar-toggler:focus-visible {
    outline: none;
}

/* Hamburger bars */
.navbar-toggler span {
    display: block;
    height: 4px;
    width: 100%;
    background-color: var(--navbar-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.center-toggler {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

/* Hamburger animation when active */
.navbar-toggler[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(12px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-12px) rotate(-45deg);
}

/* Mobile and tablet styles */
@media (max-width: 991px) {
.custom-navbar {
    min-height: 50px;
}

/* Mobile navbar collapse */
.navbar-collapse {
    background-color: var(--navbar-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 10px;
    padding: 20px 0;
}

/* Mobile navigation list */
#navbarTabs {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100%;
}

.nav-item {
    margin: 5px 0;
    width: 100%;
}

.nav-link {
    height: auto;
    padding: 15px 20px;
    text-align: center;
    border-radius: 5px;
    transition: all 0.3s ease;
    border-bottom: none !important;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.nav-item .nav-link.active {
    background-color: var(--primary-accent-color);
    color: var(--text);
    border-bottom: none !important;
    font-weight: 600;
}

/* Smooth collapse animation */
.navbar-collapse.collapsing {
    transition: height 0.35s ease;
}

.navbar-collapse.show {
    animation: slideDown 0.3s ease-out;
}
}

@keyframes slideDown {
from {
    opacity: 0;
    transform: translateY(-10px);
}
to {
    opacity: 1;
    transform: translateY(0);
}
}

/* Content Section */
.content-section {
    display: none;
    padding: 40px 20px;
}

@media (min-width: 769px) and (max-width: 1024px) {
    .content-section {
        padding: 40px 15px;
    }
}

.content-section.active {
    display: block;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    width: 100%;
    color: var(--text);
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-accent-color);
    margin: 3.5px auto 0;
    border-radius: 3px;
}

/* About Section */
.profile p {
    font-size: large;
    padding-top: 1rem;
    color: var(--text);
}

.profile-avatar {
    width: 250px;
    height: 250px;
    margin: 1.5rem auto;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    animation: animate-shadow 3s ease-in-out infinite;
}

.profile-avatar-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes animate-shadow {
    0% {
        box-shadow: 0 0 50px var(--secondary-accent-color);
    }
    50% {
        box-shadow: 0 0 50px var(--shadow-color);
    }
    100% {
        box-shadow: 0 0 50px var(--secondary-accent-color);
    }
}

/* #about-text {
    margin-left: 1rem;
} */

/* Mobile about text */
/* @media (max-width: 768px) {
    #about-text {
        margin-left: 0.75rem;
        margin-right: 0.75rem;
    }
} */

/* Default styles */
#about-text {
    margin-left: 1rem;
    line-height: 1.7;
    margin: 1rem auto 0;
}

/* Tablet: Full width */
@media (min-width: 769px) and (max-width: 1024px) {
    #about-text {
        width: 100%;
        margin-top: 1rem;
        margin-left: 1.5rem;
        margin-right: 1.5rem;
    }
}

/* Desktop: 8 columns width */
@media (min-width: 1025px) {
    #about-text {
        width: 66.67%;
        margin-left: 1rem;
        margin-right: auto;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    #about-text {
        margin-left: 1rem;
        margin-right: 1rem;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    #about-text {
        width: 92.5%;
        margin-top: 1rem;
        margin-left: 0.75rem;
        margin-right: 0.75rem;
    }
}

/* Skills section */
.skills-section,
.tools-section {
    margin-top: 2.5rem;
    padding: 2rem;
    background-color: var(--secondary-background-color);
    border-radius: 20px;
}

@media (max-width: 768px) {
    .skills-section,
    .tools-section {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        margin-left: 0.75rem;
        margin-right: 0.75rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .skills-section,
    .tools-section {
        padding: 2rem 1.5rem;
        margin-left: 1rem;
        margin-right: 1rem;
    }
}

.skills-section h5,
.tools-section h5 {
    font-size: x-large;
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-bottom: 1.5rem;
    color: var(--text);
}

.skills-card {
    background-color: var(--card-color);
    color: var(--text);
    border: none;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
    padding: 20px 10px;
}

@media (min-width: 769px) and (max-width: 1024px) {
    .skills-card {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 768px) {
    .skills-card {
        margin-left: 0.75rem;
        margin-right: 0.75rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

.skills-card i {
    color: var(--secondary-accent-color);
    font-size: 2rem;
    margin-bottom: 12px;
    display: block;
    width: 100%;
    text-align: center;
}

.skills-card p {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.skills-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* Services Section */
.service-icon,
.portfolio-icon {
    width: 250px;
    height: auto;
    display: block;
    margin: 25px auto 10px auto;
    text-align: center;
    margin-top: 25px;
}

.services-card,
.portfolio-card,
.testimonial-card {
    background-color: var(--card-color);
    color: var(--text);
    height: 100%;
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid var(--tertiary-background-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

@media (min-width: 769px) and (max-width: 1024px) {
    .services-card,
    .portfolio-card,
    .testimonial-card {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
        padding: 1.25rem;
    }
}

@media (max-width: 768px) {
    .services-card,
    .portfolio-card,
    .testimonial-card {
        margin-left: 0.75rem;
        margin-right: 0.75rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

.services-card:hover,
.portfolio-card:hover,
.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

/* Icon wrapper */
.icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 1rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--icon-wrapper);
    color: var(--icon-wrapper-text);
    font-size: 2rem;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.services-card:hover .icon-wrapper,
.portfolio-card:hover .icon-wrapper {
    transform: scale(1.1);
    background: var(--primary-accent-color);
    color: var(--card-color);
}

.card-title {
    font-weight: bold;
    text-align: center;
    padding-top: 10px;
    color: var(--text);
}

.card-text {
    padding-top: 10px;
    padding-bottom: 10px;
    color: var(--text);
}

/* CTA buttons */
#services .btn-primary,
#portfolio .btn-primary {
    display: inline-block;
    font-family: var(--hero-font);
    background-color: var(--primary-accent-color);
    border: none;
    padding: 15px 100px;
    border-radius: 10px;
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 1px 4px var(--btn-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    text-align: center;
    margin-top: 1.5rem;
    overflow: hidden;
    text-decoration: none;
}

#services .btn-primary::before,
#portfolio .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

#services .btn-primary:hover,
#portfolio .btn-primary:hover {
    background-color: var(--secondary-accent-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    font-weight: 600;
}

#services .btn-primary:hover::before,
#portfolio .btn-primary:hover::before {
    left: 100%;
}

#services .btn-primary:active,
#portfolio .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Tools Section */
.tools-card.invisible-card {
    background: none;
    border: none;
    padding: 10px 5px;
    text-align: center;
    transition: transform 0.2s ease, color 0.2s ease;
}

.tools-card.invisible-card i {
    color: var(--secondary-accent-color);
    font-size: 2rem;
    margin-bottom: 8px;
    display: block;
    width: 100%;
    text-align: center;
}

.tools-card.invisible-card p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--text);
}

.tools-card.invisible-card:hover {
    transform: translateY(-5px) scale(1.05);
}

/* Portfolio Section */
.card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.portfolio-img {
    max-height: 200px;
    border-radius: 10px;
    object-fit: contain;
    transition: filter 0.3s ease;
    transform: translateZ(0);
}

@media (min-width: 769px) and (max-width: 1024px) {
    .portfolio-img {
        width: 100%;
        max-height: 180px;
    }
}

@media (max-width: 768px) {
    .portfolio-img {
        display: block;
        margin: 0 auto;
        width: 90%;
        border-radius: 7px;
    }
}

.portfolio-card:hover .portfolio-img {
    filter: brightness(1.15) contrast(1.05);
}

.portfolio-btn {
    background-color: transparent;
    border: 2px solid var(--primary-accent-color);
    color: var(--primary-accent-color);
    border-radius: 10px;
    font-weight: 500;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.portfolio-btn:hover {
    background-color: var(--primary-accent-color);
    color: var(--text);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Modal styles */
/* Modal vertical centering for all devices */
.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 3.5rem);
}

.modal-dialog-centered::before {
  height: calc(100vh - 3.5rem);
  content: "";
  display: inline-block;
  vertical-align: middle;
}

.modal-content {
    background-color: var(--card-color);
    font-family: var(--content-font);
    border-radius: 12px;
    overflow: hidden;
    max-height: 90vh;
    overflow-y: auto;
    color: var(--text);
}

.modal-header {
  margin: 1.5rem;
}

.modal-title {
    font-size: x-large;
    color: var(--text);
}

.modal-section {
    padding: 0.5rem 3rem;
}

.modal-section h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-accent-color);
}

.modal-section p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .modal-dialog-centered {
    min-height: calc(100vh - 1rem);
    }

    .modal-dialog-centered::before {
    height: calc(100vh - 1rem);
    }

    .modal-content {
    max-height: 95vh;
    margin: 0.5rem;
    }

    .modal-section {
    padding: 0.5rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .modal-dialog {
        margin: 0.25rem;
    }
  
    .modal-content {
        max-height: 98vh;
    }
  
    .modal-section {
        padding: 0.5rem 1rem;
    }
}

.solution-emoji-bullets,
.outcome-emoji-bullets {
    list-style-type: none;
    padding-left: 20px;
}

.solution-emoji-bullets li,
.outcome-emoji-bullets li {
    display: flex;
    align-items: center;
    padding-left: 0;
    vertical-align: middle;
    position: relative;
}

.solution-emoji-bullets li::before {
    content: "💡";
    position: absolute;
    left: -20px;
    font-size: 35px;
    line-height: 1;
    margin-bottom: 10px;
}

.outcome-emoji-bullets li::before {
    content: "👍";
    position: absolute;
    left: -20px;
    font-size: 30px;
    line-height: 1;
    margin-bottom: 10px;
}

.solution-text,
.outcome-text {
    margin-left: 25px;
}

.modal-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    justify-content: center;
    padding: 1rem 2rem;
}

/* Testimonial Section */
.testimonial-text {
    font-style: italic;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.featured-testimonial {
    background-color: var(--secondary-background-color);
    border-radius: 15px;
    position: relative;
}

.featured-avatar {
    width: 70px;
    height: 70px;
    object-fit: cover;
}

.custom-muted {
    color: var(--text);
    opacity: 75%;
}

.featured-custom-muted {
    color: var(--text);
    opacity: 50%;
}

/* Contact Section */
.contact-mail,
.contact-calendly {
    font-size: 20px;
    color: var(--text);
}

#contactEmail,
#contactCalendly {
    color: var(--primary-accent-color);
}

.socials-icon {
    color: var(--socials-icon-color) !important;
    transition: transform 0.3s ease;
    padding: 1.75rem;
}

.socials-icon:hover {
    transform: translateY(-5px);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    font-size: 0.85rem;
    color: var(--footer);
    margin-bottom: 4.5rem;
}

.footer-credit {
    font-size: 0.8rem;
    color: var(--footer);
}

/* iPad Mini and iPad Air (744px - 1024px)*/
@media (min-width: 744px) and (max-width: 1024px) {
    #servicesCards > div,
    #portfolio .row > div,
    #testimonialCards > div {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .skills-card,
    .services-card,
    .portfolio-card,
    .testimonial-card {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }

    #about-text {
        margin-left: 0.75rem;
        margin-right: 0.75rem;
    }

    .skills-section,
    .tools-section {
        padding: 2rem 2rem;
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }

    .services-card,
    .portfolio-card,
    .testimonial-card {
        padding: 1.5rem 1rem;
    }
}

/* Landscape tablets (1024px - 1200px) */
@media (min-width: 1024px) and (max-width: 1200px) {
    #mainContent {
        width: 85%;
    }

    .skills-card,
    .services-card,
    .portfolio-card,
    .testimonial-card {
        margin-left: 0.25rem;
        margin-right: 0.25rem;
    }
}

/* Back to top button */
#backToTop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: var(--card-color);
    color: var(--back-to-top-text);
    cursor: pointer;
    box-shadow: 0 0 15px var(--back-to-top-shadow);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    pointer-events: none;
    z-index: 999;
    margin-bottom: 4.5rem;
}

#backToTop svg {
    width: 24px;
    height: 24px;
}

#backToTop:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 0 20px var(--back-to-top-shadow);
}

#backToTop.show {
    opacity: 1;
    pointer-events: auto;
}

/* Sticky Buy Bar */
.sticky-buy-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(30, 30, 30, 0.95) 100%);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(139, 115, 85, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 1.5rem;
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(139, 115, 85, 0.1);
  z-index: 9999;
  font-family: 'Spectral', sans-serif;
  transition: all 0.3s ease;
}

.sticky-buy-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

.sticky-buy-bar p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: #f5f5f5;
  font-family: 'Nunito Sans', sans-serif;
  letter-spacing: 0.5px;
}

.sticky-buy-bar .btn {
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #d4af37 0%, #8b7355 50%, #6b5b47 100%);
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  font-family: 'Nunito Sans', sans-serif;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.sticky-buy-bar .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.sticky-buy-bar .btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4), 0 4px 15px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #e5c248 0%, #9d8463 50%, #7a6a55 100%);
}

.sticky-buy-bar .btn:hover::before {
  left: 100%;
}

.sticky-buy-bar .btn:active {
  transform: translateY(0) scale(0.98);
  transition: all 0.1s ease;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .sticky-buy-bar {
    gap: 1rem;
    padding: 0.875rem 1rem;
  }
  
  .sticky-buy-bar p {
    font-size: 1rem;
  }
  
  .sticky-buy-bar .btn {
    padding: 0.625rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Enhanced focus states for accessibility */
.sticky-buy-bar .btn:focus {
  outline: 2px solid #d4af37;
  outline-offset: 2px;
}