
@import url('https://fonts.googleapis.com/css2?family=Battambang:wght@100;300;400;700;900&family=Siemreap&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inria+Sans:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kantumruy+Pro:ital,wght@0,100..700;1,100..700&family=Playfair:ital,opsz,wght@0,5..1200,300..900;1,5..1200,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bayon&display=swap');
:root {
    --main-color: #ffffff;
    --main-background-color: #037cd4;
    --main-font-size-text:16px;
    --main-navbar_color:rgba(8, 49, 131, 0.984);
    --main-border-color: 2px solid #037cd4;
    --main-text-color: #037cd4;
    --main-hover-color: #22a2ff;
}

* p ,h1, h2, h3, h4, h5, h6 ,span{
    font-weight: 400;
    font-style: normal;
}
/* slide style */

.custom-list-item {
    color: #4b4e51; /* Change this to your desired color */
    text-decoration: none; /* Remove underline from the link */
    display: block; /* Make the link fill the list item */
    font-size: medium;
}
/* Active item style */
.custom-list-item.active {
    color: #037cd4; /* Text color for active item */
}
.custom-link-color {
    color: #ffffff;
}
.custom-list-item:hover {
    color: #037cd4; /* Hover color */
}
.carousel-content a {
    color: white; /* Make links white */
    text-decoration: none; /* Remove underline from links */
    transition: color 0.3s ease; /* Smooth transition for hover effect */
}

.carousel-content a:hover {
    color: #ffd700; /* Gold color on hover */
}

.carousel-content b {
    font-size: 1.2rem; /* Emphasize the title */
    display: block; /* Ensure it appears as a separate block */
    margin-bottom: 0.5rem; /* Add spacing below the title */
}
a{
    color: var(--main-color);
    text-decoration: none !important;
    font-weight: 400;
    font-size: 18px;
}

.new_img{
    width: 60%;
    height: auto;
    max-width: 120px;
}
[data-carousel-item] {
    display: none;
}
[data-carousel-item].active {
    display: block;
}
/**/
.card .custom-img {
    width: 80px;
    height: auto;
}
.card-title {
    color: #037cd4;
    font-size: large;
}
.card-title a {
    color: #0267b8; /* Set your desired color */
}

