
/* --- Layout Container --- */
.htap-container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

/* --- Section Common Styles --- */
.htap-section {
    padding: 80px 0;
}
.htap-section-light {
    background-color: var(--light-gray-color);
}
.htap-section-title {
    font-family: var(--font-bold);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--main-blue-color);
    text-align: center;
    margin-bottom: 15px;
    padding-top: calc(45px + 1rem); 
	padding-bottom:30px;
}
.htap-section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    max-width: 1000px; 
    margin: 0 auto 60px auto;
    color: #555;
}

/* --- Hero Section --- */
.htap-hero {
    position: relative;
    display: flex;
    align-items: center;
  /*  justify-content: center;*/
   /* text-align: center;*/
    min-height: 70vh;
    padding: 60px 20px;
    color: var(--white-color);
    background: url('../../images/high-throughput-antibody-production.jpg') no-repeat center center/cover;
}

.htap-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(24, 86, 178, 0.6);
    z-index: 1;
}

.htap-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin:auto;
}

.htap-hero-content h1 {
    font-family: var(--font-bold);
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white-color);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}
.htap-hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}
.htap-hero-image { display: none; }

.htap-banner{ text-align: center;}
.htap-banner-img{width:100%;height:280px;margin:10px auto ;}
.htap-banner-img img{object-fit: contain;width:100%;height:100%;}
.htap-banner a{color:#fff;}
.htap-banner:hover a{color:var(--main-yellow-color)}
@media (min-width: 992px) {
   .htap-hero-content .row{display: flex;align-items: center;}
}
@media (max-width: 991px) {
   .htap-hero-content .row{  
    text-align: center;
    }
}

/* --- Sticky Nav Bar --- */
.htap-sticky-nav-bar {
    position: sticky;
    top: 70px;
    background-color: var(--white-color);
    z-index: 190;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 0;
    height: 0;
    overflow: hidden;
    transition: height 0.4s ease-in-out, padding 0.4s ease-in-out;
}
.htap-sticky-nav-bar.htap-visible {
    height: 65px;
    padding: 10px 0;
}
.htap-sticky-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    position: relative;
}
.htap-sticky-nav-links {
    display: flex;
    align-items: center;
}
.htap-sticky-nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    font-family: var(--font-bold);
    font-size: 0.95rem;
    transition: color 0.3s;
    padding: 10px 15px;
    position: relative;
}
.htap-sticky-nav-links a:hover {
    color: var(--main-blue-color);
}

.htap-sticky-nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    width: 0;
    height: 3px;
    background-color: var(--main-blue-color);
    transition: width 0.3s ease-in-out;
}

.htap-sticky-nav-links a:hover::before {
    width: calc(100% - 30px);
}

.htap-sticky-nav-links a:not(:last-of-type)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 16px;
    width: 1px;
    background-color: var(--border-color);
}
.htap-sticky-nav-links a.htap-active-link {
        background-color: var(--main-blue-color); 
        color: #ffffff !important;
        padding: 8px 15px;
        border-radius: 5px;
        transition: background-color 0.3s ease, color 0.3s ease;
    }
.htap-btn-inquiry-now {
    background-color: var(--main-yellow-color);
    color: var(--dark-color);
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s;
	cursor: pointer;
}
.htap-btn-inquiry-now:hover {
    background-color: #e0c344;
}

.htap-mobile-nav-toggle-btn {
    display: none;
    padding: 8px;
    font-family: var(--font-bold);
    font-weight: 600;
    background-color: transparent;
    color: var(--dark-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 20px;
    font-size: 1rem;
}
.htap-mobile-nav-toggle-btn #htap-nav-arrow {
    display: inline-block;
    margin-left: 8px;
    transition: transform 0.3s ease-in-out;
}
.htap-mobile-nav-toggle-btn.htap-expanded #htap-nav-arrow {
    transform: rotate(180deg);
}

/* --- Buttons --- */
.htap-btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-bold);
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
	cursor: pointer;
}
.htap-btn-primary {
    background-color: var(--main-yellow-color);
    color: var(--dark-color);
	cursor: pointer;
}
.htap-btn-primary:hover {
    background-color: #e0c344;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(243, 224, 78, 0.5);
}
.htap-btn-secondary {
    background-color: transparent;
    color: var(--main-blue-color);
    border-color: var(--main-blue-color);
}
.htap-btn-secondary:hover {
    background-color: var(--main-blue-color);
    color: var(--white-color);
}

