.hero {
    border-radius:0 0 30px 30px !important;
}

.tab-heading {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 18px;
  color:#3e4649;
  text-align: start;
}

/* ---------- LIST ---------- */
.ph-list{
  list-style:none;
  padding:0;
  margin:20px 0 28px;
}

.ph-list li{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:15px;
  color:#e5f3f3;
  margin-bottom:10px;
}

.ph-list img{
  width:18px;
}

/* =====================================
   CASE STUDY SECTION
===================================== */

.case-study-section{
  padding:20px 20px;
 
  text-align:center;
}

.case-study-section h2{
  font-size:36px;
  font-weight:600;
  margin-bottom:40px;
  color:#3e4649;
}
/* Card */
.cs-card{
  max-width:960px;
  margin:auto;
  background:#fff;
  border-radius:22px;
  padding:30px;
  display:flex;
  gap:30px;
  align-items: stretch;
}
/* Image */
.cs-image{
 position: relative;
  flex: 1;
  height: 300px;          /* 👈 fixed height */
  overflow: hidden;
  border-radius: 18px;
}

#csMainImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

.cs-logo {
 position: absolute;
  top: 16px;
  left: 16px;
  height: 60px;          /* control logo height */
  width: auto;
  max-width: 140px;     /* prevent over-width */
  object-fit: contain;  /* MOST IMPORTANT */
  z-index: 1000;
}

/* Badge */
.cs-badge{
  position:absolute;
  bottom:14px;
  left:14px;
  background:#fff;
  padding:6px 14px;
  border-radius:20px;
  font-size:14px;
  font-weight:500;
  color: #000;
  background:#eaf4f7;
}

/* Content */
.cs-content{
  flex:1;
  background:#eaf4f7;
  border-radius:18px;
  padding:30px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
   height: 300px;
}

.cs-content p{
  font-size:15px;
  color:#444;
  line-height:1.6;
}

/* Stats */
.cs-stats{
  display:flex;
  gap:40px;
  margin-top:20px;
}

.cs-stats h3{
  font-size:34px;
  color:#8fc24b;
  margin:0;
}

.cs-stats span{
  font-size:15px;
  color:#666;
}

/* Arrows */
.cs-arrows{
  display:flex;
  justify-content:center;
  gap:14px;
  margin:24px 0;
}

.cs-arrows button{
  width:38px;
  height:38px;
  border-radius:50%;
  border:1px solid #9ad14b;
  background:#fff;
  color:#9ad14b;
  font-size:20px;
  cursor:pointer;
}

/* Tabs */
.cs-tabs{
  display:flex;
  justify-content:center;
  gap:10px;
}

.cs-tab{
  padding:8px 18px;
  border-radius:20px;
  border:none;
  background:#fff;
  cursor:pointer;
  font-size:14px;
}

.cs-tab.active{
  background:#e6f4ef;
  font-weight:600;
}


/* =====================================
   MOBILE RESPONSIVE
===================================== */