.card-title a:hover {
    color: #37abff; /* Optional: Change color on hover */
}
.read-more{
    float: right;
    color: #0267b8;
    font-size: medium;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 0.5rem;
}
/**/
/* Custom styling for images */
.custom-img {
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Add hover effect to images */
.hover-effect:hover .custom-img {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Styling for the notice section */
.notice_img img {
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.notice_img:hover .notice_img img {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Text link hover effect */
.hover-underline:hover {
    text-decoration: underline;
}

/* Button hover effect */
.btn-primary {
    background-color: var(--main-background-color);
    border-color: var(--main-text-color);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--main-hover-color);
    border-color: var(--main-hover-color);
}

.header {
    background-color: var(--main-background-color);
    background-size: cover;
    line-height: 40px;
    color: red;
}
.kh {
    display: flex;
    align-items: center;
    padding-left: 15%;
}
.kh img {
    width: 32px;
    height: 20px;
}
.home-text span{
    background: var(--main-background-color);
    padding: 10px;
    border-radius: 5px;
    color: var(--main-color);
    font-size: large;
}
/* Add hover effect to images */
.card:hover {
    transform: scale(1.05); 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 1s ease, box-shadow 1s ease;
}

/* Ensure images inside cards scale properly */
.card-img-top {
    transition: transform 0.3s ease; /* Smooth transition for image scaling */
}
.hover-effect:hover .card-img-top {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* About */
.custom-background {
    background: url('../images/bg/bg-shape-8.jpg') no-repeat center center fixed;
    background-size: cover;
}
.about-message-background{
    background: url('../images/bg/bg-shape-8.jpg') no-repeat center center fixed;
    background-size: cover;
}
.slide-bg{
    background: url('../images/bg/about-bg-6-1.jpg') no-repeat center center fixed;
    background-size: cover;
}
.organization-bg{
    background: url('../images/bg/bg-shape-8.jpg') no-repeat right;
    background-size: cover; /* Ensure the image covers the entire background area */
    padding: 2px 0; /* Adjust padding as needed */
}
.card-img {
    max-height: 600px;
    object-fit: cover;
}
.list-unstyled li {
    padding: 0.5rem 0;
}
.embed-responsive {
    position: relative;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    height: 700px;
}
.embed-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.card-certificate {
    border: 0;
    background-color: #fff; /* Optional: background color for cards */
    padding: 10px; /* Optional: padding inside card */
}
.certificate-img-top {
    max-width: 100%; /* Ensure the image fits within the card */
    height: auto; /* Maintain aspect ratio */
}
.custom-img {
    max-width: 100%; /* Ensure images are responsive */
    height: auto; /* Maintain aspect ratio */
}
/**/
.navbar .nav-item {
    position: relative;
  }

  .navbar .nav-item .dropdown-menu {
    display: none;
    position: absolute;
    background-color: #007cd4;
    padding: 0;
    z-index: 1;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  }

  .navbar .nav-item:hover .dropdown-menu {
    display: block;
  }

  .navbar .nav-item .dropdown-menu a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }

.navbar .nav-item .dropdown-menu a:hover {
    background-color: var(--main-hover-color);
}
.flix .navbar .navbar-nav .nav-item .dropdown-menu li a.active, .flix .navbar .navbar-nav .nav-item .dropdown-menu li a:hover {
    color: #c3944a;
  }

.nav-link {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
    color: red;
}
.custom-dropdown-content {
    display: none;
}
.custom-dropdown-content.show {
    display: block;
}
/* Law*/
.custom-icon-align {
    text-align: right; /* Aligns icons to the right */
}
.content-section img {
    max-width: 100%; /* Ensures image scales within its container */
    height: auto; /* Maintains aspect ratio */
}


.textwidget p{
    color: var(--main-text-color);
    font-size: large;
}

.rs-footer {
    background: url(../images/bg/about-bg-6-1.jpg);
    background-color: #F5F6F9;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.rs-footer .footer-top {
    padding: 92px 0 65px;
}

.rs-footer .footer-top .footer-logo img {
    height: 119px;
}
.footer-logo{ text-align: center;}

.rs-footer .footer-top .widget-title {
    font-size: 22px;
    line-height: 40px;
    font-weight: 400;
    color: var(--main-text-color);
    margin-bottom: 25px;
}

.rs-footer .footer-top .site-map li {
    list-style-type: none;
    padding: 0;
    margin: 0;
    margin-bottom: 12px;
}

.rs-footer .footer-top .site-map li a {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.rs-footer .footer-top .site-map li a:hover {
    list-style-type: none;
    padding: 0;
    margin: 0;
    color: var(--main-text-color);
}

.rs-footer .footer-top .footer-social li {
    display: inline;
    margin-right: 5px;
}
.rs-footer .footer-top .footer-social li a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    border-radius: 50%;
    color: #555;
    text-align: center;
    font-size: 15px;
    transition: all .8s ease;
    background: rgba(255, 255, 255, 0.9);
}

.rs-footer .footer-top .footer-social li a i {
    line-height: 35px;
}

.rs-footer .footer-top .footer-social li a:hover {
    color: #ffffff;
    background: var(--main-hover-color);
}

.rs-footer .footer-top .footer-social li:last-child {
    margin: 0;
}

.rs-footer .footer-top .address-widget li {
    padding: 0px 0px 16px 40px;
    position: relative;
}

.rs-footer .footer-top .address-widget li .desc a {
    color: #454545;
}

.rs-footer .footer-top .address-widget li .desc a:hover {
    color: #106eea;
}

.rs-footer .footer-top .address-widget li i {
    color: #106eea;
    position: absolute;
    left: 0px;
}

.rs-footer .footer-top .address-widget li i:before {
    font-size: 20px;
}

.rs-footer .footer-top .widget-desc {
    margin: 0;
}

.rs-footer .footer-top p {
    margin: 30px 0 0;
    position: relative;
    text-align: center;
}

.rs-footer .footer-top p input[type=email] {
    border: none;
    width: 91%;
    font-size: 13px;
    padding: 16px 60px 16px 20px;
    margin: 0;
    color: #0a0a0a;
    overflow: hidden;
    border-radius: 30px 0 0 30px;
    background: #fff;
    box-shadow: 0 0 25px #eeeeee;
}

.rs-footer .footer-top p input[type="submit"] {
    position: absolute;
    top: 1px;
    right: 1px;
    bottom: 1px;
    background-image: linear-gradient(90deg, #0ec0f1 0%, #1f6872 100%);
    border-radius: 50%;
    padding: 15px 28px 15px;
    font-size: 0;
    border: none;
}

.rs-footer .footer-top p i {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    padding: 12px 20px;
    pointer-events: none;
    color: #ffffff;
}

.rs-footer .footer-top p ::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */

    color: #454545;
    opacity: 1;
}

.rs-footer .footer-top p ::-moz-placeholder {
    /* Firefox 19+ */

    color: #454545;
    opacity: 1;
}

.rs-footer .footer-top p :-ms-input-placeholder {
    /* IE 10+ */

    color: #454545;
    opacity: 1;
}

.rs-footer .footer-top p :-moz-placeholder {
    /* Firefox 18- */

    color: #454545;
    opacity: 1;
}

.rs-footer .footer-bottom {
    padding: 17px 0;
    background: rgb(246 246 246);
}

.rs-footer .footer-bottom .copyright p {
    margin: 0;
}

.rs-footer .footer-bottom .copyright p a {
    color: #106eea;
}

.rs-footer .footer-bottom .copyright p a:hover {
    color: #106eea;
}

.rs-footer .footer-bottom .copy-right-menu li {
    display: inline-block;
    position: relative;
    padding: 4px 6px 1px 9px;
    border-radius: 10px;
    background: var(--main-text-color);
}

.rs-footer .footer-bottom .copy-right-menu li a {
    color: #fff;
    margin: 3px;
    margin-left: -1px;
}

.rs-footer .footer-bottom .copy-right-menu li a:hover {
    transform: scale(1.2);
    color: #3498db; /* Change to the desired hover color */
}

.site-map a {
    color: var(--main-text-color) !important;
    font-size: large;
}
.site-map a:hover {
    color: red;
}

.address-widget a {
    color: var(--main-text-color) !important;
}

.rs-footer .footer-bottom .copy-right-menu li:first-child:before {
    display: none;
}

.rs-footer.style1 .footer-top .widget-title {
    color: #102b3e;
}

.rs-footer.style1 .footer-top .site-map li a:hover {
    color: #f2541b;
}

.rs-footer.style1 .footer-top .footer-social li a:hover {
    background: #f2541b;
}

.rs-footer.style1 .footer-top .address-widget li .desc a:hover {
    color: #f2541b;
}

.rs-footer.style1 .footer-top .address-widget li i {
    color: #f2541b;
}

.rs-footer.style1 .footer-top p input[type="submit"] {
    background-image: linear-gradient(180deg, #dd4c23 19%, #f27c1e 100%);
}

.rs-footer.style1 .footer-bottom .copyright p a:hover {
    color: #f2541b;
}

.rs-footer.style1 .footer-bottom .copy-right-menu li a:hover {
    color: #f2541b;
}

.rs-footer.style1 .footer-bottom .copy-right-menu li:before {
    background: #f2541b;
}

.rs-footer.style2 .footer-top {
    padding: 92px 0 65px;
}

.rs-footer.style2 .footer-top .footer-logo img {
    height: 40px;
}

.rs-footer.style2 .footer-top .widget-title {
    list-style-type: none;
    padding: 0;
    margin: 0;
    color: #ffffff;
}

.rs-footer.style2 .footer-top .site-map li a {
    list-style-type: none;
    padding: 0;
    margin: 0;
    color: #ffffff;
}

.rs-footer.style2 .footer-top .site-map li a:hover {
    list-style-type: none;
    padding: 0;
    margin: 0;
    color: #03228f;
}

.rs-footer.style2 .footer-top .footer-social li {
    display: inline;
    margin-right: 5px;
}

.rs-footer.style2 .footer-top .footer-social li a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    border-radius: 50%;
    color: #555;
    text-align: center;
    font-size: 15px;
    transition: all .8s ease;
    background: rgba(255, 255, 255, 0.9);
}
/* Add Custom shadow hover */
.custom-shadow {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease-in-out;
}

.custom-shadow:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.hover-effect {
    position: relative;
    overflow: hidden;
    /* Add other hover-effect styles if needed */
}

.footer-top .footer-bg{
    padding: 40px;
  }

  .cart_left {
    padding: 5px;
    display: flex;
    justify-content: center;
    box-shadow: 10px;
    border-radius: 5px 5px 0px 0px;
    border-bottom: 2px solid #037cd4;
}
.content-box {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px 5px 0px 0px; /* Optional: for rounded corners */
    background-color: #fff; /* Optional: to ensure the background is white */
  }


/* Pagination Container */
.paginations {
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 1rem 0;
    list-style: none;
  }
  
  /* Pagination Item */
  .page-items {
    margin: 0 0.25rem;
  }
  
  /* Pagination Link */
  .page-links {
    color: var(--main-color);
    text-decoration: none;
    background-color: var(--main-background-color); /* Background color for links */
    border: 1px solid #007bff; /* Border color for links */
    padding: 0.25rem 0.5rem; /* Smaller padding for a smaller size */
    border-radius: 0.25rem;
    font-size: 0.75rem; /* Smaller font size */
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}
  
  /* Pagination Link Hover */
  .page-links:hover {
    color: #0056b3; /* Darker shade of blue */
    background-color: var(--main-hover-color); /* Light gray background on hover */
    border-color: #0056b3; /* Darker shade of blue for border */
  }
  
  /* Pagination Link Active */
  .page-items.active .page-links {
    z-index: 1;
    color: #fff; /* White text color */
    background-color: var(--main-background-color); /* Blue color for active background */
    border-color: #007bff; /* Blue color for active border */
  }
  
  /* Pagination Link Disabled */
  .page-items.disabled .page-links {
    color: #6c757d; /* Gray color for disabled text */
    pointer-events: none;
    background-color: var(--main-background-color); /* White background for disabled links */
    border-color: #007bff; /* Border color for disabled links */
  }

  .icon-contact li {
    display: inline-block;
    position: relative;
    padding: 4px 8px; /* Reduced padding for smaller size */
    border-radius: 50%; /* Makes the item round */
    background: var(--main-background-color);
    font-size: 14px; /* Adjust as needed */
    width: 40px; /* Set width */
    height: 40px; /* Set height */
    text-align: center; /* Center align text */
    line-height: 40px; /* Align text vertically */
}

.icon-contact li a:hover {
    color: var(--main-text-color);
}
.custom-shadows {
    border-radius: 2px;
    border: 1px solid #cdc9c999;
    border-radius: 5px;
}
.shadow-box {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 5px;
    border-radius: 5px;
    background-color: #fff; /* Optional: Add background color */
    margin-bottom: 10px; /* Add margin to separate the rows */
}
.shadow-box:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
    transform: scale(1.02); /* Slightly scale up the element on hover */
}


.tab-buttons {
    display: flex;
    margin-bottom: 20px;
    justify-content: right;
  }
  
  .tab-button {
    padding: 5px 10px; /* Smaller padding */
    background-color: var(--main-background-color);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 5px; /* Smaller margin */
    border-radius: 3px; /* Smaller border radius */
    font-weight: 400; /* Slightly lighter font weight */
    font-size: 14px; /* Smaller font size */
    color: white;
  }
  
  .tab-button.active {
    background-color: var(--main-background-color);
    border-radius: 3px; /* Match the smaller border radius */
    color: white;
    font-weight: 500;
    font-size: 14px; /* Match the smaller font size */
  }
  
  .tab-pane {
    display: none;
  }
  
  .tab-pane.active {
    display: block;
  }
  

  /* Add hover effect to cards */
.new-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    /*Addshadowfordepth*/transition: transform 1s ease, box-shadow 1s ease;
}
.event-card:hover{
    padding: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    /*Addshadowfordepth*/transition: transform 1s ease, box-shadow 1s ease;
}
/* Custom hover animation */

.card:hover {
    transform: scale(1.02); /* Slightly enlarge the card */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); /* Add shadow for depth */
  }
