.partnership-img {
    position: relative;
}

.partnership-img img {
    width: 100%;
    border-radius: 8px;
}

/* COMMON LINK STYLE */
.partner-link {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transform: translate(-50%, -50%);
}

/* DOT */
.partner-link .dot {
    width: 12px;
    height: 12px;
    background: #ff3b3b;
    border-radius: 50%;
    animation: pulseDot 2s infinite;
}

/* TEXT */
.partner-text {
    background: #000;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    transition: 0.3s;
}

/* HOVER EFFECT */
.partner-link:hover .partner-text {
    background: #e60023;
}

/* POSITION — NEAR BELOW NAMES */
.gamtech-link {
    bottom: 0%;
    left: 28%;
}

.quest-link {
    bottom: 0%;
    left: 72%;
}

/* DOT ANIMATION */
@keyframes pulseDot {
    0% { box-shadow: 0 0 0 0 rgba(255, 116, 116, 0.6); }
    70% { box-shadow: 0 0 0 12px rgba(255,0,0,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,0,0,0); }
}

@media (max-width:768px){

    .partner-text{
        font-size:12px;
        padding:5px 10px;
    }

    .gamtech-link{
        bottom:10%;
        left:25%;
    }

    .quest-link{
        bottom:10%;
        left:73%;
    }
}


/* ================= APPLICATION SECTION ================= */

/* =========================
   Application Card
========================= */
.application-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 300px;              /* FIXED HEIGHT */
    cursor: pointer;
}

/* Image */
.application-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Overlay */
.application-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.75),
        rgba(0,0,0,0.2)
    );
    transition: 0.4s ease;
    z-index: 1;
}

/* Content */
.app-content {
    position: absolute;
    bottom: 0;                  /* KEEP AT BOTTOM */
    left: 0;
    width: 100%;
    padding: 20px;
    color: #fff;                /* WHITE TEXT */
    z-index: 2;
    transition: all 0.4s ease;
}

/* Title */
.application-title {
    color: #fff;
    margin: 0;
    font-weight: 600;
}

/* Paragraph hidden initially */
.application-para {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    margin-top: 10px;
    color: #fff;
}

/* =========================
   Hover Effects
========================= */

/* Image zoom */
.application-card:hover img {
    transform: scale(1.08);
}

/* Dark full overlay */
.application-card:hover::before {
    background: rgba(0,0,0,0.88);
}

/* Expand content upward */
.application-card:hover .app-content {
    bottom: 20px;
}

/* Show paragraph */
.application-card:hover .application-para {
    opacity: 1;
    font-size: 16px;
    max-height: 200px;
}
.quest-section{
    padding: 90px 0;
}


.semiconductor-section {
    background: #f4f6f9;

}
.semi-custom{
    margin: 50px 0 !important;
}
.semi-card {
    background: #ffffff;
    border: 1px dashed var(--thm-primary-color);
    padding: 35px 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

.semi-card img {
    max-height: 130px;
    object-fit: contain;
}

.semi-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 35px rgba(0,0,0,0.08);
}

.text-quest{
    padding-top: 10px;
    font-size: 16px;
 
}
.custom-quest-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    height: 100%;
    transition: 0.3s;
}

/* Image */
.custom-quest-card img {
    width: 100%;
    /* height: 180px; */
    object-fit: cover;
    display: block;
}

/* Title Strip */
.cq-title {
         background: linear-gradient(180deg, #0b2a4a 0%, #081f36 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 10px;
    margin-bottom: 6px;
}

.cq-title h4 {
    color: #ffffff;
    margin: 0;
    font-size: 16px;
    font-weight: 600 !important;
}

/* Bottom Text */
.cq-text {
    padding: 15px;
    text-align: center;
}

.cq-text p {
    color: #000000;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

/* Optional Hover */
.custom-quest-card:hover {
    transform: translateY(-5px);
}

.section-one-fix {
  padding: 60px 0;
  background: #f5f7fb;
}

/* LEFT */
.s1-left-fix {
  color: #000;
}

.s1-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 5px;
}

.s1-subtitle {
  font-size: 1rem;
  color: #555;
  margin-bottom: 18px;
}

.s1-left-fix p {
  line-height: 1.7;
  margin-bottom: 12px;
}

/* GRID */
.img-grid-fix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  /* max-width: 360px; */
  margin-left: auto;
}