@media(max-width:768px){
    
   .tab-heading {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 18px;
  margin-top:0px;
  color:#3e4649;
  text-align: start;
}


/* Remove mobile default blue color */
.cs-tab{
  color: #000;                 /* force text color */
  background: #fff;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

/* Active tab */
.cs-tab.active{
  color: #000;
}
  /* CASE STUDY */
  .case-study-section{
    padding:20px 16px;
  }

  .case-study-section h2{
  font-size: 30px;
            font-weight: 600;
            color: #3e4649;
  }

  .cs-card{
    flex-direction:column;
    padding:20px;
  }

  .cs-content{
    padding:20px;
  }
  .cs-image{
    height: 200px;
  }

.cs-content{
    height: 220px;           /* 👈 FIXED HEIGHT */
    overflow-y: auto;        /* 👈 NO JUMP */
    justify-content: space-between;
  }
  
    /* Optional: smoother scroll */
  .cs-content::-webkit-scrollbar{
    width: 4px;
  }

  .cs-content::-webkit-scrollbar-thumb{
    background: #c5dede;
    border-radius: 10px;
  }
  .cs-stats{
    gap:24px;
  }

  .cs-stats h3{
    font-size:26px;
  }

  .cs-logo{
    max-width:40px;
    max-height:40px;
    top:12px;
    left:12px;
  }
}


/* ================= PRODUCT OVERVIEW ================= */

.product-overview{
  padding: 40px 40px 20px;
  margin-bottom:30px;
}

.po-container{
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* Eyebrow */
.po-eyebrow{
  display: inline-block;
  font-size:26px;
  font-weight: 500;
  color: #8fc24b;
  margin-bottom: 10px;
}

/* Title */
.po-title{
  font-size: 36px;
  font-weight: 600;
  color: #3e4649;
  margin-bottom: 18px;
  line-height: 1.2;
}

/* Description */
.po-desc{
  width: 100%;
  margin: 0 auto 10px;
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  text-align: justify;
}

/* Image box */

.po-image-wrap {
  width: 50%;
  height: 360px;            /* FIXED HEIGHT (adjust as needed) */
  border-radius: 24px;
  overflow: hidden;
  margin: 0 auto;
}

.po-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;        /* fills container, crops excess */
  display: block;
}
.po-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  transition: transform 0.5s ease; /* smooth zoom */
}

/* ZOOM IN ON HOVER */
.po-image-wrap:hover img {
  transform: scale(1.12);
}
/* ================= MOBILE ================= */

@media (max-width: 768px){

  .product-overview{
    padding: 30px 16px 0px;
  }

  .po-title{
    font-size: 30px;
  }

  .po-desc{
    font-size: 14px;
    margin-bottom: 32px;
  }

  
  .po-image-wrap {
    width: 100%;        /* 👈 FULL WIDTH */
    height: 220px;      /* 👈 REDUCE HEIGHT */
  }

}


/* ================= KEY FEATURES (TABS ONLY) ================= */

.key-features{
  padding:60px 20px 40px;
  text-align:center;
}

.kf-subtitle{
  font-size:14px;
  color:#9fc24b;
  margin-bottom:10px;
}

.kf-title{
  font-size:36px;
  font-weight:600;
  color:#3e4649;
  margin-bottom:20px;
}

.kf-tabs{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:48px;
  padding-bottom:12px;
 
}

.kf-tab{
  background:none;
  border:none;
  font-size:18px;
  font-weight:500;
  color:#cfcfcf;
  cursor:pointer;
  padding:10px 0;
  position:relative;
}

.kf-tab.active{
  color:#3e4649;
  font-weight:600;
}

.kf-tab.active::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-13px;
  width:100%;
  height:3px;
  background:#9fc24b;
  border-radius:2px;
}


.services-feature-section {
    margin-bottom:0px !important;
}


.accordion-section{
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    min-height: 0 !important;
  }
/* ================= MOBILE ================= */

@media(max-width:768px){
    
    .kf-tabs{
    /* KEEP YOUR EXISTING STYLES */
    justify-content: flex-start;
    gap: 32px;
    overflow-x: auto;

    /* 🔒 ADD THESE ONLY */
    overflow-y: hidden;              /* stop vertical movement */
    flex-wrap: nowrap;               /* single row */
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;             /* horizontal swipe only */
    overscroll-behavior: contain;    /* stop page scroll */
  }

  .kf-tab{
    flex-shrink: 0;                  /* prevent tab compression */
  }


  .key-features{
    padding:20px 16px 0px;
  }

  .kf-title{
    font-size:30px;
    margin-bottom:24px;
  }

  .kf-tabs{
    justify-content:flex-start;
    gap:32px;
    overflow-x:auto;
    scrollbar-width:none;
  }

  .kf-tabs::-webkit-scrollbar{
    display:none;
  }

  .kf-tab{
    font-size:15px;
    white-space:nowrap;
  }

  .services-feature-section{
    padding: 0px 20px 0px !important; /* reduced bottom gap */
  text-align: center !important;
  margin-top: 0 !important;

  }
  

/* ---------- STACK LAYOUT ---------- */
.sf-top {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important; /* removed accordion → image gap */
}
 

  .accordion-section{
     width: 100% !important;
  text-align: left !important;
  margin-bottom: 0 !important;
  }
  

  /* ✅ FIX: SAME IMAGE SIZE + SAME ALIGNMENT (MOBILE) */

  .sf-img,
  .feature-image{
    width:100%;
    display:block;
  }

  .sf-img img,
  .feature-image img{
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:18px;
    display:block;
  }

  .feature-content{
    display: none !important;
  padding: 0 0 14px 0 !important;
  border: none !important;
}
  .feature-row{
    flex-direction:column;
    gap:12px;
  }

  .feature-text{ order:1; }
  .feature-image{ order:2; height:auto; }

  .feature-text h3{
    font-size:18px;
  }

  .feature-text p{
    font-size:13px;
    margin-bottom:8px;
  }

  .feature-list li{
    font-size:13px;
    color: #000;
  }
  
 .sf-top {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  .accordion-section {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }



}

/* ================= PRODUCT CAPABILITIES ================= */

.product-capabilities {
  padding: 20px 0 20px;
 
}

.product-capabilities .container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  text-align: center;
}


