body {
    background-color: #fff;
}

.about-banner{
    position: relative;
    z-index: 10;
    height: 100%;
    background-position: center;
    max-height: 650px;
}

.about-banner .content{
    z-index: 5;
    position: absolute;
    max-width: 1140px;
    padding-left: 80px;
    box-sizing: border-box;
    width: 100%;
    left: 700px;
    bottom: 150px;
    transform: translate(-50%, 25%);
}

h3{
    position: relative;
    color: #2A54A1;
    font-size: 36px;
    line-height: 43px;
    margin-bottom: 40px;
}

h3 .background{
    position: absolute;
    top: -105px;
    z-index: -1;
    left: -100%;
    transform: skew(24deg) translateX(250px) ;
    height: 150px;
    width: 100%;
    background: rgb(43,84,161);
    background: linear-gradient(90deg, rgba(43,84,161,0) 41%, rgba(111,203,220,1) 100%);
}

h3.dark{
    display: flex;
    font-size: 32px;
    align-items: center;
    height: 86px;
}

h3.dark .background{
    position: absolute;
    top: -30px;
    z-index: -1;
    left: -20px;
    transform: skew(24deg) translateX(0px) ;
    height: 110px;
    width: 50%;
    background: rgb(111,203,220);
    background: linear-gradient(90deg, rgba(111,203,220,0) 0%, rgba(111,203,220,1) 100%);
}

.slide-right-dark{
    width: 3000px;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background: #2B54A1;
    border-radius: 0px 50px 50px 0px;
}

.dark-text{
    position: relative;
    color: #fff;
    font-size: 18px;
    line-height: 32px;
    font-family: 'Poppins', sans-serif;
    padding-left: 20px;
}

.dark-text:before{
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 70px;
    width: 1px;
    background: #6FCBDC;
}

.milestone-item{
    position: relative;
    padding-left: 20px;
    --bg: #f7f7f7; /* adjust if needed */
    background-color: var(--bg);

}

.milestone-item:before{
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 1px;
    background: #F05A26;
}

.milestone-item h4{
    font-size: 60px;
    line-height: 72px;
    -webkit-text-fill-color: #F2F2F2;
    -webkit-text-stroke-width: 1.5px;
    -webkit-text-stroke-color: #F05A26;
    padding-bottom: 8px;
}

.milestone-wrapper .flex{
    margin-bottom: 60px;
    align-items: stretch;
}

.milestone-wrapper .flex .width-33{
    display: flex;
    align-items: stretch;
}

.milestone-wrapper .flex:nth-child(odd){
    padding-left: 80px;
}


.milestone-wrapper .flex:nth-child(even){
    padding-right: 80px;
}


.milestone-item .description{
    font-size: 16px;
    line-height: 24px;
    padding-bottom: 8px;
}

.know-more-links{
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 21px;
    line-height: 32px;
}

.know-more-links li{
    margin-bottom: 40px;
}

.know-more-links li a:hover{
    color: #F05A26;
}

.know-more-links li a:hover:after{
    background: url('../../../images/common/arrow-right-orange.png');
}

.know-more-links li a:after{
    content: '';
    width: 42px;
    height: 11px;
    margin-left: 15px;
    display: inline-block;
    background: url('../../../images/common/arrow-right.png');
}


.content-min{
    width: 100%;
    max-width: 740px;
    text-align: justify;
    margin: auto;
    font-size: 21px;
    line-height: 32px;
    margin-bottom: 100px;
}

.about-banner .content .line{
    transform: skew(24deg);
    position: absolute;
    width: 3px;
    background: #F05A26;
    height: 110px;
    top: -15px;
    left: 50px;
}

.about-banner .content .description{
    max-width: 440px;
}

.about-banner .content .description h1{
    color: #ffffff;
    font-size: 72px;
    font-weight: bold;
    margin-bottom: 50px;
    text-shadow: 2px 2px 3px #000000;
}

.about-banner .content .description h3{
    color: #ffffff;
    font-size: 48px;
    line-height: 60px;
    font-weight: bold;
    margin-bottom: 10px;
}

.about-banner .content .description p{
    color: #4D4E4E;
    font-size: 16px;
    line-height: 24px;
    text-shadow: 1px 1px 2px #000000;
}

.about-banner .background-image{
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    right: 0;
    transform: skew(24deg) translateX(145px);
    height: 100%;
    width: 50%;
}

.about-banner .background{
    position: absolute;
    right: 50%;
    transform: skew(24deg) translateX(50%);
    height: 100%;
    width: 50%;
    background: rgb(43,84,161);
    background: linear-gradient(90deg, rgba(43,84,161,0) 41%, rgba(43,84,161,0.7) 100%);
}

.image-style-box{
    position: relative;
    padding-left: 55px;
    padding-top: 30px;
}