/* --- Introduction Section --- */
.htap-intro-container {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 60px;
    align-items: start;
}
.htap-intro-nav {
    position: sticky;
    top: 120px;
}
.htap-intro-nav h4 {
    font-family: var(--font-bold);
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}
.htap-intro-nav ul {
    list-style: none;
}
.htap-intro-nav ul li a {
    display: block;
    text-decoration: none;
    color: #555;
    padding: 10px 0;
    border-left: 3px solid transparent;
    padding-left: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.htap-intro-nav ul li a:hover {
    color: var(--main-blue-color);
    padding-left: 20px;
    border-left-color: var(--main-yellow-color);
}
.htap-intro-content .htap-section-title {
    text-align: left;
    margin-bottom: 25px;
	padding-top:0px;
	padding-bottom:0px;
}

.htap-intro-content h3 {
    font-family: var(--font-bold);
    font-size: 1.5rem;
    color: var(--main-blue-color);
    margin-top: 25px;
    margin-bottom: 15px;
}

/* --- Why Choose Us Section --- */
.htap-why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px 30px;
}
.htap-why-choose-item {
    text-align: center;
}
.htap-why-choose-item .htap-icon {
    color: var(--main-blue-color);
    margin-bottom: 20px;
    display: inline-block;
}
.htap-why-choose-item .htap-icon svg {
    width: 45px;
    height: 45px;
    stroke-width: 1.5;
}
.htap-why-choose-item h3 {
    font-family: var(--font-bold);
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--main-blue-color);
}
.htap-why-choose-item p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

/* --- Interactive Service Cards --- */
.htap-interactive-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.htap-service-card-interactive {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 200px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    color: white;
    cursor: pointer;
    text-decoration: none;
    display: block;
}
.htap-service-card-interactive a{
	color:#fff;
}
.htap-service-card-interactive img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.htap-service-card-interactive:hover img {
    transform: scale(1.1);
}
.htap-service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(24, 86, 178, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 25px;
    transition: background 0.4s ease;
}
.htap-service-card-overlay h3 {
    font-family: var(--font-bold);
    font-size: 1.5rem;
    margin: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(0);
    opacity: 1;
    color: white;
}
.htap-service-card-overlay p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    position: absolute;
    opacity: 0;
    transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
    transform: translateY(15px);
    max-width: 90%;
    color: white;
}
.htap-service-card-interactive:hover .htap-service-card-overlay {
    background: rgba(28, 82, 100, 0.8);
}
.htap-service-card-interactive:hover .htap-service-card-overlay h3 {
    opacity: 0;
    transform: translateY(-15px);
}
.htap-service-card-interactive:hover .htap-service-card-overlay p {
    opacity: 1;
    transform: translateY(0);
}

/* --- Equipment Section --- */
.htap-equipment-slider-container {
    position: relative;
    padding: 0 40px;
}
.htap-equipment-slider {
    overflow: hidden;
}
.htap-equipment-grid {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease-in-out;
}
.htap-equipment-card {
    background-color: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    flex: 0 0 calc(25% - 22.5px);
    transition: transform 0.3s, box-shadow 0.3s;
}
.htap-equipment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.htap-equipment-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.htap-equipment-card-content {
    padding: 25px;
}
.htap-equipment-card-content h3 {
    font-family: var(--font-bold);
    font-size: 1.3rem;
    color: var(--main-blue-color);
    margin-bottom: 10px;
}
.htap-equipment-slider-container .htap-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    left: 0;
    padding: 0 10px;
    z-index: 3;
}
.htap-equipment-slider-container .htap-slider-nav button {
    background-color: rgba(24, 86, 178, 0.6);
    border: none;
    color: white;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.htap-equipment-slider-container .htap-slider-nav button:hover {
    background-color: rgba(24, 86, 178, 1);
}

/* --- Case Study Section --- */
.htap-case-study-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--border-color);
}
.htap-tab-link {
    padding: 15px 30px;
    cursor: pointer;
    font-family: var(--font-bold);
    font-size: 1.2rem;
    font-weight: 600;
    color: #888;
    border-bottom: 4px solid transparent;
    transition: all 0.3s ease;
}
.htap-tab-link.htap-active {
    color: var(--main-blue-color);
    border-bottom-color: var(--main-blue-color);
}
.htap-tab-content {
    display: none;
}
.htap-tab-content.htap-active {
    display: block;
}
.htap-case-study-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.htap-case-study-content h3 {
    font-family: var(--font-bold);
    font-size: 1.5rem;
    color: var(--main-blue-color);
    margin-bottom: 10px;
}
.htap-case-study-content strong {
    font-weight: 600;
    color: var(--dark-color);
}
.htap-case-study-content .htap-btn {
    margin-top: 20px;
}
.htap-case-study-images {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    height: 400px;
    background-color: #f9f9f9;
}
.htap-case-study-slide {
    display: none;
    width: 100%;
    height: 100%;
    animation: htap-fade 1.5s;
}
@keyframes htap-fade {
    from {opacity: .4}
    to {opacity: 1}
}
.htap-case-study-slide.htap-active {
    display: block;
}
.htap-case-study-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.htap-case-study-images .htap-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    left: 0;
    padding: 0 10px;
    z-index: 3;
}
.htap-case-study-images .htap-slider-nav button {
    background-color: rgba(24, 86, 178, 0.6);
    border: none;
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.htap-case-study-images .htap-slider-nav button:hover {
    background-color: rgba(24, 86, 178, 1);
}

/* --- Specifications Table --- */
.htap-spec-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 40px;
}
.htap-spec-table th, .htap-spec-table td {
    padding: 18px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}