.message p{
    animation-delay: 0.2s;
    text-align: justify;
}
/* button back to top */


.new-hover {
    transition: transform 2s ease, box-shadow 2s ease; /* Slower transition */
}
.nav-link.active:hover {
    background-color: var(--main-hover-color);
}
.nav-link:hover {
    background-color: var(--main-hover-color);
    margin: auto;
}
/* Style for active menu item */
.nav-link.active {
    color: #ffffff; /* Active text color */
    background-color: #0098f0; /* Active background color */
}

/* Show dropdown on hover */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0; /* Adjust this if needed */
}

/* Optional: Transition for a smoother dropdown effect */
.dropdown-menu {
    transition: opacity 0.3s ease;
    opacity: 0;
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
}

/* Style for active and hover effects */
.nav-link.active, .nav-item.dropdown .dropdown-item:hover {
    color: #ffffff; /* Change this to your desired color */
    background-color: var(--main-hover-color); /* Change this to your desired color */
}
/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    background-color: var(--main-hover-color); /* Background color for the entire dropdown on hover */
}

/* Optional: Transition for a smoother dropdown effect */
.dropdown-menu {
    transition: opacity 0.3s ease;
    opacity: 0;
    display: none; /* Hide initially */
}

/* Make the dropdown visible and apply red background on hover */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    display: block;
    background-color: var(--main-hover-color); /* Set background color to red on hover */
}