.image-style-box .numbering{
    position: absolute;
    left: 0;
    font-size: 32px;
    line-height: 24px;
    color: #F05A26;
    padding-right: 15px;
    margin-right: 15px;
    border-right: 1px solid #6FCBDC;
    min-height: 110px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-style-box .text {
    font-size: 24px;
    line-height: 34px;
    color: #4D4E4E;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sub-navigation{
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1140px;
    padding: 80px 20px 30px 20px;
    box-sizing: border-box;
    z-index: 10;
}

.sub-navigation ul{
    list-style: none;
    margin: 0;
    padding: 0;
}

.sub-navigation ul li{
    padding-right: 30px;
    text-align: center;
    color: #0A1D35;
}

.sub-navigation ul li:before{
    content: ' ';
    display: inline-block;
    margin-right: 30px;
    background: #F15B27;
    padding-left: 1px;
    min-height: 18px;
    vertical-align: sub;
    transform: skew(20deg);
}

.sub-navigation ul li:last-child:after{
    content: ' ';
    display: inline-block;
    margin-left: 30px;
    background: #F15B27;
    padding-left: 1px;
    min-height: 18px;
    vertical-align: sub;
    transform: skew(20deg);
}


.section:first-child{
    padding-top: 100px;
}

.section{
    padding-bottom: 50px;
}

.dark-bg{
    padding:  80px;
}

.milestone-pagination ul{
    list-style: none;
    padding: 0;
    margin: 0;
}

.milestone-pagination ul li{
    display: inline-block;
    color: #808080;
    margin: 0 3px;
}

.milestone-pagination ul li:first-child{
    margin-left: 0;
}

.milestone-pagination ul li:last-child{
    margin-right: 0;
}


.milestone-pagination ul li.active{
    color: #F15B27;
}

.milestone-pagination ul li.active:before,
.milestone-pagination ul li.active:after{
    content: '';
    display: inline-block;
    width: 50px;
    height: 1px;
    background: #fff;
    vertical-align: middle;
}
.milestone-pagination ul li.active:before{
    margin-right: 5px;
}

.milestone-pagination ul li.active:after {
    margin-left: 5px;
}

.milestone-pagination ul li:first-child.active:before{
    display: none;
}

.milestone-pagination ul li:last-child.active:after{
    display: none;
}

.swiper-container{
    margin-top: 50px;
}

.swiper-slide .flex{
    align-items: flex-start;
}

.swiper-slide .flex .width-50:nth-child(2){
    height: 250px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
}

.chart-image{
    margin-top: 50px;
}

.board-of-directors{
    background: #fff;
    height: 100%;
}
.board-of-directors .name{
    font-size: 14px;
    background: #fff;
    padding: 15px;
    text-align: center;
}

.board-of-directors img{
    display: block;
}

.board-of-directors .name h4{
    color: #4D4E4E;
    font-size: 21px;
    font-family: Lato;
    font-weight: 800;
    line-height: 24px;
}

.board-of-directors .position{
    font-size: 14px;
    font-style: italic;
    margin-top: 25px;
}

.circle:before {
    z-index: 2;
    width: 70px;
    height: 70px;
}

.about-description {
    color: #2A54A1;
    font-family: Lato,Regular;
    font-size: 18px;
    font-weight: 400;
}

.about-container {
    max-width: 700px;
}

.news-container {
    padding-top: 150px;
}

.filter-item {
    padding-right: 20px;
}

.news-div {
    display: flex; padding-top: 20px;
}

.img-div {
    width: 20%;
}

.news-img {
    width: 300px; height: 180px;
}

.news-description {
    width: 80%; padding-left: 30px;
}

.news-title {
    color: #707070; font-size: 24px; font-family: Poppins; padding-top: 60px;
}

.news-btn {
    padding-top: 40px; text-align: right;
}

/* Sidebar Styling (Maintaining a Light Theme) */
.sidebar {
    width: 220px;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.05);
}

/* Sidebar Buttons */
.sidebar button {
    background: #007bff;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    margin-bottom: 5px;
}
.sidebar button:hover {
    background: #0056b3;
}

/* Policy PDF Viewer */
.policy-container {
    margin-left: 240px;
    padding: 20px;
    background: #ffffff;
    border-left: 3px solid #007bff;
}
.pdf-viewer iframe {
    width: 100%;
    height: 600px;
    border: none;
}

.pdf-viewer iframe {
    width: 100%;
    height: 600px;
    border: none;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}


/* Remove overlay fade */
.milestone-item .description::after { display: none !important; }

/* Mask fade effect */
.milestone-item .description {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;

  -webkit-mask-image: linear-gradient(
      to bottom,
      black 70%,
      transparent 100%
  );
  mask-image: linear-gradient(
      to bottom,
      black 70%,
      transparent 100%
  );
}

.milestone-item.expanded .description {
  -webkit-mask-image: none;
  mask-image: none;
  -webkit-line-clamp: unset;
}

