html,
body {
    overflow-x: hidden
}

body {
    padding-top: 70px;
}

/* Default navbar */
.navbar {
    background-color: #ffffff !important;
    box-shadow: 0 0 4px 0 #bfbfbf;
    padding: 5px 10px 0 0 !important;
    z-index: 1030;
}

.images {
    width: 100%;
}

.navbar-toggler {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: 1px solid #6f42c1 !important;
    border-radius: 6px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2811, 11, 11, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    width: 24px;
    height: 24px;
}

/* Close button inside offcanvas */
.offcanvas-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    color: #333;
    cursor: pointer;
    line-height: 1;
    padding: 5px 8px;
    border-radius: 4px;
    transition: background 0.2s;
}

.offcanvas-close-btn:hover {
    background: #f0f0f0;
}

/* Fix desktop: ensure nav is always visible on lg+ */
@media (min-width: 992px) {
    .offcanvas-collapse {
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        right: auto !important;
        display: flex !important;
    }

    .navbar-toggler {
        display: none !important;
    }
}

/* On scroll */
.navbar.scrolled {
    padding: 8px 0;
    background: #ffffff !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* Optional: shrink logo */
.navbar.scrolled .navbar-brand img {
    width: 100px;
    transition: 0.3s ease;
}

.navbar {
    box-shadow: 0 0 4px 0 #bfbfbf;
    padding: 5px 10px 0 0 !important
}

.navbar-brand {
    margin-left: 10px
}

button.btn.btn-outline {
    border: 1px solid #6f42c1;
    color: #6f42c1;
    padding: 5px 1px;
    font-size: 1.1rem;
    transition: .3s;
    width: 170px
}

.hero-section {
    padding: 90px 0 0 0;
    background: #f8f9fc
}

.hero-title {
    font-size: 42px;
    font-weight: 300;
    line-height: 1.2;
    color: #1f1f1f
}

.hero-subtitle {
    margin-top: 20px;
    color: #6c757d;
    font-size: 16px;
    max-width: 500px
}

.hero-btn {
    margin-top: 30px;
    background: linear-gradient(90deg, #6a5cff, #7b61ff);
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 500;
    transition: .3s
}

.hero-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(123, 97, 255, .3);
    color: #fff
}

.hero-img {
    animation: float 4s ease-in-out infinite
}

@media(max-width:991px) {
    .hero-title {
        font-size: 36px;
        text-align: center
    }

    .hero-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto
    }

    .hero-btn {
        display: block;
        margin: 25px auto 0
    }
}

.gradient-text {
    font-weight: 500;
    background: linear-gradient(to bottom, #DE4396 0, #DE4396 50%, #0D1C9F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-slider img {
    max-height: 60px;
    margin: auto;
    opacity: .7;
    transition: .3s
}

.logo-slider img:hover {
    opacity: 1
}

/* Main Button */
.button-main {
    display: inline-block;
    width: 220px;
    /* height: 35px; */
    line-height: 33px;
    font-size: 16px;
    font-family: sans-serif;
    text-decoration: none;
    color: #333;
    cursor: pointer;
    border: 2px solid #8187ac;
    letter-spacing: 2px;
    text-align: center;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transition: color .35s ease;
}

/* Text above animation */
.button-main span {
    position: relative;
    z-index: 2;
}

/* Background animation */
.button-main::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(78deg, #6f79b2, #6f79b2ad);
    transition: width .35s ease;
    z-index: 1;
}

/* Hover Effect */
.button-main:hover {
    color: #fff;
}

.button-main:hover::after {
    width: 100%;
}

.meet-section {
    padding: 60px 0;
    background: #fff;
}

.meet-subtitle {
    color: #DE4396;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
    position: relative;
    padding-left: 40px;
}

.meet-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 2px;
    background: #DE4396;
}

.meet-title {
    font-size: 28px;
    font-weight: 400;
    color: #1f1f1f;
    margin: 0;
}

.slider-arrow-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(87, 0, 123, 1);
    background: transparent;
    color: #6f42c1;
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow-btn.active,
.slider-arrow-btn:hover {
    background: rgba(87, 0, 123, 1);
    color: #fff;
}

.client-slider img {
    max-height: 50px;
    margin: auto;
    opacity: 0.7;
    transition: 0.3s;
}

.client-slider img:hover {
    opacity: 1;
}

@media (max-width: 991.98px) {

    .offcanvas-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        padding: 2rem 1rem;
        background-color: #ffffff;
        transition: 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.05);
    }

    .offcanvas-collapse.open {
        right: 0;
    }

    .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

.circle-container {
    overflow: hidden;
    position: relative;
    bottom: 0;
    width: 100%;
    height: 50%;
    pointer-events: none;
    z-index: 1000;
}

/* Tech Stack Section */
.techstack-section {
    background: #fff;
}

/* Tab buttons row */
.techstack-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    padding: 0;
    border: none;
}

.techstack-tab {
    border: none;
    background: transparent;
    border-bottom: 0;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: 0.3s;
    white-space: nowrap;
}

.techstack-tab:hover {
    border: none;
    background: transparent;
    color: #57007b;
    outline: none;
    border-bottom: 1px solid #57007b;
}

.techstack-tab.active {
    border: none;
    background: transparent;
    color: #57007b;
    outline: none;
    border-bottom: 1px solid #57007b;
}

/* Tab content panels */
.techstack-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.techstack-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Icons row */
.tech-icons-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 20px 0;
}

.tech-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.tech-icon-item:hover {
    transform: translateY(-5px);
}

.tech-icon-item img {
    height: 55px;
    object-fit: contain;
}

.tech-text {
    font-size: 13px;
    color: #555;
    margin: 0;
    text-align: center;
}

.work-1 {
    background-color: rgba(241, 242, 255, 1);
    border-radius: 15px;
}
.work-2 {
    background-color: rgba(240, 255, 247, 1);
    border-radius: 15px;
}
.work-3 {
    background-color: rgba(255, 244, 244, 1);
    border-radius: 15px;
}
.text-end {
    text-align: end;
}

.work-1 p {
    font-size: 14px;
}

.border-10 {
    border-end-start-radius: 15px;
    border-start-start-radius: 15px;
}

a.read-text {
    text-decoration: none;
    background: linear-gradient(to left, #DE4396 0, #DE4396 50%, #0D1C9F 100%);
    -webkit-background-clip: text;
    font-weight: 500;
    -webkit-text-fill-color: transparent;
}