@font-face {
    font-family: 'SVN-Gilroy-Bold';
    src: url('/WebRada360/module-assets/fonts/SVN-Gilroy_Bold.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SVN-Gilroy-ExtraBold';
    src: url('/WebRada360/module-assets/fonts/SVN-Gilroy_XBold.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SVN-Gilroy-Light';
    src: url('/WebRada360/module-assets/fonts/SVN-Gilroy_Light.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SVN-Gilroy-Medium';
    src: url('/WebRada360/module-assets/fonts/SVN-Gilroy_Medium.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --primary-color: #4CA633;
    --box-color-1: #D9D9D9;
    --rada-color:#BC483F;
    --box-color-2: #D1E8CB;
    --box-color-3: #99D889;
    --no-expand-color: #527D50 ;
    --btn-danger-color: #C41C13;
    --placeholder-color: #938989;
    --title-color: #479232;
    --text-gray-color: #4A5568;
    --block-color: #1b8e23;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'SVN-Gilroy-Medium', sans-serif;
    background-color: white;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-5 {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dropdown-submenu .submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background: white;
    min-width: 180px;
    z-index: 1050;
}

.dropdown-submenu .submenu.show {
    display: block;
}

/* Mobile responsive for dropdown submenu */
@media (max-width: 1200px) {
    .dropdown-submenu .submenu {
        position: static;
        display: none;
        background: #f8f9fa;
        margin-left: 15px;
        margin-top: 5px;
        margin-bottom: 5px;
        border-left: 2px solid var(--primary-color);
        padding-left: 10px;
        box-shadow: none;
        border-radius: 0;
        min-width: auto;
    }
    
    .dropdown-submenu .submenu.show {
        display: block;
    }
}

/* scroll to section */
.scroll-section {
    height: 100%;
    overflow: hidden;
}

.scroll-section section {
    scroll-snap-align: start;
}

/* navbar */
.fixed-top {
    background-color: white;
}

.navbar-nav .nav-item {
    margin: 0 1rem;
    font-family: SVN-Gilroy-Medium;
}

.dropdown-icon {
    font-size:1.125rem;
    color: var(--primary-color);
}

.bi::before,
[class^="bi-"]::before,
[class*=" bi-"]::before {
    font-weight: 900 !important;
    vertical-align: -.25em;
}

.lang-btn {
    border: 2px solid var(--primary-color);
    border-radius: 1.25rem;
    padding: 0.3125rem 1.875rem;
    color: black;
    background-color: white;
    transition: 0.3s;
}

.lang-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.lang-active {
    font-weight: bold;
}


/* header  */
header h3{
    font-family: SVN-Gilroy-ExtraBold;
}
.bg-image {
    position: relative;
    background-image: url('/WebRada360/module-assets/uploads/images/contents/bg.png');
    width: auto;
    z-index: 2;
    height: auto;
    min-height: 40.625rem;
    background-size: cover;
    background-position: center;
}

.detail-btn {
    background: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 10rem;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    display: block;
}

.nav-active {
    color: var(--primary-color) !important;
    font-weight: bold !important;
}

.detail-btn:hover {
    background: var(--primary-color);
    color: white;
    border: 1px solid white;
}

.mobile-slider-title {
    width: 100vw;
    background-color: var(--primary-color);
    height: 62vw;
    position: absolute;
    bottom: 0;
}

/* expandable style */
.expandable {
    transition: background-color 0.3s ease;
}

.expandable.expanded {
    background-color: var(--primary-color);
}

.btn-circle {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    transition: transform 0.3s ease, background-color 0.3s ease;
    margin-right: 0.625rem;
}

.expanded .arrow-icon {
    transform: rotate(180deg);
}


/* slider style */
.swiper-container {
    width: 100%;
    overflow: hidden;
}

.swiper-slide {
    transition: transform 0.3s ease-in-out;
}

.slide-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.swiper-slide .card {
    height: auto;
}

.swiper-slide img {
    width: 100%;
    height: 33rem;
    border-radius: 50px;
    padding: 0 0.4375rem;
    transition: transform 0.3s ease-in-out;
}


.swiper-slide-active {
    transform: scale(1);
}

.swiper-pagination {
    position: relative;
    bottom: -2rem !important;
}

.swiper-pagination-bullet {
    background-color: #ff0000 !important;
    transition: background 0.3s;
}

.swiper-pagination-bullet-active {
    background-color: green !important;
}


/* placeholder form control */
.form-control::placeholder {
    color: var(--placeholder-color);
    opacity: 1;
}

.form-control::-webkit-input-placeholder {
    color: var(--placeholder-color);
}

.form-control::-moz-placeholder {
    color: var(--placeholder-color);
}

.form-control:-ms-input-placeholder {
    color: var(--placeholder-color);
}

.form-control:-moz-placeholder {
    color: var(--placeholder-color);
}


/* project card slider */
.card-img-top {
    background-color: var(--box-color-2);
    height: 33rem;
}


/* breadcrumb */
.bd-pns {
    margin: 0;
    padding: 0;
}

.bd-pns a {
    text-decoration: none;
}

.bd-pns a:hover {
    text-decoration: underline;
}

.support-title {
    margin-left: -7.5%;
    margin-bottom: 4%;
    margin-top: 4%;
}

.footer-title[aria-expanded="true"] i {
    transform: rotate(180deg);
}

@media (max-width: 576px) {
    .support-title {
        margin: 0.5rem 0 !important;
    }
    .bd-pns {
        margin: 1rem 0 !important;
        padding: 0 1rem !important;
    }
}


@media (max-width: 1200px) {
    #navbarSection .container-fluid {
        padding: 0.5rem !important;
    }
}