/* Dropdown item hover effect */
.dropdown-item:hover {
    background-color: darkred; /* Darker red for hover effect on items */
    color: #fff; /* White text color on hover */
}

/* Active dropdown item style */
.dropdown-item.active {
    background-color: darkred; /* Keep the background dark red when active */
    color: #fff; /* White text color */
}


.list-group-item a.hover-animate {
    cursor: pointer; /* Optional: makes it clear that the item is interactive */
}

.list-group-item a.hover-animate:hover {
    color: var(--main-text-color); /* Change to the desired hover color */
}

.swiper {
    width: 100%;
    height: 100%;
  }

  .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
 .back_img{
  background: #f6f6f6;
  padding: 25px;
 }
 
.title-swiper{

  background: var(--main-background-color);
  color: white;
  padding: 10px;

}
/*=========================*/

.other-websites .card-img-top {
    width: 50%; /* Adjust the size of the image */
    display: block;
    margin: 0 auto; /* Center the image horizontally */
}

.other-websites p {
    text-align: center; /* Center the text below the image */
    font-size: 14px; /* Adjust the font size if needed */
    margin-top: 10px; /* Add some space between the image and the text */
}
.hover-shadow {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 10px; /* Optional: Add padding to space out the content */
    border-radius: 10px; /* Optional: Rounded corners for a softer look */
}



