@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800&display=swap');

* {
    font-family: 'Tajawal', sans-serif;
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, #f4f6fb 0%, #e8ecf4 50%, #fdf2f8 100%);
    overflow-x: hidden;
}

/* ===== Animated Background Particles ===== */
.particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: float linear infinite;
    opacity: 0.15;
}

@keyframes float {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

/* ===== Navbar ===== */
.navbar {
    box-shadow: 0 4px 30px rgba(0,0,0,0.2);
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.navbar-brand {
    background: linear-gradient(135deg, #f093fb, #f5576c, #4facfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800 !important;
    font-size: 1.4rem !important;
}

.navbar .nav-link {
    position: relative;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 2px;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    background: rgba(255,255,255,0.1);
    color: #fff !important;
}

.navbar .nav-link i {
    margin-left: 6px;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    border-radius: 12px;
    background: #1a1a2e !important;
}

.dropdown-menu .dropdown-item {
    color: rgba(255,255,255,0.8) !important;
    border-radius: 8px;
    transition: all 0.3s;
}

.dropdown-menu .dropdown-item:hover {
    background: rgba(255,255,255,0.1) !important;
    color: #fff !important;
}

/* ===== Hero ===== */
.hero-section {
    min-height: 92vh;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 40%, #24243e 70%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 50%, rgba(240,147,251,0.2) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(79,172,254,0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(245,87,108,0.1) 0%, transparent 50%),
        radial-gradient(circle at 30% 20%, rgba(255,204,112,0.08) 0%, transparent 40%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(45deg, rgba(255,255,255,0.02) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255,255,255,0.02) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.02) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.02) 75%);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 30%, #4facfe 60%, #43e97b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s ease-in-out infinite alternate;
    background-size: 200% auto;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 100% center; }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.85);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-buttons .btn {
    padding: 14px 36px;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.hero-buttons .btn-primary-grad {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: #fff;
    border: none;
    box-shadow: 0 4px 20px rgba(245,87,108,0.4);
}

.hero-buttons .btn-primary-grad:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 40px rgba(245,87,108,0.5);
}

.hero-buttons .btn-secondary-grad {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: #fff;
    border: none;
    box-shadow: 0 4px 20px rgba(79,172,254,0.4);
}

.hero-buttons .btn-secondary-grad:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 40px rgba(79,172,254,0.5);
}

.hero-buttons .btn-accent-grad {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    color: #1a1a2e;
    border: none;
    box-shadow: 0 4px 20px rgba(67,233,123,0.3);
}

.hero-buttons .btn-accent-grad:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 40px rgba(67,233,123,0.4);
}

/* ===== Section Titles ===== */
.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #302b63, #f5576c, #f093fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: shimmer 5s ease-in-out infinite alternate;
}

.section-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* ===== Floating Shapes ===== */
.floating-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    animation: floatShape 15s ease-in-out infinite;
}

.shape:nth-child(1) {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(240,147,251,0.1), transparent);
    top: -100px; right: -100px;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(79,172,254,0.08), transparent);
    bottom: -50px; left: -50px;
    animation-delay: -5s;
}