.htap-spec-table th {
    background-color: var(--dark-color);
    color: var(--white-color);
    font-family: var(--font-bold);
}
.htap-spec-table tbody tr {
    background-color: var(--white-color);
    transition: background-color 0.3s;
}
.htap-spec-table tbody tr:hover {
    background-color: #f8f9fa;
}
.htap-spec-table td:first-child {
    font-weight: 500;
}

/* --- Featured Products Section --- */
.htap-featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}
.htap-featured-card {
    background-color: var(--white-color);
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.htap-featured-card h3 {
    font-family: var(--font-bold);
    font-size: 1.8rem;
    color: var(--main-blue-color);
    margin-bottom: 20px;
}
.htap-featured-card p {
    margin-bottom: 25px;
    flex-grow: 1;
}
.htap-featured-card ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
    flex-grow: 1;
}
.htap-featured-card ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
}
.htap-featured-card ul li a {
    font-size: 1.1rem;
    text-decoration: none;
    color: var(--main-blue-color);
    font-weight: 500;
    transition: color 0.3s, letter-spacing 0.3s;
}
.htap-featured-card ul li a:hover {
    color: var(--dark-color);
    letter-spacing: 0.5px;
}
.htap-featured-card ul li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--main-blue-color);
    font-weight: 900;
    font-size: 1.5rem;
    line-height: 1;
}

/* --- Client Scroller Section --- */
.htap-client-scroller {
    overflow: hidden;
    padding: 40px 0;
    position: relative;
}
.htap-client-scroller:before,
.htap-client-scroller:after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}
.htap-client-scroller:before {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), var(--white-color));
}
.htap-client-scroller:after {
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), var(--white-color));
}
.htap-scroller-inner {
    display: flex;
    gap: 60px;
    white-space: nowrap;
    animation: htap-scroll 60s linear infinite;
}
@keyframes htap-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-100% - 60px)); }
}
.htap-client-logo img {
    height: 50px;
    max-width: 150px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}
