
.insights-section .cards-wrapper {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
}
@media (min-width: 768px) {
    .insights-section .cards-wrapper {
        flex-wrap: wrap;
        justify-content: center;
    }
}   
.insights-section--post-card:not(:hover) {
    transform: scale(1);
    transition: transform 450ms;
}
@media (min-width: 992px) {
    .insights-section--post-card {
        height: calc(-1.18024px + 35vw);
        padding: 25px;
        max-height: 32rem;
    }
}
@media (min-width: 768px) {
    .insights-section--post-card {
        width: calc((80% - 40px) / 3);
        height: calc(-1.18024px + 40vw);
        padding: 15px;
        margin: 20px;
    }
}
.insights-section--post-card {
    width: 70vw;
    height: 65vh;
    margin: 20px 20px 40px 20px;
    padding: 15px;
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    overflow: hidden;
    cursor: pointer;
    box-sizing: border-box;
}

p.card-content {
    position: absolute;
    bottom: 0;
    color: #ffffff;
    margin-bottom: 4rem;
    width: 90%;
    line-height: 24px;
}
.insights-section--post-card:not(:hover) .card-bg {
    transform: scale(1);
    opacity: 1;
    transition-property: transform, opacity, filter;
    transition-duration: 500ms;
    transition-duration: cubic-bezier(0.85,0,0,1);
    color: #ffffff;
}
.insights-section--post-card .card-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    z-index: -1;
}
/* When hovering the post card, blur its background image */
.insights-section--post-card:hover .card-bg {
  filter: blur(8px) brightness(0.8);
  transform: scale(1.05);
  transition: filter 0.4s ease, transform 0.4s ease;
}

/* Normal (non-hover) state reset */
.insights-section--post-card .card-bg {
  transition: filter 0.4s ease, transform 0.4s ease;
  filter: none;
}

img, svg {
    vertical-align: middle;
}
img {
    overflow-clip-margin: content-box;
    overflow: clip;
}
@media (min-width: 992px) {
    .insights-section--post-card .card-label {
        font-size: 0.875rem;
    }
}
.insights-section--post-card .card-label {
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
@media (min-width: 1200px) {
    .insights-section--post-card .card-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
}
.insights-section--post-card .card-title {
    color: #ffffff;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 15px;
}

h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
    line-height: 1.3;
}
.insights-section--post-card:not(:hover) .card-content, .insights-section--post-card:not(:hover) .event-details {
    transform: translateX(130%);
    transition: transform 450ms 
cubic-bezier(0.85, 0, 0, 1);
}
.insights-section--post-card .event-details {
    margin-bottom: 15px;
    transform: translateX(130%);
}
div {
    display: block;
    unicode-bidi: isolate;
}

@media (min-width: 1200px) {
    .insights-section--post-card .card-content {
        font-size: 1rem;
    }
}
p {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}
p {
    margin-top: 0;
    margin-bottom: 1rem;
}
@media (min-width: 1200px) {
    .insights-section--post-card .card-btn {
        font-size: 1.125rem;
    }
    .contact-info-grid{
        margin-left: 90px;
        margin-right: 90px;
    }
}
.insights-section--post-card .card-btn {
    position: absolute;
    bottom: 5%;
    right: 15%;
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 500;
    margin: auto 0 0 auto;
    text-transform: none;
    line-height: 1.2;
    transform: translateY(300%);
}
.text-link-arrow {
    font-family: "Plus Jakarta Sans", sans-serif;
    text-transform: uppercase;
    font-size: 0.875rem;
    line-height: 1rem;
    font-weight: 500;
    color: #f26223;
    text-decoration: none;
    display: inline-block;
    position: relative;
}
a {
    text-decoration: none;
    transition-duration: 0.3s;
    transition-property: all;
    transition-timing-function: ease-in-out;
}
a {
    transition: all 0.25s linear;
    -webkit-transition: all 0.25s linear;
    -moz-transition: all 0.25s linear;
    -o-transition: all 0.25s linear;
    -ms-transition: all 0.25s linear;
}