.hover-shadow img {
    transition: transform 0.3s ease;
}

.hover-shadow p {
    transition: color 0.3s ease;
}

.hover-shadow:hover img {
    transform: scale(1.05); /* Ensures image is included in the scale effect */
}

.hover-shadow:hover p {
    color: var(--main-text-color); /* Change the text color on hover (use your preferred color) */
}

/* Underline From Right */
.hvr-underline-from-right {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    overflow: hidden;
  }
  .hvr-underline-from-right:before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 100%;
    right: 0;
    bottom: 0;
    background: var(--main-background-color);
    height: 4px;
    -webkit-transition-property: left;
    transition-property: left;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
  }
  .hvr-underline-from-right:hover:before, .hvr-underline-from-right:focus:before, .hvr-underline-from-right:active:before {
    left: 0;
  }
/* Hover effect for the image */
.image-container .event-image:hover {
    transform: scale(1.05); /* Scale the image slightly */
    transition: transform 0.3s ease-in-out; /* Smooth transition */
}

/* Hover effect for the text */
.text-container .event-text:hover {
    color: #007bff; /* Change text color on hover */
    transition: color 0.3s ease-in-out; /* Smooth transition */
}

/* Hover effect for the read-more link */
.text-container .read-more-link:hover .read-more {
    color: #dc3545; /* Change link color on hover */
    text-decoration: underline; /* Add underline on hover */
    transition: color 0.3s ease-in-out; /* Smooth transition */
}
.border-test{
    font-size: 18px;
    font-weight: 400;
}
.title-event{
    color: var(--main-text-color);
    font-size: large;
}
.limited-content {
    white-space: nowrap;      /* Ensure text stays on one line */
    overflow: hidden;         /* Hide any overflow content */
    text-overflow: ellipsis;  /* Add '...' at the end of truncated text */
    max-width: 100%;          /* Make sure the text stays within the container */
}
.title-swiper a {
    color: var(--main-color); /* Custom color for the link text */
    text-decoration: none; /* Remove underline */
    font-weight: bold; /* Make the text bold */
}
.title-swiper a:hover {
    color: #b5f9ff; /* Custom color for the link text on hover */
    text-decoration: underline; /* Optional: Add underline on hover */
}
.custom-border-shadow {
    border: 1px solid #ddd; /* Light gray border */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2); /* Shadow effect */
    transition: box-shadow 0.5s ease, border-color 0.5s ease; //* Smooth transition for hover effect */
}

.custom-border-shadow:hover {
    border-color: #037cd4; /* Change border color on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4); /* Enhance shadow effect on hover */
}

.custom-border-shadow img {
    border-radius: 6px; /* Make sure the image corners match the container */
}

