/* asset/css/style.css */

/* 15-05-2026 */
.text-biopico-navy {
    color: #3A3A99 !important;
}

.text-biopico-blue {
    color: #8E1DB8 !important;
}

:root {
    --brand-navy: #2D2E83;
    --brand-blue: #3B82F6;
    --brand-purple: #9333EA;
    --brand-pink: #B22A8D;
    --brand-light: #F8FAFC;
    --brand-gradient: linear-gradient(135deg, #2D2E83 0%, #3B82F6 100%);
}

body {
    font-family: "Sora", sans-serif;
    scroll-behavior: smooth;
    color: #1e293b;
    background-color: #fff;
    overflow-x: hidden;
}

a {
    cursor: pointer !important;
}

/* Premium UI Elements */
.glass-nav {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    /* Ensure overflow is visible for mega menus */
    overflow: visible !important;
}

.sticky {
    position: sticky;
    height: 100px !important;
}

.top-bar a,
.tech-btn {
    color: #fff;
    padding: 4px 15px 3px 15px !important;
    border: 1px solid #fff;
    border-radius: 5px;
}

.top-bar a:hover,
.tech-btn:hover {
    color: #9512ad !important;
    padding: 3px 15px;
    border: 1px solid #fff;
    border-radius: 5px !important;
    background-color: #fff;
}

.bg-biopico-navy a {
    color: #fff;
    padding: 3px 5px;
    border: 1px solid #fff;
    border-radius: 5px;
}

.bg-biopico-navy a:hover {
    color: #fff;
    padding: 3px 5px;
    border: 1px solid #fff;
    border-radius: 0px;
}

.premium-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px -10px rgb(45 46 131);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 28px;
    overflow: hidden;
}

.premium-card a svg {
    margin-top: 3px !important;
}

.premium-card p {
    text-align: left;
    margin-bottom: 10px;
}

.premium-card:hover .premium-card p {
    color: fff !important;
}

.premium-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px -20px rgba(45, 46, 131, 0.2);
    border-color: var(--brand-blue);
    color: white !important;
}

.premium-card h4 a {
    color: rgb(48 52 141) !important;
}

.technology-card p:hover {
    color: rgb(39, 39, 39) !important;
    text-decoration: none;
}

.premium-card p:hover {

    text-decoration: none;
}

.technology-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px -10px rgb(45 46 131);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 28px;
    overflow: hidden;
}

.technology-card p {
    text-align: left;
    margin-bottom: 10px;
}

.border-radius-30 {
    border-radius: 30px;
}

.technology-card h4 a {
    color: rgb(48 52 141) !important;
}

.technology-card a {
    color: rgb(156 23 180) !important;
}

.premium-card a {
    color: rgb(156 23 180) !important;
}

.premium-card a:hover {
    color: rgb(48 52 141) !important;
    text-decoration: none !important;
}

.premium-card-dark a {
    color: rgb(255, 255, 255) !important;
}

.text-gradient {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.block-item .btn-primary {
    background: var(--brand-navy);
    color: white;
    padding: 14px 32px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(45, 46, 131, 0.3);
    margin-left: auto;
    margin-right: auto;
    display: table;
}

.btn-premium {
    background: var(--brand-navy);
    color: white;
    padding: 14px 32px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(45, 46, 131, 0.3);
}

.block-item .btn-primary:hover,
.btn-premium:hover {
    background: #9e16b4;
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 15px 35px rgb(158 22 180 / 23%);

}

/* Header & Dropdowns */
.header-logo {
    height: 5rem;
}

.nav-item {
    position: static;
    /* Required for mega menu relative to header container */
    padding: 24px 0;
}

.nav-item button {
    padding-left: 0.25rem;
    padding-right: 10px;
    font-weight: 600;
    font-size: 13px;
    color: rgb(16 17 104);

}

.slider-bg {
    --tw-gradient-stops: rgb(0 1 64 / 84%), rgb(11 11 54 / 29%) var(--tw-gradient-via-position), var(--tw-gradient-to);
    --tw-gradient-from: rgb(0 1 64 / 42%) var(--tw-gradient-from-position);
}

.nav-item button:hover,
.nav-item button.menu-active {
    color: var(--brand-pink) !important;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 450px;
    width: 50%;
    /* margin-left removed as we are relative to full-width header */
    background: white;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
    border-bottom: 4px solid var(--brand-blue);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    z-index: 90;
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: auto;
    width: 280px;
    background: white;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    border-radius: 20px;
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-radius: 12px;
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
}

.dropdown-item:hover,
.dropdown-item.menu-active {
    background: #f8fafc;
    color: var(--brand-pink);
    padding-left: 22px;
}

/* Sub-dropdown */
.sub-dropdown {
    position: absolute;
    left: 100%;
    top: -12px;
    width: 250px;
    background: white;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    border-radius: 20px;
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(15px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-item:hover .sub-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(8px);
}

/* Wave Spacers */
.wave-spacer {
    position: relative;
    height: 100px;
    width: 100%;
    background: transparent;
    pointer-events: none;
}

.wave-spacer svg {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100%;
    fill: #fff;
}

.wave-spacer.top {
    transform: rotate(180deg);
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    animation: fadeInUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Custom Checkmark List */
.premium-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
}

.premium-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand-blue);
    font-weight: 900;
    font-size: 18px;
}


