:root {
    --brand: #ff0000;
    /* Red accent */
    --ink: #0d1b2a;
    /* Deep blue */
    --ink-900: #0a1522;
    --muted: #6c757d;
}

* {
    box-sizing: border-box
}

body {
    font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
    color: #111;
    scroll-behavior: smooth
}

/* Navbar */
.navbar {
    background: var(--ink)
}

.navbar .navbar-brand,
.navbar .nav-link {
    color: #fff !important
}

.navbar .nav-link:hover {
    color: var(--brand) !important
}

/* Hero Section */
#home {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)),
        url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?q=80&w=2000&auto=format&fit=crop') center/cover;
    color: #fff;
    padding: 2rem;
}

#home .content {
    max-width: 800px;
}

#home .profile-img {
    width: 250px;
    height: 250px;
    object-fit: fill;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border: 4px solid #fff;
    margin-bottom: 1.5rem;
}

#home .badge-tag {
    display: inline-block;
    background: #ff0000;
    color: #fff;
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
}

#home h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

#home p.lead {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.btn-brand {
    background: #ff0000;
    color: #fff;
    border-radius: 30px;
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-brand:hover {
    background: #e60000;
    transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 768px) {
    #home h1 {
        font-size: 2rem;
    }

    #home p.lead {
        font-size: 1rem;
    }

    #home .profile-img {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    #home h1 {
        font-size: 1.8rem;
    }

    #home p.lead {
        font-size: 0.95rem;
    }
}

/* Sections */
section {
    padding: 100px 0
}

.section-title {
    font-weight: 700
}

.section-sub {
    color: var(--muted)
}

/* About */
#about .card {
    border: 0;
    box-shadow: 0 12px 30px rgba(13, 27, 42, .08);
    border-radius: 18px
}

#about .stat {
    display: flex;
    gap: .75rem;
    align-items: center;
    margin-bottom: .75rem
}

#about .stat i {
    color: var(--brand)
}

/* Services */
.service-card {
    height: 100%;
    border: 0;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(13, 27, 42, .08);
    transition: transform .25s
}

.service-card:hover {
    transform: translateY(-6px)
}

.service-card .icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #fff;
    color: var(--brand);
    box-shadow: 0 6px 20px rgba(255, 0, 0, .15)
}

/* Skills */
.progress {
    height: 10px;
    border-radius: 999px;
    background: #e9ecef
}

.progress-bar {
    background: var(--brand)
}

/* Portfolio */
.work {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: 0 12px 30px rgba(13, 27, 42, .08);
    transition: transform .25s
}

.work img {
    width: 100%;
    display: block;
    transition: transform .35s
}
.work a {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    text-decoration: none;
    color: transparent
}

.work:hover img {
    transform: scale(1.05)
}

 .portfolio-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .portfolio-item img {
    transition: transform 0.4s ease;
  }

  .portfolio-item:hover img {
    transform: scale(1.05); /* Zoom-in */
  }

  .portfolio-item:hover {
    transform: translateY(-5px); /* Slight lift */
    box-shadow: 0 8px 20px rgba(0,0,0,0.15); /* Glow */
  }

  .portfolio-item h5, 
  .portfolio-item p {
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .portfolio-item:hover h5, 
  .portfolio-item:hover p {
    opacity: 1;
    transform: translateY(-3px); /* Text moves slightly up */
  }

/* Contact */
#contact {
    background: var(--ink);
    color: #fff
}

.social a {
    color: #fff;
    font-size: 1.25rem;
    margin-right: .75rem
}

.social a:hover {
    color: var(--brand)
}

footer {
    background: var(--ink-900);
    color: #aab;
    padding: 14px 0
}

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: all .6s cubic-bezier(.2, .8, .2, 1)
}

.reveal.visible {
    opacity: 1;
    transform: none
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    background-color: #25D366;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 48px;
    height: 48px;
}
/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 130px;
    /* below WhatsApp */
    right: 30px;
    background: #dc3545;
    color: #fff;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-size: 1.5rem;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    background: #b52a37;
}

  