.dropdown-submenu .dropdown-menu {
    left: 100%;
    top: 0;
    margin-left: 0.1rem;
    margin-right: 0.1rem;
}
.card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.new-hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px; /* Optional for rounded corners */
    transition: box-shadow 0.3s ease;
    background-color: #fff; /* Ensure the background color contrasts with the shadow */
}

.new-hover:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
/*to do/
/* General menu hover */
/* Underline color for active menu */
.nav-link.active {
    position: relative;
    color: #0064AD; /* Text color for active menu */
}
/* .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #fbc038; 
} */
/* Define active-header2 class */
.nav-link.active-header2 {
    color: #ffd042 !important; /* Ensures the red color overrides other styles */
}
.navbar-nav .nav-item .nav-link.active-header2{
    color: #ffd042 !important; /* Ensures the red color overrides other styles */
}

.nav-item .dropdown-menu .dropdown-item.active-header2 {
    color: #ffd042 !important; /* Ensures the red color overrides other styles */
}
.title-link {
    display: block;
    font-size: medium;
    color: #037cd4;
}
.custom-btn {
    color: #fff !important;
    background-color: #037cd4 !important;
    border-color: #0d6efd !important;
    transition: background-color 0.3s ease, color 0.3s ease !important;
}

.custom-btn:hover {
    background-color: #0a58ca !important;
    border-color: #0a53be !important;
    color: #fff !important;
}

/* General form styling */


/* Custom styling for search form */
form.row.g-2 {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 1px 0px rgba(0, 0, 0, 0.1);
}

form input[type="search"], form select, form input[type="date"] {
    border-radius: 5px;
    border: 1px solid #ced4da;
    padding: 8px 12px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

form input[type="search"]:focus, form select:focus, form input[type="date"]:focus {
    border-color: #007bff;
}

form button.btn-primary {
    background-color: #037cd4;
    border-color: #037cd4;
    transition: background-color 0.3s ease;
}

form button.btn-primary:hover {
    background-color: #025fa1;
}
form select {
    border-radius: 5px;
    border: 1px solid #ced4da;
    padding: 8px 12px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

form select:focus {
    border-color: #007bff;
}


/*/
/* Project Info Styling */
.project-info {
    padding: 12px;
    text-align: left;
}

.project-info h5 {
    font-size: medium;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.social-icons a {
    color: #007bff; /* Customize icon color */
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: .2rem;
}

.social-icons a:hover {
    color: #0056b3; /* Hover color */
}


/* Style for the main images */
.custom-image {
    max-width: 100px; /* Adjust size as desired */
    height: auto; /* Maintain aspect ratio */
    margin: 5px;
    transition: transform 0.3s ease;
}

.custom-image:hover {
    transform: scale(1.05); /* Slight zoom on hover */
}

/* Styling for the right-side website links section */
.custom-shadows {
    padding: 12px;
    background-color: #fff;
}

.title-link {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.title-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.hover-shadow img {
    max-width: 80px; /* Customize width for smaller images */
    height: auto;
    transition: box-shadow 0.3s ease;
    margin: 0 auto;
    display: block;
}

.hover-shadow img:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}
/*todo*/ 
.list-item-image {
    width: 30px; /* Adjust size as needed */
    height: 30px;
    margin-right: 10px;
    object-fit: cover;
    border-radius: 5px;
    vertical-align: middle;
}


/* Search form styles */
.search-form {
    display: flex; /* Use flexbox for alignment */
    align-items: center; /* Center items vertically */
}

/* Search input styles */
.search-form .form-control {
    border: 2px solid #ced4da; /* Default border */
    border-radius: 5px; /* Rounded corners */
    font-size: 1rem; /* Font size */
    transition: border-color 0.3s ease; /* Smooth transition for border color */
}

/* Focus state for search input */
.search-form .form-control:focus {
    border-color: #007bff; /* Change border color on focus */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* Add a shadow effect */
}

/* Search button styles */
.search-form .btn {
    border-radius: 5px; /* Rounded corners */
    padding: 10px 15px; /* Padding for better spacing */
    margin-left: 10px; /* Space between input and button */
    background-color: #28a745; /* Background color */
    color: #ffffff; /* Text color */
    border: none; /* Remove border */
    transition: background-color 0.3s ease; /* Smooth transition for background color */
}

/* Button hover state */
/* Icon button styling */
.icon-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #333;
    padding: 0.5rem;
}

/* Modal background styling */
.advanced-search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Modal content styling */
.modal-content {
    background-color: #ffffff;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    text-align: left;
}

.modal-content h2 {
    margin: 0 0 1rem 0;
    color: #333;
}

/* Close button for modal */
.close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #aaa;
}

.close:hover {
    color: #333;
}

/* Form styling */



/* Style for the read-more link */
.custom-read-more {
    display: inline-block;
    padding: 8px 16px;
    background-color: #f8f9fa; /* Light background */
    color: #007bff; /* Text color (primary blue) */
    border: 1px solid #007bff; /* Blue border */
    border-radius: 5px; /* Rounded corners */
    text-decoration: none; /* Remove underline */
    font-size: medium;
    transition: all 0.3s ease; /* Smooth transition for hover effect */
}

/* Hover effect */
.custom-read-more:hover {
    background-color: #007bff; /* Blue background on hover */
    color: #fff; /* White text on hover */
    border-color: #0056b3; /* Darker blue border on hover */
}
.image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3; /* Maintain 4:3 ratio; adjust to your preference */
    overflow: hidden;
}