/* Expanded state: removes clamp and fade */
.milestone-item.expanded .description {
  -webkit-line-clamp: unset;
  overflow: visible;
}

.milestone-item.expanded .description::after {
  display: none;
}

/* Auto-inserted Read more button */
.milestone-item .read-more {
  margin-top: 8px;
  background: transparent;
  border: 1px solid #F05A26;
  color: #F05A26;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 4px;
}

.milestone-item .read-more:hover {
  background: #F05A26;
  color: #fff;
}


/* Make all milestone cards uniform */
.milestone-item {
    background: #ffffff;              /* White box */
    padding: 20px 25px 30px 25px;     /* Same padding for everyone */
    border-radius: 4px;               /* Optional – can remove */
    box-sizing: border-box;

    max-width: 340px;                 /* ? Your fixed maximum width */
    width: 100%;                      /* Fill column space */
    min-height: 150px;                /* ? Ensures boxes do not collapse */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Ensure cards in your grid align at the top */
.milestone-wrapper .width-33 {
    display: flex;
    justify-content: center;          /* Centers inside the column */
}


@media (max-width: 1024px) {
    .sidebar {
        width: 100%;
        text-align: center;
    }
    .sidebar button {
        width: 90%;
        margin-bottom: 8px;
    }

    .pdf-viewer iframe {
        height: 400px;
    }

    .about-banner .content{
        z-index: 5;
        position: absolute;
        max-width: 1140px;
        padding-left: 0;
        box-sizing: border-box;
        width: auto;
        left: 200px;
        bottom: 150px;
        transform: translate(-50%, 25%);
    }

    .about-banner .content .description h1{
        color: #ffffff;
        font-size: 36px;
        font-weight: bold;
        margin-bottom: 50px;
    }

    .about-banner .content .line{
        transform: skew(24deg);
        position: absolute;
        width: 3px;
        background: #F05A26;
        height: 110px !important;
        top: -15px;
        left: -40px;
    }

    .about-banner .background{
        position: absolute;
        right: 50%;
        transform: skew(24deg) translateX(50%);
        height: 100%;
        width: 50%;
        background: rgb(43,84,161);
        background: linear-gradient(90deg, rgba(43,84,161,0) 41%, rgba(43,84,161,0.7) 100%);
        display: none;
    }

        .ui.transparent.icon.input {
            padding-top: 30px;
        }

        .ui.transparent.icon.input input {
            width: 200px;
        }

        .milestone-wrapper .flex:nth-child(odd) {
            padding-left: 0;
        }

        h3.dark .background {
            top: 0;
        }

        .news-container {
            padding-top: 20px;
        }

        .filter-item {
            padding-right: 0;
            padding-bottom: 10px;
        }

        .news-div {
            display: flex; padding-top: 20px; flex-direction: column;
        }

        .img-div {
            width: 100%;
        }

        .news-img {
            width: 100%; height: 180px;
        }

        .news-description {
            width: 100%; padding-left: 0;
        }

        .news-title {
            padding-top: 30px;
            line-height: 1.2;
        }

        .news-btn {
            padding-top: 20px; text-align: right;
        }


/* Container & header */
.csr-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 16px 40px;
  font-family: 'Poppins', 'Lato', system-ui, -apple-system, sans-serif;
}
.csr-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.csr-title {
  font-size: 32px;
  font-weight: 700;
  color: #222;
  margin: 0;
}

/* Themes — replace blue/gray with KKIP brand HEX values */
.theme-orange { --brand: #F05A26; }
.theme-blue   { --brand: #2c55a0; }  /* TODO: replace with your KKIP blue */
.theme-gray   { --brand: #8b8b8b; }  /* TODO: replace with your KKIP gray */

/* Swiper shell + arrows */
.csr-swiper-shell {
  --border: #e5e7eb;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 54px; /* room for arrows */
  position: relative;
}
.csr-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--brand);
  color: var(--brand);
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.csr-nav:hover { background: var(--brand); color: #fff; }
.csr-prev { left: 12px; }
.csr-next { right: 12px; }

/* Card */
.csr-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px;
  height: auto; /* Swiper will size slides; content auto height */
  box-sizing: border-box;
}
.csr-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 10px;
}
.csr-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand);
  margin: 6px 0 8px;
}
.csr-summary {
  font-size: 14.5px;
  line-height: 1.55;
  color: #505050;
  margin: 0 0 10px;
}
.csr-readmore {
  color: var(--brand);
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
}
.csr-readmore:hover { text-decoration: underline; }

/* Theme switch (optional) */
.csr-theme-switch {
  display: flex;
  gap: 8px;
}
.theme-btn {
  appearance: none;
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 13.5px;
  cursor: pointer;
}
.theme-btn:hover { border-color: var(--brand); }

/* Responsive tweaks */
@media (max-width: 640px) {
  .csr-swiper-shell { padding: 12px 48px; }

}