/* TOP IMAGES */
.grid-top-fix {
  border-radius: 10px;
  overflow: hidden;
  /* height: 280px; */
}

.grid-top-fix img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
}

/* BOTTOM CARDS */
.grid-card-fix {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  /* height: 180px; */
  cursor: pointer;
}

.grid-card-fix img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  transition: 0.4s;
}

/* HOVER */
.grid-card-fix:hover img {
  transform: scale(1.05);
  filter: brightness(0.6);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: 0.3s;
  text-align: center;
}

.grid-card-fix:hover .card-overlay {
  opacity: 1;
}

/* PULSE (kept same concept) */
.pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  border: 2px solid var(--thm-primary-color);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 2s infinite;
}

.pulse-ring:nth-child(2) {
  width: 70px;
  height: 70px;
  opacity: 0.5;
}

.pulse-ring:nth-child(3) {
  width: 90px;
  height: 90px;
  opacity: 0.3;
}

@keyframes pulse {
  0% { transform: translate(-50%, -50%) scale(0.9); }
  50% { transform: translate(-50%, -50%) scale(1.2); }
  100% { transform: translate(-50%, -50%) scale(0.9); }
}
.section-two {
  background: #0c1e45;
  padding: 60px 32px;
  border-top: 2px solid rgba(255,255,255,.06);
}

