﻿/* ==============================
   GLOBAL RESET & FIXES
============================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --navbar-height: 80px;
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: #1f2937;
    /*padding-top: 80px;*/ /* navbar space */
    background: linear-gradient( 180deg, #eef2ff 0%, #f8fafc 40%, #f1f5f9 100% );
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ==============================
   PAGE WRAPPER
============================== */
.page-wrapper {
    background: transparent;
    padding-top: var(--navbar-height);
}

/* ==============================
   COMMON SECTIONS
============================== */
.section {
   
    background: transparent;
}
/*.container {
    background-color:  aliceblue;
}*/
.lined {
    text-align: center;
    margin-bottom: 40px;
}

    .lined h2 {
        font-size: 34px;
        font-weight: 700;
    }

.bolded-line {
    width: 80px;
    height: 4px;
    background: #2563eb;
    display: inline-block;
    margin: 10px 0;
}

.section-subtitle {
    color: #6b7280;
    font-size: 16px;
}

/* ================= HERO CAROUSEL ================= */
.hero-carousel {
    margin-top: 0px; /* navbar height */
}

.hero-slide {
    width: 100%;
    min-height: 90vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

/* Text block */
.hero-content {
    max-width: 650px;
}

    .hero-content h1 {
        font-size: 3.2rem;
        font-weight: 700;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 1.15rem;
        opacity: 0.9;
    }

/* Carousel arrows */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slide {
        min-height: 60vh;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }
}


@keyframes floatImage {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0);
    }
}

/* ==============================
   BASE CARD STRUCTURE
============================== */
.techlab-service-card,
.about-card-3d,
.commitment-card-3d,
.products-carousel .image-box,
.client-logo {
    position: relative;
    overflow: hidden;
/*    background: #ffffff;*/
    background: azure;
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(37,99,235,.12);
}

    .techlab-service-card *,
    .about-card-3d *,
    .commitment-card-3d *,
    .products-carousel .image-box * {
        position: relative;
        z-index: 2;
        transition: .4s ease;
    }

    .techlab-service-card::before,
    .about-card-3d::before,
    .commitment-card-3d::before,
    .products-carousel .image-box::before {
        content: "";
        position: absolute;
        inset: 0;
        opacity: 0;
        z-index: 1;
        transition: .4s ease;
    }

/* ================= ABOUT HOME ================= */

.about-home-section {
    padding: 90px 0;
    background: linear-gradient( 180deg, #f8fafc 0%, #eef2ff 100% );
}

.section-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 15px;
}

.section-heading {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #0f172a;
}

    .section-heading span {
        color: #2563eb;
    }

.section-desc {
    font-size: 16px;
    color: #475569;
    line-height: 1.8;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,.05);
    font-weight: 500;
    transition: transform .3s ease;
}

    .about-feature i {
        color: #22c55e;
        font-size: 18px;
    }

    .about-feature:hover {
        transform: translateY(-4px);
    }

.about-image-wrapper img {
    max-height: 420px;
    width: 160vh;
    object-fit: cover;
}


/* ==============================
   SERVICES
============================== */
.techlab-service-card {
    padding: 35px;
    text-align: center;
}

    .techlab-service-card i {
        font-size: 42px;
        color: #2563eb;
        margin-bottom: 15px;
    }

    .techlab-service-card::before {
        background: linear-gradient(135deg, #2563eb, #1e40af);
    }

    .techlab-service-card:hover::before {
        opacity: 1;
    }

    .techlab-service-card:hover {
        transform: translateY(-12px);
    }

        .techlab-service-card:hover,
        .techlab-service-card:hover i,
        .techlab-service-card:hover h5,
        .techlab-service-card:hover p {
            color: #fff !important;
        }

/* ==============================
   PRODUCTS
============================== */
.products-section {
    background: #eef2ff;
}

.products-carousel img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.image-box-body {
    padding: 25px;
}

.products-carousel .image-box::before {
    background: linear-gradient(to top, rgba(30,64,175,.95), rgba(30,64,175,.6), transparent);
}

.products-carousel .image-box:hover::before {
    opacity: 1;
}

.products-carousel .image-box:hover h4,
.products-carousel .image-box:hover li {
    color: #fff;
}

/* ==============================
   CLIENTS
============================== */
.clients-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #f8fafc, #eef2ff);
}

