/*
Theme Name: G-Shift
Description: A minimal WordPress theme
Author: yahya zh
Version: 1.0
Text Domain: g-shift
Domain Path: /languages
Update URI: false
*/

@font-face {
    font-family: 'Akzidenz Grotesk';
    src: url('fonts/AkzidenzGrotesk-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Akzidenz Grotesk';
    src: url('fonts/AkzidenzGrotesk-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

:root {
    --color-primary: #1FAD82;
    --color-secondary: #48b58f;
    --color-dark: #212121;
    --color-content-bg: #212121;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    color: var(--color-dark);
    background: #fff;
}

.site-header {
    background: #fff;
}

.header-top-bar {
    height: 3px;
    background: var(--color-primary);
}

.main-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 32px !important;
    padding: 0 30px !important;
    height: 56px !important;
    background: #fff !important;
    list-style: none !important;
}

.nav-link {
    text-decoration: none !important;
    color: var(--color-dark) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    padding: 4px 0 !important;
    transition: color 0.2s ease !important;
    flex: none !important;
}

.nav-link.active {
    color: var(--color-primary) !important;
}

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



/* Hero Section */
.hero-section {
    background: #fff;
    padding: 40px 20px 20px;
    text-align: center;
}

.countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 20px 0;
    background: #fff;
}

.countdown-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--color-primary);
    color: #fff;
    padding: 12px 28px;
    border-radius: 28px;
}

.countdown-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.countdown-number {
    font-family: 'Akzidenz Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    letter-spacing: 1px;
}