/* Tag */
.section-tag {
  font-size: 13px;
  font-weight: 500;
  color: #8fc24b;
  margin-bottom: 8px;
}

.section-title {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 30px;
  color: #3e4649;
}

/* ================= GRID ================= */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 + 3 layout */
  gap: 32px;
}

/* ================= CARD ================= */

.cap-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transition: transform 0.25s ease;
}

.cap-card:hover {
  transform: translateY(-6px);
}

/* Icon */
.cap-card  .icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #f2f7f4;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.cap-card  .icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}


.cap-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color:#3e4649;
}

.cap-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}



/* ================= MOBILE ================= */



@media (max-width: 768px) {

  .product-capabilities {
    padding: 20px 0;
  }

  .section-title {
    font-size: 30px;
    margin-bottom: 32px;
  }

  .cards-grid {
    grid-template-columns: 1fr; /* STACKED */
    gap: 20px;
  }

  .cap-card {
    padding: 24px 20px;
    text-align: left;
  }

  .cap-card .icon {
    margin: 0 0 14px 0;
  }

  .cap-card h4 {
    font-size: 16px;
  }

  .cap-card p {
    font-size: 13px;
  }
}




/* ================= EXPERTISE SECTION (SCOPED) ================= */

.exp2-section {
  padding: 30px 0 !important;
}

.exp2-container {
  max-width: 1200px !important;
  margin: auto;
  padding: 0 20px;
}

/* CARD */
.exp2-card {
  background: #1f4d5a;
  border-radius: 28px;
  padding: 64px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

/* Optional dotted background effect */
.exp2-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255,255,255,0.15) 1px,
    transparent 1px
  );
  background-size: 18px 18px;
  opacity: 0.35;
  pointer-events: none;
}

/* CONTENT */
.exp2-content {
  position: relative;
  max-width: 100%;
}

.exp2-content h2 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 28px;
}

/* LIST */
.exp2-list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
}

.exp2-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  margin-bottom: 16px;
}

/* CHECK ICON */
.exp2-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #8fc24b;
  color: #8fc24b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

/* 🔥 AFTER CLICK / TAP */
.explore-btn:focus,
.explore-btn:active,
.explore-btn:focus-visible{
    border-radius: 50%;
  border: 2px solid #8fc24b;
}
/* ================= MOBILE ================= */

@media (max-width: 768px) {

  .exp2-section {
    padding: 20px 0;
  }

  .exp2-card {
    padding: 36px 24px;
    border-radius: 24px;
  }

  .exp2-content h2 {
    font-size: 26px;
    line-height: 1.3;
  }

  .exp2-list li {
    font-size: 14px;
    gap: 12px;
  }

  .exp2-btn {
    width: 100%;
    justify-content: space-between;
    font-size: 14px;
  }

  .exp2-container {
    padding-left: 0;
    padding-right: 0;
  }
}



/* resltssection*/
.service-hero-img img {
    width: 480px;
    height: auto;
    border-radius: 28px;
    object-fit: cover;
}

.results-wrapper {
    width: 100%;
    padding-top: 40px;
    text-align: center;
}