@media (min-width: 768px) {


    .md\:text-8xl {
        font-size: 4rem !important;
        line-height: 1;
    }

    .gap-32px {
        gap: 32px !important;
    }

}

@media (max-width: 768px) {
    .subpage-breadcrumb nav {
        display: flex !important;
        align-items: center;
        flex-wrap: wrap;
        gap: 6px;
        line-height: 1;
    }

    .h-314 {
        height: auto !important;
    }

    .subpage-breadcrumb nav a,
    .subpage-breadcrumb nav span {
        display: flex;
        align-items: center;
    }

}

/* Form Styles */
.contact-form input::placeholder,
.contact-form textarea::placeholder,
.contact-form select option {
    color: rgba(255, 255, 255, 0.3) !important;
}

.contact-form select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 3rem !important;
}

.contact-form select option {
    background-color: #1e293b;
    color: white;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3), 0 0 30px rgba(59, 130, 246, 0.1);
}

#consent:checked+.flex .w-5 {
    background: linear-gradient(135deg, #3B82F6, #9333EA);
}

#consent:checked+.flex .w-5 svg {
    display: block !important;
}

#consent:focus-visible+.flex .w-5 {
    outline: 2px solid #3B82F6;
    outline-offset: 2px;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

#submitBtn:hover {
    animation: float 2s ease-in-out infinite;
}

/* Focus visible states for accessibility */
.contact-form input:focus-visible,
.contact-form textarea:focus-visible,
.contact-form select:focus-visible {
    outline: 2px solid #3B82F6;
    outline-offset: 2px;
}

/* Custom scrollbar for select dropdown */
.contact-form select::-webkit-scrollbar {
    width: 8px;
}

.contact-form select::-webkit-scrollbar-track {
    background: #1e293b;
}

.contact-form select::-webkit-scrollbar-thumb {
    background: #3B82F6;
    border-radius: 4px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    #submitBtn:hover {
        animation: none;
    }

    #submitBtn:active {
        transform: scale(0.98);
    }
}

.group:hover .group-hover\:bg-biopico-navy {
    --tw-bg-opacity: 1;
    background-color: rgb(99 2 118) !important;
}

.top-68-minus {
    top: -68px !important;
}

.about-us h5 {
    font-size: 18px;
    margin: 10px 0px;
    color: #1d1d1d;
}

.about-us-exceprt h2 {
    margin-bottom: 10px;
}

.about-us-exceprt h2 strong {
    font-size: 23px;
    color: #9912b1;
}

.about-us-exceprt h3 {
    margin-bottom: 10px;
}

.about-us-exceprt h3 strong {
    font-size: 19px;
    color: #363636;
}

.breadcrumb-section nav a+a::before,
.breadcrumb-section nav a+span::before,
.breadcrumb-section nav span+a::before,
.breadcrumb-section nav span+span::before {
    content: ">";
    margin: 0 8px;
    color: rgb(255, 255, 255);
}

/* 🔥 Fix: remove last arrow */
.breadcrumb-section nav span:last-child::before {
    content: none;
}

.breadcrumb-section a {
    color: #fff;
    padding: 3px 5px;
    border: none !important;
    border-radius: 5px;
    font-size: 11px !important;
}

.breadcrumb-section span {
    font-size: 11px !important;
    color: #fff;
}

.bg-biopico-light {
    --tw-bg-opacity: 1;
    background: linear-gradient(90deg, rgb(45 46 131) 0%, rgb(133 1 155) 100%) !important;
}

.bg-biopico-light .premium-card:hover a {
    color: #fff !important;
}

.text-slate-600 {
    --tw-text-opacity: 1;
    color: rgb(34 34 34) !important;
}

.group-hover\:text-white\/70 {
    color: rgba(255, 255, 255, 0.7) !important;
}

.h-314 {
    height: 320px;
}

.partnership-card {
    width: 100%;
}

.bg-biopico-emerald {
    --tw-bg-opacity: 1;
    background: linear-gradient(160deg, rgb(72 0 84 / 89%), rgb(156 21 176 / 96%)), url(/frontend/asset/images/logo/dashboard.png) no-repeat center / cover;
    margin-bottom: 60px;

}

.contact-sub-text {
    padding-left: 3.5px;
}

footer .txt-align {
    display: inline-flex;
}

footer a {
    color: #fff;
    padding: 3px 5px;
    border: none !important;
}

footer a:hover {
    color: #f6acff !important;
}

.news-meta-item {
    margin-bottom: 10px;
}

.news-meta-item i,
.news-meta-item span {
    color: #9c17b4;
}

.h-255 {
    height: 255px !important;
}

.contact-btn-footer {
    background-color: #fff !important;
    color: #891c9a !important;
}

.contact-btn-footer:hover {
    background-color: rgb(30 31 116) !important;
    color: #ffffff !important;
}

.bg-biopico-navy {
    --tw-bg-opacity: 1;
    background-color: rgb(30 31 116) !important;
}

.post .group {
    box-shadow: 0 0 7px #0002699e;
    padding: 10px;
}

.breadcrumb-section {
    background: linear-gradient(160deg, rgb(255 255 255 / 0%), rgb(255 255 255 / 0%)), url(/frontend/asset/images/home/bread-crumb-bg.png) no-repeat center / cover;
}