.image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-social {
    border-color: #0d6efd;
}

.custom-list {
    list-style: none; /* Remove default bullet points */
    padding: 0;       /* Remove default padding */
  }
  
  .custom-list li {
    display: flex;
    align-items: center; /* Align icons and text vertically */
    margin-bottom: 10px; /* Space between list items */
  }
  
  .custom-list li i {
    margin-right: 8px;  /* Space between the icon and text */
    color: #ffff;     /* Custom color for the icons */
    font-size: 1.2em;   /* Adjust the size of the icons */
  }
  
  .custom-list li:hover {
    color: #1da9ff;           /* Padding to make hover effect noticeable */
  }
/* Button Custom Styles */
.header-search {
    background-color: #f8f9fa;  /* Light background */
    border: 1px solid #ddd;     /* Subtle border */
    padding: 8px 12px;          /* Padding for better size */
    border-radius: 50px;        /* Rounded corners */
    display: flex;              /* Align icon in the center */
    align-items: center;        /* Center icon vertically */
    justify-content: center;    /* Center icon horizontally */
    transition: background-color 0.3s, box-shadow 0.3s; /* Smooth hover effect */
}

/* Hover effect */
.header-search:hover {
    background-color: #ffffff;  /* Blue background on hover */
    border-color: #ffffff;      /* Border color change */
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2); /* Subtle shadow */
}

/* Icon Styling */
.header-search i {
    font-size: 33px;
    color: #ffffff;         /* Default icon color */
    transition: color 0.3s;   /* Smooth transition on hover */
}

/* Change icon color on hover */
.header-search:hover i {
    color: #44afee;  /* White color when hovering */
}


/* Red color for active links */
.nav-link.active {
    color: #ffffff !important;
    font-family: "Battambang", serif;
}

.nav-link {
    color: #ffffff !important;
    font-family: "Battambang", serif;
}

.dropdown-menu .dropdown-item {
    color: #ffffff !important;
    font-family: "Battambang", serif;
}

/* Red background color for dropdown items on hover */
.dropdown-menu .dropdown-item:hover {
    background-color: #21a3ff !important;
    color: white !important;
    /* Ensure text is readable on red background */
}

/* Red color for the dropdown toggle text */
.nav-link.dropdown-toggle {
    color: #ffffff !important;
}
.custom-search-dropdown {
    background-color: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform-origin: top;
    transition: opacity 0.2s ease, transform 0.2s ease;
    display: none;
    position: absolute;
    top: 100%;
    right: 0;        /* Align to right edge of button */
    left: auto;      /* Let it grow to the left */
    z-index: 1050;
    min-width: 500px;  /* Bigger width */
    width: 500px;
}

/*.custom-search-dropdown {*/
/*    background-color: #f8f9fa;*/
/*    border-radius: 12px;*/
/*    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
/*    transform-origin: top;*/
/*    display: none;*/
   
/*    transition: opacity 0.2s ease, transform 0.2s ease;*/
/*}*/

/*.custom-search-dropdown {*/
/*    background-color: #f8f9fa;*/
/*    border-radius: 12px;*/
/*    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
/*    display: none;*/
    
/*    position: absolute;*/
   
/*    top: 100%;*/
   
/*    left: 0;*/
/*    z-index: 1050;*/
/*}*/

.search-btn {
    background-color: #0064ad;
    color: #fff;
    border-color: #0064ad;
}

.search-btn:hover {
    background-color: #004b84;
    border-color: #004b84;
}

.search-btn i {
    color: red;
    /* Replace this with your desired color */
}