/* MAIN TOP TITLE */
.results-main-title {
    font-size: 34px;
    font-weight: 600;
    margin-bottom: 40px;
    color: #000;
}

/* DARK STRIP */
.dark-strip {
    background: #083C4A;
    padding: 25px 0;
    border-radius: 20px;
}

.strip-box h3 {
    font-size: 40px;
    color: #fff;
    font-weight: 700;
}

.strip-box p {
    color: #C8DCE0;
    margin-top: 5px;
    font-size: 14px;
}




/* ================= PRODUCT TRUST SECTION ================= */

.product-trust-section {
  padding: 80px 20px;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* Title */
.product-trust-title {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 14px;
  color: #000;
}

/* Subtitle */
.product-trust-subtitle {
  max-width: 620px;
  margin: 0 auto 50px;
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  text-align: center;
}

/* Card Grid */
.product-trust-card-row {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Card */
.product-trust-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  text-align: left;
  position: relative;
}

/* Image */
.product-trust-img {
  width: 100%;
  height: 260px;
  overflow: hidden;
}

.product-trust-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Icon */
/* Icon now follows content naturally */
.product-trust-icon {
  width: 44px;
  height: 44px;
  margin: -22px 0 12px 18px; /* pulls icon upward slightly */
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-trust-icon img {
  width: 32px;
}


/* Text */
.product-trust-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 18px 18px 6px;
  color: #000;
}

.product-trust-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin: 0 18px 22px;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

  .product-trust-section {
    padding: 60px 16px;
    margin-top: 10px;
  }

  .product-trust-title {
    font-size: 26px;
    font-weight: 600;
  }

  .product-trust-subtitle {
    font-size: 15px;
    margin-bottom: 36px;
    text-align: justify;
  }

  .product-trust-card-row {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .product-trust-img {
    height: 220px;
  }

  .product-trust-icon {
    bottom: 100px;
  }

   .product-trust-card h4 {
    font-size: 18px;
   }
  .product-trust-card p {
    font-size: 15px;
  }

}
/* ================= COMPARISON SECTION ================= */
.comparison-section {
  max-width: 1200px;
  margin: auto;
  padding: 80px 20px;
}

.comparison-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #000;
}

.comparison-subtitle {
  font-size: 15px;
  color: #666;
  margin-bottom: 40px;
}

/* Header */
.comparison-header {
  display: grid;
  grid-template-columns: 1fr 150px 150px;
  font-size: 14px;
  color: #333;
  margin-bottom: 14px;
}

/* List */
.comparison-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Row */
.comparison-row {
  display: grid;
  grid-template-columns: 1fr 150px 150px;
  align-items: center;
  background: #E9F8F6;
  padding: 14px 20px;
  border-radius: 12px;
}

/* Left */
.row-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #333;
}

.row-left img {
  width: 22px;
}

/* Middle / Right */
.row-mid,
.row-right {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
}

.row-mid {
  color: #ff3b3b;
}

.row-right {
  color: #2ecc71;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

  .comparison-section {
    padding: 60px 16px; /* NO side gap */
  }

  .comparison-title {
    font-size: 26px;
  }

  .comparison-header {
    display: none;
  }

  .comparison-row {
    grid-template-columns: 1fr 60px 60px;
    padding: 14px;
  }

  .row-left span {
    font-size: 13px;
  }
}


/* Section wrapper */
.usecases-section {
    width: 100%;
    max-width: 1150px;
    margin: 100px auto;
    text-align: center;
    margin-top: 10px;
    margin-top: 10px;
}

/* Title */
.uc-title {
    font-size: 54px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
}

/* Subtitle */
.uc-subtitle {
    font-size: 15px;
    color: #666;
    margin-bottom: 45px;
}

/* Grid layout */
.uc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

/* Card container */
.uc-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
}

/* Card image */
.uc-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 18px;
}

/* Dark overlay */
.uc-overlay {
    position: absolute;
    bottom: 18px;
    left: 20px;
    color: #fff;
}

/* Card title */
.uc-overlay h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