/* Product cards */
.prod-card {
  /* background: #152654; */
  background: transparent;
  border: none;
  border-radius: 14px;
  /* overflow: hidden; */
  /* border: 1px solid rgba(255,255,255,.07); */
  transition: transform .3s ease, box-shadow .3s ease;
}
.prod-img-wrap {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}
.prod-body {
  background: #152654;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}
.prod-card:hover {
  /* transform: translateY(-6px); */
  /* box-shadow: 0 20px 50px rgba(0,0,0,.5); */
}

.prod-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.prod-img-wrap.green {
  background: linear-gradient(135deg, #1a3a1a, #2d5a2d);
}

.prod-img-wrap.red {
  background: linear-gradient(135deg, #3a1a1a, #6b2020);
}

.prod-img-wrap.gold {
  background: linear-gradient(135deg, #3a2e10, #6b5620);
}

.prod-img-wrap img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  /* padding: 20px; */
  display: block;
  transition: transform .4s ease;
}

.prod-card:hover .prod-img-wrap img {
  transform: scale(1.08);
}

.prod-body {
  padding: 18px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.prod-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.prod-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  text-align: center;
  letter-spacing: .02em;
  color: #ffffff;
  line-height: 1.3;
}

.prod-voltage {
  font-size: .82rem;
  color: #a8b8d8;
  font-weight: 500;
  letter-spacing: .05em;
}

/* CTA Button */
.btn-visit {
  display: inline-block;
  background: #1a56db;
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 14px 52px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .25s, transform .2s, box-shadow .25s;
  box-shadow: 0 6px 24px rgba(26,86,219,.4);
}

.btn-visit:hover {
  background: #3b82f6;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(26,86,219,.55);
  color: #fff;
}
.btn-quest{
  padding: 20px 0 0;
}
.quest-btn{
  background-color: #ff5a1f;
  color: white;
  padding: 10px;
  border-radius: 3px;
}
.quest-btn:hover{
  border: 1px solid white;
  background-color: transparent;
  color: white;
}
/* CARD */
.grid-card-fix {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

/* IMAGE */
.grid-card-fix img {
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease, filter 0.5s ease;
}

/* HOVER IMAGE EFFECT */
.grid-card-fix:hover img {
  transform: scale(1.08);
  filter: brightness(0.5);
}

/* OVERLAY (IMPROVED GRADIENT) */
.card-overlay {
  position: absolute;
  inset: 0;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  padding: 20px;

  color: #fff;

  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.2),
    rgba(0,0,0,0.85)
  );

  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

/* SHOW ON HOVER */
.grid-card-fix:hover .card-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* TITLE */
.ov-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 5px;
  letter-spacing: 0.5px;
}

/* SUBTITLE */
.ov-sub {
  font-size: 15px;
  color: white;
  margin-bottom: 10px;
}

/* TEXT */
.ov-desc li {
  font-size: 14px;
  opacity: 0.9;
  text-align: left;
  margin-bottom: 5px;
}

/* PULSE (ONLY ON HOVER NOW) */
/* STEP 1: Make column sticky (NOT inner div) */
.section-one-fix .col-lg-6:last-child {
  position: sticky;
  top: 100px;
  align-self: flex-start;
}

/* STEP 2: Remove sticky from inner element */
.product-details__left {
  position: relative;
}

/* STEP 3: Ensure no overflow breaks sticky */
.section-one-fix,
.section-one-fix .container,
.section-one-fix .row {
  overflow: visible !important;
}

/* STEP 4: Height fix */
.section-one-fix .row {
  align-items: flex-start;
}

/* MOBILE FIX */
@media (max-width: 991px) {
  .section-one-fix .col-lg-6:last-child {
    position: relative;
    top: 0;
  }
}

.joscar-section{
  padding: 60px 0 0;
}
.quest-link{
  font-weight: 600;
  color: #0b2a4a;
}
.quest-link:hover{
  color: #000000;
}

/* SECTION */
.sic-voltage-section {
    padding: 60px 0;
    background: #f7f8fa;
}

/* TITLE */
.sic-head-wrap {
    margin-bottom: 40px;
}

.sic-sub-text {
    margin-top: 10px;
    opacity: 0.8;
}

/* CARDS */
.sic-card-row {
    row-gap: 20px;
}

.sic-voltage-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 25px;
    height: 100%;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.sic-voltage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* TEXT STYLES (no font size added) */
.sic-voltage {
    color: #2f6bff;
    margin-bottom: 10px;
}

.sic-label {
    margin-bottom: 15px;
}

/* LIST */
.sic-points {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.sic-points li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.sic-points li::before {
    content: "⚡";
    position: absolute;
    left: 0;
    top: 0;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .sic-voltage-section {
        padding: 50px 0;
    }
}

@media (max-width: 767px) {
    .sic-voltage-card {
        padding: 20px;
    }

    .sic-head-wrap {
        margin-bottom: 25px;
    }
}


.custom-three-col {
    position: relative;
    padding: 60px 0;
}

.custom-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.custom-card {
    height: 100%;
    /* padding: 30px; */
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

/* Dark cards (left & right) */
.card-dark {
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}

/* Middle light card */
.card-light {
    background: #fff;
    color: #000;
    padding: 50px 30px;
}

/* List style */
.about-style4__points {
    padding-left: 0;
    list-style: none;
}

.questlist li {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap !important;
    margin-bottom: 12px;
    font-size: 17px;
    line-height: 28px;
}

/* Button */
.custom-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 18px;
    border-radius: 30px;
    background: #1e3a8a;
    color: #fff;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 991px) {
    .custom-row {
        flex-direction: column;
    }
}

.card-dark {
    position: relative;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
    overflow: hidden;
    padding: 20px;

}

/* Overlay */
.card-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(43, 41, 40, 0.856); /* adjust opacity here */
    z-index: 0;
}

/* Keep content above overlay */
.card-dark > * {
    position: relative;
    z-index: 1;
}

/* SECTION BACKGROUND */
.sic-hero-custom {
  margin-top: 60px;
    position: relative;
    padding: 50px 0 0;
    background: linear-gradient(135deg, #1f2a44, #3a3f73);
    overflow: hidden;
}

/* OPTIONAL subtle glow */
.sic-hero-custom::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.08), transparent 60%);
    pointer-events: none;
}

/* TITLE */
.sic-hero-title {
    color: #fff;
    text-transform: uppercase;
}

/* SUBTEXT */
.sic-hero-sub {
    color: rgba(255,255,255,0.8);
    max-width: 700px;
    margin: 15px auto 25px;
}