.htap-client-logo img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* --- Testimonial Slider --- */
.htap-testimonial-slider {
    background-color: var(--main-blue-color);
    color: var(--white-color);
    border-radius: 10px;
    padding: 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 60px;
}
.htap-testimonial-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.htap-testimonial-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 0 40px;
}
.htap-testimonial-slide blockquote {
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.6;
    border: none;
    margin: 0 auto 20px auto;
    max-width: 800px;
}
.htap-testimonial-slide .htap-author {
    font-weight: 700;
    font-family: var(--font-bold);
    opacity: 0.9;
}
.htap-testimonial-slider .htap-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    left: 0;
    padding: 0 20px;
    z-index: 3;
}
.htap-testimonial-slider .htap-slider-nav button {
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.htap-testimonial-slider .htap-slider-nav button:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

/* --- FAQ --- */
.htap-faq-container {
    margin: 0 auto;
}
.htap-faq-item {
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}
.htap-faq-item summary {
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.htap-faq-item summary::after {
    content: '▼';
    font-size: 0.8rem;
    transition: transform 0.3s;
}
.htap-faq-item[open] summary::after {
    transform: rotate(180deg);
}
.htap-faq-content {
    padding: 0 20px 20px 20px;
    border-top: 1px solid var(--border-color);
}


/* --- Workflow Styles --- */
.htap-workflow-container-v2 {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    padding: 40px 0;
}
.htap-workflow-step-v2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 150px;
}
.htap-workflow-step-v2 .workflow-img-area{width:70px;height:70px;}
.htap-workflow-step-v2 .workflow-img-area img{object-fit:contain;width:100%;height:100%;}
.htap-workflow-step-v2 .htap-icon-v2 {
    max-width: 70px;
    max-height: 70px;
    margin-bottom: 15px;
    color: var(--main-blue-color);
}
.htap-workflow-step-v2 p {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1rem;
}
.htap-workflow-arrow-v2 {
    margin: 0 10px;
    align-self: center;
    margin-top: -50px;
}
.htap-workflow-arrow-v2 svg {
    width: 20px;
    height: 20px;
    color: #b0bec5;
}
.htap-mobile-down-arrow {
    display: none; /* Hidden on desktop */
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .htap-hero-content h1 {
        font-size: 2.8rem;
    }
    .htap-case-study-section, .htap-featured-grid {
        grid-template-columns: 1fr;
    }
    .htap-equipment-card {
        flex: 0 0 calc(50% - 15px);
    }
    .htap-intro-container {
        grid-template-columns: 1fr;
    }
    .htap-intro-nav {
        position: static;
        margin-bottom: 40px;
        text-align: center;
    }
    .htap-intro-nav ul li a {
        padding-left: 0;
        border-left: none;
        border-bottom: 1px solid var(--border-color);
    }
    .htap-intro-nav ul li a:hover {
        padding-left: 0;
        border-left: none;
        color: var(--main-blue-color);
    }
    .htap-intro-content .htap-section-title {
        text-align: center;
    }

    /* MODIFIED: Mobile Nav */
    .htap-sticky-nav-container {
        justify-content: space-between;
    }
    .htap-mobile-nav-toggle-btn {
        display: block;
    }
    .htap-sticky-nav-links {
        display: none; /* Hide by default */
        flex-direction: column;
        position: fixed;
        top: 134px; /* Position below the nav bar */
        left: 0;
        width: 100%;
        background-color: var(--white-color);
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        border-top: 1px solid var(--border-color);
        z-index:10000 !important;
    }
    .htap-sticky-nav-links.htap-expanded {
        display: flex; /* Show when expanded */
    }
    .htap-sticky-nav-links a {
        width: 100%;
        padding: 15px 20px;
        border-bottom: 1px solid var(--border-color);
    }
    .htap-sticky-nav-links a:not(:last-of-type)::after {
        display: none; /* Hide vertical separators */
    }
    .htap-sticky-nav-links a:hover::before, .htap-sticky-nav-links a::before {
        display: none; /* Hide underline effect on mobile dropdown */
    }

    .htap-workflow-container-v2 {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px 15px;
    }
    .htap-workflow-step-v2 {
        flex: 1 1 140px;
    }
    .htap-workflow-arrow-v2 {
        display: none;
    }
}
@media (max-width: 768px) {
    .htap-section { padding: 60px 0; }
    .htap-section-title { font-size: 2rem; }
    .htap-contact-form {
        grid-template-columns: 1fr;
    }
    .htap-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .htap-equipment-card {
        flex: 0 0 100%;
    }
    .htap-equipment-slider-container {
        padding: 0;
    }
    .htap-workflow-step-v2 {
        flex-basis: calc(50% - 20px);
        max-width: 180px;
    }
}
@media (max-width: 480px) {
    .htap-footer-grid {
        grid-template-columns: 1fr;
    }
    .htap-workflow-container-v2 {
        flex-direction: column;
        align-items: center;
        gap: 20px; /* Reduced gap for arrows */
    }
    .htap-workflow-step-v2 {
        flex-basis: 100%;
        margin-bottom: 20px;
    }
    .htap-workflow-step-v2:last-child {
        margin-bottom: 0;
    }
    .htap-workflow-step-v2:not(:last-child) .htap-mobile-down-arrow {
        display: block;
        margin-top: 25px;
        color: #b0bec5;
        width: 24px;
        height: 24px;
		transform: rotate(180deg);
    }
}