.shape:nth-child(3) {
    width: 150px; height: 150px;
    background: radial-gradient(circle, rgba(245,87,108,0.08), transparent);
    top: 50%; left: 10%;
    animation-delay: -10s;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ===== Service Cards ===== */
.service-card {
    border-radius: 20px;
    border: none !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
}

.service-card:nth-child(1)::before { background: linear-gradient(90deg, #4361ee, #7209b7, #f093fb); }
.service-card:nth-child(2)::before { background: linear-gradient(90deg, #3a86ff, #00b4d8, #4facfe); }
.service-card:nth-child(3)::before { background: linear-gradient(90deg, #06d6a0, #00b4d8, #43e97b); }
.service-card:nth-child(4)::before { background: linear-gradient(90deg, #e94560, #c0392b, #f5576c); }

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15) !important;
}

.service-card .card-body {
    padding: 2.5rem 1.8rem;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.2rem;
    display: inline-block;
    transition: all 0.4s ease;
}

.service-card:nth-child(1) .service-icon {
    background: linear-gradient(135deg, #4361ee, #7209b7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card:nth-child(2) .service-icon {
    background: linear-gradient(135deg, #3a86ff, #00b4d8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card:nth-child(3) .service-icon {
    background: linear-gradient(135deg, #06d6a0, #00b4d8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card:nth-child(4) .service-icon {
    background: linear-gradient(135deg, #e94560, #c0392b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(-5deg);
}

.service-card .card-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
}

.service-card .card-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #6c757d;
}

/* ===== Section backgrounds ===== */
.section-light {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    position: relative;
}

.section-alt {
    background: linear-gradient(135deg, rgba(244,246,251,0.9) 0%, rgba(232,236,244,0.9) 50%, rgba(253,242,248,0.9) 100%);
    position: relative;
}

/* ===== About Section ===== */
.about-image-wrapper {
    position: relative;
    display: inline-block;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: -12px;
    right: -12px;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-radius: 24px;
    z-index: -1;
    background: linear-gradient(135deg, #f093fb, #f5576c, #4facfe, #43e97b) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.about-image-wrapper img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.skill-badge {
    padding: 8px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.4s ease;
    cursor: default;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.skill-badge:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.skill-badge:nth-child(1) { background: linear-gradient(135deg, #4361ee, #7209b7); color: #fff; }
.skill-badge:nth-child(2) { background: linear-gradient(135deg, #3a86ff, #00b4d8); color: #fff; }
.skill-badge:nth-child(3) { background: linear-gradient(135deg, #06d6a0, #00b4d8); color: #fff; }
.skill-badge:nth-child(4) { background: linear-gradient(135deg, #e94560, #c0392b); color: #fff; }
.skill-badge:nth-child(5) { background: linear-gradient(135deg, #f8961e, #f3722c); color: #fff; }
.skill-badge:nth-child(6) { background: linear-gradient(135deg, #7209b7, #560bad); color: #fff; }
.skill-badge:nth-child(7) { background: linear-gradient(135deg, #f093fb, #f5576c); color: #fff; }
.skill-badge:nth-child(8) { background: linear-gradient(135deg, #4facfe, #00f2fe); color: #fff; }

/* ===== Contact Form ===== */
.contact-form .form-control {
    border: 2px solid rgba(232,236,244,0.8);
    border-radius: 14px;
    padding: 16px 20px;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    font-size: 1rem;
}

.contact-form .form-control:focus {
    border-color: transparent;
    box-shadow: 0 0 0 4px rgba(240,147,251,0.2), 0 0 20px rgba(240,147,251,0.1);
    background: #fff;
}

.contact-form .btn-submit {
    background: linear-gradient(135deg, #f093fb, #f5576c, #4facfe);
    background-size: 200% auto;
    color: #fff;
    border: none;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    animation: shimmer 4s ease-in-out infinite alternate;
}

.contact-form .btn-submit:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 12px 40px rgba(245,87,108,0.4);
}

/* ===== Page Header (for inner pages) ===== */
.page-header {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 40%, #24243e 100%);
    padding: 110px 0 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 40%, rgba(240,147,251,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 60%, rgba(79,172,254,0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 90%, rgba(67,233,123,0.08) 0%, transparent 40%);
}

.page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(45deg, rgba(255,255,255,0.02) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255,255,255,0.02) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.02) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.02) 75%);
    background-size: 40px 40px;
}

.page-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #f093fb, #4facfe, #43e97b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    background-size: 200% auto;
    animation: shimmer 4s ease-in-out infinite alternate;
}

.page-header p {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

/* ===== Cards (general) ===== */
.card {
    border-radius: 20px;
    border: none !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.95);
}

.card:hover {
    box-shadow: 0 12px 48px rgba(0,0,0,0.1);
}

.form-control-lg, .form-control {
    border-radius: 14px;
}

.btn {
    border-radius: 12px;
    font-weight: 600;
}

/* ===== Social links ===== */
.social-links a {
    font-size: 1.6rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    opacity: 0.9;
    transform: translateY(-5px) scale(1.1);
}

/* ===== Blog Cards ===== */
.blog-card {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.12) !important;
}

.blog-card .blog-icon {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.blog-card .blog-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.1);
}

.blog-card .blog-icon.web-icon { background: linear-gradient(135deg, #4361ee, #7209b7, #f093fb); }
.blog-card .blog-icon.pc-icon { background: linear-gradient(135deg, #3a86ff, #00b4d8, #4facfe); }
.blog-card .blog-icon.linux-icon { background: linear-gradient(135deg, #06d6a0, #00b4d8, #43e97b); }
.blog-card .blog-icon.security-icon { background: linear-gradient(135deg, #e94560, #c0392b, #f5576c); }

.blog-card .card-body {
    padding: 1.8rem;
}

.blog-card .card-title {
    font-weight: 700;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.blog-card:hover .card-title {
    background: linear-gradient(135deg, #302b63, #f5576c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-card .card-text {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.7;
}

.blog-card .btn-read {
    background: transparent;
    border: 2px solid rgba(232,236,244,0.8);
    border-radius: 50px;
    padding: 8px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #4361ee;
}

.blog-card .btn-read:hover {
    background: linear-gradient(135deg, #4361ee, #7209b7);
    border-color: transparent;
    color: #fff;
    transform: translateX(-5px);
}

.blog-meta {
    font-size: 0.85rem;
    color: #adb5bd;
}

/* ===== Article Page ===== */
.article-content {
    font-size: 1.05rem;
    line-height: 2.1;
    color: #2d3436;
}

.article-content h3 {
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #302b63, #f5576c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-content h4 {
    font-weight: 700;
    margin-top: 1.8rem;
    margin-bottom: 0.8rem;
    color: #0f3460;
}

.article-content p {
    margin-bottom: 1.2rem;
}

.article-content ul, .article-content ol {
    margin-bottom: 1.2rem;
    padding-right: 1.8rem;
}

.article-content li {
    margin-bottom: 0.6rem;
}

.article-content code {
    background: linear-gradient(135deg, #f0f0f0, #e8ecf4);
    padding: 3px 10px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    direction: ltr;
    display: inline-block;
}

.article-content pre {
    background: linear-gradient(135deg, #0f0c29, #302b63);
    color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 16px;
    direction: ltr;
    text-align: left;
    overflow-x: auto;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255,255,255,0.05);
}

.article-content pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

.highlight-box {
    background: linear-gradient(135deg, #f4f6fb, #e8ecf4);
    border-right: 4px solid #4361ee;
    padding: 1.5rem 2rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    position: relative;
}

.highlight-box.warning {
    border-right-color: #e94560;
    background: linear-gradient(135deg, #fff5f5, #ffe8e8);
}

.highlight-box.success {
    border-right-color: #06d6a0;
    background: linear-gradient(135deg, #f0fff4, #e0ffe8);
}

/* ===== Footer ===== */
footer {
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e) !important;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(240,147,251,0.08), transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(79,172,254,0.06), transparent 50%);
}

/* ===== Services Page ===== */
.service-detail-card {
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.service-detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12) !important;
}

.service-detail-card .card-body {
    padding: 2.5rem 2rem;
}

.service-detail-card .service-icon-lg {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.service-detail-card ul li {
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.service-detail-card ul li i {
    margin-left: 10px;
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e) !important;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(240,147,251,0.12), transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(79,172,254,0.08), transparent 50%);
}

/* ===== Stat cards (numbers) ===== */
.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #f093fb, #4facfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Category filters ===== */
.cat-filter {
    transition: all 0.3s ease;
}

.cat-filter:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1) !important;
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 75vh;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .page-header {
        padding: 90px 0 50px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .about-image-wrapper::before {
        display: none;
    }

    .service-card .card-body {
        padding: 1.8rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 8px 0 !important;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-in {
    animation: fadeInUp 0.7s ease forwards;
}

.animate-in-delay-1 { animation-delay: 0.15s; }
.animate-in-delay-2 { animation-delay: 0.3s; }
.animate-in-delay-3 { animation-delay: 0.45s; }
.animate-in-delay-4 { animation-delay: 0.6s; }

/* ===== Gradient borders ===== */
.gradient-border {
    position: relative;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, #f093fb, #f5576c, #4facfe, #43e97b);
    z-index: -1;
    opacity: 0.3;
    transition: opacity 0.3s;
}

.gradient-border:hover::before {
    opacity: 0.6;
}

/* ===== Back to top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(245,87,108,0.4);
    z-index: 999;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(245,87,108,0.5);
}