/* BUTTON WRAPPER */
.sic-hero-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* PILLS */
.sic-pill {
    padding: 10px 22px;
    border-radius: 30px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    display: inline-block;
    transition: 0.3s ease;
}

.sic-pill:hover {
    transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 767px) {
    .sic-hero-custom {
        padding: 60px 15px;
    }

    .sic-hero-sub {
        margin: 10px auto 20px;
    }

    .sic-hero-btns {
        gap: 10px;
    }
   
}

.quest-energy-bg {
    position: relative;
    z-index: 1;
}

.quest-energy-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 60%; /* controls how much overlay spreads */
    height: 100%;
    z-index: -1;

    /* Left-side dark gradient overlay */
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.55) 40%,
        rgba(0, 0, 0, 0.2) 70%,
        rgba(0, 0, 0, 0) 100%
    );
}
.hero-content-quest{
  position: relative;
    z-index: 2;
    max-width: 580px;
    padding: 40px 0 0px;
}
.hero-content-quest h1 {
    font-size: 48px;
    color: white;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
}
.hero-content-quest p {
    font-size: 14px;
    color: #bbc1cb;
    line-height: 1.8;
    margin-bottom: 30px;
}

.quest-advantage-sec {
    background: #ffffff;
    padding: 60px 0;
}

.quest-adv-card {
    display: flex;
    gap: 20px;
    background: #ffffff;
    border: 1px solid rgba(11, 43, 74, 0.15);
    border-radius: 12px;
    padding: 20px;
    height: 100%;
    transition: 0.3s ease;
}

.quest-adv-card:hover {
    border-color: #0b2b4a;
    box-shadow: 0 10px 30px rgba(11, 43, 74, 0.1);
    transform: translateY(-5px);
}

.quest-adv-icon {
    min-width: 60px;
    height: 60px;
    background: rgba(11, 43, 74, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quest-adv-icon img {
    max-width: 46px;
}

.quest-adv-content h4 {
    color: #0b2b4a;
    font-size: 20px;
    margin-bottom: 10px;
}

.quest-adv-content p {
    color: rgba(0,0,0,0.7);
    margin: 0;
}

/* RESPONSIVE */
@media (max-width: 767px) {
    .quest-adv-card {
        flex-direction: column;
        text-align: center;
    }

    .quest-adv-icon {
        margin: 0 auto;
    }
}
.quest-advantage-sec .quest-sticky-col {
    position: relative;
}

.quest-advantage-sec .quest-sticky-inner {
    position: sticky;
    top: 100px; /* adjust based on header height */
}

.quest-advantage-sec .quest-sticky-inner img {
    width: 100%;
    height: auto;
    display: block;
}

/* Optional: spacing for right side */
.quest-advantage-sec .quest-adv-card {
    height: auto;
}

/* MOBILE FIX (disable sticky) */
@media (max-width: 991px) {
    .quest-advantage-sec .quest-sticky-inner {
        position: relative;
        top: 0;
    }
}

.bottom-custom-section{
    padding: 60px 0;
}
.bottom-custom-section img {
    
    border-radius: 12px;
    display: block;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.bottom-custom-section .col-lg-6:hover img {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.product-text-custom {

    margin-top: 50px;
    max-height: 300px;
    overflow-y: auto;

    /* Firefox */
    scrollbar-color: var(--thm-primary-color) #eee;
    scrollbar-width: thin;
}

/* Chrome, Edge, Safari */
.product-text-custom::-webkit-scrollbar {
    width: 8px;
}

.product-text-custom::-webkit-scrollbar-track {
    background: #eee;
    border-radius: 10px;
}

.product-text-custom::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.product-text-custom::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
    opacity: 0.8;
}
.product-text-custom p {
    padding-bottom: 20px;
}
.quest-h5{
    padding-bottom: 10px;
}
.product-contact{
    display: flex;
    padding-top: 30px;
    justify-content: center;
    gap: 20px;
}
.contact-product-text a{
    color: var(--thm-primary-color);
}
.contact-product-text a:hover{
    color: black;
}