.insights-section--post-card:not(:hover) .card-btn {
    transform: translateY(300%);
    transition: transform 450ms 
cubic-bezier(0.85, 0, 0, 1);
}
.insights-section {
    background: #f6f5fc;
    z-index: 0;
}
section {
    position: relative;
}
section {
    overflow: clip;
}
section {
    display: block;
    unicode-bidi: isolate;
}

@media (min-width: 992px) {
    .insights-section--post-card {
        height: calc(-1.18024px + 35vw);
        max-height: 32rem;
        padding: 25px;
        width: calc(26.6667% - 13.3333px);
        margin: 20px;
    }
}

/* about index section */

.about-partner-section {
  background: #fff;
  /*padding: 100px 0;*/
}

.about-partner-section .container {
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}


.grid-row:last-child {
  margin-bottom: 0;
}

.grid-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

/* Remove or set margin-bottom: 0; */
.grid-row + .grid-row {
  margin-top: 0;
  margin-bottom: 0;
}

/* Image side */
.image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  margin: 0; /* ensure no default gap */
  padding: 0;
}

/* Rounded outer corners only */
/*.grid-row:first-child .image-side img {*/
/*  border-top-left-radius: 12px;*/
/*  border-bottom-left-radius: 12px;*/
/*}*/

/*.grid-row.reverse .image-side img {*/
/*  border-top-right-radius: 12px;*/
/*  border-bottom-right-radius: 12px;*/
/*}*/

.image-side img:hover {
  transform: scale(1.02);
}

/* Text side */
.text-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 70px;
  background: #f8f7fc;
        
}

.text-side h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: left;
  padding: 0;
}

.text-side p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: #444;
  margin-bottom: 25px;
}

.text-side ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.text-side ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  font-weight: 400;
  color: #333;
}

.text-side ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #333;
  font-weight: bold;
}

/* Responsive Design */
@media (max-width: 992px) {
  .grid-row,
  .grid-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .text-side {
    padding: 40px 30px;
    /*text-align: center;*/
  }

  .text-side ul li {
    padding-left: 10;
  }

  .text-side ul li::before {
    /*display: none;*/
  }

  .image-side img {
    border-radius: 0;
  }

}

/*new contact section*/


.contact-modern {
  position: relative;
  background: linear-gradient(145deg, #ffffff 0%, #f2f6ff 100%);
  padding: 100px 0;
  overflow: visible !important;
}

.contact-header {
  text-align: center;
  margin-bottom: 80px;
}
.contact-header h2 {
  font-size: 2.5rem;
  /*background: linear-gradient(90deg, #007bff, #00c3ff);*/
  /*-webkit-background-clip: text;*/
  /*-webkit-text-fill-color: transparent;*/
}
.contact-header p {
  opacity: 0.7;
  font-size: 1rem;
}

.contact-info-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 150px;
}

.info-card {
  flex: 1 1 280px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 16px;
  text-align: center;
  padding: 40px 25px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: transform .4s ease, box-shadow .4s ease;
}
.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 35px rgba(0,0,0,0.1);
}
.info-card i {
  font-size: 2rem;
  color: #007bff;
  margin-bottom: 15px;
}

.contact-main {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 0 40px rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateY(120px);
  transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}
.contact-main.visible {
  opacity: 1;
  transform: translateY(-80px);
}

.map-side, .form-side {
  flex: 1 1 50%;
  min-height: 420px;
}
.map-side iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 24px 0 0 24px;
}

.form-side {
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.form-side input,
.form-side textarea {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 16px;
  border: 1px solid #d5deff;
  border-radius: 8px;
  font-size: 1rem;
  transition: border .3s ease, box-shadow .3s ease;
}
.form-side input:focus,
.form-side textarea:focus {
  border-color: #00a3ff;
  box-shadow: 0 0 0 3px rgba(0,163,255,0.2);
  outline: none;
}
.form-side button {
  background: linear-gradient(90deg, #007bff, #00c3ff);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 28px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease;
}
.form-side button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,123,255,0.3);
}

/* Responsive */
@media (max-width: 992px) {
  .contact-main {
    flex-direction: column;
    transform: translateY(80px);
  }
  .map-side iframe {
    height: 420px;
    width: 375px;
    border-radius: 24px;
    }  
  .info-card{
      margin: 20px;
  }
}