.client-logo {
    width: 180px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    box-shadow: 0 12px 25px rgba(0,0,0,.06);
    transition: .35s;
}

    .client-logo img {
        max-height: 60px;
        opacity: .7;
        filter: grayscale(100%);
        transition: .35s;
    }

    .client-logo:hover {
        transform: scale(1.08);
    }

        .client-logo:hover img {
            opacity: 1;
            filter: none;
        }

/* ==============================
   ABOUT HERO
============================== */
.about-hero-section {
    position: relative;
    padding: 180px 20px;
    color: #fff;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30,64,175,.85), rgba(37,99,235,.85));
}

/* ==============================
   ABOUT CARDS
============================== */
.about-card-3d {
    padding: 30px;
}

    .about-card-3d::before {
        background: linear-gradient(135deg, #2563eb, #1e40af);
    }

    .about-card-3d:hover::before {
        opacity: 1;
    }

    .about-card-3d:hover {
        transform: translateY(-12px);
        color: #fff;
    }

.about-icon-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border-radius: 50%;
    background: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.about-card-3d:hover .about-icon-circle {
    background: #fff;
    color: #2563eb;
}

/* ==============================
   COMMITMENT
============================== */
.commitment-card-3d {
    padding: 30px;
}

    .commitment-card-3d::before {
        background: linear-gradient(135deg, #1e40af, #2563eb);
    }

    .commitment-card-3d:hover::before {
        opacity: 1;
    }

    .commitment-card-3d:hover {
        transform: translateY(-10px);
        color: #fff;
    }

/* ==============================
   STATS
============================== */
.stats-container h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #2563eb;
}

.stats-container p {
    color: #555;
}

/* ==============================
   NAVBAR
============================== */
.techlab-navbar {
    background: #ffffff;
    padding: 14px 0;
    transition: all .35s ease;
    z-index: 999;
}

    .techlab-navbar .navbar-brand img {
        transition: transform .3s ease;
    }

    .techlab-navbar .navbar-brand:hover img {
        transform: scale(1.08);
    }

    .techlab-navbar .nav-link {
        font-weight: 600;
        color: #111;
        margin: 0 8px;
        position: relative;
        transition: color .3s ease;
    }

        .techlab-navbar .nav-link::after {
            content: "";
            position: absolute;
            left: 15%;
            bottom: -6px;
            width: 0;
            height: 3px;
            background: linear-gradient(135deg,#2563eb,#1e40af);
            border-radius: 10px;
            transition: width .35s ease;
        }

        .techlab-navbar .nav-link:hover::after {
            width: 70%;
        }

        .techlab-navbar .nav-link:hover {
            color: #2563eb;
        }

    .techlab-navbar .btn-primary {
        background: linear-gradient(135deg,#2563eb,#1e40af);
        border: none;
        transition: transform .3s ease, box-shadow .3s ease;
    }

        .techlab-navbar .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 25px rgba(37,99,235,.35);
        }

.navbar-toggler {
    border: none;
}

/* ==============================
   FOOTER
============================== */
.techlab-footer {
    background: linear-gradient(135deg,#020617,#0f172a);
    color: #cbd5f5;
    padding: 70px 0 30px;
}

    .techlab-footer .footer-title {
        color: #fff;
        font-weight: 700;
        margin-bottom: 20px;
    }

    .techlab-footer .footer-text {
        font-size: 15px;
        line-height: 1.7;
    }

    .techlab-footer .footer-list {
        list-style: none;
        padding: 0;
    }

        .techlab-footer .footer-list li {
            display: flex;
            gap: 10px;
            margin-bottom: 14px;
            font-size: 15px;
        }

        .techlab-footer .footer-list i {
            color: #60a5fa;
            margin-top: 4px;
        }

    .techlab-footer .footer-links {
        list-style: none;
        padding: 0;
    }

        .techlab-footer .footer-links li {
            margin-bottom: 12px;
            
        }

        .techlab-footer .footer-links a {
            color: #cbd5f5;
            transition: all .3s ease;
        }

        .techlab-footer .footer-links li a:hover {
            color: #60a5fa;
            padding-left: 6px;
        }

.footer-social {
    margin-top: 20px;
}

    .footer-social .social {
        width: 42px;
        height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255,255,255,.08);
        color: #fff;
        margin-right: 10px;
        transition: all .35s ease;
    }

        .footer-social .social:hover {
            background: linear-gradient(135deg,#2563eb,#1e40af);
            transform: translateY(-6px);
        }

.footer-divider {
    border-color: rgba(255,255,255,.08);
    margin: 40px 0 20px;
}

.footer-bottom {
    font-size: 14px;
    color: #94a3b8;
    text-align: center;
}
/* ================= FOOTER EFFECTS ================= */

.footer-block {
    transition: transform .4s ease;
}

    .footer-block:hover {
        transform: translateY(-8px);
    }

/* Social icons pop */
.footer-social .social {
    position: relative;
    overflow: hidden;
}

    .footer-social .social::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg,#2563eb,#1e40af);
        opacity: 0;
        transition: .4s;
    }

    .footer-social .social:hover::before {
        opacity: 1;
    }

    .footer-social .social i {
        position: relative;
        z-index: 2;
    }

/* Footer links hover */
.footer-links a {
    position: relative;
    display: inline-block;
}

    .footer-links a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -4px;
        width: 0;
        height: 2px;
        background: #60a5fa;
        transition: width .35s ease;
    }

    .footer-links a:hover::after {
        width: 100%;
    }

/* Gradient divider line */
.footer-gradient-line {
    height: 2px;
    width: 100%;
    background: linear-gradient( to right, transparent, #60a5fa, #2563eb, #60a5fa, transparent );
    margin: 45px 0 25px;
}

/* Footer bottom */
.footer-bottom {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.7;
}

/* Love heartbeat */
.footer-love {
    display: inline-block;
    margin-top: 6px;
}

    .footer-love i {
        color: #ef4444;
        margin: 0 6px;
        animation: heartBeat 1.4s infinite;
    }

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.25);
    }

    40% {
        transform: scale(1);
    }

    60% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* ==============================
   RESPONSIVE