.countdown-unit {
    font-family: 'Akzidenz Grotesk', sans-serif;
    font-size: 9px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.countdown-sep {
    font-size: 18px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1;
    margin-top: -10px;
}

.hero-title {
    font-family: 'Akzidenz Grotesk', sans-serif;
    color: var(--color-primary);
    font-size: 52px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 0;
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* Map Section - split background */
.map-section {
    position: relative;
    background: transparent;
    z-index: 10;
}

/* Map */
.map-container {
    position: relative;
    max-width: 750px;
    margin: 0 auto;
}

.tripoli-map {
    width: 100%;
    height: auto;
}

.tripoli-map .map-base {
    fill: var(--color-primary);
    stroke: #fff;
    stroke-width: 3;
    pointer-events: none;
}

.tripoli-map .neighborhood path,
.tripoli-map .neighborhood polygon {
    fill: var(--color-primary);
    stroke: #fff;
    stroke-width: 1;
    cursor: pointer;
    transition: fill 0.2s ease;
}

.tripoli-map .neighborhood:hover path,
.tripoli-map .neighborhood:hover polygon {
    fill: var(--color-secondary);
}

/* Tooltip */
.map-tooltip {
    position: absolute;
    background: var(--color-dark);
    color: #fff;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 13px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 100;
    min-width: 140px;
}

.map-tooltip.visible {
    opacity: 1;
}

.tooltip-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.tooltip-project {
    color: #aaa;
    font-size: 12px;
    margin-bottom: 4px;
}

.tooltip-amount {
    color: var(--color-primary);
    font-weight: 600;
}

/* Mobile Map Popup */
.map-mobile-popup {
    display: none;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--color-dark);
    color: #fff;
    padding: 20px 24px;
    border-radius: 12px;
    text-align: center;
    z-index: 200;
    min-width: 200px;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.map-mobile-popup.visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

.mobile-popup-name {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
}

.mobile-popup-project {
    color: #aaa;
    font-size: 12px;
    margin-bottom: 4px;
}

.mobile-popup-amount {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 16px;
}

.mobile-popup-donate {
    display: inline-block;
    padding: 8px 28px;
    border: 2px solid var(--color-primary);
    border-radius: 30px;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.mobile-popup-donate:active {
    background: var(--color-primary);
    color: #fff;
}

/* Content Section */
.content-section {
    background: var(--color-content-bg);
    padding: 100px 40px;
    position: relative;
    z-index: 1;
    border-radius: 20px 20px 0 0;
    transform: translateY(-200px);
    margin-bottom: -200px;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-section p {
    color: #fff !important;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.content-section p:last-child {
    margin-bottom: 0;
}

.content-section a {
    color: #fff;
}

/* Neighborhood Sections */
.neighborhood-section {
    background: #fff;
    padding: 80px 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.neighborhood-content {
    max-width: 700px;
    margin: 0 auto;
}

.neighborhood-title {
    font-family: 'Akzidenz Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 5px;
    text-align: center;
}

.neighborhood-project {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
    text-align: center;
}

.neighborhood-amount {
    font-family: 'Akzidenz Grotesk', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 30px;
    text-align: center;
}

.neighborhood-media {
    margin-bottom: 30px;
}

.video-wrapper {
    max-width: 500px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.video-wrapper.playing {
    background: #000;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
}

.video-placeholder {
    background: var(--color-primary);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.video-thumbnail {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-placeholder .play-icon {
    z-index: 2;
}

.video-placeholder:hover .video-thumbnail {
    opacity: 0.8;
}

.play-icon {
    width: 80px;
    height: 80px;
}

.image-wrapper {
    max-width: 500px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
}

.neighborhood-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.image-wrapper:hover .neighborhood-image {
    transform: scale(1.02);
}

.neighborhood-description {
    font-size: 14px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 30px;
    text-align: left;
}

.neighborhood-description p {
    margin-bottom: 15px;
}

.donate-button {
    display: inline-block;
    padding: 12px 40px;
    border: 2px solid var(--color-primary);
    border-radius: 30px;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.donate-button:hover {
    background: var(--color-primary);
    color: #fff;
}

/* Logos Section */
.logos-section {
    background: #fff;
    padding: 60px 20px;
    border-top: 1px solid #eee;
}

.logos-wrapper {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.partner-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

/* Responsive */
@media (max-width: 768px) {
    .main-nav {
        padding: 0 15px;
        height: 48px;
        gap: 20px;
    }

    .nav-link {
        font-size: 13px;
        letter-spacing: 1px;
    }

    .hero-title {
        font-size: 32px;
        letter-spacing: 2px;
    }

    .map-container {
        max-width: 90%;
    }

    .map-tooltip {
        display: none !important;
    }

    .map-mobile-popup {
        display: block;
    }

    .content-section {
        padding: 60px 20px;
        transform: translateY(-150px);
        margin-bottom: -150px;
        border-radius: 15px 15px 0 0;
    }

    .neighborhood-section {
        padding: 60px 20px;
    }

    .neighborhood-title {
        font-size: 26px;
    }

    .neighborhood-amount {
        font-size: 32px;
    }

    .play-icon {
        width: 60px;
        height: 60px;
    }

    .logos-wrapper {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }

    .partner-logo {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
        letter-spacing: 1px;
    }

    .content-section {
        padding: 40px 15px;
        transform: translateY(-100px);
        margin-bottom: -100px;
        border-radius: 10px 10px 0 0;
    }

    .content-section p {
        font-size: 13px;
    }

    .neighborhood-section {
        padding: 40px 15px;
    }

    .neighborhood-title {
        font-size: 22px;
    }

    .neighborhood-project {
        font-size: 16px;
    }

    .neighborhood-amount {
        font-size: 28px;
    }

    .video-placeholder {
        border-radius: 15px;
    }

    .play-icon {
        width: 50px;
        height: 50px;
    }

    .neighborhood-description {
        font-size: 13px;
    }

    .donate-button {
        padding: 10px 30px;
        font-size: 13px;
    }

    .logos-section {
        padding: 40px 15px;
    }

    .logos-wrapper {
        gap: 20px;
    }

    .partner-logo {
        height: 40px;
    }
}

/* =====================================================
   ABOUT PAGE STYLES
   ===================================================== */

.about-page {
    background: #fff;
}

.about-page .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Image Placeholder */
.about-page .image-placeholder {
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    width: 100%;
    height: 100%;
    min-height: 200px;
}

/* Hero Section */
.about-hero {
    padding: 40px 20px 30px;
}

.about-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-hero-image {
    width: 100%;
    aspect-ratio: 16/9;
    margin: 0 0 30px;
    border-radius: 8px;
    overflow: hidden;
}

.about-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-hero-image .image-placeholder {
    min-height: 100%;
    border-radius: 8px;
}

.about-title {
    font-family: 'Akzidenz Grotesk', sans-serif;
    font-size: 36px;
    font-weight: 500;
    color: var(--color-dark);
    margin: 0;
}

/* Intro Text Section */
.about-intro {
    padding: 30px 20px 50px;
}

/* Image Carousel Section */
.about-image-carousel-section {
    padding: 60px 20px;
    background: #f8f8f8;
}

.image-carousel-container {
    max-width: 1100px;
    margin: 0 auto;
}

.image-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.carousel-track {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.carousel-item.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--color-primary);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-arrow:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.carousel-arrow:active {
    transform: translateY(-50%) scale(0.98);
}

.carousel-arrow--prev {
    left: 20px;
}

.carousel-arrow--next {
    right: 20px;
}

.carousel-arrow svg {
    width: 20px;
    height: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.carousel-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.15);
}

.carousel-indicator.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: scale(1.25);
    box-shadow: 0 2px 8px rgba(31, 173, 130, 0.4);
}

.intro-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-dark);
}

.intro-text p {
    margin-bottom: 15px;
}

.intro-text p:last-child {
    margin-bottom: 0;
}

/* Two Column Sections */
.about-two-col {
    padding: 40px 20px;
}

.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.two-col-image {
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
}

.two-col-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.two-col-image .image-placeholder {
    min-height: 100%;
}

.two-col-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-dark);
}

.two-col-text p {
    margin-bottom: 15px;
}

.two-col-text p:last-child {
    margin-bottom: 0;
}

/* Full Width Text Section */
.about-full-text {
    padding: 50px 20px;
}

.full-text-content {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-dark);
}

.full-text-content p {
    margin-bottom: 15px;
}

.full-text-content p:last-child {
    margin-bottom: 0;
}

/* Slider Section */
.about-slider-section {
    padding: 80px 20px;
    background: #fff;
}

.about-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.slider-container {
    overflow: hidden;
    padding: 40px;
}

.slider-track {
    position: relative;
    min-height: 280px;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s ease;
    transform: translateX(50px);
}

.slider-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.slider-slide.prev {
    transform: translateX(-50px);
}

.slide-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    align-items: start;
}

.slide-image {
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.slide-image:hover img {
    transform: scale(1.05);
}

.slide-image .image-placeholder {
    min-height: 100%;
    font-size: 14px;
}

.slide-text {
    padding-top: 5px;
}

.slide-title {
    font-family: 'Akzidenz Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 500;
    color: var(--color-dark);
    margin: 0 0 20px;
    position: relative;
    padding-bottom: 15px;
}

.slide-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
}

.slide-description {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

.slide-description p {
    margin-bottom: 15px;
}

.slide-description p:last-child {
    margin-bottom: 0;
}

/* Slider Navigation */
.slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.slider-arrow {
    width: 56px;
    height: 56px;
    background: #fff;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--color-primary);
}

.slider-arrow:hover {
    background: var(--color-primary);
    color: #fff;
    transform: scale(1.05);
}

.slider-arrow:active {
    transform: scale(0.95);
}

.slider-arrow svg {
    width: 22px;
    height: 22px;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot:hover {
    background: var(--color-secondary);
}

.slider-dot.active {
    background: var(--color-primary);
    transform: scale(1.2);
}

/* Discover More Button */
.slide-discover-btn {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 30px;
    background: var(--color-primary);
    color: #fff;
    text-decoration: none;
    font-family: 'Akzidenz Grotesk', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border-radius: 6px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.slide-discover-btn:hover {
    background: var(--color-secondary);
    color: #fff;
    transform: translateY(-2px);
}

/* Slide Counter */
.slider-counter {
    font-family: 'Akzidenz Grotesk', sans-serif;
    font-size: 14px;
    color: #888;
    min-width: 60px;
    text-align: center;
}

.slider-counter .current {
    font-size: 20px;
    font-weight: 500;
    color: var(--color-primary);
}

.slider-counter .separator {
    margin: 0 5px;
}

.slider-counter .total {
    color: #aaa;
}

/* About Page Responsive */
@media (max-width: 768px) {
    .about-title {
        font-size: 28px;
    }

    .about-image-carousel-section {
        padding: 40px 15px;
    }

    .carousel-arrow {
        width: 44px;
        height: 44px;
    }

    .carousel-arrow--prev {
        left: 12px;
    }

    .carousel-arrow--next {
        right: 12px;
    }

    .carousel-arrow svg {
        width: 18px;
        height: 18px;
    }

    .carousel-indicators {
        bottom: 16px;
        gap: 8px;
    }

    .carousel-indicator {
        width: 10px;
        height: 10px;
    }

    .two-col-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .two-col-grid--reverse {
        display: flex;
        flex-direction: column;
    }

    .two-col-grid--reverse .two-col-image {
        order: -1;
    }

    .two-col-image {
        max-width: 280px;
        margin: 0 auto;
    }

    .slide-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .slide-image {
        max-width: 240px;
        margin: 0 auto;
    }

    .slider-track {
        min-height: auto;
    }

    .slider-container {
        padding: 30px;
    }

    .slider-arrow {
        width: 48px;
        height: 48px;
    }

    .about-slider-section {
        padding: 50px 15px;
    }

    .slider-nav {
        gap: 15px;
    }

    .slide-title {
        font-size: 24px;
        text-align: center;
    }

    .slide-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .slide-description {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .about-image-carousel-section {
        padding: 30px 10px;
    }

    .image-carousel {
        border-radius: 12px;
    }

    .carousel-track {
        aspect-ratio: 4/3;
    }

    .carousel-arrow {
        width: 38px;
        height: 38px;
    }

    .carousel-arrow--prev {
        left: 8px;
    }

    .carousel-arrow--next {
        right: 8px;
    }

    .carousel-arrow svg {
        width: 16px;
        height: 16px;
    }

    .carousel-indicators {
        bottom: 12px;
        gap: 6px;
    }

    .carousel-indicator {
        width: 8px;
        height: 8px;
        border-width: 1.5px;
    }

    .about-hero {
        padding: 30px 15px 20px;
    }

    .about-hero-image {
        margin-bottom: 20px;
    }

    .about-title {
        font-size: 24px;
    }

    .about-intro,
    .about-two-col,
    .about-full-text {
        padding: 30px 15px;
    }

    .intro-text,
    .two-col-text,
    .full-text-content,
    .slide-description {
        font-size: 13px;
    }

    .two-col-grid {
        gap: 20px;
    }

    .two-col-image,
    .slide-image {
        max-width: 220px;
    }

    .slide-title {
        font-size: 20px;
    }

    .slider-container {
        padding: 25px 20px;
        border-radius: 12px;
    }

    .slider-arrow {
        width: 42px;
        height: 42px;
    }

    .slider-arrow svg {
        width: 18px;
        height: 18px;
    }

    .about-slider-section {
        padding: 40px 15px;
    }

    .slide-image {
        max-width: 200px;
    }

    .slider-dots {
        gap: 8px;
    }

    .slider-dot {
        width: 10px;
        height: 10px;
    }

    .slider-counter {
        font-size: 12px;
    }

    .slider-counter .current {
        font-size: 16px;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-primary, #1FAD82);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.3s;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: #178f6b;
}
