@import url('https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400..700;1,400..700&family=Freehand&family=Hanuman:wght@100;300;400;700;900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Kantumruy+Pro:ital,wght@0,100..700;1,100..700&family=Manrope:wght@200..800&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans+Khmer:wght@100..900&family=Noto+Serif+Khmer:wght@100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto+Slab:wght@100..900&family=Rubik:ital,wght@0,300..900;1,300..900&family=Siemreap&family=Sofia&family=Space+Grotesk:wght@300..700&family=Spline+Sans+Mono:ital,wght@0,300..700;1,300..700&display=swap');
:root {
    font-family: Arial, Helvetica, sans-serif;
}

/* start font family by google font */
.inter {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.manrope {
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.space-grotesk {
    font-family: "Space Grotesk", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.plus-jakarta-sans {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-optical-sizing: auto;
}

.spline-sans-mono {
    font-family: "Spline Sans Mono", monospace;
    font-optical-sizing: auto;
}

.font-more {
    font-family: "Plus Jakarta Sans", sans-serif, "Spline Sans Mono", monospace;
}

.montserrat {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;

}


.poppins-medium-bold {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
}

/* .kantumruy{
    font-family: "Kantumruy Pro", sans-serif;
    font-optical-sizing: auto;
  } */
  .siemreap {
    font-family: "Siemreap", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.poppins-medium {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}


.roboto-slab {
    font-family: "Roboto Slab", serif;
    font-optical-sizing: auto;
}

.noto-serif-khmer {
    font-family: "Noto Serif Khmer", serif !important;

}

.font-nsk {
    font-family: "Noto Serif Khmer", serif !important;
}

.noto-sans-khmer {
    font-family: "Noto Sans Khmer", sans-serif !important;
    font-optical-sizing: auto;

}

.impnoto-sans-khmer {
    font-family: "Noto Sans Khmer", sans-serif !important;
}

.arimo {
    font-family: "Arimo", sans-serif;
    font-optical-sizing: auto;
}

.text {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    /* number of lines to show */
    line-clamp: 4;
    -webkit-box-orient: vertical;
}

.text-new {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    /* number of lines to show */
    line-clamp: 8;
    -webkit-box-orient: vertical;
}

.text-event-limit {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    /* number of lines to show */
    line-clamp: 5;
    -webkit-box-orient: vertical;
}

.title-event-limit {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    /* number of lines to show */
    line-clamp: 4;
    -webkit-box-orient: vertical;
}

.freehand {
    font-family: "Freehand", cursive;
    font-weight: 400;
    font-style: normal;
}

.kantumruy-pro {
    font-family: "Kantumruy Pro", sans-serif;
    font-optical-sizing: auto;
  }

/* end font family by google font */
.gradient-text {
    font-weight: bold;
    background: linear-gradient(to right, purple, orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.heart-animation {
    transition: all 0.3s ease-in-out;
}

.gradient-text-blue {
    font-weight: bold;
    text-transform: uppercase;
    background: linear-gradient(to right, black, rgb(17, 17, 207), rgb(37, 37, 37));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradientAnimation 3s infinite alternate;
}

.open-sans {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}



.carousel-container {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 40px;
    /* Space between items */
}

.carousel-item {
    flex: 0 0 calc(100% / 3 - 37px);
    /* Default: Show 3 items per page */
    box-sizing: border-box;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .carousel-item {
        flex: 0 0 calc(100% / 2 - 40px);
        /* Show 2 items per page on tablets */
    }
}

@media (max-width: 640px) {
    .carousel-item {
        flex: 0 0 calc(100% / 1 - 40px);
        /* Show 1 item per page on mobile */
    }
}

/* new text limit */
.new-title-limit {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    /* number of lines to show */
    line-clamp: 4;
    -webkit-box-orient: vertical;
}

.new-description-limit {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    /* number of lines to show */
    line-clamp: 8;
    -webkit-box-orient: vertical;
}



.offcanvas {
    position: fixed;
    top: 0;
    left: -70%;
    width: 70%;
    height: 100%;
    background-color: #333;
    padding-top: 60px;
    transition: 0.3s;
    overflow-x: hidden;
}

.offcanvas a {
    padding: 10px 20px;
    display: block;
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.offcanvas a:hover {
    background-color: #575757;
}

/* Open state */
.offcanvas.open {
    left: 0;
}

/* Button to open */
.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

/* hover icon in foooter */
.title {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.icon-hover:hover+.title {
    opacity: 1;
    visibility: visible;
}

.hover-text-footer {
    color: rgb(255, 255, 255, 0.7);
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.hover-text-footer:hover {
    color: rgb(255, 255, 255, 1);
}

/* From Uiverse.io by tomaskriegelstein */
.item-hover {
    cursor: pointer;
    position: relative;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-duration: 800ms;
    transition-property: color;
    display: inline-flex;
    align-items: center;
}

.item-hover:focus:after,
.item-hover:hover:after {
    width: 100%;
    left: auto;
}

.item-hover:after {
    content: "";
    pointer-events: none;
    bottom: -7px;
    right: auto;
    left: 0;
    position: absolute;
    width: 0;
    height: 2px;
    background-color: rgb(255, 255, 255);
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-duration: 800ms;
    transition-property: width;
}

/* pagination design */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.pagination .page-item {
    margin-top: 1rem;
    font-size: 1.1rem;
}

.pagination .page-item.active {
    background-color: rgba(132, 38, 199, 0.923);
    border-radius: 0.15rem;
}

.pagination .page-item .page-link {
    cursor: pointer;
    background-color: rgba(109, 17, 175, 0.45);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Inter", sans-serif;
}

.pagination .page-item.disabled .page-link {
    cursor: not-allowed;
    background-color: rgba(109, 17, 175, 0.2);
    color: rgba(255, 255, 255, 0.5);
}

.pagination .page-item .page-link:hover {
    background-color: rgba(101, 30, 151, 0.581);
    color: white;
}

/* new paginate */
/* .new-paginate {
    padding: 2.5rem 1rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    margin: 2rem auto;
    max-width: fit-content;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.new-paginate .pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.8rem;
    position: relative;
}

.new-paginate .pagination .page-item {
    margin: 0;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.new-paginate .pagination .page-item:not(.active):not(.disabled):hover {
    transform: translateY(-3px);
    filter: drop-shadow(0 4px 8px rgba(149, 0, 255, 0.15));
}

.new-paginate .pagination .page-item.active {
    background: linear-gradient(135deg, rgba(149, 0, 255, 0.9) 0%, rgba(108, 0, 185, 0.9) 100%);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(149, 0, 255, 0.25);
    position: relative;
    z-index: 1;
}

.new-paginate .pagination .page-item.active::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(149, 0, 255, 0.4) 0%, rgba(108, 0, 185, 0.4) 100%);
    border-radius: 10px;
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 0.9; }
    100% { opacity: 0.6; }
}

.new-paginate .pagination .page-item .page-link {
    cursor: pointer;
    background: rgba(255, 255, 255, 0.9);
    color: #444;
    padding: 0.7rem 1.3rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    min-width: 44px;
    text-align: center;
}

.new-paginate .pagination .page-item .page-link:hover {
    background: linear-gradient(135deg, rgba(149, 0, 255, 0.85) 0%, rgba(108, 0, 185, 0.85) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(149, 0, 255, 0.25);
    transform: translateY(-2px);
}

.new-paginate .pagination .page-item.disabled .page-link {
    background: rgba(245, 245, 245, 0.7);
    color: #bbb;
    cursor: not-allowed;
    box-shadow: none;
}



*/
.dotted-line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    border-bottom: 2px dotted black;
    transform: translateY(-50%);
    z-index: 0;
  }

  .dot-plot {
    position: relative;
    height: 100px;
    width: 300px;
  }

  .dot {
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
  }

  /* Gradient-style dot rise */
  .dot:nth-child(1) { left: 0; bottom: 0px; }
  .dot:nth-child(2) { left: 15px; bottom: 10px; }
  .dot:nth-child(3) { left: 30px; bottom: 20px; }
  .dot:nth-child(4) { left: 45px; bottom: 30px; }
  .dot:nth-child(5) { left: 60px; bottom: 40px; }
  .dot:nth-child(6) { left: 75px; bottom: 50px; }
  .dot:nth-child(7) { left: 90px; bottom: 60px; }
  .dot:nth-child(8) { left: 105px; bottom: 70px; }
  .dot:nth-child(9) { left: 120px; bottom: 80px; }
  .dot:nth-child(10) { left: 135px; bottom: 90px; }

  /* Flat line */
  .dot:nth-child(n+11) { bottom: 90px; }
  .dot:nth-child(11) { left: 150px; }
  .dot:nth-child(12) { left: 165px; }
  .dot:nth-child(13) { left: 180px; }
  .dot:nth-child(14) { left: 195px; }
  .dot:nth-child(15) { left: 210px; }
  .dot:nth-child(16) { left: 225px; }
  .dot:nth-child(17) { left: 240px; }
  .dot:nth-child(18) { left: 255px; }
  .dot:nth-child(19) { left: 270px; }
  .dot:nth-child(20) { left: 285px; }


  .dotted-line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    border-bottom: 2px dotted black;
    transform: translateY(-50%);
    z-index: 0;
  }
  .dot-plot2 {
    display: flex;
    align-items: flex-end;
    height: 100px;
    width: 300px;
    position: relative;
  }

  .dot2 {
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
  }

  /* Descending line */
  .dot2:nth-child(1) { left: 0px; bottom: 95px; }
  .dot2:nth-child(2) { left: 15px; bottom: 85px; }
  .dot2:nth-child(3) { left: 30px; bottom: 75px; }
  .dot2:nth-child(4) { left: 45px; bottom: 65px; }
  .dot2:nth-child(5) { left: 60px; bottom: 55px; }
  .dot2:nth-child(6) { left: 75px; bottom: 45px; }
  .dot2:nth-child(7) { left: 90px; bottom: 35px; }
  .dot2:nth-child(8) { left: 105px; bottom: 25px; }
  .dot2:nth-child(9) { left: 120px; bottom: 15px; }
  .dot2:nth-child(10) { left: 135px; bottom: 5px; }

  /* Flat line */
  .dot2:nth-child(n+11) { bottom: 5px; }
  .dot2:nth-child(11) { left: 150px; }
  .dot2:nth-child(12) { left: 165px; }
  .dot2:nth-child(13) { left: 180px; }
  .dot2:nth-child(14) { left: 195px; }
  .dot2:nth-child(15) { left: 210px; }
  .dot2:nth-child(16) { left: 225px; }
  .dot2:nth-child(17) { left: 240px; }
  .dot2:nth-child(18) { left: 255px; }
  .dot2:nth-child(19) { left: 270px; }
  .dot2:nth-child(20) { left: 285px; }

.dot-plot3 {
    display: flex;
    align-items: flex-end;
    height: 100px;
    width: 300px;
    position: relative;
  }

  .dot3 {
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    bottom: 0;
  }
  .dot3:nth-child(1) { left: 435px; bottom: 95px;  }
  .dot3:nth-child(2) { left: 420px;  bottom: 85px; }
  .dot3:nth-child(3) { left: 405px;  bottom: 75px; }
  .dot3:nth-child(4) { left: 390px;  bottom: 65px;}
  .dot3:nth-child(5) { left: 375px;  bottom: 55px;}
  .dot3:nth-child(6) { left: 360px;  bottom: 45px;}
  .dot3:nth-child(7) { left: 345px;  bottom: 35px;  }
  .dot3:nth-child(8) { left: 330px; bottom: 25px;}
  .dot3:nth-child(9) { left: 315px; bottom: 15px; }
  .dot3:nth-child(10) { left: 300px;bottom: 10px;  }
  .dot3:nth-child(n+11) { bottom: 5px;}
  .dot3:nth-child(11) { left: 150px;}
  .dot3:nth-child(12) { left: 165px;}
  .dot3:nth-child(13) { left: 180px;}
  .dot3:nth-child(14) { left: 195px;}
  .dot3:nth-child(15) { left: 210px;}
  .dot3:nth-child(16) { left: 225px;}
  .dot3:nth-child(17) { left: 240px;}
  .dot3:nth-child(18) { left: 255px;}
  .dot3:nth-child(19) { left: 270px;}
  .dot3:nth-child(20) { left: 285px;}

.dot-plot4 {
    display: flex;
    align-items: flex-end;
    height: 100px;
    width: 300px;
    position: relative;
  }

  .dot4 {
    width: 8px;
    height: 8px;
    background-color: rgb(255, 255, 255);
    border-radius: 50%;
    position: absolute;
    bottom: 0;
  }

  .dot4:nth-child(1) { left: 435px; bottom: 10px; }
.dot4:nth-child(2) { left: 420px; bottom: 15px; }
.dot4:nth-child(3) { left: 405px; bottom: 25px; }
.dot4:nth-child(4) { left: 390px; bottom: 35px; }
.dot4:nth-child(5) { left: 375px; bottom: 45px; }
.dot4:nth-child(6) { left: 360px; bottom: 55px; }
.dot4:nth-child(7) { left: 345px; bottom: 65px; }
.dot4:nth-child(8) { left: 330px; bottom: 75px; }
.dot4:nth-child(9) { left: 315px; bottom: 85px; }
.dot4:nth-child(10) { left: 300px; bottom: 95px; }

.dot4:nth-child(n+11) {
  bottom: 95px;
}
.dot4:nth-child(11) { left: 150px; }
.dot4:nth-child(12) { left: 165px; }
.dot4:nth-child(13) { left: 180px; }
.dot4:nth-child(14) { left: 195px; }
.dot4:nth-child(15) { left: 210px; }
.dot4:nth-child(16) { left: 225px; }
.dot4:nth-child(17) { left: 240px; }
.dot4:nth-child(18) { left: 255px; }
.dot4:nth-child(19) { left: 270px; }
.dot4:nth-child(20) { left: 285px; }

  /* div.b {
    display: inline-block;
    width: 150px;
    height: 50px;
    padding: 5px;
    border: 1px solid blue;
    background-color: yellow;
  } */

  .rotate-icon {
    transition: transform 0.2s ease;
}

select:focus ~ .rotate-icon {
    transform: translateY(-50%) rotate(180deg);
}


.rubik{
    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto;
  }