============================== */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .hero-slide {
        min-height: auto;
        padding: 60px 0;
    }

    .techlab-hero-img {
        max-height: 300px;
    }

    .client-logo {
        width: 140px;
        height: 100px;
    }

    .lined h2 {
        font-size: 26px;
    }

    .techlab-navbar .nav-link::after {
        display: none;
    }

    .techlab-footer {
        text-align: center;
    }

    .footer-list li {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }
}
/* =====================================
   SERVICES PAGE (ABOUT STYLE UI)
===================================== */

/* Hero banner already handled by about-hero-section */

/* ---------- Service Overview Cards ---------- */
.services-overview .about-card-3d {
    min-height: 280px;
    text-align: center;
}

/* Icon inside service cards */
.services-overview .about-icon-circle i {
    font-size: 2.2rem;
}

/* ---------- Service Detail Blocks ---------- */
.service-detail-section {
    background: linear-gradient(180deg, #eef2ff, #f8fafc);
}

/* Commitment card reuse with enhancements */
.commitment-card-3d {
    background: rgba(255,255,255,0.95);
    border-left: 6px solid #2563eb;
}

    /* Headings inside service sections */
    /* Commitment heading hover fix */
    .commitment-card-3d h3 {
        color: #1e40af;
        transition: color .4s ease, transform .4s ease;
        position: relative;
        z-index: 2;
    }

    .commitment-card-3d:hover h3 {
        color: #fcfdfe !important;
        transform: translateY(-2px);
    }


/* Lists styling */
.commitment-list {
    list-style: none;
    padding: 0;
}

    .commitment-list li {
        padding: 10px 0;
        font-size: 16px;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        /* Hover animation for list */
        .commitment-list li:hover {
            color: #ffffff;
            transform: translateX(6px);
        }

/* ---------- Section spacing consistency ---------- */
.section {
    position: relative;
}

    /* Soft divider between sections */
    .section::after {
        content: "";
        width: 80%;
        height: 1px;
        background: linear-gradient(to right, transparent, #c7d2fe, transparent);
        display: block;
        margin: 70px auto 0;
    }

    /* Remove divider on last section */
    .section:last-of-type::after {
        display: none;
    }

/* ---------- Mobile Optimization ---------- */
@media (max-width: 768px) {

    .commitment-card-3d {
        padding: 25px;
    }

        .commitment-card-3d h3 {
            font-size: 22px;
        }

    .commitment-list li {
        justify-content: center;
        text-align: center;
    }
}

/* =====================================
   PRODUCT PAGE STYLES
===================================== */

/* ===== HERO / BANNER SECTION ===== */
.page-hero-section {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
}

    .page-hero-section h1 {
        font-size: 3rem;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .page-hero-section p {
        font-size: 1.2rem;
        opacity: 0.9;
    }

/* ===== COMMON SECTION PADDING ===== */
.section-padding {
    padding: 40px 0;
}

/* Soft background for sections */
.bg-soft {
    background: linear-gradient(180deg, #eef2ff, #f8fafc);
}

/* ===== SECTION HEADER ===== */
.section-title {
    font-size: 34px;
    font-weight: 700;
    color: #1e40af;
}

.section-subtitle {
    font-size: 16px;
    color: #6b7280;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    margin: 12px auto 0;
    border-radius: 10px;
}

/* ===== PRODUCT CARDS ===== */
.product-card {
    border-radius: 18px;
    border: none;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(37,99,235,.12);
    transition: all .4s ease;
    overflow: hidden;
}

    .product-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 28px 55px rgba(37,99,235,.25);
    }

    .product-card h6 {
        font-weight: 600;
        margin-top: 10px;
    }

    .product-card p {
        font-size: 14px;
        color: #6b7280;
    }

    /* Icon circle */
    .product-card .icon-circle {
        width: 70px;
        height: 70px;
        margin: 0 auto 15px;
        border-radius: 50%;
        background: linear-gradient(135deg,#2563eb,#1e40af);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 28px;
        color: #ffffff;
        transition: transform .4s ease;
    }

    .product-card:hover .icon-circle {
        transform: scale(1.1) rotate(5deg);
    }

/* ===== PRODUCT DETAIL SECTION ===== */
.product-detail-section {
    background: linear-gradient(180deg, #f8fafc, #eef2ff);
}

    .product-detail-section h3 {
        font-weight: 700;
        color: #1e40af;
    }

    .product-detail-section p {
        color: #374151;
    }

/* Product list */
.product-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

    .product-list li {
        padding: 8px 0;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .product-list li:hover {
            color: #1e40af;
            transform: translateX(6px);
        }

/* ===== CTA SECTION ===== */
.product-cta {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #ffffff;
}

    .product-cta h3 {
        font-weight: 700;
        margin-bottom: 10px;
    }

    .product-cta p {
        opacity: 0.9;
    }

    .product-cta .btn-light {
        padding: 12px 32px;
        border-radius: 50px;
        font-weight: 600;
        transition: all .35s ease;
    }

        .product-cta .btn-light:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 30px rgba(0,0,0,.25);
        }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

    .page-hero-section {
        min-height: 300px;
        padding: 40px 15px;
    }

        .page-hero-section h1 {
            font-size: 2.2rem;
        }

    .section-title {
        font-size: 26px;
    }

    .product-card {
        margin-bottom: 20px;
    }
}

/* =====================================
   MODERN CAREER PAGE UI
===================================== */

.career-modern {
    background: linear-gradient(180deg, #f8fafc, #eef2ff);
}

/* Glass Card */
.career-glass-card {
    height: 100%;
    padding: 28px;
    border-radius: 22px;
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(14px);
    box-shadow: 0 25px 50px rgba(15,23,42,.18);
    transition: all .45s ease;
    position: relative;
    overflow: hidden;
}

    .career-glass-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(120deg, transparent, rgba(37,99,235,.15), transparent);
        opacity: 0;
        transition: .5s;
    }

    .career-glass-card:hover::before {
        opacity: 1;
    }

    .career-glass-card:hover {
        transform: translateY(-14px) scale(1.02);
    }

/* Top */
.career-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .career-top h4 {
        font-weight: 700;
        margin: 0;
    }

/* Experience tag */
.exp-tag {
    background: #2563eb;
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
}

/* Description */
.career-desc {
    margin: 15px 0;
    color: #475569;
    font-weight: 500;
}

/* Skills */
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

    .skill-tags span {
        background: #e0e7ff;
        color: #1e40af;
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 13px;
        font-weight: 600;
        transition: .3s;
    }

        .skill-tags span:hover {
            background: #2563eb;
            color: #fff;
        }

/* Points */
.career-points {
    list-style: none;
    padding: 0;
    margin: 14px 0;
}

    .career-points li {
        padding: 6px 0;
        font-weight: 500;
    }

/* Action */
.career-action {
    text-align: right;
    margin-top: 18px;
}

/* Role color accents */
.dotnet-card {
    border-left: 5px solid #2563eb;
}

.design-card {
    border-left: 5px solid #0f172a;
}

/* Footer mail */
.career-mail {
    font-size: 16px;
    color: #475569;
}
/* =====================================
   MODERN CONTACT PAGE UI
===================================== */

.contact-modern {
    background: linear-gradient(180deg, #f8fafc, #eef2ff);
}

/* Contact info cards */
.contact-glass-card {
    height: 100%;
    text-align: center;
    padding: 30px 22px;
    border-radius: 22px;
    background: rgba(255,255,255,.8);
    backdrop-filter: blur(12px);
    box-shadow: 0 25px 50px rgba(15,23,42,.15);
    transition: all .4s ease;
}

    .contact-glass-card:hover {
        transform: translateY(-12px);
    }

.contact-icon {
    font-size: 36px;
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
}

/* Contact form */
.contact-form-glass {
    padding: 35px;
    border-radius: 26px;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(14px);
    box-shadow: 0 30px 60px rgba(15,23,42,.18);
}

/* Inputs */
.modern-input {
    border-radius: 14px;
    border: 1px solid #c7d2fe;
    padding: 14px 16px;
    font-size: 15px;
    transition: .3s;
}

    .modern-input:focus {
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37,99,235,.25);
    }

/* Button hover */
.contact-form-glass .btn-primary {
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 600;
    transition: .4s;
}

    .contact-form-glass .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 30px rgba(37,99,235,.35);
    }

/* ================= CONTACT SPLIT ================= */
.contact-split {
    position: relative;
}

/* Map Card */
.contact-map-card {
    height: 100%;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,.25);
}

    .contact-map-card iframe {
        width: 100%;
        height: 100%;
        min-height: 420px;
        border: none;
    }

/* Glass Form */
.contact-form-glass {
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 35px;
    box-shadow: 0 20px 45px rgba(0,0,0,.18);
}

/* Inputs */
.modern-input {
    border-radius: 30px;
    padding: 12px 18px;
    border: 1px solid #ddd;
    transition: all .3s ease;
}

    .modern-input:focus {
        border-color: #3b82f6;
        box-shadow: 0 0 0 4px rgba(59,130,246,.15);
    }

/* Responsive */
@media (max-width: 768px) {
    .contact-map-card iframe {
        min-height: 280px;
    }

    .contact-form-glass {
        padding: 25px;
    }
}
@media (max-width: 768px) {
    :root {
        --navbar-height: 70px;
    }
}
/* new css add 22-12-2025*/

/* ==================================================
   NAVBAR COLOR TRANSFORM – WHITE → #1E336C
   (NO EXISTING CSS MODIFIED)
================================================== */

/* TOP STATE – WHITE */
.techlab-navbar {
    background-color: #ffffff !important;
    transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

    /* SCROLLED STATE – DARK BLUE */
    .techlab-navbar.scrolled {
        background-color: #1E336C !important;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    }

    /* NAV LINKS */
    .techlab-navbar .nav-link {
        color: #111 !important;
    }

    /* NAV LINKS AFTER SCROLL */
    .techlab-navbar.scrolled .nav-link {
        color: #ffffff !important;
    }

/* ================= SCROLL TOGGLE BUTTON ================= */

.scroll-toggle {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    z-index: 9999;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(37,99,235,.45);
    transition: all .35s ease;
    opacity: 0;
    visibility: hidden;
}

    /* Show button after scroll */
    .scroll-toggle.show {
        opacity: 1;
        visibility: visible;
    }

    /* Hover effect */
    .scroll-toggle:hover {
        transform: translateY(-6px) scale(1.05);
        box-shadow: 0 18px 40px rgba(37,99,235,.55);
    }

    /* Icon animation */
    .scroll-toggle i {
        animation: bounceArrow 1.6s infinite;
    }

    /* When scrolled down → arrow points up */
    .scroll-toggle.up i {
        transform: rotate(180deg);
        animation: none;
    }

/* Arrow bounce */
@keyframes bounceArrow {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }
}