/* Card subtitle */
.uc-overlay p {
    margin: 4px 0 0;
    font-size: 14px;
    opacity: 0.9;
}


@media (max-width: 768px) {
/* SECTION – remove extra top gap */
  .usecases-section {
    padding: 20px 16px !important;
   
    text-align: center !important;
    margin-top: 10px;
    margin-top: 10px;
  }

  /* TITLE */
  .uc-title {
    font-size: 22px !important;
    line-height: 1.3 !important;
    margin-bottom: 6px !important;
    font-weight: 700 !important;
  }

  .uc-subtitle {
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin-bottom: 24px !important;
    color: #555 !important;
  }

  /* GRID → SINGLE COLUMN */
  .uc-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* CARD */
  .uc-card {
    position: relative !important;
    width: 100% !important;
    border-radius: 18px !important;
    overflow: hidden !important;
  }

  /* IMAGE */
  .uc-card img {
    width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
    border-radius: 18px !important;
    display: block !important;
  }

  /* OVERLAY (TEXT ON IMAGE) */
  .uc-overlay {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;

    padding: 14px !important;
    background: linear-gradient(
      to top,
      rgba(0,0,0,0.6),
      rgba(0,0,0,0)
    ) !important;

    text-align: left !important;
  }

  .uc-overlay h3 {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #fff !important;
    margin: 0 0 4px 0 !important;
  }

  .uc-overlay p {
    font-size: 12px !important;
    color: #eee !important;
    margin: 0 !important;
    line-height: 1.4 !important;
  }
  
  .results-section {
      margin-top:00px important;
  }
}

/* ================= RESULTS SECTION ================= */
.results-section {

  margin-bottom: 15% !important;
}

.results-heading {
  font-size: 36px !important;
  font-weight: 600 !important;
  text-align: center !important;
  color: #3e4649 !important;
  margin-bottom: 60px !important;
}

/* ================= CARD WRAPPER ================= */
.results-card-wrapper {
  display: flex !important;
  justify-content: center !important;
  max-height: 450px !important; /* 🔑 LOCK HEIGHT */
}

.results-card {
  width: 100% !important;
  max-width: 1100px !important;
  min-height: 420px !important; /* 🔑 LOCK HEIGHT */
  display: flex !important;
  gap: 40px !important;
  padding: 40px !important;
  background: #E7F1F5 !important;
  border-radius: 28px !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12) !important;
}

/* ================= LEFT CARD ================= */
.left-card {
  width: 50% !important;
  padding: 40px !important;
  position: relative !important;
  border-radius: 22px !important;
  display: flex !important;
  flex-direction: column !important;
}

.badge-label {
  background: #D6E6EB !important;
  padding: 8px 22px !important;
  border-radius: 26px !important;
  font-size: 14px !important;
  color: #000 !important;
  position: absolute !important;
  top: -40px !important;
  left: 40px !important;
  transform: translateY(-50%) !important;
}

/* STATS */
.stats-row {
  display: flex !important;
  gap: 60px !important;
  margin-bottom: 25px !important;
  min-height: 120px !important;
}

.stats-row h1 {
  font-size: 52px !important;
  font-weight: 700 !important;
  margin: 0 !important;
  color: #8BC63E !important;
}

.stats-row p {
  margin-top: 5px !important;
  font-size: 15px !important;
  color: #5d6967 !important;
}

/* LEFT DESCRIPTION */
.left-desc {
  margin-top: 22px !important;
  font-size: 16px !important;
  color: #000 !important;
  line-height: 1.55 !important;
  width: 92% !important;
  height: 120px !important;
  overflow-y: auto !important;
  padding-right: 8px !important;
  flex-grow: 1 !important;
}

.left-desc::-webkit-scrollbar {
  width: 4px !important;
}

.left-desc::-webkit-scrollbar-thumb {
  background: #cfd8dc !important;
  border-radius: 10px !important;
}

/* PROFILE */
.profile {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-top: auto !important;
}

.profile img {
  width: 78px !important;
  max-height: 58px !important;
}

.profile h5 {
  font-size: 16px !important;
  font-weight: 700 !important;
  margin: 0 !important;
  color: #000 !important;
}