.search-btn:hover i {
    color: #004b84;
    /* Change color on hover */
}

#header2 {
    /* padding: 5px 0; */
    /* Reduce padding on the header */
}

.header-wrap-secondary .navbar-nav .nav-link {
    padding: 5px 10px;
}

.header-wrap-secondary .navbar-brand img {
    max-width: 150px;
    /* Reduce logo size */
}

.dropdown img {
    width: 50px;
    /* Reduce the language icon size */
    height: auto;
}
.header-wrap-secondary {
    display: none; /* Hidden by default */
    transition: all 0.3s ease-in-out; /* Smooth transitions */
}

.header-wrap {
    transition: all 0.3s ease-in-out;
}

/* pagination */
.pagination {
    margin: 0;
    padding: 0;
    font-family: "Kantumruy Pro", sans-serif;
    font-weight: bold;
  }
  .pagination .page-item {
    margin: 0 2px;
  }
  .pagination .page-link {
    border: none;
    color: #6c757d; /* Default text color */
    padding: 8px 16px; /* Increase padding for bigger size */
    font-size: larger; /* Increase font size */
    background-color: transparent; /* No background for inactive */
  }
  .pagination .page-item.active .page-link {
    color: #007bff; /* Active text color */
    background-color: #f1f1f1; /* Light gray background for active */
    border-bottom: 2px solid #007bff; /* Bottom border for active */
    font-size: larger;
  }
  .pagination .page-link:hover {
    color: #007bff; /* Hover text color */
  }

 /* Back to Top Button Styling */
/* Back to Top Button Styling */
.back-to-top {
    position: fixed;
    bottom: 15px;
    right: 15px;
    width: 60px; /* Smaller width */
    height: 60px; /* Smaller height */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
    z-index: 999;
    border: 3px solid transparent; /* Thinner border */
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top .circle {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%; /* Circular shape */
    background: #ffffff; /* Default background color */
    border: 3px solid #0067b8; /* Default border color */
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}
.back-to-top .circle .border {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid #007bff;
    clip-path: inset(0);
    transition: clip-path 0.3s ease-in-out;
}

.back-to-top .content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #003366;
}

.back-to-top .content .icon {
    font-size: 14px; /* Smaller icon size */
    color: #007bff;
    display: block;
    margin-bottom: 2px;
}


/* Custom styles for social media buttons */
.social-icons {
    display: flex;
    gap: 15px; /* Space between buttons */
}

.btn-custom {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #f0f0f0; /* Light background for buttons */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
}

.btn-custom i {
    font-size: 24px;
    color: #007bff; /* Default color for icons */
}

.btn-custom:hover {
    background-color: #007bff; /* Button background color on hover */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Slight shadow effect */
}

.btn-custom:hover i {
    color: #fff; /* Change icon color to white on hover */
}

.btn-custom:active {
    background-color: #0056b3; /* Darker background color on active state */
}


/* Remove padding and margin to ensure the zoom effect is not affected */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal overflow */
}

.image-header {
    width: 100%;
    height: auto;
    overflow: hidden; /* Ensure content doesn't overflow */
}

.image-header img {
    transition: transform 0.3s ease;
    max-width: 100%;
    display: block;
    margin: 0 auto; /* Ensures no padding or margins affect the zoom behavior */
    padding: 0;  /* Remove any padding on the image */
}

@media (max-width: 768px) {
    .image-header img {
        width: 100%; /* Makes image responsive for mobile */
    }
}
@media (max-width: 576px) {
    .pagination {
        font-size: 0.8rem; /* Smaller font size for smaller screens */
        justify-content: space-between;
        flex-wrap: wrap; /* Wrap pagination items to prevent overflow */
    }
    .pagination .page-item {
        margin: 2px; /* Add spacing between items */
    }
    .pagination .page-link {
        padding: 0.5rem; /* Larger touch target for small devices */
    }
}
@media (min-width: 577px) and (max-width: 768px) {
    .pagination {
        font-size: 0.9rem; /* Slightly larger font for small screens */
    }
}
@media (min-width: 769px) {
    .pagination {
        font-size: 1rem; /* Default font size for larger screens */
    }
}
#header2 {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
    background: #037cd4;
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Add shadow for better visibility */
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out; /* Smooth show/hide effects */
    transform: translateY(-100%); /* Initially hide the header */
    opacity: 0;
}
#header2.sticky {
    transform: translateY(0); /* Show the header when sticky */
    opacity: 1;
}