/*---------------new dashboard videos css --------------*/

:root {
  --sd-bg: #f9fafc;
  --sd-fg: #0a0a14;
  --sd-accent-1: #0132d7;
  --sd-accent-2: #00a3ff;
  --sd-safe-w: min(1280px, 92vw);
  --sd-text-w: clamp(280px, 28vw, 420px);
  --sd-card-w: clamp(540px, 52vw, 920px);
  --sd-radius: 16px;
  --sd-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
  --sd-enter: cubic-bezier(.25,1,.5,1);
}

.stacked-dashboard.v3 {
  position: relative;
  height: 100vh;
  background: #FFFFFF;
  color: var(--sd-fg);
  font-family: 'Inter', system-ui, sans-serif;
  overflow: hidden;
}

/* text block */
.sd-text {
  position: absolute;
  top: 50%;
  left: calc((100vw - var(--sd-safe-w)) / 2 + 4%);
  transform: translateY(-50%);
  width: var(--sd-text-w);
  z-index: 10;
  pointer-events: none;
}

.sd-text h2 {
  font-size: clamp(22px, 2.6vw, 32px);
  margin-bottom: 15px;
  background: linear-gradient(90deg, var(--sd-accent-1), var(--sd-accent-2));
  -webkit-background-clip: text;
  /*-webkit-text-fill-color: transparent;*/
  text-align: left;
}

.sd-text p {
  font-size: clamp(14px, 1.1vw, 18px);
  line-height: 1.6;
  color: #333;
  transition: opacity .45s ease, transform .45s ease;
  padding: 0 10px;
}

.sd-layer img {
  width: var(--sd-card-w);
  aspect-ratio: 16/9;
  object-fit: cover;
  background: #fff;
  border-radius: var(--sd-radius);
  box-shadow: var(--sd-shadow);
  margin: 0 6vw;
}

/* video stage */

.sd-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  /* previously: place-items: center end; */
  padding: 0 10vw; /* add equal horizontal padding */
}


.sd-layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center end;
  opacity: 0;
  transform: translateX(10vw);
  transition: opacity 1s ease, transform 1s var(--sd-enter);
  z-index: 1;
}

.sd-layer.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 2;
}

.sd-layer video {
  width: var(--sd-card-w);
  aspect-ratio: 16/9;
  object-fit: cover;
  background: #fff;
  border-radius: var(--sd-radius);
  box-shadow: var(--sd-shadow);
  margin: 0 6vw;
}


/*.sd-layer video {*/
/*  width: clamp(500px, 48vw, 880px);*/
/*}*/

/* responsive */
@media (max-width: 900px) {
  .sd-text {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    /*left: 5%;*/
    /*right: 5%;*/
    top: 15vh;
    width: 320px;
    transform: none;
  }

  .sd-stage {
    place-items: end center;
    padding: 0;
  }

  .sd-layer video {
    width: min(94vw, 700px);
  }
  /*.sd-text{*/
  /*    width: 350px;*/
  /*    height: 102px;*/
  /*}*/
  .sd-text h2{
      text-align: center;
  }
  .sd-text p{
      text-align: center;
  }
}


/* layout fixes */
.sd-stage{
  position: absolute;
  inset:0;
  display:grid;
  place-items: center;
  padding:0 6vw;              /* adds equal left/right breathing space */
}

.sd-layer video{
  width:clamp(520px,50vw,900px);
  max-width:90%;
  aspect-ratio:16/9;
  object-fit:cover;
  border-radius:16px;
  background:#fff;
  box-shadow:0 20px 50px rgba(0,0,0,.12);
}

@media only screen and (min-width: 600px) {
    .sd-text{
        left: 10vw;
    }
}

/* fine-tune text positioning */
/*.sd-text{*/
  /*left:8vw; */
/*  width:clamp(359px,26vw,400px);*/
/*}*/

/*@media only screen and (max-width: 600px) {*/
/*  .sd-text{*/
/*      width: 359px;*/
/*      height: 102px;*/
/*  }*/
/*}*/

#stackedDash {
  scroll-snap-align: start;
  scroll-margin-top: 60px; /* adjust if your navbar overlaps */
}