.profile p {
  font-size: 13px !important;
  margin: 0 !important;
  color: #777 !important;
}

/* ================= RIGHT CARD ================= */
.right-card {
  width: 50% !important;
  padding: 25px 0 0 0 !important;
  background: #fff !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
}

/* TABS */
.tab-row {
  display: flex !important;
  gap: 24px !important;
  margin: 0 0 18px 20px !important;
}

.tab {
  background: none !important;
  border: none !important;
  padding: 6px 4px !important;
  font-size: 17px !important;
  color: #777 !important;
  border-bottom: 2px solid transparent !important;
  cursor: pointer !important;
  transition: 0.2s !important;
}

.tab.active {
  font-weight: 700 !important;
  color: #0B3E57 !important;
  border-bottom: 2px solid #0B5379 !important;
}

/* ================= SCROLLABLE RIGHT DESCRIPTION ================= */
.right-desc {
  font-size: 15px !important;
  color: #444 !important;
  line-height: 1.6 !important;
  margin: 0 20px 18px 20px !important;
  max-height: 80px !important;
  overflow-y: auto !important;
  padding-right: 8px !important;
  flex-grow: 1 !important;
}

.right-desc::-webkit-scrollbar {
  width: 4px !important;
}

.right-desc::-webkit-scrollbar-thumb {
  background: #cfd8dc !important;
  border-radius: 10px !important;
}

.right-desc::-webkit-scrollbar-track {
  background: transparent !important;
}

/* ================= IMAGE (LOCKED) ================= */
.right-img {
  flex-shrink: 0 !important;
}

.right-img img {
  width: 100% !important;
  height: 260px !important;
  object-fit: cover !important;
  margin-bottom: -150px !important;
  border-bottom-left-radius: 30px !important;
  border-bottom-right-radius: 30px !important;
}

/* ================= MOBILE IMAGE ================= */
.results-mobile-image {
  display: none !important;
}

/* ================= MOBILE VIEW ================= */
@media (max-width: 768px) {

  .results-section {
    margin-top: 0% !important;
  }

  .results-heading {
    margin-bottom: 50px !important;
  }

  .results-card {
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .results-card-wrapper {
    padding: 0 16px !important;
  }

  .left-card,
  .right-card {
    width: 100% !important;
    margin: 0 !important;
    background: #eef6f7 !important;
    border-radius: 28px !important;
    padding: 24px 20px !important;
  }

  .left-card {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }

  .right-card {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    margin-top: 0 !important;
    background: #ffffff !important;
  }

  .badge-label {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    background: #D6E6EB !important;
    padding: 8px 22px !important;
    border-radius: 999px !important;
    font-size: 14px !important;
    color: #000 !important;
    white-space: nowrap !important;
  }

  .stats-row {
    flex-direction: column !important;
    gap: 16px !important;
    margin-bottom: 16px !important;
  }

  .stats-row h1 {
    margin-top: 30px !important;
    font-size: 28px !important;
  }

  .stats-row p {
    font-size: 15px !important;
  }

  .left-desc,
  .right-desc {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }

  .profile img {
    width: 76px !important;
    height: auto !important;
  }

  .profile h5 {
    font-size: 15px !important;
  }

  .profile p {
    font-size: 15px !important;
  }

  .right-img {
    display: none !important;
  }

  .results-mobile-image {
    display: block !important;
    margin-top: 300px !important;
    margin-bottom: 24px !important;
    padding: 0 16px !important;
  }

  .results-mobile-image img {
    width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
    border-radius: 20px !important;
    display: block !important;
  }

  .tab-row {
    margin: 0 0 12px 0 !important;
    border-bottom: 1px solid #e5e5e5 !important;
  }

  .tab {
    font-size: 14px !important;
    padding-bottom: 8px !important;
  }

  .results-nav {
    margin-top: 20px !important;
  }

  .nav-arrow {
    margin-top: 25px !important;
  }

}


@media (max-width: 768px) {

  .sf-top {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  .accordion-section {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  /* ALSO reset last child spacing (very important) */
  .accordion-section > *:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

}
